Re: [Sofia-sip-devel] tls_connect() Invoked On Every Outbound INVITE

2011-06-20 Thread Jerry Richards
Hi Pekka, Okay, I found why this was happening and fixed it locally. The problem was in tport_by_addrinfo() function in libsofia-sip-ua/tport/tport.c. I changed two lines that compare sub->tpaddr to sa, as shown below: OLD: cmp = memcmp(sub->tpaddr, sa, ai->ai_addrlen); NEW: cmp = memcmp(sub

Re: [Sofia-sip-devel] tls_connect() Invoked On Every Outbound INVITE

2011-06-14 Thread Pekka Pessi
Hi Jerry, 2011/6/9 Jerry Richards : > Anyone know why sofia-sip would re-establish a TLS connection for every > outbound INVITE?  That's what I see happening.  Logs are shown below, after > calling nua_invite() while a TLS connection was already establised (Note: > you'll probably see some extra l

[Sofia-sip-devel] tls_connect() Invoked On Every Outbound INVITE

2011-06-09 Thread Jerry Richards
Hello, Anyone know why sofia-sip would re-establish a TLS connection for every outbound INVITE? That's what I see happening. Logs are shown below, after calling nua_invite() while a TLS connection was already establised (Note: you'll probably see some extra logs I added to help debug this).