Re: [asterisk-users] Asterisk ignoring nat settings
On Thu, Jan 16, 2014 at 3:17 PM, Andres wrote: > On 1/16/14, 2:23 PM, Michael L. Young wrote: > >> - Original Message - >> >> From: "Andres" >>> To: "Asterisk Users Mailing List - Non-Commercial Discussion" >>> >>> Sent: Wednesday, January 15, 2014 7:51:28 PM >>> Subject: Re: [asterisk-users] Asterisk ignoring 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. >>> >> 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 -- _ -- 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
Re: [asterisk-users] Asterisk ignoring nat settings
- Original Message - > From: "Andres" > To: "Asterisk Users Mailing List - Non-Commercial Discussion" > > Sent: Thursday, January 16, 2014 4:17:53 PM > Subject: Re: [asterisk-users] Asterisk ignoring nat settings > > > 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
Re: [asterisk-users] Asterisk ignoring nat settings
On 1/16/14, 2:23 PM, Michael L. Young wrote: - Original Message - From: "Andres" To: "Asterisk Users Mailing List - Non-Commercial Discussion" Sent: Wednesday, January 15, 2014 7:51:28 PM Subject: Re: [asterisk-users] Asterisk ignoring 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. 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 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
Re: [asterisk-users] Asterisk ignoring nat settings
- Original Message - > From: "Andres" > To: "Asterisk Users Mailing List - Non-Commercial Discussion" > > Sent: Wednesday, January 15, 2014 7:51:28 PM > Subject: Re: [asterisk-users] Asterisk ignoring 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. 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
Re: [asterisk-users] Asterisk ignoring nat settings
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 > Is directmedia set to no? > > > On 15 January 2014 23:11, Leandro Dardini wrote: > >> 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 >> > > > > -- > > Ishfaq Malik > Department: VOIP Support > Company: Packnet Limited > t: +44 (0)845 004 4994 > f: +44 (0)161 660 9825 > e: i...@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 > -- _ -- 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
Re: [asterisk-users] Asterisk ignoring nat settings
Is directmedia set to no? On 15 January 2014 23:11, Leandro Dardini wrote: > 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 > -- Ishfaq Malik Department: VOIP Support Company: Packnet Limited t: +44 (0)845 004 4994 f: +44 (0)161 660 9825 e: i...@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
Re: [asterisk-users] Asterisk ignoring nat settings
On 1/15/14, 6:11 PM, Leandro Dardini wrote: 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. 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 -- _ -- 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
[asterisk-users] Asterisk ignoring nat settings
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