[asterisk-bugs] [Asterisk 0011773]: Interrupt swift text

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Jan 15 12:13:15 CST 2008


The following issue has been RESOLVED. 
====================================================================== 
http://bugs.digium.com/view.php?id=11773 
====================================================================== 
Reported By:                naveenpalani
Assigned To:                qwell
====================================================================== 
Project:                    Asterisk
Issue ID:                   11773
Category:                   Sounds
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     resolved
Asterisk Version:           1.4.11 
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 duplicate
Duplicate:                  11772
Fixed in Version:           
====================================================================== 
Date Submitted:             01-15-2008 12:12 CST
Last Modified:              01-15-2008 12:13 CST
====================================================================== 
Summary:                    Interrupt swift text
Description: 
Hi,
 
I am using Asterisk-1.4.11 version to make outbound calls and deliver the
swift text to audio. 
 
My functionality is as for example i make this text to audio deliver the
person called.
 
Eg. swift -o /tmp/test.wav -p audio/channels=1,audio/sampling-rate=8000
"Press 1 to confirm. Press 3 to cancel."
 
extension.conf dialplan:
 
[dialout]
exten =>
outbound-handler,1,Dial(SIP/102,60,gM(outbound-connect^agi://10.1.1.68/ivr/speak^${CallInitiate_hashdata}))
 
[macro-outbound-connect]
exten => s,1,Answer()
exten => s,2,System(swift -o /tmp/test.wav -p
audio/channels=1,audio/sampling-rate=8000 "Press 1 to confirm. Press 3 to
cancel.")
exten => s,3,Background(/tmp/test)
exten => s,4,Hangup
 
exten => 1,1,Playback(thanks)
exten => 2,1,Playback(bye)
 
Here in this, the call is connected and answered the control transfer to
macro context. One way i can interrupt the text before it completes the
text is by using 'Background (/tmp/test)' to play the audio.
 
When iam in the middle of the audio if i press 1 before it completes the
entire text, the control should go to 'exten => 1,1,Playback(thanks)'. But
in macro the 'Background' doesnt seem to work. It works fine outside macro
context.
 
When i use the Asterisk cmd GoTo(new_context,extn,priority) inside macro,
I get a message 'channel jumping out of macro "outbound-connect"' waits for
a minute and hungs up, the control doesnt go to new_context.
 
Does anyone have any ideas i can work it out. How can i have the Asterisk
cmd Background inside macro? or how to execute the GoTo command? 
 
Thanks and appreciate your response.
Regards,
Naveen.Palani

======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
duplicate of        0011772 Interrupt swift text
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
01-15-08 12:13  qwell          Relationship added       duplicate of 0011772
01-15-08 12:13  qwell          Duplicate ID             0 => 11772          
01-15-08 12:13  qwell          Status                   new => resolved     
01-15-08 12:13  qwell          Resolution               open => duplicate   
01-15-08 12:13  qwell          Assigned To               => qwell           
======================================================================




More information about the asterisk-bugs mailing list