Hi list, I'm using Sofia SIP in a VoIP application for Windows and Mac (I use VoiceEngine from Google’s WebRTC project for media). It works well. However, in order to connect from behind corporate firewalls, I have enabled TLS as the default protocol. So far I have experienced two shortcomings:
1) SIP keep-alives / ping-pong is not implemented for TLS. That means that if a proxy times out and drops the connection, my application is blind for server-side notifications (like re-invites or BYE). I did implement this last Friday. I'll post a patch if anyone is interested. 2) TCP/TLS disconnects are not handled well. If the TLS connection drops, it's not re-established, and worse, the application is not being notified. I need to fix the second problem somehow. I see two solutions. I can pass the hangup-event to the session-layer, and trigger a re-invite. Or I can pass the event to the applications callback handler, and let the application deal with it. However, neither approaches seems trivial. I'm not too familiar with the Sofia SIP implementation yet, so I'm a bit uncertain about how to do this. If somebody has any advices to share, that will be greatly appreciated. Regards, Jarle ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel