[asterisk-bugs] [Asterisk 0014632]: IAX2 doesn't issue HANGUP when using DIAL ring

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Mar 25 11:05:20 CDT 2009


The following issue has been CLOSED 
====================================================================== 
http://bugs.digium.com/view.php?id=14632 
====================================================================== 
Reported By:                trendboy
Assigned To:                dvossel
====================================================================== 
Project:                    Asterisk
Issue ID:                   14632
Category:                   Channels/chan_iax2
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Asterisk Version:           1.6.0.6 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-03-09 12:22 CDT
Last Modified:              2009-03-25 11:05 CDT
====================================================================== 
Summary:                    IAX2 doesn't issue HANGUP when using DIAL ring
Description: 
This is a strange one.

I have recorded a video of this happening on:

http://video.google.com/videoplay?docid=-8122305684689236739

Steps to repro:
1) Set up your extensions.ael with simple extensions like as follows
inside some context:

        7001 =>  {
                        Dial(IAX2/7001,30,r);
                        Hangup();
                }


        7002 =>  {
                        Dial(IAX2/7002,30,r);
                        Hangup();
                }


        7003 =>  {
                        Dial(IAX2/7003,30,r);
                        Hangup();
                }

2) Call one of the extensions and hang up without answering it

3) The call will not end and the phone will continue to ring out.

** This also happens on Zoiper as well as real phones. It is as though
there is no Hangup request being sent to the software or the phone in the
IAX2 packet.

*** Please see the video of this happening (link above) ***

Now continue on by changing the ring flag in the dial command to be m for
music on hold so you have:


        7001 =>  {
                        Dial(IAX2/7001,30,m);
                        Hangup();
                }

and so on

2) Again call an extension and hang up, the hangup packet works and the
phone hangs up. Same correct behaviour on Zoiper softphone.

So could it have something to do with the m option??? I first thought it
was the phones themselves and reported it to the makers of the phones,
however when I saw it happening on Zoiper then I knew it has to be
something to do with asterisk.
====================================================================== 

---------------------------------------------------------------------- 
 (0102173) dvossel (administrator) - 2009-03-25 11:05
 http://bugs.digium.com/view.php?id=14632#c102173 
---------------------------------------------------------------------- 
I'm going to go ahead and close the issue since your original report is
fixed.  Go ahead and create a new bug report for whatever else you're
having trouble with.  It makes it easier for us to keep track of things. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-03-25 11:05 dvossel        Note Added: 0102173                          
2009-03-25 11:05 dvossel        Status                   feedback => closed  
======================================================================




More information about the asterisk-bugs mailing list