[asterisk-users] Playback during call

Gabriel Ortiz Lour ortiz.admin at gmail.com
Mon Aug 9 19:19:18 CDT 2010


Hi all,

  How can I playback a file within an active call?

I've tried with ChanSpy whisper mode like this (using AMI):

Action: Originate
Channel: Local/9999 at default
Priority: 0
Variable: MSG=test
Application: ChanSpy
Data: SIP/1234-123
Async: 1

and  in the dialplan:

[default]
exten => 9999,1,Answer()
exten => 9999,n,Wait(2)
exten => 9999,n,Playback(${MSG})

  Where SIP/1234-123 is the up bridged channel.

But this is not working (it seams that will work on the rolling CLI, but no
sound at all)

Is there a better way to do it?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100809/00a1100c/attachment.htm 


More information about the asterisk-users mailing list