[asterisk-bugs] [Asterisk 0013527]: Audio passed through during dial macro.

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Dec 11 11:43:03 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13527 
====================================================================== 
Reported By:                theevilapplepie
Assigned To:                file
====================================================================== 
Project:                    Asterisk
Issue ID:                   13527
Category:                   Applications/app_dial
Reproducibility:            sometimes
Severity:                   major
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           1.4.21.2 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-09-20 17:02 CDT
Last Modified:              2008-12-11 11:43 CST
====================================================================== 
Summary:                    Audio passed through during dial macro.
Description: 
I set up a dial macro like the privacy manager, it allows the pbx to call a
party and give them information about the callee before connecting.

The problem is that 7/10 times I call, we can hear one another during the
macro.

The audio from the macro is still played to the caller only it's slow and
garbled.. 

Dial Statement: 
Dial(SIP/myoutboundpeer/${mynumber}|30|mM(dialmacro^${TEMPCALLERCID}^argument1^argument2^returncontext^returnextension^returnpriority))

Macro:
[macro-dialmacro]
exten => s,1,Wait(1)
exten => s,2,Read(acceptordecline|./directory/soundfile|1|||10)
exten => s,3,GotoIf($[${acceptordecline} = 1]?7)
exten => s,4,GotoIf($[${acceptordecline} = 2]?1001)
exten => s,5,GotoIf($[${LEN(${acceptordecline})} = 0]?1000)
exten => s,6,Goto(2)
etc... etc.. The dial macro is huge, I'd rather not post it.

Both parties can hear one another and the called side can hear the audio
playing.
====================================================================== 

---------------------------------------------------------------------- 
 (0096219) theevilapplepie (reporter) - 2008-12-11 11:43
 http://bugs.digium.com/view.php?id=13527#c96219 
---------------------------------------------------------------------- 
It's very analog like though. If both sides are relatively quiet, It barely
passes audio. I'm very fond of whistling to make it break though. What will
happen is the whistle will slowly burp onto the other side one or twice,
then start cutting in and out, then meanwhile the whistler has no audio
from the other side.. Then as the interval between the cutting in and out
gets fewer and fewer eventually it just completely passes audio between
BOTH of them. I found this to be very strange and did not think it to be a
problem with the sip peer. But after going through all of the sip debug for
a call setup, barrier break, and teardown..  I noticed the problem.
Unfortunately I was not quick to re-post the solution, so I don't have the
SIP debug any longer.
Thank you for acknowledging my ticket and I appreciate your help. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-12-11 11:43 theevilapplepieNote Added: 0096219                          
======================================================================




More information about the asterisk-bugs mailing list