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:[email protected] SIP/2.0 
Via: SIP/2.0/UDP 192.168.1.3:5060;branch=z9hG4bK.k7nLoQHpR;rport 
From: <sip:[email protected]>;*tag=GSq6JzXiH *
To: sip:[email protected] 
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:[email protected] 

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:[email protected] SIP/2.0 
Via: SIP/2.0/UDP 192.168.1.3:5060;branch=z9hG4bK.myBdBZt3P;rport 
From: <sip:[email protected]>;*tag=cbp~iz4fq* 
To: sip:[email protected] 
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:[email protected] 

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:[email protected] SIP/2.0 
Via: SIP/2.0/UDP 192.168.1.3:5060;branch=z9hG4bK.OkkDHBafu;rport 
From: <sip:[email protected]>;*tag=g2aNdkn4o *
To: sips:[email protected] 
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:[email protected] 

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
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to