[asterisk-bugs] [Asterisk 0018860]: Odd Behavior when dialed sip channel doesn't exist

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Feb 21 13:07:56 CST 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18860 
====================================================================== 
Reported By:                cmorford
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18860
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.8.2.3 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-02-21 10:56 CST
Last Modified:              2011-02-21 13:07 CST
====================================================================== 
Summary:                    Odd Behavior when dialed sip channel doesn't exist
Description: 
I found this previous issue that seems to be similar to mine:

https://issues.asterisk.org/view.php?id=18708

but the reporter was referred to forum.  I believe the issue may be more
than a support issue.

On asterisk 1.6.1.13, the Dial command simply fails on a non-configured
extension and falls through the dialplan, terminating the call.

Using ChanIsAvail on the 1.6.1.13 system, I get an ${AVAILSTATUS} of 20,
which is expected.

On 1.8.2.3 the call stays inside the Dial command with the output below
and does not fail as expected.  The ${AVAILSTATUS} is 0 which doesn't
appear to be appropriate.

If I stay on the phone, the __sip_xmit messages will repeat until I hang
up.

It interesting to note that the bogus extension I dialed was 166 which
shows up in the output below in the IP address.
====================================================================== 

---------------------------------------------------------------------- 
 (0132253) cmaj (reporter) - 2011-02-21 13:07
 https://issues.asterisk.org/view.php?id=18860#c132253 
---------------------------------------------------------------------- 
I am seeing the exact same thing on 1.8.3-rc2, with ChanIsAvail() reporting
AVAILSTATUS=0 for all channels, regardless of registration state. Dialed
phantom phone exten shows up as IP address (in hex). 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-02-21 13:07 cmaj           Note Added: 0132253                          
======================================================================




More information about the asterisk-bugs mailing list