Thank you.

If I return entite profile then it works. I just thought that if porpuse is gateway,s it would be handy to only return gateways

2017-02-21 15:24 GMT+01:00 Brian West <brian@freeswitch.org>:
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

Wish to schedule a meeting?

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

Got Bugs? Report them here! | Reddit: /r/freeswitch

T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378)
Skype:briankwest


_________________________________________________________________________
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



--
Gregor Nanger
 
CTO
t./f.: 00386 (0) 7 6000 308/309 • m:. 00386 (0)41 756485
• Infomedia d.o.o. • Jerebova 3, Novo mesto, Slovenia
• www.infomedia.si