Hi Stefan On Tue, 2008-06-10 at 20:47 +0200, Stefan Sayer wrote: > Hello, > > o Jason Penton [06/10/08 20:36]: > > Hi All, > > > > what is the best way to record a SIP call using SEMS?? > > > > I was thinking something like the conference app with a call being made > > out automatically and attaching a writable audio file for the 'recording > > channel' > > have a look at AmAudioQueue (AmAdvancedAudio.h, well, its not so > advanced), you can attach two or more AmAudios to the input, e.g. one > AmConferenceChannel and one AmAudioFile. Audio is written to (or read > from, if you push them in output queue) both. > If we take the simpleconference example. Would we still use the AmPlaylist and add the audioqueue to the playlist.
I tried substituting the AmPlayList in the simepleconference with AmAudioQueue. So if I just do the following: setInOut(&audio_queue,&audio_queue); i get echo when you dial in, and if I add something like: audio_queue.pushAudio(channel.get(),AmAudioQueue::OutputQueue,AmAudioQueue::Front,true,false); i get a bunch of noise with debug saying: (17465) DEBUG: write (AmPlayoutBuffer.cpp:79): resync needed: reference ts = 92240; write ts = 986062047 Could you please guide me in the right direction. Kind regards Jason > hope this gets you started. > Stefan > > > > > any feedback / ideas ??? > > > > p.s. i did search the archives and found a previous question similar to > > this but unfortunately it was not answered........ > > > > Kind regards > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Sems mailing list > > [email protected] > > http://lists.iptel.org/mailman/listinfo/sems > _______________________________________________ Sems mailing list [email protected] http://lists.iptel.org/mailman/listinfo/sems
