[asterisk-bugs] [Asterisk 0017106]: No progress playing a sound after hangup

Asterisk Bug Tracker noreply at bugs.digium.com
Sun Mar 28 10:44:44 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17106 
====================================================================== 
Reported By:                smurfix
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17106
Category:                   Channels/chan_iax2
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.2.6 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.2 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-03-28 10:14 CDT
Last Modified:              2010-03-28 10:44 CDT
====================================================================== 
Summary:                    No progress playing a sound after hangup
Description: 
The setup:
* an IAX call gets connected to SIP
  (this does not happen when a SIP call arrives for the same extension)
* the called party hangs up
* the caller is supposed to hear two beeps and a goodbye message.
  extensions.ael says:
  
h => {
                Noop(${CNR});
                if("${CNR}" = "*18") {
                        Playback(beep);
                        Wait(0.5);
                        Playback(beep);
                        Playback(/var/local/asterisk/tschuess);
[...]

However, nothing happens after the first beep, until the caller hangs up.

I have verified that this only happens for incoming IAX2 calls. Incoming
SIP or whatever (I did try a couple) channels are not affected.

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

---------------------------------------------------------------------- 
 (0119965) smurfix (reporter) - 2010-03-28 10:44
 https://issues.asterisk.org/view.php?id=17106#c119965 
---------------------------------------------------------------------- 
Looking at the thread with gdb says that waitstream_core() does not
return.

https://issues.asterisk.org/view.php?id=4  0xb77a99cb in waitstream_core
(c=0xb7e84ff8, breakon=<value optimized
out>, forward=0x0, reverse=0x0, skip_ms=0, audiofd=-1, cmdfd=-1,
context=0x0)
    at file.c:1187
https://issues.asterisk.org/view.php?id=5  0xb77a9eed in ast_waitstream
(c=0xb7e84ff8, breakon=0xb4f69bb8 "") at
file.c:1297 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-03-28 10:44 smurfix        Note Added: 0119965                          
======================================================================




More information about the asterisk-bugs mailing list