[asterisk-users] ChanSpy in whisper mode - low quality audio
ISABEL ORDAS ARNAL
ioa at tid.es
Mon Dec 19 12:13:33 CST 2011
Hi all,
I succeed in injecting audio into one channel by mean of ChanSpy, but this audio cannot be listened correctly. I am using softphones for Android and iPhone and there are so many cuts so that they cannot understand what is said in the audio file. Is this because the total RTP bandwidth is too much?. Which codec and format should I use for the files played with Playback application?
Dialplan is like this:
same => n,Dial(SIP/${TRUNK}/${ARG2}${NUM},60,M(inject^${CALLERNUMBER}))
[macro-inject]
same => s,1,Originate(Local/trunk at injectWarning,app,Playback,Message-Callee)
same => n,Originate(Local/${ARG1}@injectWarning,app,Playback,Message-Caller)
[injectWarning]
exten => _+34[69]XXXXXXXX,1,Answer()
same => n, ChanSpy(SIP/${EXTEN},qw)
same => n, Hangup()
exten =>trunk,1,Answer()
same => n, ChanSpy(SIP/${TRUNK},qw)
same => n, Hangup()
Could anyone help?
Regards,
Isabel
________________________________
Este mensaje se dirige exclusivamente a su destinatario. Puede consultar nuestra pol?tica de env?o y recepci?n de correo electr?nico en el enlace situado m?s abajo.
This message is intended exclusively for its addressee. We only send and receive email on the basis of the terms set out at.
http://www.tid.es/ES/PAGINAS/disclaimer.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20111219/1ee50b2d/attachment.htm>
More information about the asterisk-users
mailing list