Hi
The INVITE would also be interesting.
Does the Contact: Header in the invite contain the transport=tls attribute?
Souldn't the 200 OK reply contain at least one Record-Route (the lowest one) stating transport=tls?
PS: I was facing a similar issue with a commercial SBC which, when TLS/TCP is not licensed, has the oddity to remove the transport attribute from the contact header and send new transactions in the same dialog without specifying transport (defaulting to UDP). So I had to create a copy the value of the transport header to a custom t= contact attribute, which I then use to restore the U-URI transport attribute towards the registrar handling the CPE connection.
200 OK from carrier SIP/2.0 200 OK Via: SIP/2.0/TLS KAM_PUB_IP:5061;branch=z9hG4bK18ff.3d856b8b0b007414ab2dec09cbabd574.0;i=a2 Via: SIP/2.0/TLS FS_PUB_IP:5061;received=FS_PUB_IP;rport=56403;branch=z9hG4bKKaee61yyZ98De From: "+14388006102" sip:+14388006102@KAM_PUB_IP;tag=XjQ5g4Ze5UaZp To: sip:933@CARRIER_PUB_IP:5061;transport=tls;tag=gK04d33797 Call-ID: b99c2b65-a827-123d-1984-4201c0a80193 CSeq: 84807919 INVITE Record-Route: sip:KAM_PUB_IP:5061;transport=tls;lr;ftag=XjQ5g4Ze5UaZp;did=aad.91c1;nat=yes Accept: application/sdp, application/isup, application/dtmf, application/dtmf-relay, multipart/mixed Contact: sip:933@CARRIER_PUB_IP:5061 Allow: INVITE,ACK,CANCEL,BYE,REGISTER,INFO,SUBSCRIBE,NOTIFY,PRACK,UPDATE,OPTIONS,MESSAGE,PUBLISH Require: timer Supported: timer Session-Expires: 1800;refresher=uac Content-Length: 324 Content-Disposition: session; handling=required Content-Type: application/sdp
v=0 o=Sonus_UAC 913845 351585 IN IP4 CARRIER_PUB_IP s=SIP Media Capabilities c=IN IP4 206.146.100.22 t=0 0 m=audio 33168 RTP/SAVP 0 101 a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:LfSgFSVqhXNWMSziOtwpEeYmNu0/kGiyuMVS8VXy a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=sendrecv a=ptime:20
ACK Kam is sending
ACK sip:933@CARRIER_PUB_IP:5061 SIP/2.0 Via: SIP/2.0/UDP KAM_PUB_IP:5060;branch=z9hG4bK18ff.f8c56ea9cad44dc10408188224b923cf.0;i=a2 Via: SIP/2.0/TLS FS_PUB_IP:5061;received=FS_PUB_IP;rport=56403;branch=z9hG4bKmK767vF2vjZ0S Max-Forwards: 69 From: "+14388006102" sip:+14388006102@KAM_PUB_IP;tag=XjQ5g4Ze5UaZp To: sip:933@CARRIER_PUB_IP:5061;transport=tls;tag=gK04d33797 Call-ID: b99c2b65-a827-123d-1984-4201c0a80193 CSeq: 84807919 ACK Contact: sip:mod_sofia@FS_PUB_IP:5061;transport=tls;alias=FS_PUB_IP~56403~3 Content-Length: 0 __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe:
Mit freundlichen Grüssen
-Benoît Panizzon-