[OpenSIPS-Users] Debug logs show To tag which are actually From tag

Robert Dyck rob.dyck at telus.net
Thu Nov 23 19:36:10 UTC 2023


While running opensips in debug mode I noticed that for initial requests of dialog creating 
methods the debug logs were showing a To tag where none actually exists. The tag 
displayed was actually the From tag.

INVITE sip:8 at 192.168.1.2 SIP/2.0 
Via: SIP/2.0/UDP 192.168.1.3:5060;branch=z9hG4bK.k7nLoQHpR;rport 
From: <sip:7 at 192.168.1.2>;*tag=GSq6JzXiH *
To: sip:8 at 192.168.1.2 
CSeq: 21 INVITE 
Call-ID: VCALnmUf8V 


Nov 23 11:02:32 [1131200] DBG:maxfwd:is_maxfwd_present: value = 70 
Nov 23 11:02:32 [1131200] *DBG:sipmsgops:has_totag: no totag *
Nov 23 11:02:32 [1131200] Initial request, method is INVITE, URI is sip:8 at 192.168.1.2 

Nov 23 11:02:32 [1131200] DBG:core:check_self: host != me 
Nov 23 11:02:32 [1131200] DBG:core:parse_headers: flags=78 
Nov 23 11:02:32 [1131200] DBG:tm:t_lookup_request: start searching: hash=42361, 
isACK=0 
Nov 23 11:02:32 [1131200] DBG:tm:matching_3261: RFC3261 transaction matching failed 
Nov 23 11:02:32 [1131200] DBG:tm:t_lookup_request: no transaction found 
Nov 23 11:02:32 [1131200] *DBG:core:parse_to_param: tag=GSq6JzXiH *
Nov 23 11:02:32 [1131200] DBG:core:parse_to_param: end of header reached, state=11 


PUBLISH sip:7 at 192.168.1.2 SIP/2.0 
Via: SIP/2.0/UDP 192.168.1.3:5060;branch=z9hG4bK.myBdBZt3P;rport 
From: <sip:7 at 192.168.1.2>;*tag=cbp~iz4fq* 
To: sip:7 at 192.168.1.2 
CSeq: 21 PUBLISH 
Call-ID: cRC6Gw590w 
Max-Forwards: 70 

Nov 23 11:07:08 [1133909] DBG:maxfwd:is_maxfwd_present: value = 70 
Nov 23 11:07:08 [1133909] *DBG:sipmsgops:has_totag: no totag* 
Nov 23 11:07:08 [1133909] Initial request, method is PUBLISH, URI is sip:7 at 192.168.1.2 

Nov 23 11:07:08 [1133909] DBG:core:check_self: host != me 
Nov 23 11:07:08 [1133909] DBG:core:parse_headers: flags=78 
Nov 23 11:07:08 [1133909] DBG:tm:t_lookup_request: start searching: hash=7222, isACK=0 
Nov 23 11:07:08 [1133909] DBG:tm:matching_3261: RFC3261 transaction matching failed 
Nov 23 11:07:08 [1133909] DBG:tm:t_lookup_request: no transaction found 
Nov 23 11:07:08 [1133909] *DBG:core:parse_to_param: tag=cbp~iz4fq* 
Nov 23 11:07:08 [1133909] DBG:core:parse_to_param: end of header reached, state=11 

SUBSCRIBE sip:rls at 192.168.1.2 SIP/2.0 
Via: SIP/2.0/UDP 192.168.1.3:5060;branch=z9hG4bK.OkkDHBafu;rport 
From: <sip:7 at 192.168.1.2>;*tag=g2aNdkn4o *
To: sips:rls at 192.168.1.2 
CSeq: 21 SUBSCRIBE 
Call-ID: L9LKmnZVY7 
Max-Forwards: 69 


Nov 23 11:07:07 [1133909] DBG:maxfwd:is_maxfwd_present: value = 70 
Nov 23 11:07:07 [1133909] *DBG:sipmsgops:has_totag: no totag* 
Nov 23 11:07:07 [1133909] Initial request, method is SUBSCRIBE, URI is sip:rls at 192.168.1.2 

Nov 23 11:07:07 [1133909] DBG:core:check_self: host != me 
Nov 23 11:07:07 [1133909] DBG:core:parse_headers: flags=78 
Nov 23 11:07:07 [1133909] DBG:tm:t_lookup_request: start searching: hash=33557, 
isACK=0 
Nov 23 11:07:07 [1133909] DBG:tm:matching_3261: RFC3261 transaction matching failed 
Nov 23 11:07:07 [1133909] DBG:tm:t_lookup_request: no transaction found 
Nov 23 11:07:07 [1133909] *DBG:core:parse_to_param: tag=g2aNdkn4o *
Nov 23 11:07:07 [1133909] DBG:core:parse_to_param: end of header reached, state=1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20231123/5849e27b/attachment-0001.html>


More information about the Users mailing list