Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Asterisk ignoring nat settings


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
ldardini at gmail.com
Guest





PostPosted: Wed Jan 15, 2014 6:11 pm    Post subject: [asterisk-users] Asterisk ignoring nat settings Reply with quote

Hello,I have an asterisk box with a peer configured with nat=force_rport,comedia, but asterisk keeps sending the audio to the private IP address and ignoring the client peer nat settings.


If I check the "sip show peer extension", I see both symmetric RTP and Force Rport are set to yes, but asterisk seems ignoring them.


  Force rport  : Yes
  Symmetric RTP: Yes



Asterisk is behind a nat the the externip and localnet has been configured. The local net on the asterisk network is different from the local net on phone.


What else could I check?



Leandro
Back to top
andres at telesip.net
Guest





PostPosted: Wed Jan 15, 2014 7:52 pm    Post subject: [asterisk-users] Asterisk ignoring nat settings Reply with quote

On 1/15/14, 6:11 PM, Leandro Dardini wrote:

Quote:
Hello, I have an asterisk box with a peer configured with nat=force_rport,comedia, but asterisk keeps sending the audio to the private IP address and ignoring the client peer nat settings.

Why don't you try with nat=yes. It should be equivalent to what you have but who knows. It might just work.
Quote:


If I check the "sip show peer extension", I see both symmetric RTP and Force Rport are set to yes, but asterisk seems ignoring them.


Force rport : Yes
Symmetric RTP: Yes



Asterisk is behind a nat the the externip and localnet has been configured. The local net on the asterisk network is different from the local net on phone.


What else could I check?



Leandro





--
Technical Support
http://www.cellroute.net
Back to top
ish at pack-net.co.uk
Guest





PostPosted: Thu Jan 16, 2014 3:57 am    Post subject: [asterisk-users] Asterisk ignoring nat settings Reply with quote

Is directmedia set to no?


On 15 January 2014 23:11, Leandro Dardini <ldardini@gmail.com (ldardini@gmail.com)> wrote:
Quote:
Hello,I have an asterisk box with a peer configured with nat=force_rport,comedia, but asterisk keeps sending the audio to the private IP address and ignoring the client peer nat settings.


If I check the "sip show peer extension", I see both symmetric RTP and Force Rport are set to yes, but asterisk seems ignoring them.


  Force rport  : Yes
  Symmetric RTP: Yes



Asterisk is behind a nat the the externip and localnet has been configured. The local net on the asterisk network is different from the local net on phone.


What else could I check?



Leandro




--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users




--
Quote:
Ishfaq Malik
Department: VOIP Support
Company: Packnet Limited
t: +44 (0)845 004 4994
f: +44 (0)161 660 9825
e: ish@pack-net.co.uk (ish@pack-net.co.uk)
w: http://www.pack-net.co.uk

Registered Address: PACKNET LIMITED, Duplex 2, Ducie House
37 Ducie Street
Manchester, M1 2JW
COMPANY REG NO. 04920552
Back to top
ldardini at gmail.com
Guest





PostPosted: Thu Jan 16, 2014 4:32 am    Post subject: [asterisk-users] Asterisk ignoring nat settings Reply with quote

Yes, thank you. Maybe I have found the problem. The asterisk server is behind a nat and the RTP port range was not redirected to the asterisk box, so the Symmetric RTP cannot work because the asterisk is not receiving any RTP packet from the remote phone. 

Leandro



2014/1/16 Ishfaq Malik <ish@pack-net.co.uk (ish@pack-net.co.uk)>
Quote:
Is directmedia set to no?


On 15 January 2014 23:11, Leandro Dardini <ldardini@gmail.com (ldardini@gmail.com)> wrote:


Quote:
Hello,I have an asterisk box with a peer configured with nat=force_rport,comedia, but asterisk keeps sending the audio to the private IP address and ignoring the client peer nat settings.


If I check the "sip show peer extension", I see both symmetric RTP and Force Rport are set to yes, but asterisk seems ignoring them.


  Force rport  : Yes
  Symmetric RTP: Yes



Asterisk is behind a nat the the externip and localnet has been configured. The local net on the asterisk network is different from the local net on phone.


What else could I check?



Leandro






--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users





--
Quote:
Ishfaq Malik
Department: VOIP Support
Company: Packnet Limited
t: [url=tel:%2B44%20%280%29845%20004%204994]+44 (0)845 004 4994[/url]
f: [url=tel:%2B44%20%280%29161%20660%209825]+44 (0)161 660 9825[/url]
e: ish@pack-net.co.uk (ish@pack-net.co.uk)
w: http://www.pack-net.co.uk

