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

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Mar 6 16:59:59 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
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:                     feedback
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:              03-06-2008 16:59 CST
====================================================================== 
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....


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

---------------------------------------------------------------------- 
 atrash - 03-06-08 16:59  
---------------------------------------------------------------------- 
Thanks for the quick response... and sorry for my delay, but I set up
asterisk 1.4.18 and it took a little time reformatting and all.

Incoming/Outgoing is working fine, but the INVITEs from the provider cause
the box to get stuck in a permanent Request Pending state.

Attached is the debug output which contains core debugging 9, and the CLI
output which contains verbose 100 (to include EVERYTHING), and SIP
Debugging (as well as normal CLI messages).

As a side note, is it normal to receive reINVITEs every 30 seconds from
providers?

Thanks 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
03-06-08 16:59  atrash         Note Added: 0083565                          
======================================================================




More information about the asterisk-bugs mailing list