Re: [Asterisk-Users] NAT/SIP solution?

2003-09-28 Thread WipeOut
Stig Hess wrote:

Greetings,
 
I was wondering if somebody is working on a solution to the 
NAT/SIP-issues? It seems to me that the problem has been identified, 
is that correct?
 
Just hoping that someone with more skills will provide us with a 
solution sooner or later...
 
Regards,
 
Stig
The solution is to use "nat=yes" in your sip.conf.. so far this has 
worked great for me..

Later..

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] NAT/SIP solution?

2003-09-28 Thread Stig Hess



I meant where Asterisk is behing a NAT... sorry for 
the confusion.
 
Regards,
 
Stig H.

  - Original Message - 
  From: 
  WipeOut 
  
  To: [EMAIL PROTECTED] 
  
  Sent: Sunday, September 28, 2003 8:21 
  PM
  Subject: Re: [Asterisk-Users] NAT/SIP 
  solution?
  Stig Hess wrote:> Greetings,>  > 
  I was wondering if somebody is working on a solution to the > 
  NAT/SIP-issues? It seems to me that the problem has been identified, > 
  is that correct?>  > Just hoping that someone with more 
  skills will provide us with a > solution sooner or 
  later...>  > Regards,>  > 
  StigThe solution is to use "nat=yes" in your sip.conf.. so far this 
  has worked great for 
  me..Later..___Asterisk-Users 
  mailing list[EMAIL PROTECTED]http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] NAT/SIP solution?

2003-09-28 Thread WipeOut
Stig Hess wrote:

I meant where Asterisk is behing a NAT... sorry for the confusion.
 
Regards,
 
Stig H.
Oh.. :)

Well thats a bigger problem.. and i doubt the "Gods of SIP" are going to 
fix it any time soon.. :(

Later..

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] NAT/SIP solution?

2003-09-28 Thread Brian Jones



I've heard of this:
 
http://sarp.sourceforge.net
 
I have no idea if it will be of any help, but it's 
an interesting programme for handleing SIP over NAT.
 
Brian.
 

  - Original Message - 
  From: 
  Stig Hess 
  To: [EMAIL PROTECTED] 
  
  Sent: Sunday, September 28, 2003 2:17 
  PM
  Subject: [Asterisk-Users] NAT/SIP 
  solution?
  
  Greetings,
   
  I was wondering if somebody is working on a 
  solution to the NAT/SIP-issues? It seems to me that the problem has been 
  identified, is that correct?
   
  Just hoping that someone with more skills will 
  provide us with a solution sooner or later...
   
  Regards,
   
  Stig


Re: [Asterisk-Users] NAT/SIP solution?

2003-09-28 Thread Leif Madsen
Stig Hess wrote:
I meant where Asterisk is behing a NAT... sorry for the confusion.
Hi Stig,

If you are able to run * on your NAT'd box, then I have come up with a 
work around (thanks wasim!!!) that will allow you to run an * box behind 
your NAT, and still recieve and make SIP calls.

I haven't got the whole thing figured out yet in terms of 
extensions.conf (but I am working on that today, will post on my website 
later) but this is basically my configuration:

 <--TDM400P--> <*> <--IAX--> <*> <--SIP--> 
  |-NAT-||FW|
So basically the * on the GW machine which is also the NAT / FW box 
recieves the connection from the SIP remote end, then forwards all the 
traffic over IAX to the NAT'd * box.  I just tested it, and it works 
fine!  Once I get some more complex extensions.conf files setup, I will 
post them.

Thanks,
Leif Madsen.
BTW:  As for just passing SIP through SIP, I believe it's a limitation 
of the SIP protocol as the RTP ports are different than the connection 
port, whereas IAX is all the same port for everything (from what I gather)

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] NAT/SIP solution?

2003-09-28 Thread Uriel Carrasquilla
I might be putting words into Stig's message but I think what he means to
ask was the following scenario that causes problems:
SIP --- NAT --- Internet --- NAT --- Asterisk
Nikotel has a solution and one participant in thi list is doing a trial on a
SIP/NAT router (claiming to be the first one in this realm).
To answer Stig's question as I understand it:
I don't think anybody is working on a solution in this list since the
by-pass is to put Asterisk directly on the Internet with its own public-IP
address.
Regards,
Uriel

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of WipeOut
Sent: Sunday, September 28, 2003 2:21 PM
To: [EMAIL PROTECTED]
Subject: Re: [Asterisk-Users] NAT/SIP solution?


Stig Hess wrote:

> Greetings,
>
> I was wondering if somebody is working on a solution to the
> NAT/SIP-issues? It seems to me that the problem has been identified,
> is that correct?
>
> Just hoping that someone with more skills will provide us with a
> solution sooner or later...
>
> Regards,
>
> Stig

The solution is to use "nat=yes" in your sip.conf.. so far this has
worked great for me..

Later..

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] NAT/SIP solution?

2003-09-28 Thread John Todd
Greetings,

