[Asterisk-Users] SIP registration behind Linksys WRT54G - FIXED
:-)
Tomas Florian
tflorian at telus.net
Sun Apr 24 13:00:08 MST 2005
I finally figured it out ... working with BT100 you need to make a little
voodoo ritual first :-) ... so follow the steps --exactly-- if you have
trouble
This is my working configuration behind Linksys WRT54G router:
- Upgrade firmware 1.0.5.23
- Reset BT100 to factory defaults
- SIP Server: asterisk.mydomain.com
- Outgoing Proxy: asterisk.mydomain.com
- DTMF: SIP INFO
- Reboot
BTW ... this is exactly what I tried 100x before but without the exact order
of steps. I think especially step #2 about resetting to factory defaults
before you do any re-configuration is critical. Don't trust the web
interface always start fresh. Strangely, I had no problems whenever I was
behind any other router than Linksys ... didn't have to do all this voodoo
stuff ... makes me uncomfortable since I feel like I'll plug the phones in
tomorrow and I'll be back where I started.
Maybe the secret was "not changing my underwear in the morning" :-) LOL
On the Asterisk side it's just the usual:
Nat = yes
Qualify = yes
Tomas
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Tomas Florian
Sent: Saturday, April 23, 2005 11:56 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: RE: [Asterisk-Users] SIP registration behind Linksys WRT54G - URI?
I think I'm getting closer to figuring this out ...
I just tried Linksys PAP2 and it registered just fine. I looked at the SIP
packets captured by ethereal and I discovered that the real problem will
probably be the uri in the authorization.
For the working Linksys PAP2 and X-Lite I get:
Authorization: DIGEST ... uri="sip:asterisk.mydomain.com" ...
For the BT100 which doesn't register (403 Forbidden) I get:
Authorization: DIGEST ... uri="sip:wan-ip-of-the-router" ...
... this kind of makes sense ... that looks like the wrong uri to send.
So for some reason BT100 sends the wrong URI ... how can I fix this??
Again the weird thing is that if I plug in the BT100 behind any other router
then Linksys WRT54G everything works fine.
I'm trying my BT100 with the following config:
- SIP Server: asterisk.mydomain.com
- Outgoing Proxy: asterisk.mydomain.com
- Nat travelsal: no
- Local sip port: 5060
- Use NAT ip: no
- Proxy require: no
And in my sip.conf I have
Nat=yes
Qualify=yes
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Tomas Florian
Sent: Saturday, April 23, 2005 11:04 PM
To: 'Pedro'; 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: RE: [Asterisk-Users] SIP registration behind Linksys WRT54G
Yes that's the first thing I tried ... I'm able to make it work (using
different routers than Linksys) in the following ways:
- Set outgoing proxy and no STUN
OR
- No outgoing proxy and set STUN
But once I put it behind Linksys everything registration does not work any
more.
Tomas
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Pedro
Sent: Saturday, April 23, 2005 10:32 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] SIP registration behind Linksys WRT54G
Have you tried to enable NAT translation on the Grandstream?
On 4/23/05, Tomas Florian <tflorian at telus.net> wrote:
> I'm trying to register BT100s ... (doesn't work)
> X-Lite seems to work though
>
> Tomas
>
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Mojo-Jojo
> Sent: Saturday, April 23, 2005 8:48 PM
> To: Luki; Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [Asterisk-Users] SIP registration behind Linksys WRT54G
>
> Oh yeah, duh.. Forgot.. I also have an SPA-2000 and a Cisco ATA-186
running
> behind my Linksys WTR43GS with no issues. This is at home registering to
an
> external * box and to vonage.
>
> ----- Original Message -----
> From: "Luki" <lugosoft at gmail.com>
> To: "Asterisk Users Mailing List - Non-Commercial Discussion"
> <asterisk-users at lists.digium.com>
> Sent: Saturday, April 23, 2005 9:41 PM
> Subject: Re: [Asterisk-Users] SIP registration behind Linksys WRT54G
>
> The WRT54G work fine...
>
> I have a Sipura 1000 and a Grandstream 286, both nated through a
> WRT54G on a single public IP. Worked "out of the box" -- no special
> settings needed. I was even surprised that I did not need to turn on
> the NAT handling in the Sipura ATA.
>
> Then I have a WRT54G running as a wireless client, and a Sipura 1001
> connected to it, essentially behind two NAT's. Works fine too.
>
> --Luki
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list