Re: [OpenSIPStack] sip parser
Brought to you by:
joegenbaclor
From: haripriya a. <har...@re...> - 2008-07-29 10:04:20
|
I am proceeding as per your suggestion. But the thing is my audio and network module is dialog based, asynchronous event driven ones. How can i subclass those modules to this sip parser module. Still i am struggling with that. Can i have any suggestion regarding this. Thanks in advance. On Thu, 26 Jun 2008 jo...@op... wrote : >I am going to assume that you sub-classed the CallSession UACore for your gateway. If this NOT what you did, then you need to give more info. If this is what you did, all you need to do is to implement the two blank methods in CallSessionManager. >BOOL CallSessionManager::OnRequireSDPAnswer( > const SIPMessage & offer, > SIPMessage & answer, > CallSession & session >) >{ > /// Media UA should implement this method > return FALSE; >} > >BOOL CallSessionManager::OnRequireSDPOffer( > SIPMessage & _offer, > CallSession & session >) >{ > /// Media UA should implement this method > return FALSE; >} > > >Lastly, as you can see, the default implementation of the CallSession does not have RTP. >Joegen > > >haripriya alapati wrote: >> Hi, >> >>I have already DSP and NETWORK modules. Only thing is I have to include the SIP module to my project. >>For Sip parser I am using opensipstack source code. But I am not getting how to separate the sip parser from the rtp and media modules in the opensipsatck code. Can anyone please help me regarding this. >> >>Thanks in advance. ------------------------------------------------------------------------- >>Check out the new SourceForge.net Marketplace. >>It's the best place to buy or sell services for >>just about anything Open Source. >>http://sourceforge.net/services/buy/index.php >>_______________________________________________ >>opensipstack-devel mailing list >>ope...@li... >>https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >> >> >> > |