Brilliant!!!! thanks guys! will give it a bash! Cheers jason
On Thu, Nov 5, 2009 at 6:48 PM, Stefan Sayer <[email protected]>wrote: > Hi, > > if you don't want the RTP to stop after the first message finished, use > AmPlaylist as in/out (lots of examples: dsm: DSMCall.cpp, ivr, > webconference, ...). then you get a AmAudioEvent::noAudio event if playlist > is empty (btw, you can also use playlist separators to get events after > items finished). then do dlg.reply(invite_req, 200, "ok", > "application/sdp",sdp_reply); and add an item to the playlist with some > AmAudioFile* as in (second parameter of AmPlaylistItem constructor). > > hth > Stefan > > o Jason Penton [11/05/2009 05:16 PM]: > >> Hi Raphael, >> >> Thanks, I figured as much but the Audio session seems to have been torn >> down after the early media msg is finished playing. So how do i re-initiate >> the mediaporcessor based on the original invite and 183? >> >> Cheers >> Jason >> >> On Thu, Nov 5, 2009 at 5:30 PM, Raphael Coeffic <[email protected] <mailto: >> [email protected]>> wrote: >> >> Jason Penton wrote: >> >> Hi All, >> >> Please can someone indicate how I would go about creating a SEMS >> app using Ealry Media announce followed by answering the call >> with 200OK and recording? >> >> Please not I would prefer to use C++. I have had a look at >> EarlyAnnounce.cpp and seen how to send the 183 Session Progress, >> but how do I after a period of time send a 200OK to the caller >> and answer the call for recording? >> >> Basically, it takes only a few steps: >> - backup the initial INVITE in the onInvite (where the 183 is >> replied in the first place). >> - start a user timer >> - when the user timer hits, use the backed-up request to reply with >> 200 OK (is very similar to replying with 183 in the first place). >> - might have to setup some extra audio related stuff (there should >> be plenty of example on how to record something). >> >> Hope it helped, >> Raphael. >> >> Any pointers would be great? >> >> Cheers >> Jason >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Semsdev mailing list >> [email protected] <mailto:[email protected]> >> >> http://lists.iptel.org/mailman/listinfo/semsdev >> >> >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Semsdev mailing list >> [email protected] >> http://lists.iptel.org/mailman/listinfo/semsdev >> >
_______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
