[Freeswitch-users] Multiple destination with mod_httapi
'Yemi Obembe
fickledreams at yahoo.com
Thu Apr 6 18:31:58 MSD 2017
I am trying to use mod_httapi to call multiple SIP endpoints from my script. Here is what the output of my script looks like:
<document type="text/freeswitch-httapi"> <work> <dial context="default" Dialplan="XML">sip:username at ip</dial> <dial context="default" Dialplan="XML">sip:username2 at ip</dial> </work></document>
However, I notice that that the dial only gets to the second <dial> endpoint: sip:username2 at ip. I suspect it might have to do with sofia because log from fs_cli shows both were processed.
2017-04-06 14:21:29.279911 [DEBUG] mod_httapi.c:1229 Process Tag: [dial]2017-04-06 14:21:29.279911 [DEBUG] switch_ivr.c:2160 (sofia/internal/number at xxx.com) State Change CS_EXECUTE -> CS_ROUTING2017-04-06 14:21:29.279911 [NOTICE] switch_ivr.c:2167 Transfer sofia/internal/number at xxx.com to XML[sip:username at ip@public]2017-04-06 14:21:29.279911 [DEBUG] mod_httapi.c:1229 Process Tag: [dial]2017-04-06 14:21:29.279911 [NOTICE] switch_ivr.c:2167 Transfer sofia/internal/number at xxx.com to XML[sip:username2 at ip@public]
Any ideas what could be wrong? Or a better way to do this?
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170406/ca6601e9/attachment.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list