diff --git a/core/AmB2BSession.h b/core/AmB2BSession.h index e19aeaee..3860abac 100644 --- a/core/AmB2BSession.h +++ b/core/AmB2BSession.h @@ -154,7 +154,7 @@ private: AmSipRequest invite_req; void relayEvent(AmEvent* ev); - void createCalleeSession(); + virtual void createCalleeSession(); int reinviteCaller(const AmSipReply& callee_reply); public: diff --git a/core/AmSession.h b/core/AmSession.h index a9e5892f..a3236197 100644 --- a/core/AmSession.h +++ b/core/AmSession.h @@ -129,13 +129,15 @@ class AmSession : public AmThread, friend class AmSessionContainer; friend class AmSessionFactory; - // this is the call group - by default local tag - string callgroup; protected: AmSdp sdp; AmRtpAudio rtp_str; + /** this is the group the media is processed with + - by default local tag */ + string callgroup; + public: AmSipDialog dlg; @@ -160,7 +162,7 @@ public: /** * @see AmEventHandler */ - void process(AmEvent*); + virtual void process(AmEvent*); void addHandler(AmSessionEventHandler*);