[asterisk-users] OPTIONS Keep alive - Reply: 481 No subscription

2011-05-13 Thread Skyler
Hi all,

 

 Anyone know how to make asterisk properly reply to  options keep-alive? Or
just force a 200 OK somehow?

 

 I recently took over a server and they have ~80 pap2 devices that send nat
keep-alive and * always replies with 481 No subscription. It's more of an
annoyance, I know but I like to keep my pcap's clean.

 

S.

 

 

--
_
-- 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] OPTIONS Keep alive - Reply: 481 No subscription

2011-05-13 Thread Eric Wieling


 -Original Message-
 From: asterisk-users-boun...@lists.digium.com
 [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Skyler
 Sent: Friday, May 13, 2011 2:59 PM
 To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
 Subject: [asterisk-users] OPTIONS Keep alive - Reply: 481 No
 subscription

 Hi all,



  Anyone know how to make asterisk properly reply to  options
 keep-alive? Or just force a 200 OK somehow?



  I recently took over a server and they have ~80 pap2 devices
 that send nat keep-alive and * always replies with 481 No
 subscription. It's more of an annoyance, I know but I like to
 keep my pcap's clean.

You should be able to turn NAT Keepalive off on the PAP2s.  If you need a NAT 
Keepalive type of service, use the qualify=yes for those peers in Asterisk

--
_
-- 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] OPTIONS Keep alive - Reply: 481 No subscription

2011-05-13 Thread Ryan Wagoner
On Fri, May 13, 2011 at 2:58 PM, Skyler skchopper...@gmail.com wrote:
 Hi all,



  Anyone know how to make asterisk properly reply to  options keep-alive? Or
 just force a 200 OK somehow?



  I recently took over a server and they have ~80 pap2 devices that send nat
 keep-alive and * always replies with 481 No subscription. It’s more of an
 annoyance, I know but I like to keep my pcap’s clean.


Which version of Asterisk? 1.8 should have this built-in. I made a
patch for 1.6.2 which you can download at http://pastebin.com/Ls3m8t15

Ryan

--
_
-- 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] OPTIONS Keep alive - Reply: 481 No subscription

2011-05-13 Thread Skyler
Really!? Wow, that would be so easy as it looks like qualify=yes is already
enabled on each SIP channel. I'll give that a try/test first and report
back.

 

 

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Eric Wieling
Sent: Friday, May 13, 2011 12:07 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] OPTIONS Keep alive - Reply: 481 No
subscription

 

 

 -Original Message-
 From: asterisk-users-boun...@lists.digium.com
 [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Skyler
 Sent: Friday, May 13, 2011 2:59 PM
 To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
 Subject: [asterisk-users] OPTIONS Keep alive - Reply: 481 No
 subscription

 Hi all,



  Anyone know how to make asterisk properly reply to  options
 keep-alive? Or just force a 200 OK somehow?



  I recently took over a server and they have ~80 pap2 devices
 that send nat keep-alive and * always replies with 481 No
 subscription. It's more of an annoyance, I know but I like to
 keep my pcap's clean.

You should be able to turn NAT Keepalive off on the PAP2s.  If you need a
NAT Keepalive type of service, use the qualify=yes for those peers in
Asterisk

--
_
-- 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 

  _  

No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1325 / Virus Database: 1500/3635 - Release Date: 05/13/11

--
_
-- 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] OPTIONS Keep alive - Reply: 481 No subscription

2011-05-13 Thread Eric Wieling


 -Original Message-
 From: asterisk-users-boun...@lists.digium.com
 [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Skyler
 Sent: Friday, May 13, 2011 3:50 PM
 To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
 Subject: Re: [asterisk-users] OPTIONS Keep alive - Reply: 481
 No subscription

 Really!? Wow, that would be so easy as it looks like
 qualify=yes is already enabled on each SIP channel. I'll give
 that a try/test first and report back.

The purpose of qualify= is not for NAT keep-alives, but it generates enough 
traffic to keep the NAT translations open anyway.

--
_
-- 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