Easiest way is to use xml curl, checkout mod_xml_curl. You can pull things from mysql via your scripts on the web server.

-BDF

On Sun, Aug 26, 2012 at 11:20 PM, haloha <haloha201@gmail.com> wrote:
Hi all

for now, all the gateway's information is stored in xml file and its
path(conf/sip_profiles/external/example.xml):
<include>
          <gateway name="example">
                  <param name="username" value="cluecon"/>
                  <param name="password" value="2007"/>
                  <param name="proxy" value="sip.abc.net"/>
                  <param name="expire-seconds" value="3600"/>
                  <param name="register" value="true"/>
                  <!--<param name="register" value="false"/>-->
                  <param name="retry-seconds" value="30"/>
                  <param name="ping" value="25"/>
          </gateway>
</include>

is there a way to store the gateway's information in Mysql Databases,
like sip clients information in folder conf/directory/

Thank you
Ha`

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.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



--
Brian D. Foster
Endigo Computer LLC
Email: bdfoster@endigotech.com
Phone: 317-800-7876
Indianapolis, Indiana, USA

This message contains confidential information and is intended for those listed in the "To:", "CC:", and/or "BCC:" 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.