[Freeswitch-users] xml_curl: initiator type

Cal Leeming [Simplicity Media Ltd] cal.leeming at simplicitymedialtd.co.uk
Tue Nov 19 02:14:00 MSK 2013


Converting the values from mod_xml_curl into application logic is not
straight forward, sometimes you have to compare multiple values in the
request to determine what is happening. For example, the mod_xml_curl
request for a registered gateway will be very different from that of
an unregistered gateway. Same goes for registered/unregistered users.
And it gets even more complicated when you throw multi tenant into the
picture, as well as blind and attended transfers.

At the moment there is no external library that performs this logic
conversion for you - although I am working on one for Python as we
speak.

The best advice I can give is to keep trying, but don't expect this to
be a one day job (at least, not if you do it properly).

Cal


On Mon, Nov 18, 2013 at 9:53 PM, vad fabi <vaad.fabi at gmail.com> wrote:
> Hi all,
>
> How to indentify call initiator type (gateway or locally registered user)
> then freeswitch sends xml_curl dialplan request ?
> As i see all post variables almost same for both types.
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>



Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list