Thanks Stefan. Makes sense!

Cheers
Jason

On Wed, 2008-06-11 at 11:35 +0200, Stefan Sayer wrote:
> 
> o Jason Penton [06/11/08 11:02]:
> > 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.
> > 
> > So I am starting with a base similar to the conference app, but I have a
> > question: Why wasn't the conference app implemented from an AmB2BSession
> > base class (surely this would have been easier - using connectCallee,
> > etc). Is there a reason that the conference app was implemented using
> > AMSession as its base class.
> what would you want b2bua in conference application for?
> 
> maybe you are confused by the implementation of the #* dialout feature 
> in the conference app. its indeed a bit funny and could also be 
> implemented using an AmB2ABSession, but then the problem would be that 
> caller and callee sessions are not symmetric, so the dialed-in call 
> cannot transform from  callee to caller session, and would not be able 
> to dial-out again. thus it makes sense to use a separate conference 
> channel with 2 participants.
> 
> have a look at simple_conference or webconference as base for your 
> application, that ones may be simpler.
> 
> Stefan
> 
> > 
> > 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

Reply via email to