Václav Kubart writes:

> After looking a bit into the problem I would use another solution: get rid of
> onEarlySessionStart and use onSessionStart only.
> 
> In my opinion the session (in the meaning of media session here!) starts when
> SDPs are exchanged (doesn't matter if the answer comes in 183, 200,
> PRACK or ACK or who-knows-where). The application always has the
> possibility to check the dialog state itself (or handle the dialog
> state changes when it gets from early to connected for example).

if applications get onSessionStart event immediately when SDPs are
exchanged even if sip dialog is not established yet (by 200 ok), then
i'm afraid that it may break existing applications (that assume that
onSessionStart implies established sip dialog).

-- juha
_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems

Reply via email to