[Freeswitch-users] Gateway Issues

Francis sms at icefire.qza.net.au
Sun Jan 12 21:45:39 MSK 2014


 From what they're saying, they want all traffic to go to 
nat.babytel.ca:5065, so proxy will need to be set to this as well or it 
will default to sip.babytel.ca.

They also want the realm set, so this would also apply:

<param name="realm" value="sip.babytel.ca"/>

But since the gateway name is also set to this, it isn't needed, neither 
is from-domain. There is an inheritance path :

gateway name --> realm --> from-domain

So setting proxy and register-proxy to nat.babytel.ca:5065 and leaving 
the rest blank should be enough.


On 13/01/2014 3:34 AM, Jeff Leung wrote:
>
> What Babytel is trying to say is "Register your endpoints to 
> nat.babytel.ca at port 5065, but register as domain sip.babytel.ca" if 
> that's what they're trying to say.
>
> And if I can remember correctly, register-proxy only forces it to 
> register to a specific SIP proxy/gateway box, so I'd put in a 
> register-proxy value of nat.babytel.ca:5065 and leave proxy blank for now.
>
> If all else fails, perform a SIP trace to see what's really going on.
>
> *From:*freeswitch-users-bounces at lists.freeswitch.org 
> [mailto:freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of 
> *Ian McMaster
> *Sent:* Sunday, January 12, 2014 09:26
> *To:* freeswitch-users at lists.freeswitch.org
> *Subject:* [Freeswitch-users] Gateway Issues
>
> My provider is Babytel, in Canada.
>
> I am switching from Asterisk to Freeswitch.  In Asterisk, I have the 
> registration working.  Porting to Freeswitch it is not clear to achieve:
>
> Note from Babytel:
>
> " Please note that babyTEL requires the use of the Outbound-Proxy 
> feature now available in most new Asterisk versions. Also all SIP 
> messages must be sent to the outbound proxy server nat.babytel.ca 
> <http://nat.babytel.ca> to UDP port 5065, but the Domain/Realm must 
> remain sip.babytel.ca <http://sip.babytel.ca> in the SIP headers. "
>
> http://ca.babytel.net/wp-content/manuals/Asterisk_babyTEL_Configuration_Guide_(V1.2).pdf 
> <http://ca.babytel.net/wp-content/manuals/Asterisk_babyTEL_Configuration_Guide_%28V1.2%29.pdf>
>
> I have tried to use "register-proxy", but the "proxy" seems to be used 
> instead when registering
>
> (sofia status shows data: sip:16477240904 at nat.babytel.ca:5065 
> <http://sip:16477240904@nat.babytel.ca:5065>).
>
> Here is the profile I am using, but is not registering (not using 
> sip.babytel.ca:5060 <http://sip.babytel.ca:5060>):
>
> <include>
>     <gateway name="sip.babytel.ca  <http://sip.babytel.ca>">
>       <param name="username" value="16477270904"/>
>       <param name="auth-username" value="16477270904"/>
>       <param name="from-user" value="16477270904"/
>       <param name="from-domain" value="sip.babytel.ca  <http://sip.babytel.ca>"/>
>       <param name="password" value="xxxxxxx"/>
>       <param name="extension" value="16477270904"/>
>       <param name="proxy" value="nat.babytel.ca:5065  <http://nat.babytel.ca:5065>"/>
>       <param name="register-proxy" value="sip.babytel.ca  <http://sip.babytel.ca>:5060"/>
>       <param name="register" value="true"/>
>     </gateway>
> </include>
>
> Any help would be most appreciated.
>
> Thank you,
>
> Ian.
>
>
>
> _________________________________________________________________________
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140113/0b396589/attachment.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list