[Freeswitch-users] Clear path in contact header when using TLS
Emrah
lists at kavun.ch
Mon Feb 9 10:08:51 MSK 2015
Hi all,
My experience with FS and TLS has been rather mixed so far. It's been a little inconsistent in keeping NAT sessions up and users discoverable.
One thing I've noticed is that FS advertises the wrong information in option packets. The following is what I receive over my TLS session which is working on port 443.
1.2.3.4:443 -(SIP over TLS)-> 10.0.0.99:51132
OPTIONS sip:53178246 at 10.0.0.99:56494;transport=tls;received=5.6.7.8:51132 SIP/2.0
Via: SIP/2.0/TLS 1.2.3.4:443;branch=z9hG4bK6Kv171Q3U5rrD
Route: <sip:53178246 at 5.6.7.8:51132>;transport=tls
Max-Forwards: 70
From: <sip:mod_sofia at 1.2.3.4:5060>;tag=Q6XDFHeUUrcHD
To: <sip:user at domain.com>
Call-ID: 0a052f23-34a8-4158-8c88-fd2a70ffb561_c2RhaSoOYBR6jfJe4ndLoTTKJMrO2gMv
CSeq: 71498568 OPTIONS
Contact: <sip:mod_sofia at 1.2.3.4:5060>
User-Agent: FreeSWITCH
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
Supported: timer, path, replaces
Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
Content-Length: 0
Do you see the From and Contact line? How can I rewrite this? Port 5060 has nothing to do there.
Thanks and all the best,
Emrah
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150209/fa3c7247/attachment.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list