[SIP Beyond VoIP] [sipsimple] Error while establishing session

Dan Pascu dan at ag-projects.com
Wed Dec 14 18:21:40 CET 2011


On 13 Dec 2011, at 16:58, Mihai Richard wrote:

> Hello,
> 
> I have a C++ application on MacOS which uses sipsimple through the embedded python interpreter and I am experiencing the following issue. I can successfully establish a session between two clients using sip-session from terminal but when one of the clients runs in the embedded interpreter I cannot establish a session. I am logging all the notifications that I receive and here is what happens:

> handle_notification() - MediaStreamDidFail
> (here I am printing the reason for MediaStreamDidFail)
> A TLS packet with unexpected length was received.

This message is the usual indication that you have a tls issue, like trying to connect with a tcp client to a tls server. Also if both endpoints use tls, check that certificates are accepted by the endpoints.

--
Dan






More information about the SIPBeyondVoIP mailing list