[Freeswitch-users] How should I configure xml_curl bindings for phrases?
Babak Yakhchali
babak.freeswitch at gmail.com
Mon Dec 25 08:43:35 UTC 2017
thanks
this is working:
<binding name="languages">
<param name="gateway-url" value="http://localhost:3300/fs/phrases"
bindings="languages" />
</binding>
but it is not fetching on reloadxml. it is fetched on first reference to a
phrase in dialplan
On Sat, Dec 23, 2017 at 3:49 AM, Seven Du <dujinfang at gmail.com> wrote:
> static struct xml_section_t SECTIONS[] = {
> {"result", SWITCH_XML_SECTION_RESULT},
> {"config", SWITCH_XML_SECTION_CONFIG},
> {"directory", SWITCH_XML_SECTION_DIRECTORY},
> {"dialplan", SWITCH_XML_SECTION_DIALPLAN},
> {"languages", SWITCH_XML_SECTION_LANGUAGES},
> {"chatplan", SWITCH_XML_SECTION_CHATPLAN},
> {"channels", SWITCH_XML_SECTION_CHANNELS},
> {NULL, 0}
> };
>
>
> On Wed, Dec 13, 2017 at 4:50 PM, Babak Yakhchali <
> babak.freeswitch at gmail.com> wrote:
>
>> Hi
>> how can I use xml_curl to fetch phrases?
>> is this right?
>> <binding name="languages">
>> <param name="gateway-url" value="http://localhost:3300/fs/phrases"
>> bindings="phrases" />
>> </binding>
>> or I should use languages instead of phrases?
>>
>> and what should be the format of generated xml from server?
>> thanks
>>
>> _________________________________________________________________________
>> 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
>>
>
>
>
> --
> About: http://about.me/dujinfang
> Blog: http://www.dujinfang.com
> Proj: http://www.freeswitch.org.cn
>
> _________________________________________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20171225/801f4e31/attachment.html>
More information about the FreeSWITCH-users
mailing list