<div dir="ltr">thanks<div>this is working:<br><div><div><binding name="languages"></div><div> <param name="gateway-url" value="<a href="http://localhost:3300/fs/phrases">http://localhost:3300/fs/phrases</a>" bindings="languages" /></div><div> </binding></div></div></div><div>but it is not fetching on reloadxml. it is fetched on first reference to a phrase in dialplan</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Dec 23, 2017 at 3:49 AM, Seven Du <span dir="ltr"><<a href="mailto:dujinfang@gmail.com" target="_blank">dujinfang@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div>static struct xml_section_t SECTIONS[] = {</div><div><span style="white-space:pre-wrap"> </span>{"result", SWITCH_XML_SECTION_RESULT},</div><div><span style="white-space:pre-wrap"> </span>{"config", SWITCH_XML_SECTION_CONFIG},</div><div><span style="white-space:pre-wrap"> </span>{"directory", SWITCH_XML_SECTION_DIRECTORY},</div><div><span style="white-space:pre-wrap"> </span>{"dialplan", SWITCH_XML_SECTION_DIALPLAN},</div><div><span style="white-space:pre-wrap"> </span>{"languages", SWITCH_XML_SECTION_LANGUAGES},</div><div><span style="white-space:pre-wrap"> </span>{"chatplan", SWITCH_XML_SECTION_CHATPLAN},</div><div><span style="white-space:pre-wrap"> </span>{"channels", SWITCH_XML_SECTION_CHANNELS},</div><div><span style="white-space:pre-wrap"> </span>{NULL, 0}</div><div>};</div><div><br></div><div><br></div><div class="gmail_quote"><div><div class="h5">On Wed, Dec 13, 2017 at 4:50 PM, Babak Yakhchali <span dir="ltr"><<a href="mailto:babak.freeswitch@gmail.com" target="_blank">babak.freeswitch@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div class="h5"><div dir="ltr">Hi<div>how can I use xml_curl to fetch phrases?</div><div>is this right?</div><div><div><binding name="languages"></div><div> <param name="gateway-url" value="<a href="http://localhost:3300/fs/phrases" target="_blank">http://localhost:3300/f<wbr>s/phrases</a>" bindings="phrases" /></div><div> </binding></div></div><div>or I should use languages instead of phrases?</div><div><br></div><div>and what should be the format of generated xml from server?</div><div>thanks</div></div>
<br></div></div>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions<wbr>.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.o<wbr>rg</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswi<wbr>tch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/ma<wbr>ilman/listinfo/freeswitch-user<wbr>s</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.frees<wbr>witch.org/mailman/options/<wbr>freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><span class="HOEnZb"><font color="#888888"><br></font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div class="m_1276636570932280943gmail_signature">About: <a href="http://about.me/dujinfang" target="_blank">http://about.me/dujinfang</a><br>Blog: <a href="http://www.dujinfang.com" target="_blank">http://www.dujinfang.com</a><br>Proj: <a href="http://www.freeswitch.org.cn" target="_blank">http://www.freeswitch.org.cn</a></div>
</font></span></div></div>
<br>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.<wbr>org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>