[Freeswitch-users] How should I configure xml_curl bindings for phrases?

Seven Du dujinfang at gmail.com
Sat Dec 23 00:19:28 UTC 2017


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20171223/d9fc4f11/attachment.html>


More information about the FreeSWITCH-users mailing list