I was wondering if somebody is working on a solution to the 
NAT/SIP-issues? It seems to me that the problem has been identified, 
is that correct?

Just hoping that someone with more skills will provide us with a 
solution sooner or later...

Regards,

Stig
http://bugs.digium.com/bug_view_page.php?bug_id=104

This has been identified and is waiting for a solution.  Feel free to 
contribute a patch!

JT
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] NAT/SIP solution?

2003-09-28 Thread Eric Wieling
There are several SIP aware NAT routers.  Any Cisco router with a
firewall load has SIP aware NAT.  There is at least one other brand of
SIP aware NAT router out there, but I don't recall the brand.  

On Sun, 2003-09-28 at 17:26, Uriel Carrasquilla wrote:
> Nikotel has a solution and one participant in thi list is doing a trial on a
> SIP/NAT router (claiming to be the first one in this realm).

-- 
Sample configs and more: http://www.fnords.org/~eric/asterisk/

BTEL Consulting
+1-850-484-4535 x2111 (Pensacola)
+1-504-595-3916 x2111 (New Orleans)
+1-877-677-9643 x2111 (Toll Free)

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] NAT/SIP solution?

2003-09-28 Thread Dave Cotton
On Mon, 2003-09-29 at 00:00, Eric Wieling wrote:
> There are several SIP aware NAT routers.  Any Cisco router with a
> firewall load has SIP aware NAT.  There is at least one other brand of
> SIP aware NAT router out there, but I don't recall the brand.  
> 
> On Sun, 2003-09-28 at 17:26, Uriel Carrasquilla wrote:
> > Nikotel has a solution and one participant in thi list is doing a trial on a
> > SIP/NAT router (claiming to be the first one in this realm).

http://www.intertex.se
-- 
Dave Cotton <[EMAIL PROTECTED]>

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] NAT/SIP solution?

2003-09-28 Thread Uriel Carrasquilla
I had been warned about British sense of humour, but this even a South
American like myself find funny.

Uriel

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of WipeOut
Sent: Sunday, September 28, 2003 3:21 PM
To: [EMAIL PROTECTED]
Subject: Re: [Asterisk-Users] NAT/SIP solution?


Stig Hess wrote:

> I meant where Asterisk is behing a NAT... sorry for the confusion.
>
> Regards,
>
> Stig H.

Oh.. :)

Well thats a bigger problem.. and i doubt the "Gods of SIP" are going to
fix it any time soon.. :(

Later..

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] NAT/SIP solution?

2003-09-29 Thread Uriel Carrasquilla
Leif:
I take it that the * on the GW machine remains in the middle of the call
between SIP and the Nat'ed *, correct?
I also suspect that you will be using IAX over Ethernet (to avoid
compression/decompression delays), correct?
Great work!
Regards,
Uriel

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Leif Madsen
Sent: Sunday, September 28, 2003 3:42 PM
To: [EMAIL PROTECTED]
Subject: Re: [Asterisk-Users] NAT/SIP solution?


Stig Hess wrote:
> I meant where Asterisk is behing a NAT... sorry for the confusion.

Hi Stig,

If you are able to run * on your NAT'd box, then I have come up with a
work around (thanks wasim!!!) that will allow you to run an * box behind
your NAT, and still recieve and make SIP calls.

I haven't got the whole thing figured out yet in terms of
extensions.conf (but I am working on that today, will post on my website
later) but this is basically my configuration:

 <--TDM400P--> <*> <--IAX--> <*> <--SIP--> 
   |-NAT-||FW|

So basically the * on the GW machine which is also the NAT / FW box
recieves the connection from the SIP remote end, then forwards all the
traffic over IAX to the NAT'd * box.  I just tested it, and it works
fine!  Once I get some more complex extensions.conf files setup, I will
post them.

Thanks,
Leif Madsen.

BTW:  As for just passing SIP through SIP, I believe it's a limitation
of the SIP protocol as the RTP ports are different than the connection
port, whereas IAX is all the same port for everything (from what I gather)

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] NAT/SIP solution?

2003-09-29 Thread Leif Madsen
Uriel Carrasquilla wrote:
Leif:
I take it that the * on the GW machine remains in the middle of the call
between SIP and the Nat'ed *, correct?
I also suspect that you will be using IAX over Ethernet (to avoid
compression/decompression delays), correct?
Great work!
You'd be correct.  IAX is over Ethernet, and the GW machine which runs 
asterisk is the in-between man which talks to the remote end, and talks 
to the other NAT'd asterisk box.

I have this working great now, all my voicemail is implemented again, 
FWD works fine, FWD Welcome line works again, IAXtel in and out, 
basically everything I had before.

I figured out what my problem was before, the hostnames weren't 
resolving correctly, simply changed everything to standard IP address, 
and it all worked... sheesh!  I hate when stupid things like that get in 
the way :)  Now, off to fix the hostname issue.

Thanks,
Leif Madsen.
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users