[Freeswitch-users] xml_curl and purpose=gateways

Brian West brian at freeswitch.org
Tue Feb 21 17:24:03 MSK 2017


You'd return the entire profile with the gateways in it.  If you look in
sofia.c, You'll get purpose=gateways and profile=<profilename>.  If you
wish to only fulfill the external profile then key off the profile name,
then return the not found XML for all other requests.

/b


On Sun, Feb 19, 2017 at 8:44 AM, Gregor Nanger <gregor at infomedia.si> wrote:

>
> ​Does anyone have example what to return in xml_curl request for
> purpose=gateways for profile.
>
> I want to feed gateways definition in external profile from database.
>
> Is there such solution to return only gateways or do I need to feed entire
> sofia.conf if I want to have gateways stored in db?
>
> Best regards, Gregor​
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.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
>



-- 

*Brian West*
brian at freeswitch.org

*Twitter: @FreeSWITCH , @briankwest*

http://www.freeswitchbook.com
http://www.freeswitchcookbook.com

Allison prompts for FreeSWITCH:

*https://www.gofundme.com/allison-prompts-for-freeswitch*
<https://www.gofundme.com/allison-prompts-for-freeswitch>

Wish to schedule a meeting?

http://app.timebridge.com/#/meet/freeswitch

Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit:
/r/freeswitch <https://www.reddit.com/r/freeswitch>

*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
*Skype:*briankwest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170221/6dec2051/attachment.html 


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