Somehow I missed the comment without contact -- when I looked quickly at the code, the xavu is used if contact address is found, being after this piece of code:
if(dir==TPS_DIR_DOWNSTREAM) { sv = td->bs_contact; } else { sv = td->as_contact; } if(sv.len<=0) { /* no contact - skip */ return 0; }
But I do not use this mode with xavu and don't know what is supposed to do. I just wanted to give some hints.
I think that contact variables filled by tps_pack_message in tps_request_sent function from Record-Route header: ``` Sep 16 13:55:16 gw481 /usr/sbin/kamailio[11425]: DEBUG: {1 1 ACK 1-12131@87.250.237.98} topos [tps_msg.c:1006]: tps_request_sent(): handling outgoing request (1, 0) Sep 16 13:55:16 gw481 /usr/sbin/kamailio[11425]: DEBUG: {1 1 ACK 1-12131@87.250.237.98} topos [tps_msg.c:415]: tps_pack_message(): compacted headers - x_via1: [SIP/2.0/UDP [2a02:6b8:0:6::5];branch=z9hG4bK7bb2.7dbc336ffe6a81233e57c387950431c8.0](83) - x_via2: [SIP/2.0/UDP 87.250.237.98:5070;received=87.250.237.98;rport=5070;branch=z9hG4bK-12131-1-5;sig=4100ba9a](102) - x_vbranch1: [z9hG4bK7bb2.7dbc336ffe6a81233e57c387950431c8.0](46) Sep 16 13:55:16 gw481 /usr/sbin/kamailio[11425]: DEBUG: {1 1 ACK 1-12131@87.250.237.98} topos [tps_msg.c:483]: tps_pack_message(): single record routing by proxy Sep 16 13:55:16 gw481 /usr/sbin/kamailio[11425]: DEBUG: {1 1 ACK 1-12131@87.250.237.98} topos [tps_msg.c:537]: tps_pack_message(): compacted headers - a_rr: [](0) - b_rr: [](0) - s_rr: [sip:87.250.237.98:5070;lr;ftag=1c1658248864;did=626.1edbf0d5](62) Sep 16 13:55:16 gw481 /usr/sbin/kamailio[11425]: DEBUG: {1 1 ACK 1-12131@87.250.237.98} topos [tps_msg.c:542]: tps_pack_message(): compacted headers - as_contact: [sip:87.250.237.98:5070;lr;ftag=1c1658248864;did=626.1edbf0d5](60) - bs_contact: [sip:87.250.237.98:5070;lr;ftag=1c1658248864;did=626.1edbf0d5](60) ```