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

Asterisk Bug Tracker noreply at bugs.digium.com
Sat Sep 20 17:10:34 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13527 
====================================================================== 
Reported By:                theevilapplepie
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13527
Category:                   Applications/app_dial
Reproducibility:            sometimes
Severity:                   major
Priority:                   normal
Status:                     new
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-09-20 17:10 CDT
====================================================================== 
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.
====================================================================== 

---------------------------------------------------------------------- 
 (0092734) theevilapplepie (reporter) - 2008-09-20 17:10
 http://bugs.digium.com/view.php?id=13527#c92734 
---------------------------------------------------------------------- 
Sorry if way I put this is confusing.

Someone using the pbx or dialing into the pbx, calls someone who is out of
the office.
The pbx dials out their cell phone gives them the macro, they then decide
based on the caller information if they want to answer or not.

It's Debian 4.0 R3. Sorry about the typo.

ALSO, this is pure SIP/SIP communication.
No analog lines! 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-09-20 17:10 theevilapplepieNote Added: 0092734                          
======================================================================




More information about the asterisk-bugs mailing list