<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000066">
<font face="Courier New, Courier, monospace">Hello all;<br>
<br>
it is 3rd. mail to send about it. </font><font face="Courier New,
Courier, monospace">i installed kamailio V 4.3.2 and Aster?sk
13.5 version the same machine. Kamailio listens 5061 port and
asterisk listens 5080 port.<br>
</font><font face="Courier New, Courier, monospace">When the calls
happens , aster?sk sends </font><font face="Courier New, Courier,
monospace"><font face="Courier New, Courier, monospace">perfectly
</font> 200 Ok message to Kamailio and then kamailio sends to UAC.
Here is the problem,</font><font face="Courier New, Courier,
monospace"> UAC sends to ACK message to kamailio , and then
kamailio flooding itself with ACK messages. after checking some
debug logs , i found the problem. loose_route function selecting
wrong next hops. i cannot find the solution.<br>
<br>
<br>
Thanks for helps<br>
<br>
</font><font face="Courier New, Courier, monospace">UAC ->--
INVITE:5061--->KAMAILIO->-INVITE:5080---->ASTER?SK<br>
</font><br>
<font face="Courier New, Courier, monospace"><font face="Courier
New, Courier, monospace">UAC ->-- 200
OK:5060--->KAMAILIO-<-200 OK:5061---<-ASTER<font
face="Courier New, Courier, monospace">?</font>SK</font><br>
</font><br>
<font face="Courier New, Courier, monospace"><font face="Courier
New, Courier, monospace">UAC ->-- ACK :5061--->
KAMAILIO->- ACK :5061---->-KAMAILIO<br>
</font></font><br>
<font face="Courier New, Courier, monospace"><font face="Courier
New, Courier, monospace"><font face="Courier New, Courier,
monospace"><font face="Courier New, Courier, monospace">
KAMAILIO->- ACK
:5061---->-KAMAILIO<br>
</font></font></font></font><font face="Courier New, Courier,
monospace"><font face="Courier New, Courier, monospace">
KAMAILIO->- ACK :5061---->-KAMAILIO<br>
------------<br>
6(10643) DEBUG: <core> [parser/msg_parser.c:606]:
parse_msg(): SIP Request:<br>
6(10643) DEBUG: <core> [parser/msg_parser.c:608]:
parse_msg(): method: <ACK><br>
6(10643) DEBUG: <core> [parser/msg_parser.c:610]:
parse_msg(): uri: <sip:050661102@ip:5080><br>
6(10643) DEBUG: <core> [parser/msg_parser.c:612]:
parse_msg(): version: <SIP/2.0><br>
6(10643) DEBUG: <core> [parser/parse_via.c:1254]:
parse_via_param(): Found param type 235, <rport> =
<n/a>; state=6<br>
6(10643) DEBUG: <core> [parser/parse_via.c:1254]:
parse_via_param(): Found param type 232, <branch> =
<z9hG4bKPjf470c12ae4af4c6484564045f41323f2>; state=16<br>
6(10643) DEBUG: <core> [parser/parse_via.c:2642]:
parse_via(): end of header reached, state=5<br>
6(10643) DEBUG: <core> [parser/msg_parser.c:496]:
parse_headers(): parse_headers: Via found, flags=2<br>
6(10643) DEBUG: <core> [parser/msg_parser.c:498]:
parse_headers(): parse_headers: this is the first via<br>
6(10643) DEBUG: <core> [receive.c:134]: receive_msg():
After parse_msg...<br>
6(10643) DEBUG: <core> [receive.c:177]: receive_msg():
preparing to run routing scripts...<br>
6(10643) DEBUG: <core> [parser/parse_addr_spec.c:172]:
parse_to_param(): DEBUG: add_param: tag=as6832055a<br>
6(10643) DEBUG: <core> [parser/parse_addr_spec.c:894]:
parse_addr_spec(): end of header reached, state=29<br>
6(10643) DEBUG: <core> [parser/msg_parser.c:173]:
get_hdr_field(): DEBUG: get_hdr_field: <To> [44];
uri=[sip:50661102@ip]<br>
6(10643) DEBUG: <core> [parser/msg_parser.c:175]:
get_hdr_field(): DEBUG: to body [sip:50661102@ip]<br>
6(10643) DEBUG: maxfwd [mf_funcs.c:85]: is_maxfwd_present():
value = 70<br>
6(10643) DEBUG: <core> [parser/msg_parser.c:153]:
get_hdr_field(): get_hdr_field: cseq <CSeq>: <16369>
<ACK><br>
6(10643) DEBUG: <core> [parser/msg_parser.c:187]:
get_hdr_field(): DEBUG: get_hdr_body : content_length=0<br>
6(10643) DEBUG: <core> [parser/msg_parser.c:89]:
get_hdr_field(): found end of header<br>
6(10643) DEBUG: <core> [parser/parse_addr_spec.c:172]:
parse_to_param(): DEBUG: add_param:
tag=4e6c8524c571421ebaa0fa35b35d9d45<br>
6(10643) DEBUG: <core> [parser/parse_addr_spec.c:894]:
parse_addr_spec(): end of header reached, state=29<br>
6(10643) DEBUG: sanity [mod_sanity.c:248]: w_sanity_check():
sanity checks result: 1<br>
6(10643) DEBUG: <core> [msg_translator.c:158]:
check_via_address(): (uac, uac, 0)<br>
6(10643) DEBUG: siputils [checks.c:100]: has_totag(): totag
found<br>
6(10643) ALERT: <script>:<br>
6(10643) DEBUG: rr [loose.c:88]: is_preloaded(): is_preloaded:
No<br>
6(10643) DEBUG: <core> [socket_info.c:563]:
grep_sock_info(): checking if host==us: 12==12 && [ip]
== [ip]<br>
6(10643) DEBUG: <core> [socket_info.c:566]:
grep_sock_info(): checking if port 5061 (advertise 0) matches
port 5080<br>
6(10643) DEBUG: <core> [forward.c:412]: check_self():
host != me<br>
6(10643) DEBUG: rr [loose.c:672]: after_strict(): Next hop:
'sip:ip:5061;lr;ftag=4e6c8524c571421ebaa0fa35b35d9d45' is loose
router<br>
6(10643) DEBUG: rr [loose.c:722]: after_strict(): The last
route URI:
'sip:ip:5061;lr;ftag=4e6c8524c571421ebaa0fa35b35d9d45'<br>
6(10643) ALERT: <script>: ACK RU:
sip:ip:5061;lr;ftag=4e6c8524c571421ebaa0fa35b35d9d45 <br>
6(10643) DEBUG: siputils [checks.c:100]: has_totag(): totag
found<br>
6(10643) DEBUG: tm [t_lookup.c:1312]: t_newtran(): DEBUG:
t_newtran: msg id=1 , global msg id=0 , T on
entrance=0xffffffffffffffff<br>
6(10643) DEBUG: tm [t_lookup.c:466]: t_lookup_request():
t_lookup_request: start searching: hash=64842, isACK=1<br>
6(10643) DEBUG: tm [t_lookup.c:424]: matching_3261(): DEBUG:
RFC3261 transaction matching failed<br>
6(10643) DEBUG: tm [t_lookup.c:648]: t_lookup_request(): DEBUG:
t_lookup_request: no transaction found<br>
6(10643) DEBUG: tm [t_funcs.c:279]: t_relay_to(): SER:
forwarding ACK statelessly<br>
6(10643) DEBUG: <core> [md5utils.c:67]: MD5StringArray():
MD5 calculated: a0d4b97551e277683a30e969a0e407f7<br>
6(10643) DEBUG: <core> [forward.c:556]:
forward_request(): Sending:<br>
ACK sip:ip:5061;lr;ftag=4e6c8524c571421ebaa0fa35b35d9d45 SIP/2.0<br>
Via: SIP/2.0/UDP
ip:5061;branch=z9hG4bKa4df.a0d4b97551e277683a30e969a0e407f7.0<br>
Via: SIP/2.0/UDP
uac:5064;received=uac;rport=5064;branch=z9hG4bKPjf470c12ae4af4c6484564045f41323f2<br>
Max-Forwards: 69<br>
From: sip:85030231@ip;tag=4e6c8524c571421ebaa0fa35b35d9d45<br>
To: sip:50661102@ip;tag=as6832055a<br>
Call-ID: 9235c4f0d23c4136b27186329a3c5fb4<br>
CSeq: 16369 ACK<br>
Content-Length: 0<br>
<br>
<br>
</font></font>
<div class="moz-signature">-- <br>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title></title>
<div align="left">
<div style="width:300px;" align="left">
<a href="http://www.netgsm.com.tr" target="_blank">
<img src="cid:part1.05020505.05000606@netgsm.com.tr"
alt"netgsm"="" border="0">
</a>
</div>
</div>
</div>
</body>
</html>