[sr-dev] [tracker] Comment added: ACK not in transaction when t_relay or t_check_trans (Attachment added)

sip-router bugtracker at sip-router.org
Thu May 17 14:56:05 CEST 2012


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#229 - ACK not in transaction when t_relay or t_check_trans
User who did this - Pawel Sternal (Sternik)

----------
Yes, when I set ack_report to 1, ACK is correctly matched. My fault is not to check in documentation. 

About "Record-Route", again my fault, because I run "record_route()" if(!$tt). When we migrate kamailio 1.5 to 3.x we notice that !$tt must be change to $tt==$null. And this time I forgot about it, with another migration, and dump on not matched ACK. Again - my fault.


I tried to check another scenario A-> SER -> ASTERISK | ASTERISK -> SER -> PSTN simulation. We don't use here acc. In kamailio 1.5.2 (test_1.5.cap) I have in:

1 ACK:
May 17 14:48:20 gx00 /usr/sbin/kamailio[32283]: DBG:tm:t_newtran: transaction on entrance=0xffffffff
May 17 14:48:20 gx00 /usr/sbin/kamailio[32282]: DBG:core:parse_headers: flags=80
May 17 14:48:20 gx00 /usr/sbin/kamailio[32283]: DBG:core:parse_headers: flags=ffffffffffffffff
May 17 14:48:20 gx00 /usr/sbin/kamailio[32283]: DBG:core:parse_headers: flags=78
May 17 14:48:20 gx00 /usr/sbin/kamailio[32283]: DBG:tm:t_lookup_request: start searching: hash=5186, isACK=1
May 17 14:48:20 gx00 /usr/sbin/kamailio[32282]: DBG:core:print_rr_body: current rr is <sip:10.0.6.20:5060;ftag=4c30f07ddedec1e3o3;lr>
May 17 14:48:20 gx00 /usr/sbin/kamailio[32282]: DBG:core:print_rr_body: current rr is <sip:10.0.6.40;lr>
May 17 14:48:20 gx00 /usr/sbin/kamailio[32283]: DBG:core:parse_headers: flags=38
May 17 14:48:20 gx00 /usr/sbin/kamailio[32282]: DBG:core:print_rr_body: skipping 2 route records
May 17 14:48:20 gx00 /usr/sbin/kamailio[32283]: DBG:tm:t_lookup_request: RFC3261 ACK matched
May 17 14:48:20 gx00 /usr/sbin/kamailio[32282]: DBG:core:print_rr_body: out rr []
May 17 14:48:20 gx00 /usr/sbin/kamailio[32283]: DBG:tm:t_lookup_request: REF_UNSAFE: after is 1
May 17 14:48:20 gx00 /usr/sbin/kamailio[32282]: DBG:core:print_rr_body: we have 2 records
May 17 14:48:20 gx00 /usr/sbin/kamailio[32283]: DBG:tm:t_lookup_request: e2e proxy ACK found
May 17 14:48:20 gx00 /usr/sbin/kamailio[32282]: DBG:dialog:populate_leg_info: route_set , contact sip:NodesProdIn1 at 10.0.6.20:5062, cseq 102 and bind_addr udp:10.0.6.20:5060
May 17 14:48:20 gx00 /usr/sbin/kamailio[32283]: DBG:tm:t_newtran: building branch for end2end ACK
May 17 14:48:20 gx00 /usr/sbin/kamailio[32283]: DBG:tm:t_relay_to: forwarding ACK

2 ACK:
May 17 14:48:20 gx00 /usr/sbin/kamailio[32283]: DBG:tm:t_lookup_request: start searching: hash=5186, isACK=1
May 17 14:48:20 gx00 /usr/sbin/kamailio[32282]: DBG:core:print_rr_body: current rr is <sip:10.0.6.20:5060;ftag=4c30f07ddedec1e3o3;lr>
May 17 14:48:20 gx00 /usr/sbin/kamailio[32282]: DBG:core:print_rr_body: current rr is <sip:10.0.6.40;lr>
May 17 14:48:20 gx00 /usr/sbin/kamailio[32283]: DBG:core:parse_headers: flags=38
May 17 14:48:20 gx00 /usr/sbin/kamailio[32282]: DBG:core:print_rr_body: skipping 2 route records
May 17 14:48:20 gx00 /usr/sbin/kamailio[32283]: DBG:tm:t_lookup_request: RFC3261 ACK matched
May 17 14:48:20 gx00 /usr/sbin/kamailio[32282]: DBG:core:print_rr_body: out rr []
May 17 14:48:20 gx00 /usr/sbin/kamailio[32283]: DBG:tm:t_lookup_request: REF_UNSAFE: after is 1
May 17 14:48:20 gx00 /usr/sbin/kamailio[32282]: DBG:core:print_rr_body: we have 2 records
May 17 14:48:20 gx00 /usr/sbin/kamailio[32283]: DBG:tm:t_lookup_request: e2e proxy ACK found
May 17 14:48:20 gx00 /usr/sbin/kamailio[32282]: DBG:dialog:populate_leg_info: route_set , contact sip:NodesProdIn1 at 10.0.6.20:5062, cseq 102 and bind_addr udp:10.0.6.20:5060
May 17 14:48:20 gx00 /usr/sbin/kamailio[32283]: DBG:tm:t_newtran: building branch for end2end ACK
May 17 14:48:20 gx00 /usr/sbin/kamailio[32283]: DBG:tm:t_relay_to: forwarding ACK

This same scenario in kamailio 3.2.2 (test_3.2.cap):

1 ACK:
May 17 13:54:26 gx00 /usr/sbin/kamailio[13546]: DEBUG: tm [t_lookup.c:1379]: DEBUG: t_newtran: msg id=16134 , global msg id=16133 , T on entrance=0xffffffff
May 17 13:54:26 gx00 /usr/sbin/kamailio[13546]: DEBUG: tm [t_lookup.c:527]: t_lookup_request: start searching: hash=37195, isACK=1
May 17 13:54:26 gx00 /usr/sbin/kamailio[13546]: DEBUG: tm [t_lookup.c:485]: DEBUG: RFC3261 transaction matching failed
May 17 13:54:26 gx00 /usr/sbin/kamailio[13546]: DEBUG: tm [t_lookup.c:709]: DEBUG: t_lookup_request: no transaction found
May 17 13:54:26 gx00 /usr/sbin/kamailio[13546]: DEBUG: tm [t_funcs.c:315]: SER: forwarding ACK  statelessly

2 ACK:
May 17 13:54:26 gx00 /usr/sbin/kamailio[13546]: DEBUG: tm [t_lookup.c:1379]: DEBUG: t_newtran: msg id=16134 , global msg id=16133 , T on entrance=0xffffffff
May 17 13:54:26 gx00 /usr/sbin/kamailio[13546]: DEBUG: tm [t_lookup.c:527]: t_lookup_request: start searching: hash=37195, isACK=1
May 17 13:54:26 gx00 /usr/sbin/kamailio[13546]: DEBUG: tm [t_lookup.c:485]: DEBUG: RFC3261 transaction matching failed
May 17 13:54:26 gx00 /usr/sbin/kamailio[13546]: DEBUG: tm [t_lookup.c:709]: DEBUG: t_lookup_request: no transaction found
May 17 13:54:26 gx00 /usr/sbin/kamailio[13546]: DEBUG: tm [t_funcs.c:315]: SER: forwarding ACK  statelessly

:-)
----------

One or more files have been attached.

More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=229#comment647

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the sr-dev mailing list