[Freeswitch-users] RTP Audio Stream Initialise

Michael Jerris mike at jerris.com
Tue Oct 1 16:21:23 MSD 2013


On Oct 1, 2013, at 5:51 AM, Callum Guy <callum.guy at x-on.co.uk> wrote:

> I am trying to understand how audio streams are initialised in FreeSWITCH. I'm working with ESL (inbound and outbound) and trying to record some audio. Through testing i have proven that audio is working correctly for bridged calls, conferences and file playback however not for single legged audio recording - that is, until I play a file first.
> 
> In my example the playback application is executed from an outbound socket, the call is then parked and the inbound socket captures the park event and starts recording. With the playback in place i get audio, and without it I simply get a silent file of the correct duration presumably meaning that the the RTP stream is not active.
> 
You can try a brief silence_stream at the start of the call to address this.

> My question therefore is: How can I initialise the RTP stream for recording, without having played a file first? Is there a command for this, or an argument I can pass to the record application?
> 
FreeSWITCH already does this, its likely whatever your talking to does not.  What is on the other end of the call.

> My objective is to understand how RTP streams are initialised in FreeSWITCH and any input would be greatly appreciated.
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20131001/a9db0186/attachment-0001.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list