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@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@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@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@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