[Freeswitch-users] Initial testings

Brian West brian at freeswitch.org
Wed Jul 9 12:20:42 PDT 2008


There are two ways to add gateways.  If you added this in the  
directory as is thats wrong.

http://wiki.freeswitch.org/wiki/Voicepulse.xml

That page has an example of one in the directory and one in the sip  
profile.

This would be correct XML for the directory case.
<include>
   <user id="inphonex">
     <gateways>
	<gateway name="inphonex">
            	<param name="username" value="3434141"/>
            	<param name="realm" value="sip.varphonex.com"/>
            	<param name="password" value="605431"/>
            	<param name="proxy" value="sip.varphonex.com"/>
            	<param name="register" value="true"/>
            	<param name="expire-seconds" value="3600"/>
         </gateway>
     </gateways>
     <params>
       <param name="password" value="605431"/>
     </params>
   </user>
</include>
/b

On Jul 9, 2008, at 1:59 PM, Jair Santos wrote:
> Hi ,
>
> I created the following in /conf/directory/default
>
>
> <gateways>
>          <gateway name="inphonex">
>            <param name="username" value="3434141"/>
>            <param name="realm" value="sip.varphonex.com"/>
>            <param name="password" value="605431"/>
>            <param name="proxy" value="sip.varphonex.com"/>
>            <param name="register" value="true"/>
>            <param name="expire-seconds" value="3600"/>
>          </gateway>
> </gateways>
>
> then the following dialplan in /conf/dialplan/extensions
> <extension name="3434141">
>    <condition field="destination_number" expression="^(3434141)$">
>        <action application="bridge" data="sofia/gateway/inphonex/$1"/>
>    </condition>
>  </extension>
>
>
>
> I am getting
>
>  2008-07-09 11:48:26 [WARNING] sofia_reg.c:1061  
> sofia_reg_parse_auth() can't find user [3434141 at 192.168.0.102]
>
>
> can anybody tell what I am missing ?
>
> thanks
>
> Jair Santos
> _______________________________________________
> 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 West
sip:brian at freeswitch.org







More information about the FreeSWITCH-users mailing list