[asterisk-dev] PJSIP and persistent TLS

Joshua Colp jcolp at digium.com
Mon Mar 3 15:20:30 CST 2014


Andre Valentin wrote:
>
> I have 3 transports configured, 2 udp, 1 tls. I also saw this while
> debugging:
> <--- Received SIP request (1112 bytes) from TLS:192.168.203.81:44160 --->
> .....
> Contact: "A. Valentin"
> <sip:12300001_3 at 192.168.203.81:58251;transport=TLS;ob>;+sip.ice;reg-id=1;+sip.instance="<urn:uuid:00000000-0000-00
>
>
> Look at the port, both ip's are in the same subnet. But this shouldn't
> make a difference since I use force_rport=true, or not ?

The PJSIP transport selector uses the type, IP address, and port. In the 
above the port for the Contact differs so it wouldn't find the existing 
connection. What happens if you use rewrite_contact=yes on the endpoint?

Cheers,

-- 
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org



More information about the asterisk-dev mailing list