Viewing 4 posts - 1 through 4 (of 4 total)
  • Migrated from old forum
    Participant
    Post count: 327
    #5883 |

    Hello everyone,

    I need create in Visual Dialplan a interface with the Web Service.

    Can anyone give a help?

    Thanks

    Migrated from old forum
    Participant
    Post count: 327
    #5884 |

    Try to make AGI that works with WS and then call that AGI from dial plan.
    Here is an tutorial on how to work with AGI from dial plan:
    http://www.apstel.com/while-loop/calling-external-script-using-agi/

    • This reply was modified 10 years, 6 months ago by  admin.
    Migrated from old forum
    Participant
    Post count: 327
    #5885 |

    But in example the file php isn’t remote? And my web service is remote, it is possible? If yes how?

    I need access to remote web service from the dialplan, in other words I need something like this command,

    exten => _X.,1,AGI(agi://192.168.2.1:1048/TestAGI|${EXTEN}|{VAR2}), but if is possible in visual dialplan.

    Please an example…

    Thanks

    Migrated from old forum
    Participant
    Post count: 327
    #5886 |

    Sure it is possible.
    Try with the Custom Code component (General sheet).
    You can put your code directly in the custom code component and call remote web service, as you described above.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.