Registered Address: PACKNET LIMITED, Duplex 2, Ducie House
37 Ducie Street
Manchester, M1 2JW
COMPANY REG NO. 04920552



--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
myoung at acsacc.com
Guest





PostPosted: Thu Jan 16, 2014 2:24 pm    Post subject: [asterisk-users] Asterisk ignoring nat settings Reply with quote

----- Original Message -----

Quote:
From: "Andres" <andres@telesip.net>
To: "Asterisk Users Mailing List - Non-Commercial Discussion"
<asterisk-users@lists.digium.com>
Sent: Wednesday, January 15, 2014 7:51:28 PM
Subject: Re: [asterisk-users] Asterisk ignoring nat settings


Quote:
Why don't you try with nat=yes. It should be equivalent to what you
have but who knows. It might just work.

I am curious why you would say that "nat=yes" might work over "nat=force_rport,comedia"? As you stated, they are the same. "nat=yes" is deprecated and should be discouraged from being used.

Michael

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
andres at telesip.net
Guest





PostPosted: Thu Jan 16, 2014 4:17 pm    Post subject: [asterisk-users] Asterisk ignoring nat settings Reply with quote

On 1/16/14, 2:23 PM, Michael L. Young wrote:
Quote:
----- Original Message -----

Quote:
From: "Andres" <andres@telesip.net>
To: "Asterisk Users Mailing List - Non-Commercial Discussion"
<asterisk-users@lists.digium.com>
Sent: Wednesday, January 15, 2014 7:51:28 PM
Subject: Re: [asterisk-users] Asterisk ignoring nat settings

Quote:
Why don't you try with nat=yes. It should be equivalent to what you
have but who knows. It might just work.
I am curious why you would say that "nat=yes" might work over "nat=force_rport,comedia"? As you stated, they are the same. "nat=yes" is deprecated and should be discouraged from being used.
I had no idea it was deprecated. I have never seen such a warning in
Asterisk 1.8.X
Quote:

Michael



--
Technical Support
http://www.cellroute.net


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
myoung at acsacc.com
Guest





PostPosted: Thu Jan 16, 2014 6:09 pm    Post subject: [asterisk-users] Asterisk ignoring nat settings Reply with quote

----- Original Message -----
Quote:
From: "Andres" <andres@telesip.net>
To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users@lists.digium.com>
Sent: Thursday, January 16, 2014 4:17:53 PM
Subject: Re: [asterisk-users] Asterisk ignoring nat settings

Quote:
I am curious why you would say that "nat=yes" might work over
"nat=force_rport,comedia"? As you stated, they are the same.
"nat=yes" is deprecated and should be discouraged from being
used.
I had no idea it was deprecated. I have never seen such a warning in
Asterisk 1.8.X

The OP didn't specify which version of Asterisk he was using. In Asterisk 1.8, "nat" was not a combinable list of options. In Asterisk 11 it was. So, I figured that since he was asking about "nat=force_rport,comedia" that he was on Asterisk 11 and in that version, "nat=yes" is deprecated. I apologize about not clarifying the version that I was talking about.

Michael

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
rmudgett at digium.com
Guest





PostPosted: Thu Jan 16, 2014 6:09 pm    Post subject: [asterisk-users] Asterisk ignoring nat settings Reply with quote

On Thu, Jan 16, 2014 at 3:17 PM, Andres <andres@telesip.net (andres@telesip.net)> wrote:
Quote:
On 1/16/14, 2:23 PM, Michael L. Young wrote:
Quote:
----- Original Message -----

Quote:
From: "Andres" <andres@telesip.net (andres@telesip.net)>
To: "Asterisk Users Mailing List - Non-Commercial Discussion"
<asterisk-users@lists.digium.com (asterisk-users@lists.digium.com)>
Sent: Wednesday, January 15, 2014 7:51:28 PM
Subject: Re: [asterisk-users] Asterisk ignoring nat settings
 
Quote:
Why don't you try with nat=yes. It should be equivalent to what you
have but who knows. It might just work.
I am curious why you would say that "nat=yes" might work over "nat=force_rport,comedia"?  As you stated, they are the same.  "nat=yes" is deprecated and should be discouraged from being used.

I had no idea it was deprecated.  I have never seen such a warning in Asterisk 1.8.X


nat=yes is deprecated starting with Asterisk v11 as documented in the CHANGES file.
Asterisk v11 also adds the comma separated list of nat options
(nat=force_rport,comedia).  Earlier versions do not support comma separated nat
settings.


The OP did not specify the Asterisk version and may be using a syntax inappropriate
to the Asterisk version.



Richard
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services