<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello,</p>
<p>the problem is the UAC initiating the call -- the ACK must have
in the request URI the SIP address from Contact header of the
200ok, but the ACK has the address pointing to Kamailio.<br>
</p>
<p>Moreover, to get the ACK and the rest of the requests part of the
dialog through Kamailio, you have to do record routing in kamailio
( see rr module - e.g., record_route() and loose_route() functions
as per default config file use).</p>
<p>You need to adjust your sipp scenarios.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<br>
<div class="moz-cite-prefix">On 03.05.18 17:42, Jeferson Oliveira
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:7553a492-7cfc-1dc6-3d01-ab4b434c9ef6@servicescobrancas.com.br">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<p>Exactly, do you have any tips on which parameter should I
correct or add in kamailio.cfg to solve this problem?<br>
<br>
Thank you very much.</p>
<p>-- <br>
<img src="cid:part1.18101CC4.160FFE9B@gmail.com" class=""
border="0"></p>
<br>
<div class="moz-cite-prefix">On 05/03/2018 12:01 PM, Sergiu Pojoga
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAJZsGCn9Jk5hHDS=0vaH9u1hvwZt6-C4MqT3GyKM-a880CPAHQ@mail.gmail.com">
<div dir="ltr">As expected, the kamailio.pcap shows that
in-dialog ACKs from sipp 10.110.7.242 are not being relayed to
Asterisk 10.110.7.244 and so <span
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">10.110.7.244
keeps retransmitting.</span></div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, May 3, 2018 at 10:47 AM, Amar
Tinawi <span dir="ltr"><<a
href="mailto:amar.tinawi@gmail.com" target="_blank"
moz-do-not-send="true">amar.tinawi@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="auto">Can you try tcp instead of udp ?</div>
<div class="HOEnZb">
<div class="h5"><br>
<div class="gmail_quote">
<div dir="ltr">On Thu, May 3, 2018, 3:41 PM Jeferson
Oliveira <<a
href="mailto:oliveira1.jeferson@servicescobrancas.com.br"
target="_blank" moz-do-not-send="true">oliveira1.jeferson@<wbr>servicescobrancas.com.br</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"> Thank you
for your reply Sergiu.
<div
class="m_-8861300085044965981m_834132679588246420moz-forward-container">
<p>Following url with the pcap capture of the
two servers, kamailio.pcap and
asterisk.pcap.</p>
<p>asterisk.pcap: <a
class="m_-8861300085044965981m_834132679588246420moz-txt-link-freetext"
href="https://drive.google.com/file/d/1DP--4NnSBsEQiN4n_yfYoJzsmkv5fr1m/view?usp=sharing"
rel="noreferrer" target="_blank"
moz-do-not-send="true">https://drive.google.com/file/<wbr>d/1DP--4NnSBsEQiN4n_<wbr>yfYoJzsmkv5fr1m/view?usp=<wbr>sharing</a></p>
<p>kamailio.pcap: <a
class="m_-8861300085044965981m_834132679588246420moz-txt-link-freetext"
href="https://drive.google.com/file/d/1agcA5Y3MuECdMl0mjnQ1dN4_ht4YHDJU/view?usp=sharing"
rel="noreferrer" target="_blank"
moz-do-not-send="true">https://drive.google.com/file/<wbr>d/1agcA5Y3MuECdMl0mjnQ1dN4_<wbr>ht4YHDJU/view?usp=sharing</a></p>
<p><br>
</p>
<p>thanks a lot <br>
</p>
<p>-- <br>
<img moz-do-not-send="true" border="0"></p>
<br>
<div
class="m_-8861300085044965981m_834132679588246420moz-cite-prefix">On
05/02/2018 09:27 PM, Sergiu Pojoga wrote:<br>
</div>
<blockquote type="cite">
<div dir="auto">
<div>32 seconds is the default asterisk T2
timer. Probably some ACK is not being
relayed following BYE. </div>
<div dir="auto"><br>
</div>
<div dir="auto">Would help to see some sip
traces. <br>
<br>
<div class="gmail_quote" dir="auto">
<div dir="ltr">On Wed, May 2, 2018,
5:40 PM Jeferson Oliveira, <<a
href="mailto:oliveira1.jeferson@servicescobrancas.com.br"
rel="noreferrer" target="_blank"
moz-do-not-send="true">oliveira1.jeferson@<wbr>servicescobrancas.com.br</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote"
style="margin:0 0 0
.8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div text="#000000"
bgcolor="#FFFFFF">
<p>Btw, the version of kamailio is
4.2.3. </p>
<p>Thank you.<br>
</p>
-- <br>
<img moz-do-not-send="true"
border="0">
<div
class="m_-8861300085044965981m_834132679588246420m_3548078539755489536moz-cite-prefix">On
05/02/2018 06:29 PM, Jeferson
Oliveira wrote:<br>
</div>
<blockquote type="cite"> Hello
everyone,<br>
<br>
I have an error that I have not
yet been able to solve and would
like the help of colleagues to
indicate a correct path.<br>
The problem that is occurring is
that when the client disconnects
the call kamailio is not sending
the BYE forward until arriving
at the asterisk.<br>
<br>
Both in the test scenario and in
the production scenario the
problem is the same and the
message I see in the capture is
404 Not here, msg this coming
from kamailio.<br>
<br>
Production scenario.<br>
<br>
PSTN <----------> Dialer
--------->kamailio
-----------> asterisk1<br>
-----------> asterisk2 <br>
<br>
Test scenario.<br>
<p>sipp generated calls
------> kamailio
-------> asterisk1</p>
<p>
-------> asterisk2</p>
<br>
<br>
When this occurs, the calls that
are disconnected by the client
are in a "zombie" state in
asterisk, and end up being
terminated by timeout with the
following message in the
asterisk CLI:<br>
<br>
<font size="-1"><i>[Apr 25
17:49:59] WARNING[2121]:
chan_sip.c:4072 retrans_pkt:
Retransmission timeout
reached on transmission <a
class="m_-8861300085044965981m_834132679588246420m_3548078539755489536moz-txt-link-abbreviated"
href="mailto:22-6073@10.110.7.242" rel="noreferrer noreferrer"
target="_blank"
moz-do-not-send="true">22-6073@10.110.7.242</a>
for seqno 1 (Critical
Response) -- See <a
class="m_-8861300085044965981m_834132679588246420m_3548078539755489536moz-txt-link-freetext"
href="https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions"
rel="noreferrer
noreferrer"
target="_blank"
moz-do-not-send="true">https://wiki.asterisk.org/<wbr>wiki/display/AST/SIP+<wbr>Retransmissions</a></i><i><br>
</i><i>Packet timed out after
31999ms with no response</i></font><br>
<br>
In the sipp panel I see in the
Retransmission column several
incrementing counters, as per
the attachment.<br>
<br>
If I take the kamailio from the
move and point the sipp to only
one of the asterisk, the
retransmissions do not happen
and BYE follows normally.
<p>My kamailio.cfg configuration
file can be downloaded from
this url: <a
class="m_-8861300085044965981m_834132679588246420m_3548078539755489536moz-txt-link-freetext"
href="https://drive.google.com/file/d/1bBj4GEZSPrp1iJXSLWQ4Z6g59tEFjnNT/view?usp=sharing"
rel="noreferrer noreferrer"
target="_blank"
moz-do-not-send="true">https://drive.google.com/file/<wbr>d/<wbr>1bBj4GEZSPrp1iJXSLWQ4Z6g59tEFj<wbr>nNT/view?usp=sharing</a></p>
<p><br>
</p>
<p>Thank you very much.</p>
<div
class="m_-8861300085044965981m_834132679588246420m_3548078539755489536moz-signature">--
<br>
<img moz-do-not-send="true"
border="0"></div>
</blockquote>
<br>
<div
class="m_-8861300085044965981m_834132679588246420m_3548078539755489536moz-signature"><br>
</div>
</div>
______________________________<wbr>_________________<br>
Kamailio (SER) - Users Mailing List<br>
<a
href="mailto:sr-users@lists.kamailio.org"
rel="noreferrer noreferrer"
target="_blank"
moz-do-not-send="true">sr-users@lists.kamailio.org</a><br>
<a
href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users"
rel="noreferrer noreferrer
noreferrer" target="_blank"
moz-do-not-send="true">https://lists.kamailio.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
</blockquote>
</div>
</div>
</div>
</blockquote>
<br>
<div
class="m_-8861300085044965981m_834132679588246420moz-signature"><br>
</div>
</div>
</div>
______________________________<wbr>_________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org"
rel="noreferrer" target="_blank"
moz-do-not-send="true">sr-users@lists.kamailio.org</a><br>
<a
href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users"
rel="noreferrer noreferrer" target="_blank"
moz-do-not-send="true">https://lists.kamailio.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
</blockquote>
</div>
</div>
</div>
<br>
______________________________<wbr>_________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org"
moz-do-not-send="true">sr-users@lists.kamailio.org</a><br>
<a
href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.kamailio.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
<div class="moz-signature"><br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio World Conference - May 14-16, 2018 - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
</body>
</html>