[asterisk-bugs] [Asterisk 0012091]: Asterisk sends 491 Pending for a new INVITE

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Apr 14 12:39:14 CDT 2008


email_notification_title_for_status_bug_ready_for_testing 
====================================================================== 
http://bugs.digium.com/view.php?id=12091 
====================================================================== 
Reported By:                atrash
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12091
Category:                   Channels/chan_sip/General
Reproducibility:            sometimes
Severity:                   major
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           1.4.17 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             02-27-2008 15:12 CST
Last Modified:              04-14-2008 12:39 CDT
====================================================================== 
Summary:                    Asterisk sends 491 Pending for a new INVITE
Description: 
Please help!!!

AsteriskNOW v 1.0.1 is setup with multiple phones running SIP.  

The server itself is communicating with our provider in SIP as well, and
incoming/outgoing works great....

Except that outgoing calls get dropped in random time intervals ranging
from between less than a minute to over 15 minutes.

Each time they get dropped, the SIP Debugging shows the same thing...
Here's a quick overview, with the detailed sip debugging attached.


So here's what happened for the last call:
1. The provider sends an INVITE:
INVITE sip:6787721321 at 10.212.7.226 SIP/2.0
CSeq: 778024721 INVITE

2. Asterisk responds with a Trying:
SIP/2.0 100 Trying 
CSeq: 778024721 INVITE

3. Asterisk completes and sends the OK:
SIP/2.0 200 OK
CSeq: 778024721 INVITE

4. Provider sends another INVITE with a different CSeq:
INVITE sip:6787721321 at 10.212.7.226 SIP/2.0
CSeq: 778024722 INVITE

5. Asterisk thinks that this new invite is pending, and responds with:
SIP/2.0 491 Request Pending
CSeq: 778024722 INVITE

6. The provider ACKS this pending:
ACK sip:6787721321 at 10.212.7.226 SIP/2.0
CSeq: 778024722 ACK

7. The provider doesn't receive a completion, and responds with a BYE (
terminating the call :( ):
BYE sip:6787721321 at 10.212.7.226 SIP/2.0


Now, I'm left wondering why it replies with a 491 when the invite is not
still in processing....


====================================================================== 

---------------------------------------------------------------------- 
 file - 04-14-08 12:39  
---------------------------------------------------------------------- 
Please give the attached patch a try against a recent check out of Asterisk
1.4 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
04-14-08 12:39  file           Note Added: 0085467                          
04-14-08 12:39  file           Status                   new => ready for testing
======================================================================




More information about the asterisk-bugs mailing list