[asterisk-bugs] [Asterisk 0013037]: Asterisk incorrectly requires an ACK of it's response to an OPTIONS request

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Jul 9 15:07:30 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13037 
====================================================================== 
Reported By:                rnbrady
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13037
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   tweak
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.18 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             07-09-2008 10:17 CDT
Last Modified:              07-09-2008 15:07 CDT
====================================================================== 
Summary:                    Asterisk incorrectly requires an ACK of it's
response to an OPTIONS request
Description: 
An OPTIONS request from a peer to Asterisk generates a response. Because
this is a non-INVITE request, the peer is not required to ACK the response
from Asterisk.

However, if the peer does not ACK the response, Asterisk responds to
subsequent re-INVITES with a 491 Request Pending. This is probably because
of RFC3261 section 14.2:

   A UAS that receives an INVITE on a dialog while an INVITE it had sent
   on that dialog is in progress MUST return a 491 (Request Pending)
   response to the received INVITE.

Now an OPTIONS request is supposed to be treated just like an INVITE in
most respects. However, it is strictly speaking a non-INVITE request and
therefore does not require an ACK.

The result is that if a peer uses an OPTIONS request to test whether a
re-INVITE will succeed, when it actually does the re-INVITE, it fails with
a 491.
====================================================================== 

---------------------------------------------------------------------- 
 oej - 07-09-08 15:07  
---------------------------------------------------------------------- 
I don't see any need for an ACK for an OPTIONS in ASterisk. I need however
to get a log from your asterisk to see where the problem really is. See the
bug guidelines and upload a log file as an attachment. Thanks. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-09-08 15:07  oej            Note Added: 0089967                          
======================================================================




More information about the asterisk-bugs mailing list