Easiest way is to use xml curl, checkout mod_xml_curl. You can pull things from mysql via your scripts on the web server.<div><br></div><div>-BDF<br><br><div class="gmail_quote">On Sun, Aug 26, 2012 at 11:20 PM, haloha <span dir="ltr">&lt;<a href="mailto:haloha201@gmail.com" target="_blank">haloha201@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all<br>
<br>
for now, all the gateway&#39;s information is stored in xml file and its<br>
path(conf/sip_profiles/external/example.xml):<br>
&lt;include&gt;<br>
          &lt;gateway name=&quot;example&quot;&gt;<br>
                  &lt;param name=&quot;username&quot; value=&quot;cluecon&quot;/&gt;<br>
                  &lt;param name=&quot;password&quot; value=&quot;2007&quot;/&gt;<br>
                  &lt;param name=&quot;proxy&quot; value=&quot;<a href="http://sip.abc.net" target="_blank">sip.abc.net</a>&quot;/&gt;<br>
                  &lt;param name=&quot;expire-seconds&quot; value=&quot;3600&quot;/&gt;<br>
                  &lt;param name=&quot;register&quot; value=&quot;true&quot;/&gt;<br>
                  &lt;!--&lt;param name=&quot;register&quot; value=&quot;false&quot;/&gt;--&gt;<br>
                  &lt;param name=&quot;retry-seconds&quot; value=&quot;30&quot;/&gt;<br>
                  &lt;param name=&quot;ping&quot; value=&quot;25&quot;/&gt;<br>
          &lt;/gateway&gt;<br>
&lt;/include&gt;<br>
<br>
is there a way to store the gateway&#39;s information in Mysql Databases,<br>
like sip clients information in folder conf/directory/<br>
<br>
Thank you<br>
Ha`<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" 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.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Brian D. Foster<br>Endigo Computer LLC<br>Email: <a href="mailto:bdfoster@endigotech.com" target="_blank">bdfoster@endigotech.com</a><br>Phone: 317-800-7876<br>
Indianapolis, Indiana, USA<br><br>This message contains confidential information and is intended for those listed in the &quot;To:&quot;, &quot;CC:&quot;, and/or &quot;BCC:&quot; fields of the message header. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version.<br>
<br>
</div>