Alex Balashov wrote:
Is it necessary to do AmMediaProcessor::instance()->removeSession(this); in the onInvite() handler of an application if the dialog constructor (AmB2BDialog subclass) contains set_sip_relay_only(true); ?
no, not really.
The session is only put in media processor processing if after onSessionStart something is set as input or output (i.e. if one of setInput/setOutput/setInOut is called). if onInvite is overwritten, and onSessionStart is not called, that of course does not happen.
Regards Stefan
Thanks!
-- Stefan Sayer VoIP Services Consulting and Development Warschauer Str. 24 10243 Berlin tel:+491621366449 sip:[email protected] email/xmpp:[email protected] _______________________________________________ Sems mailing list [email protected] http://lists.iptel.org/mailman/listinfo/sems
