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@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
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to