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



--

_________________________________________________________________________
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