[Freeswitch-users] xml_curl and purpose=gateways
Brian West
brian at freeswitch.org
Tue Feb 21 23:24:52 MSK 2017
you can skip returning any of the profile params and such, but form it in
the same XML.
On Tue, Feb 21, 2017 at 9:19 AM, Gregor Nanger <gregor at infomedia.si> wrote:
> 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 at 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 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
>> <http://t.sidekickopen68.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJN7t5XZsfmT10W5wLWvl4WYKY2W3MhGXn56dLgFf1Tdg-W02?t=https%3A%2F%2Ffreeswitch.org%2Fjira&si=5036397111279616&pi=f9336d6d-5ffc-4522-f142-91e0377b4f14>!
>> | Reddit: /r/freeswitch
>> <http://t.sidekickopen68.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJN7t5XZsfmT10W5wLWvl4WYKY2W3MhGXn56dLgFf1Tdg-W02?t=https%3A%2F%2Fwww.reddit.com%2Fr%2Ffreeswitch&si=5036397111279616&pi=f9336d6d-5ffc-4522-f142-91e0377b4f14>
>>
>> *T:*+19184209001 <+1%20918-420-9001> | *F:*+19184209002
>> <+1%20918-420-9002> | *M:*+1918424WEST (9378)
>> *Skype:*briankwest
>>
>> _________________________________________________________________________
>> 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
>>
>
>
>
> --
> 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
>
> _________________________________________________________________________
> 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/cb56b275/attachment.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list