Re: [OpenSIPStack] How set content type and body?
Brought to you by:
joegenbaclor
From: Joegen E. B. <joe...@gm...> - 2008-04-15 06:49:29
|
Matthias Dreißig wrote: > Thanks for fast your answer. > > And if I want to adapt the registration I have to implement a subclass > of RegisterSessionManager and RegisterSession, am I right? > Right. If you need to modify the behavior of the RegisterSession, then you may also subclass it. However, if you don't need to, just sub-classing RegisterSessionManager would be ok too. All the necessary callbacks for authentication of each session is already exposed in the manager. Take a look at OpalOSSEndPoint.cxx specifically OpalOSSRegistrar class for a sample implementation. > Regards, > M. Dreißig > > jo...@op... schrieb: > >> You will need to implement your own subclass of CallSessionManager and >> CallSession for you to be able to do this cleanly. >> >> You need to implement your own override of >> >> BOOL CallSession::MakeCall( >> const SIPURI & uri, >> const OString & sdp >> ); >> >> >> It might be possible to do it in OPAL but you will need to modify the >> behavior of the media callbacks to ignore none existence of media >> channels. I wouldn't advise it. >> >> >> Matthias Dreißig wrote: >> >> >>> Hi everyone, >>> >>> is it possible to set a content type when making a call with the help of >>> opal manager? I want to set my own content type and body. >>> >>> Regards, >>> M. Dreißig >>> >>> ------------------------------------------------------------------------- >>> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference >>> Don't miss this year's exciting event. There's still time to save $100. >>> Use priority code J8TL2D2. >>> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone >>> _______________________________________________ >>> opensipstack-devel mailing list >>> ope...@li... >>> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >>> >>> >>> >>> >>> >>> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference >> Don't miss this year's exciting event. There's still time to save $100. >> Use priority code J8TL2D2. >> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone >> _______________________________________________ >> opensipstack-devel mailing list >> ope...@li... >> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >> >> >> > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > > |