Summary:ASTERISK-12474: The chan_iax2 does not detect or send hangup to softphone
Reporter:Thiago Garcia (thiagarcia)Labels:
Date Opened:2008-07-28 13:24:54Date Closed:2011-06-07 14:02:55
Versions:Frequency of
Environment:Attachments:( 0) show-channels-ok.txt
( 1) show-channels-with-issue.txt
Description:The chan_iax2 does not detect or send hangup to softphone.
I have a queue with ringall strategy, if one softphone answers the call, another softphone continues ringing.
If I call to another softphone and hangup the call, this softphone is going to continue ringing.
The applications does not hangup the call. If I pickup() one call and the call does not exist, the pickup will not hangup in the softphone.


The softphone is any version of idefisk and zoiper in any SO.
Comments:By: Thiago Garcia (thiagarcia) 2008-07-30 08:30:18

Did someone redo this issue?
It Is necessary other informations?

By: Paul Belanger (pabelanger) 2008-07-30 11:30:57

It would be helpful to the developers if you posted debugs / traces of the issue.

Refer to http://www.asterisk.org/developers/bug-guidelines

set verbose / debug 999, iax debug on, make test call and update files.

By: Thiago Garcia (thiagarcia) 2008-07-31 13:11:33

I revert Asterisk to version and now it works for me.
I suspect that the issue isn't in chan_iax2, from version to SVN 133980 didn't had modifications in chan_iax2.  

By: Benoit P (b_plessis) 2008-10-28 05:14:09

I'm seeing the same problem here, but maybe more general.
Any call made from or to an IAX softphone (Zoiper) doesn't

Even when calling a local function on the pabx which end with HangUp()

It was working fine in and now fail in 1.4.22

By: Thiago Garcia (thiagarcia) 2008-11-12 11:58:58.000-0600

In version with zaptel- the issue does not happen.
After adding Dahdi in Asterisk version 1.4.22 and zaptel- I noticed the same problem.

Find attached two files demonstrating the example:

show-channels-with-issue.txt - Is the output where I am having issues, the Application column always shows Appdial and Data column always shows (Outgoing Line) even after answering.

show-channels-ok.txt -  Is the output working correctly, after the call is answered Application column shows Bridged Call and Data column show the corresponding channel, like "Zap/36-1".

Another problem with the bugged version is, when strategy=ringall in the queue after the first person answers the call, the other people on the queue have their phones still ringing. The correct behavior should be stop ringing the other phones on the queue right after the person answers the call.

By: Tilghman Lesher (tilghman) 2008-12-10 12:50:12.000-0600

I believe this issue is a duplicate of ASTERISK-12847.  Could you update to the SVN revision related to that fix and try again?

By: Tilghman Lesher (tilghman) 2009-01-16 14:11:30.000-0600

No response from reporter.