2007/8/10, Chung Pak Lai <[EMAIL PROTECTED]>:
> I have implemented a SIP server. Right now, I am trying to deal with the
> problem if the SIP client didn't send a BYE and terminated the socket
> connection. What is the best way to deal with it? For TCP SIP connection, is
> there any notification to let me know if the SIP connection has been
> terminated?

Unfortunately there is no relationship between the TCP connection used
with initial INVITE and SIP session.

> For UDP connection, would you suggest anyway in Sofia-Sip that
> we can use to determine if they timed-out? Since the client may not support
> the session timer, is there a generic way to take care of this?

There is no need for clients to support session timer. If you activate
session timer, Sofia can send re-INVITEs and time out sessions if
there is no response to them. You could also get some indication form
your media transport indicating that sending to the remote end fails
persistently  or that there has been no media activity for certain
period.

-- 
Pekka.Pessi mail at nokia.com

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to