[Freeswitch-users] need help on gateway

haloha haloha201 at gmail.com
Mon Aug 27 08:16:50 MSD 2012

hi Brian

could you please give me the example of the respond for gateway's info
from web server
there is no example for gateway's info respond,
i only found the respond for user's info:
<document type="freeswitch/xml">
  <section name="directory">
    <domain name="domain1.awesomevoipdomain.faketld">
        <param name="dial-string"
        <group name="default">
          <user id="1004">
              <param name="password" value="some_password"/>

Thank you

On 8/27/12, Brian Foster <bdfoster at endigotech.com> wrote:
> 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 at 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 at freeswitch.org
>> http://www.freeswitchsolutions.com
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.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
> --
> Brian D. Foster
> Endigo Computer LLC
> Email: bdfoster at 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.

Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list