[Freeswitch-users] Initial testings

Jair Santos jairds at shaw.ca
Wed Jul 9 12:53:31 PDT 2008


Thank you Brian,

I did as you said changing the file on conf/directory/default but I am still
getting 

2008-07-09 12:48:26 [WARNING] sofia_reg.c:1061 sofia_reg_parse_auth() can't
find user [3434141 at 192.168.0.102]

Any other ideas/clues ?


regards


Jair Santos


 
 
 


> -----Original Message-----
> From: freeswitch-users-bounces at lists.freeswitch.org 
> [mailto:freeswitch-users-bounces at lists.freeswitch.org] On 
> Behalf Of Brian West
> Sent: Wednesday, July 09, 2008 12:21 PM
> To: freeswitch-users at lists.freeswitch.org
> Subject: Re: [Freeswitch-users] Initial testings
> 
> 
> 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/freesw
> itch-users
> > http://www.freeswitch.org
> 
> Brian West
> sip:brian at freeswitch.org
> 
> 
> 
> 
> _______________________________________________
> 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/freesw
> itch-users
> http://www.freeswitch.org





More information about the FreeSWITCH-users mailing list