[OpenSIPS-Users] Incorrect callid in ACK

Mark Farmer farmorg at gmail.com
Tue Jun 8 11:31:47 EST 2021


Hi all!

I'm seeing a really weird issue where topology_hiding_match() fails to
match because of an incorrect Call-ID header but in a trace the header
looks correct.

I did think that it might be because of a missing fix_nated_contact() when
if (has_totag) is true so I added that but no change.

Is anyone able to point me at the issue here please?

*This is the ACK as seen by sngrep:*

ACK sip:10.150.50.104:5060;did=46.f43fd5c5 SIP/2.0
Max-Forwards: 68
To: <sip:441423369030 at 10.150.50.104>;tag=2e31e1179f3440fca8aed29db28c4314
From: <sip:+447872542107 at 10.150.50.105>;tag=3832136123-1536789624
Call-ID:
DLGCH_e0JXVmd7Y2NiQ11dYXhjZX5CVkNhfWlneUlRXWIJIzEsXRAFfiV9NS4CVVkxZyU4YQMBBz1nMidhHgAa
CSeq: 1 ACK
Via: SIP/2.0/UDP 10.150.50.105:5060;branch=z9hG4bK0171.a266b523.2
Contact: <sip:+447872542107 at 10.150.50.105;did=9d6.dd57c632>
Content-Length: 0

*This is what I see in the log:*

DBG:sipmsgops:has_totag: totag found
DBG:tracer:is_id_traced: trace=on dyn=off
CUSTOM_LOG: - in-dialog request: ACK from 10.150.50.105 Arming reply
route...
DBG:core:parse_headers: flags=ffffffffffffffff
DBG:core:parse_headers: flags=78
DBG:tm:t_lookup_request: start searching: hash=5904, isACK=1
DBG:tm:matching_3261: RFC3261 transaction matching failed
DBG:tm:t_lookup_request: no transaction found
DBG:core:parse_headers: flags=200
DBG:core:grep_sock_info_ext: checking if host==us: 13==13 &&
 [10.150.50.104] == [10.150.50.104]
DBG:core:grep_sock_info_ext: checking if port 5060 matches port 5060
DBG:dialog:api_match_dialog: We found DID param in R-URI with value of
46.f43fd5c5
DBG:dialog:dlg_onroute: route param is '46.f43fd5c5' (len=11)
DBG:dialog:lookup_dlg: dialog id=1549661007 found on entry 100
DBG:core:parse_headers: flags=58
WARNING:dialog:dlg_onroute: tight matching failed for ACK with callid='
42284230-3832136123-249469431 at sbc-uk-l-far07b.uk.sdin.bt.net'/60,
ftag='3832136123-1536789624'/21, ttag='2e31e1179f3440fca8aed29db28c4314'/32
and direction=0
WARNING:dialog:dlg_onroute: dialog identification elements are
callid='DLGCH_e0JXVmd7Y2NiQ11dYXhjZX5CVkNhfWlneUlRXWIJIzEsXRAFfiV9NS4CVVkxZyU4YQMBBz1nMidhHgAa'/86,
caller tag='3832136123-1536789624'/21, callee
tag='2e31e1179f3440fca8aed29db28c4314'/32
DBG:core:parse_headers: flags=58
DBG:dialog:get_dlg: input ci=<
42284230-3832136123-249469431 at sbc-uk-l-far07b.uk.sdin.bt.net>(60),
tt=<3832136123-1536789624>(21), ft=<2e31e1179f3440fca8aed29db28c4314>(32)
DBG:dialog:get_dlg: no dialog callid='
42284230-3832136123-249469431 at sbc-uk-l-far07b.uk.sdin.bt.net' found
DBG:dialog:dlg_onroute: Callid '
42284230-3832136123-249469431 at sbc-uk-l-far07b.uk.sdin.bt.net' not found
DBG:core:parse_headers: flags=200
DBG:core:grep_sock_info_ext: checking if host==us: 13==13 &&
 [10.150.50.104] == [10.150.50.104]
DBG:core:grep_sock_info_ext: checking if port 5060 matches port 5060
DBG:tracer:is_id_traced: trace=on dyn=off
CUSTOM_LOG: cannot match request to a dialog
DBG:core:destroy_avp_list: destroying list 0x7fdb83011d98
DBG:core:receive_msg: cleaning up

Thanks and regards
Mark.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20210608/03bdf4da/attachment.html>


More information about the Users mailing list