RE: [Asterisk-Users] SIP registration behind Linksys WRT54G - FIXED :-)

2005-04-24 Thread Tomas Florian
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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 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 [EMAIL PROTECTED] wrote:
 I'm trying to register BT100s ... (doesn't work)
 X-Lite seems to work though
 
 Tomas
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] 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 [EMAIL PROTECTED]
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 asterisk-users@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@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@lists.digium.com
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http

[Asterisk-Users] SIP registration behind Linksys WRT54G

2005-04-23 Thread Tomas Florian
Hello,

I'm having some major problems getting SIP phones to register whenever I put
them behind a Linksys router. The same phones will register behind any other
NAT (I've tried 3 others without problems)

I've been debugging using Ethereal and these are the differences that I
found between Linksys WRT54G and a Monowall Router as an example (Monowall
router is one of the many that work fine for me):

REGISTER sip:asterisk.mydomain.com

Monowall (good registration)

- Via: SIP/2.0/UDP 192.168.10.199;branch=...
- Authorization: DIGEST ..., uri=sip:asterisk.mydomain.com, ...
- Contact sip: [EMAIL PROTECTED];user=phone

Linksys WRT54G (Bad registration - 403 Forbidden)

- Via: SIP/2.0/UDP 66.x.x.166;branch=...
- Authorization: DIGEST ..., uri=sip 66.x.x.166:5060, ...
- Contact *


As you can see the difference seems to be that with the Linksys the SIP
request has it's WAN IP + port (66.x.x.166) whereas the request from behind
a monowall has the LAN IP of the phone 

What is the explanation for this difference?  Needless to say - I don't have
any special port forwarding enabled on either one of these routers and I'm
using the identical phone with identical configuration for both tests.

I have outgoing proxy in my phone's configuration but it almost looks like
it's disregarding that option when behind the Linksys router.  

Another interesting thing to note is that I have tried connecting to some
other proxy from behind Linksys (not my own asterisk but some other provider
- I don't know what they are running)  I was able to register without a
problem.  Interestingly, the registration request looked identical to the
monowall one (Via: LocalIP , uri: FQDN ) ... unfortunately because I am not
the system admin on that VoIP server I can't login to see what configuration
they have in order to copy it.

I'm really out of ideas ... if anyone has any hints of what else I could
check out I would really appreciate that.

Thank you,
Tomas



___
Asterisk-Users mailing list
Asterisk-Users@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


Re: [Asterisk-Users] SIP registration behind Linksys WRT54G

2005-04-23 Thread Scott Henderson
Please make sure you post any solution you find to this issue to the 
list I have been frustrated by this as well.

Scott Henderson

Finite Technologies Incorporated
3763 Image Drive, Anchorage, Alaska 99504
Phone: 907.339.8085 ext 6101, Fax: 907.333.4482
http://www.finite-tech.com
http://www.chillywall.com
http://www.virtuale.cc
http://www.mphage.com
Current Local Time: http://www.worldtimeserver.com/time.asp?locationid=US-AK


Tomas Florian wrote:
Hello,
I'm having some major problems getting SIP phones to register whenever I put
them behind a Linksys router. The same phones will register behind any other
NAT (I've tried 3 others without problems)
I've been debugging using Ethereal and these are the differences that I
found between Linksys WRT54G and a Monowall Router as an example (Monowall
router is one of the many that work fine for me):
REGISTER sip:asterisk.mydomain.com
Monowall (good registration)
- Via: SIP/2.0/UDP 192.168.10.199;branch=...
- Authorization: DIGEST ..., uri=sip:asterisk.mydomain.com, ...
- Contact sip: [EMAIL PROTECTED];user=phone
Linksys WRT54G (Bad registration - 403 Forbidden)

- Via: SIP/2.0/UDP 66.x.x.166;branch=...
- Authorization: DIGEST ..., uri=sip 66.x.x.166:5060, ...
- Contact *
As you can see the difference seems to be that with the Linksys the SIP
request has it's WAN IP + port (66.x.x.166) whereas the request from behind
a monowall has the LAN IP of the phone 

What is the explanation for this difference?  Needless to say - I don't have
any special port forwarding enabled on either one of these routers and I'm
using the identical phone with identical configuration for both tests.
I have outgoing proxy in my phone's configuration but it almost looks like
it's disregarding that option when behind the Linksys router.  

Another interesting thing to note is that I have tried connecting to some
other proxy from behind Linksys (not my own asterisk but some other provider
- I don't know what they are running)  I was able to register without a
problem.  Interestingly, the registration request looked identical to the
monowall one (Via: LocalIP , uri: FQDN ) ... unfortunately because I am not
the system admin on that VoIP server I can't login to see what configuration
they have in order to copy it.
I'm really out of ideas ... if anyone has any hints of what else I could
check out I would really appreciate that.
Thank you,
Tomas

___
Asterisk-Users mailing list
Asterisk-Users@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@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


RE: [Asterisk-Users] SIP registration behind Linksys WRT54G

2005-04-23 Thread Tomas Florian
Is your problem on the same model of Linksys? WRT54G?  I haven't had a
chance to try some other Linksys routers so I'm curious.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Scott
Henderson
Sent: Saturday, April 23, 2005 7:20 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] SIP registration behind Linksys WRT54G

Please make sure you post any solution you find to this issue to the 
list I have been frustrated by this as well.

Scott Henderson

Finite Technologies Incorporated
3763 Image Drive, Anchorage, Alaska 99504
Phone: 907.339.8085 ext 6101, Fax: 907.333.4482
http://www.finite-tech.com
http://www.chillywall.com
http://www.virtuale.cc
http://www.mphage.com
Current Local Time: http://www.worldtimeserver.com/time.asp?locationid=US-AK




Tomas Florian wrote:

Hello,

I'm having some major problems getting SIP phones to register whenever I
put
them behind a Linksys router. The same phones will register behind any
other
NAT (I've tried 3 others without problems)

I've been debugging using Ethereal and these are the differences that I
found between Linksys WRT54G and a Monowall Router as an example (Monowall
router is one of the many that work fine for me):

REGISTER sip:asterisk.mydomain.com

   Monowall (good registration)

   - Via: SIP/2.0/UDP 192.168.10.199;branch=...
   - Authorization: DIGEST ..., uri=sip:asterisk.mydomain.com, ...
   - Contact sip: [EMAIL PROTECTED];user=phone

   Linksys WRT54G (Bad registration - 403 Forbidden)
   
   - Via: SIP/2.0/UDP 66.x.x.166;branch=...
   - Authorization: DIGEST ..., uri=sip 66.x.x.166:5060, ...
   - Contact *


As you can see the difference seems to be that with the Linksys the SIP
request has it's WAN IP + port (66.x.x.166) whereas the request from behind
a monowall has the LAN IP of the phone 

What is the explanation for this difference?  Needless to say - I don't
have
any special port forwarding enabled on either one of these routers and I'm
using the identical phone with identical configuration for both tests.

I have outgoing proxy in my phone's configuration but it almost looks like
it's disregarding that option when behind the Linksys router.  

Another interesting thing to note is that I have tried connecting to some
other proxy from behind Linksys (not my own asterisk but some other
provider
- I don't know what they are running)  I was able to register without a
problem.  Interestingly, the registration request looked identical to the
monowall one (Via: LocalIP , uri: FQDN ) ... unfortunately because I am not
the system admin on that VoIP server I can't login to see what
configuration
they have in order to copy it.

I'm really out of ideas ... if anyone has any hints of what else I could
check out I would really appreciate that.

Thank you,
Tomas



___
Asterisk-Users mailing list
Asterisk-Users@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@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@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


Re: [Asterisk-Users] SIP registration behind Linksys WRT54G

2005-04-23 Thread Scott Henderson




I have tried several, dlink doesn't seem to have the same issue and a
more intelligent firewall is not having any problems. We are working
with the Sipura 1001 and 2000 units on this issue.
Scott Henderson

Finite Technologies Incorporated
3763 Image Drive, Anchorage, Alaska 99504
Phone: 907.339.8085 ext 6101, Fax: 907.333.4482
http://www.finite-tech.com
http://www.chillywall.com
http://www.virtuale.cc
http://www.mphage.com
Current Local Time: http://www.worldtimeserver.com/time.asp?locationid=US-AK




Tomas Florian wrote:

  Is your problem on the same model of Linksys? WRT54G?  I haven't had a
chance to try some other Linksys routers so I'm curious.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Scott
Henderson
Sent: Saturday, April 23, 2005 7:20 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] SIP registration behind Linksys WRT54G

Please make sure you post any solution you find to this issue to the 
list I have been frustrated by this as well.

Scott Henderson

Finite Technologies Incorporated
3763 Image Drive, Anchorage, Alaska 99504
Phone: 907.339.8085 ext 6101, Fax: 907.333.4482
http://www.finite-tech.com
http://www.chillywall.com
http://www.virtuale.cc
http://www.mphage.com
Current Local Time: http://www.worldtimeserver.com/time.asp?locationid=US-AK




Tomas Florian wrote:

  
  
Hello,

I'm having some major problems getting SIP phones to register whenever I

  
  put
  
  
them behind a Linksys router. The same phones will register behind any

  
  other
  
  
NAT (I've tried 3 others without problems)

I've been debugging using Ethereal and these are the differences that I
found between Linksys WRT54G and a Monowall Router as an example (Monowall
router is one of the many that work fine for me):

REGISTER sip:asterisk.mydomain.com

	Monowall (good registration)

	- Via: SIP/2.0/UDP 192.168.10.199;branch=...
	- Authorization: DIGEST ..., uri="sip:asterisk.mydomain.com", ...
	- Contact sip: [EMAIL PROTECTED];user=phone

	Linksys WRT54G (Bad registration - 403 Forbidden)
	
	- Via: SIP/2.0/UDP 66.x.x.166;branch=...
	- Authorization: DIGEST ..., uri="sip 66.x.x.166:5060", ...
	- Contact *


As you can see the difference seems to be that with the Linksys the SIP
request has it's WAN IP + port (66.x.x.166) whereas the request from behind
a monowall has the LAN IP of the phone 

What is the explanation for this difference?  Needless to say - I don't

  
  have
  
  
any special port forwarding enabled on either one of these routers and I'm
using the identical phone with identical configuration for both tests.

I have outgoing proxy in my phone's configuration but it almost looks like
it's disregarding that option when behind the Linksys router.  

Another interesting thing to note is that I have tried connecting to some
other proxy from behind Linksys (not my own asterisk but some other

  
  provider
  
  
- I don't know what they are running)  I was able to register without a
problem.  Interestingly, the registration request looked identical to the
monowall one (Via: LocalIP , uri: FQDN ) ... unfortunately because I am not
the system admin on that VoIP server I can't login to see what

  
  configuration
  
  
they have in order to copy it.

I'm really out of ideas ... if anyone has any hints of what else I could
check out I would really appreciate that.

Thank you,
Tomas



___
Asterisk-Users mailing list
Asterisk-Users@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@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@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@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

RE: [Asterisk-Users] SIP registration behind Linksys WRT54G

2005-04-23 Thread Rich Adamson
I've got a 7960 behind a Linksys wireless box and its working just
fine with nat=yes in the sip.conf. Has been for over a year. Not
sure of the model though.


 Is your problem on the same model of Linksys? WRT54G?  I haven't had a
 chance to try some other Linksys routers so I'm curious.
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Scott
 Henderson
 Sent: Saturday, April 23, 2005 7:20 PM
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 Subject: Re: [Asterisk-Users] SIP registration behind Linksys WRT54G
 
 Please make sure you post any solution you find to this issue to the 
 list I have been frustrated by this as well.
 
 Scott Henderson
 
 Finite Technologies Incorporated
 3763 Image Drive, Anchorage, Alaska 99504
 Phone: 907.339.8085 ext 6101, Fax: 907.333.4482
 http://www.finite-tech.com
 http://www.chillywall.com
 http://www.virtuale.cc
 http://www.mphage.com
 Current Local Time: http://www.worldtimeserver.com/time.asp?locationid=US-AK
 
 
 
 
 Tomas Florian wrote:
 
 Hello,
 
 I'm having some major problems getting SIP phones to register whenever I
 put
 them behind a Linksys router. The same phones will register behind any
 other
 NAT (I've tried 3 others without problems)
 
 I've been debugging using Ethereal and these are the differences that I
 found between Linksys WRT54G and a Monowall Router as an example (Monowall
 router is one of the many that work fine for me):
 
 REGISTER sip:asterisk.mydomain.com
 
  Monowall (good registration)
 
  - Via: SIP/2.0/UDP 192.168.10.199;branch=...
  - Authorization: DIGEST ..., uri=sip:asterisk.mydomain.com, ...
  - Contact sip: [EMAIL PROTECTED];user=phone
 
  Linksys WRT54G (Bad registration - 403 Forbidden)
  
  - Via: SIP/2.0/UDP 66.x.x.166;branch=...
  - Authorization: DIGEST ..., uri=sip 66.x.x.166:5060, ...
  - Contact *
 
 
 As you can see the difference seems to be that with the Linksys the SIP
 request has it's WAN IP + port (66.x.x.166) whereas the request from behind
 a monowall has the LAN IP of the phone 
 
 What is the explanation for this difference?  Needless to say - I don't
 have
 any special port forwarding enabled on either one of these routers and I'm
 using the identical phone with identical configuration for both tests.
 
 I have outgoing proxy in my phone's configuration but it almost looks like
 it's disregarding that option when behind the Linksys router.  
 
 Another interesting thing to note is that I have tried connecting to some
 other proxy from behind Linksys (not my own asterisk but some other
 provider
 - I don't know what they are running)  I was able to register without a
 problem.  Interestingly, the registration request looked identical to the
 monowall one (Via: LocalIP , uri: FQDN ) ... unfortunately because I am not
 the system admin on that VoIP server I can't login to see what
 configuration
 they have in order to copy it.
 
 I'm really out of ideas ... if anyone has any hints of what else I could
 check out I would really appreciate that.
 


___
Asterisk-Users mailing list
Asterisk-Users@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


Re: [Asterisk-Users] SIP registration behind Linksys WRT54G

2005-04-23 Thread Luki
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@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


Re: [Asterisk-Users] SIP registration behind Linksys WRT54G

2005-04-23 Thread Mojo-Jojo
I have a whole Asterisk server behind a wtr54gs. We have SPA-2000's 
registering from the Internet into it with no problems.

Actually, we don't have it at the moment but did for several months.
Not sure if this helps any or just adds to the confusion.
- Original Message - 
From: Rich Adamson [EMAIL PROTECTED]
To: Asterisk Users Mailing List - Non-Commercial Discussion 
asterisk-users@lists.digium.com
Sent: Saturday, April 23, 2005 10:24 PM
Subject: RE: [Asterisk-Users] SIP registration behind Linksys WRT54G


I've got a 7960 behind a Linksys wireless box and its working just
fine with nat=yes in the sip.conf. Has been for over a year. Not
sure of the model though.

Is your problem on the same model of Linksys? WRT54G?  I haven't had a
chance to try some other Linksys routers so I'm curious.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Scott
Henderson
Sent: Saturday, April 23, 2005 7:20 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] SIP registration behind Linksys WRT54G
Please make sure you post any solution you find to this issue to the
list I have been frustrated by this as well.
Scott Henderson

Finite Technologies Incorporated
3763 Image Drive, Anchorage, Alaska 99504
Phone: 907.339.8085 ext 6101, Fax: 907.333.4482
http://www.finite-tech.com
http://www.chillywall.com
http://www.virtuale.cc
http://www.mphage.com
Current Local Time: 
http://www.worldtimeserver.com/time.asp?locationid=US-AK



Tomas Florian wrote:
Hello,

I'm having some major problems getting SIP phones to register whenever I
put
them behind a Linksys router. The same phones will register behind any
other
NAT (I've tried 3 others without problems)

I've been debugging using Ethereal and these are the differences that I
found between Linksys WRT54G and a Monowall Router as an example 
(Monowall
router is one of the many that work fine for me):

REGISTER sip:asterisk.mydomain.com

 Monowall (good registration)

 - Via: SIP/2.0/UDP 192.168.10.199;branch=...
 - Authorization: DIGEST ..., uri=sip:asterisk.mydomain.com, ...
 - Contact sip: [EMAIL PROTECTED];user=phone

 Linksys WRT54G (Bad registration - 403 Forbidden)

 - Via: SIP/2.0/UDP 66.x.x.166;branch=...
 - Authorization: DIGEST ..., uri=sip 66.x.x.166:5060, ...
 - Contact *


As you can see the difference seems to be that with the Linksys the SIP
request has it's WAN IP + port (66.x.x.166) whereas the request from 
behind
a monowall has the LAN IP of the phone

What is the explanation for this difference?  Needless to say - I don't
have
any special port forwarding enabled on either one of these routers and 
I'm
using the identical phone with identical configuration for both tests.

I have outgoing proxy in my phone's configuration but it almost looks 
like
it's disregarding that option when behind the Linksys router.

Another interesting thing to note is that I have tried connecting to 
some
other proxy from behind Linksys (not my own asterisk but some other
provider
- I don't know what they are running)  I was able to register without a
problem.  Interestingly, the registration request looked identical to 
the
monowall one (Via: LocalIP , uri: FQDN ) ... unfortunately because I am 
not
the system admin on that VoIP server I can't login to see what
configuration
they have in order to copy it.

I'm really out of ideas ... if anyone has any hints of what else I could
check out I would really appreciate that.


___
Asterisk-Users mailing list
Asterisk-Users@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@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


Re: [Asterisk-Users] SIP registration behind Linksys WRT54G

2005-04-23 Thread Mojo-Jojo
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 [EMAIL PROTECTED]
To: Asterisk Users Mailing List - Non-Commercial Discussion 
asterisk-users@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@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@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


RE: [Asterisk-Users] SIP registration behind Linksys WRT54G

2005-04-23 Thread Tomas Florian
I'm trying to register BT100s ... (doesn't work)
X-Lite seems to work though

Tomas

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 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 [EMAIL PROTECTED]
To: Asterisk Users Mailing List - Non-Commercial Discussion 
asterisk-users@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@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@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@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


Re: [Asterisk-Users] SIP registration behind Linksys WRT54G

2005-04-23 Thread Pedro
Have you tried to enable NAT translation on the Grandstream?

On 4/23/05, Tomas Florian [EMAIL PROTECTED] wrote:
 I'm trying to register BT100s ... (doesn't work)
 X-Lite seems to work though
 
 Tomas
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] 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 [EMAIL PROTECTED]
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 asterisk-users@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@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@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@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@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


RE: [Asterisk-Users] SIP registration behind Linksys WRT54G

2005-04-23 Thread Tomas Florian
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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 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 [EMAIL PROTECTED] wrote:
 I'm trying to register BT100s ... (doesn't work)
 X-Lite seems to work though
 
 Tomas
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] 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 [EMAIL PROTECTED]
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 asterisk-users@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@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@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@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@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@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


RE: [Asterisk-Users] SIP registration behind Linksys WRT54G - URI?

2005-04-23 Thread Tomas Florian
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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 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 [EMAIL PROTECTED] wrote:
 I'm trying to register BT100s ... (doesn't work)
 X-Lite seems to work though
 
 Tomas
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] 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 [EMAIL PROTECTED]
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 asterisk-users@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@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@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@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@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@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@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