Hi,All<div><br></div><div><br></div><div>I met a problem when I use domain <a href="http://siptest.org">siptest.org</a> with opensips.</div><div>It seems opensips send ACK to itself rather than forward it to destination.</div>
<div><br></div><div>The following is the output log.</div><div><br></div><div>There is no any entity in domain table and alias table.</div><div><br></div><div>Does anyone met this problem before?</div><div><br></div><div>
Any comment is appreciated!</div><div> </div><div><br></div><div><div>Jan 5 17:17:48 [4954] DBG:tm:update_totag_set: new totag </div><div>Jan 5 17:17:48 [4954] DBG:tm:insert_timer_unsafe: [2]: 0xb593725c (10)</div><div>
Jan 5 17:17:48 [4954] DBG:tm:relay_reply: sent buf=0x81a88d0: SIP/2.0 2..., shmem=0xb5938e00: SIP/2.0 2</div><div>Jan 5 17:17:48 [4954] DBG:tm:run_trans_callbacks: trans=0xb5937214, callback type 256, id 0 entered</div>
<div>ACC: transaction answered: timestamp=1294219068;method=INVITE;from_tag=b013e428-ca143d0a-13c4-50029-73fd-2586b295-73fd;to_tag=b021d428-c8143d0a-13c4-50029-19003-3c15eec5-19003;call_id=<a href="mailto:afead2d8-ca143d0a-13c4-50029-73fd-85bb387-73fd@siptest.org">afead2d8-ca143d0a-13c4-50029-73fd-85bb387-73fd@siptest.org</a>;code=200;reason=OK</div>
<div>Jan 5 17:17:48 [4954] DBG:tm:cleanup_uac_timers: RETR/FR timers reset</div><div>Jan 5 17:17:48 [4954] DBG:tm:t_unref: UNREF_UNSAFE: after is 0</div><div>Jan 5 17:17:48 [4954] DBG:core:destroy_avp_list: destroying list (nil)</div>
<div>Jan 5 17:17:48 [4954] DBG:core:receive_msg: cleaning up</div><div>Jan 5 17:17:48 [4956] DBG:core:parse_msg: SIP Request:</div><div>Jan 5 17:17:48 [4956] DBG:core:parse_msg: method: <ACK></div><div>Jan 5 17:17:48 [4956] DBG:core:parse_msg: uri: <<a href="mailto:sip%3Atestt_1000@siptest.org">sip:testt_1000@siptest.org</a>></div>
<div>Jan 5 17:17:48 [4956] DBG:core:parse_msg: version: <SIP/2.0></div><div>Jan 5 17:17:48 [4956] DBG:core:parse_headers: flags=2</div><div>Jan 5 17:17:48 [4956] DBG:core:parse_to_param: tag=b021d428-c8143d0a-13c4-50029-19003-3c15eec5-19003</div>
<div>Jan 5 17:17:48 [4956] DBG:core:parse_to: end of header reached, state=29</div><div>Jan 5 17:17:48 [4956] DBG:core:parse_to: display={"terminate"}, ruri={<a href="mailto:sip%3Atestt_1000@siptest.org">sip:testt_1000@siptest.org</a>}</div>
<div>Jan 5 17:17:48 [4956] DBG:core:get_hdr_field: <To> [90]; uri=[<a href="mailto:sip%3Atestt_1000@siptest.org">sip:testt_1000@siptest.org</a>] </div><div>Jan 5 17:17:48 [4956] DBG:core:get_hdr_field: to body ["terminate"<<a href="mailto:sip%3Atestt_1000@siptest.org">sip:testt_1000@siptest.org</a>>]</div>
<div>Jan 5 17:17:48 [4956] DBG:core:get_hdr_field: cseq <CSeq>: <1> <ACK></div><div>Jan 5 17:17:48 [4956] DBG:core:parse_via_param: found param type 235, <rport> = <n/a>; state=6</div><div>
Jan 5 17:17:48 [4956] DBG:core:parse_via_param: found param type 232, <branch> = <z9hG4bK-73fd-1c516cd-683d9483>; state=16</div><div>Jan 5 17:17:48 [4956] DBG:core:parse_via: end of header reached, state=5</div>
<div>Jan 5 17:17:48 [4956] DBG:core:parse_headers: via found, flags=2</div><div>Jan 5 17:17:48 [4956] DBG:core:parse_headers: this is the first via</div><div>Jan 5 17:17:48 [4956] DBG:core:receive_msg: After parse_msg...</div>
<div>Jan 5 17:17:48 [4956] DBG:core:receive_msg: preparing to run routing scripts...</div><div>Jan 5 17:17:48 [4956] DBG:core:parse_headers: flags=8</div><div>Jan 5 17:17:48 [4956] DBG:core:parse_headers: flags=100</div>
<div>Jan 5 17:17:48 [4956] DBG:maxfwd:is_maxfwd_present: value = 70 </div><div>Jan 5 17:17:48 [4956] DBG:uri:has_totag: totag found</div><div>Jan 5 17:17:48 [4956] DBG:core:parse_headers: flags=200</div><div>Jan 5 17:17:48 [4956] DBG:rr:is_preloaded: is_preloaded: No</div>
<div>Jan 5 17:17:48 [4956] DBG:core:grep_sock_info: checking if host==us: 7==9 && [<a href="http://siptest.org">siptest.org</a>] == [127.0.0.1]</div><div>Jan 5 17:17:48 [4956] DBG:core:grep_sock_info: checking if port 5060 matches port 5060</div>
<div>Jan 5 17:17:48 [4956] DBG:core:grep_sock_info: checking if host==us: 7==12 && [<a href="http://siptest.org">siptest.org</a>] == [10.61.20.146]</div><div>Jan 5 17:17:48 [4956] DBG:core:grep_sock_info: checking if port 5060 matches port 5060</div>
<div>Jan 5 17:17:48 [4956] DBG:core:grep_sock_info: checking if host==us: 7==9 && [<a href="http://siptest.org">siptest.org</a>] == [127.0.0.1]</div><div>Jan 5 17:17:48 [4956] DBG:core:grep_sock_info: checking if port 5060 matches port 5060</div>
<div>Jan 5 17:17:48 [4956] DBG:core:grep_sock_info: checking if host==us: 7==12 && [<a href="http://siptest.org">siptest.org</a>] == [10.61.20.146]</div><div>Jan 5 17:17:48 [4956] DBG:core:grep_sock_info: checking if port 5060 matches port 5060</div>
<div>Jan 5 17:17:48 [4956] DBG:rr:after_strict: Next hop: 'sip:10.61.20.146;lr=on' is loose router</div><div>Jan 5 17:17:48 [4956] DBG:core:parse_headers: flags=ffffffffffffffff</div><div>Jan 5 17:17:48 [4956] DBG:core:get_hdr_field: content_length=0</div>
<div>Jan 5 17:17:48 [4956] DBG:core:get_hdr_field: found end of header</div><div>Jan 5 17:17:48 [4956] DBG:rr:after_strict: The last route URI: 'sip:10.61.20.146;lr=on'</div><div>Jan 5 17:17:48 [4956] DBG:tm:t_newtran: transaction on entrance=0xffffffff</div>
<div>Jan 5 17:17:48 [4956] DBG:core:parse_headers: flags=ffffffffffffffff</div><div>Jan 5 17:17:48 [4956] DBG:core:parse_headers: flags=78</div><div>Jan 5 17:17:48 [4956] DBG:tm:t_lookup_request: start searching: hash=39910, isACK=1</div>
<div>Jan 5 17:17:48 [4956] DBG:core:parse_headers: flags=38</div><div>Jan 5 17:17:48 [4956] DBG:core:parse_to_param: tag=b013e428-ca143d0a-13c4-50029-73fd-2586b295-73fd</div><div>Jan 5 17:17:48 [4956] DBG:core:parse_to: end of header reached, state=29</div>
<div>Jan 5 17:17:48 [4956] DBG:core:parse_to: display={"Anonymous"}, ruri={<a href="mailto:sip%3Ac8oqz84zk7z@privacy.org">sip:c8oqz84zk7z@privacy.org</a>}</div><div>Jan 5 17:17:48 [4956] DBG:tm:t_lookup_request: REF_UNSAFE: after is 1</div>
<div>Jan 5 17:17:48 [4956] DBG:tm:t_lookup_request: e2e proxy ACK found</div><div>Jan 5 17:17:48 [4956] DBG:tm:t_newtran: building branch for end2end ACK - flags=1</div><div>Jan 5 17:17:48 [4956] DBG:core:parse_headers: flags=8</div>
<div>Jan 5 17:17:48 [4956] DBG:tm:unmatched_totag: totag for e2e ACK found: 0</div><div>Jan 5 17:17:48 [4956] DBG:tm:run_trans_callbacks: trans=0xb5937214, callback type 4, id 0 entered</div><div>Jan 5 17:17:48 [4956] DBG:core:parse_headers: flags=78</div>
<div>ACC: request acknowledged: timestamp=1294219068;method=ACK;from_tag=b013e428-ca143d0a-13c4-50029-73fd-2586b295-73fd;to_tag=b021d428-c8143d0a-13c4-50029-19003-3c15eec5-19003;call_id=<a href="mailto:afead2d8-ca143d0a-13c4-50029-73fd-85bb387-73fd@siptest.org">afead2d8-ca143d0a-13c4-50029-73fd-85bb387-73fd@siptest.org</a>;code=200;reason=OK</div>
<div>Jan 5 17:17:48 [4956] DBG:tm:t_relay_to: forwarding ACK</div><div>Jan 5 17:17:48 [4956] DBG:core:mk_proxy: doing DNS lookup...</div><div>Jan 5 17:17:48 [4956] DBG:core:forward_request: sending:</div><div>ACK sip:10.61.20.146;lr=on SIP/2.0</div>
<div>From: "Anonymous"<<a href="mailto:sip%3Ac8oqz84zk7z@privacy.org">sip:c8oqz84zk7z@privacy.org</a>>;tag=b013e428-ca143d0a-13c4-50029-73fd-2586b295-73fd</div><div>To: "terminate"<<a href="mailto:sip%3Atestt_1000@siptest.org">sip:testt_1000@siptest.org</a>>;tag=b021d428-c8143d0a-13c4-50029-19003-3c15eec5-19003</div>
<div>Call-ID: <a href="mailto:afead2d8-ca143d0a-13c4-50029-73fd-85bb387-73fd@siptest.org">afead2d8-ca143d0a-13c4-50029-73fd-85bb387-73fd@siptest.org</a></div><div>CSeq: 1 ACK</div><div>Via: SIP/2.0/UDP 10.61.20.146;branch=z9hG4bK6eb9.90d7b4e.2</div>
<div>Via: SIP/2.0/UDP 10.61.20.202:5060;received=10.61.20.202;rport=5060;branch=z9hG4bK-73fd-1c516cd-683d9483</div><div>Max-Forwards: 69</div><div>Contact: <<a href="mailto:sip%3Atesto_0@siptest.org">sip:testo_0@siptest.org</a>></div>
<div>Content-Length: 0</div></div><div><br></div><div><br></div><div><br></div><div>Thanks</div><div><br clear="all"><br>-- <br>arithdon<br>
</div>