I send INVITE to SLFphone and recv responce 100/180/200 with bad
Contact header (without port).
And sofia stack trying to send auto ACK with this bad Contact header
(without port).
SLFphone can use non standart port, but stack trying to use default port 5060.

INVITE sip:softphone@172.16.0.129:3296 SIP/2.0
Via: SIP/2.0/UDP 172.16.0.129;rport;branch=z9hG4bK01j1HBjyBQ7Nc
Max-Forwards: 70
From: <sip:snom@172.16.0.129>;tag=4SyrH1rjpvt4a
To: <sip:softphone@172.16.0.129>
Call-ID: e0202d10-27e5-122f-aeaa-001cc0fb6ee6
CSeq: 14942148 INVITE
Contact: <sip:172.16.0.129:5060>     <<<<<<( It my sip router/proxy  )
User-Agent: DirectSWITCH/1.0.0-dev sofia-sip/1.12.10
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE,
NOTIFY, REFER, UPDATE, REGISTER
Supported: timer, 100rel
Min-SE: 120
Content-Type: application/sdp
Content-Disposition: session
Content-Length: 424


SIP/2.0 200 OK
Via: SIP/2.0/UDP
172.16.0.129;rport=5060;received=172.16.0.129;branch=z9hG4bK01j1HBjyBQ7Nc
Call-ID: e0202d10-27e5-122f-aeaa-001cc0fb6ee6
From: <sip:snom@172.16.0.129>;tag=4SyrH1rjpvt4a
To: <sip:softphone@172.16.0.129>;tag=30d82313-ae91-43ef-9553-6f2b07ecfb59
CSeq: 14942148 INVITE
Allow: PRACK, SUBSCRIBE, NOTIFY, REFER, INVITE, ACK, BYE, CANCEL,
UPDATE, INFO, REGISTER, OPTIONS, MESSAGE
Contact: <sip:softphone@172.16.0.129>     <<<<<<<<<( Bad SLFphone
Contact header )
Supported: replaces, 100rel
Content-Type: application/sdp
Content-Length:   153


And sofia trying to send auto ACK itself

ACK sip:softphone@172.16.0.129 SIP/2.0
Via: SIP/2.0/UDP 172.16.0.129;rport;branch=z9hG4bK1actK6218ZX8Q
Max-Forwards: 70
From: <sip:snom@172.16.0.129>;tag=4SyrH1rjpvt4a
To: <sip:softphone@172.16.0.129>;tag=30d82313-ae91-43ef-9553-6f2b07ecfb59
Call-ID: e0202d10-27e5-122f-aeaa-001cc0fb6ee6
CSeq: 14942148 ACK
Contact: <sip:172.16.0.129:5060>
Content-Length: 0

How to fix it?
ACK sip:softphone@172.16.0.129:3296 SIP/2.0

------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to