<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Aptos;
panose-1:2 11 0 4 2 2 2 2 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:12.0pt;
font-family:"Calibri",sans-serif;
mso-ligatures:standardcontextual;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"Préformaté HTML Car";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.PrformatHTMLCar
{mso-style-name:"Préformaté HTML Car";
mso-style-priority:99;
mso-style-link:"Préformaté HTML";
font-family:Consolas;}
span.EmailStyle21
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;
mso-ligatures:none;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style></head><body lang=FR link="#0563C1" vlink=purple style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt'>Ho Bogdan,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'>You are right, I implemented the recommendation successfully.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>Thanks<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='color:black'>De : </span></b><span style='color:black'>Bogdan-Andrei Iancu <bogdan@opensips.org><br><b>Date : </b>jeudi 21 mars 2024 à 18:06<br><b>À : </b>Alain Bieuzent <alain.bieuzent@free.fr>, OpenSIPS users mailling list <users@lists.opensips.org><br><b>Objet : </b>Re: [OpenSIPS-Users] OPENSIP 3.4 send_reply and tight matching failed</span><span style='color:black;mso-ligatures:none;mso-fareast-language:FR'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Aptos",sans-serif'><o:p> </o:p></span></p></div><p class=MsoNormal><span style='font-family:"Courier New"'>HI Alan,<br><br>I suspect a scripting issue, making the received hop-by-hop ACK (for negative replies) to be "handled" by the dialog module, which treats it as a end-2-end ACK (for 200 OK reply).<br><br>I guess your script lacks this block <a href="https://github.com/OpenSIPS/opensips/blob/master/etc/opensips.cfg#L112">https://github.com/OpenSIPS/opensips/blob/master/etc/opensips.cfg#L112</a> when comes to sequential requests; this block needs to be before the loose_route or any dialog/TH matching.<br><br>Regards,<br><br></span><o:p></o:p></p><pre>Bogdan-Andrei Iancu<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>OpenSIPS Founder and Developer<o:p></o:p></pre><pre> <a href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a><o:p></o:p></pre><pre> <a href="https://www.siphub.com">https://www.siphub.com</a><o:p></o:p></pre><div><p class=MsoNormal>On 21.03.2024 12:29, Alain Bieuzent wrote:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal><span style='font-size:11.0pt'>Hi bogdan,</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt'> </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'>Find attached the sip traces where we have this error log:</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'> </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'>Mar 21 11:24:13 lbsip-rtpe-test opensips[3108]: WARNING:dialog:dlg_onroute: tight matching failed for ACK with callid='<a href="mailto:6a543fbd6eabdc7b797dfd6d56db1568@10.101.180.176:5060">6a543fbd6eabdc7b797dfd6d56db1568@10.101.180.176:5060</a>'/52, ftag='as5625de52'/10, ttag='b5a7-94b8b0d1dd76318f3d174a911be4ece2'/37 and direction=1</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'>Mar 21 11:24:13 lbsip-rtpe-test opensips[3108]: WARNING:dialog:dlg_onroute: dialog identification elements are callid='<a href="mailto:6a543fbd6eabdc7b797dfd6d56db1568@10.101.180.176:5060">6a543fbd6eabdc7b797dfd6d56db1568@10.101.180.176:5060</a>'/52, caller tag='as5625de52'/10, callee tag='3920005391-2017127892'/21</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'> </span><o:p></o:p></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='color:black'>De : </span></b><span style='color:black'>Bogdan-Andrei Iancu <a href="mailto:bogdan@opensips.org"><bogdan@opensips.org></a><br><b>Date : </b>mercredi 20 mars 2024 à 16:45<br><b>À : </b>Alain Bieuzent <a href="mailto:alain.bieuzent@free.fr"><alain.bieuzent@free.fr></a>, OpenSIPS users mailling list <a href="mailto:users@lists.opensips.org"><users@lists.opensips.org></a><br><b>Objet : </b>Re: [OpenSIPS-Users] OPENSIP 3.4 send_reply and tight matching failed</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt'> </span><o:p></o:p></p></div><p class=MsoNormal><span style='font-family:"Courier New"'>Not the logs, but the trace/ SIP capture - I need to see the sip traffic to understand the context of the issue.<br><br><br><br></span><o:p></o:p></p><pre>Bogdan-Andrei Iancu<o:p></o:p></pre><pre> <o:p></o:p></pre><pre>OpenSIPS Founder and Developer<o:p></o:p></pre><pre> <a href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a><o:p></o:p></pre><pre> <a href="https://www.siphub.com">https://www.siphub.com</a><o:p></o:p></pre><div><p class=MsoNormal>On 20.03.2024 17:14, Alain Bieuzent wrote:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'>Bellow the link to the traces : </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'> </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'><a href="https://www.transfernow.net/dl/20240320jzEA98Vz">https://www.transfernow.net/dl/20240320jzEA98Vz</a></span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'> </span><o:p></o:p></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='color:black'>De : </span></b><span style='color:black'>Bogdan-Andrei Iancu <a href="mailto:bogdan@opensips.org"><bogdan@opensips.org></a><br><b>Date : </b>mercredi 20 mars 2024 à 14:29<br><b>À : </b>OpenSIPS users mailling list <a href="mailto:users@lists.opensips.org"><users@lists.opensips.org></a>, Alain Bieuzent <a href="mailto:alain.bieuzent@free.fr"><alain.bieuzent@free.fr></a><br><b>Objet : </b>Re: [OpenSIPS-Users] OPENSIP 3.4 send_reply and tight matching failed</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt'> </span><o:p></o:p></p></div><p class=MsoNormal><span style='font-family:"Courier New"'>Hi,<br><br>The script snippet has nothing to do with the matching - it is about a 200-ok ACK to be matched by the dialog module and the TO-tag does not match at all. <br><br>The link to the trace expired, if you could repost.<br><br>Regards,<br><br><br><br></span><o:p></o:p></p><pre>Bogdan-Andrei Iancu<o:p></o:p></pre><pre> <o:p></o:p></pre><pre>OpenSIPS Founder and Developer<o:p></o:p></pre><pre> <a href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a><o:p></o:p></pre><pre> <a href="https://www.siphub.com">https://www.siphub.com</a><o:p></o:p></pre><div><p class=MsoNormal>On 12.03.2024 14:57, Alain Bieuzent wrote:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal><span style='font-size:11.0pt'>Hi all,</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt'> </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'>I am in the process of migrating my proxies from 3.3.9 to 3.4.4.</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'>In 3.4 I find myself with a fault when I try to rewrite a final cause.</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'> </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'>if (t_check_status("500"))</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'> {</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'> send_reply(503,"Service Unavailable");</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'> </span><span style='font-size:11.0pt'>exit;</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt'> }</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt'> </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'>with 3.3 version, this code works perfectly, since 3.4 I have this error:</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'> </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'>WARNING:dialog:dlg_onroute: tight matching failed for ACK with callid='<a href="mailto:67457c401e9ea52e2750100979253a7a@10.101.180.177:5060">67457c401e9ea52e2750100979253a7a@10.101.180.177:5060</a>'/52, ftag='as5328cea7'/10, ttag='b5a7-2a346bb9d510da893a ee7cda850584cb'/37 and direction=1</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'>WARNING:dialog:dlg_onroute: dialog identification elements are callid='<a href="mailto:67457c401e9ea52e2750100979253a7a@10.101.180.177:5060">67457c401e9ea52e2750100979253a7a@10.101.180.177:5060</a>'/52, caller tag='as5328cea7'/10, callee tag='3919223738-770090972'/ 20</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'> </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'>Has anyone encountered this error before?</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'> </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'>Complete traces here : <a href="https://www.transfernow.net/dl/20240312qvAFfIAL">https://www.transfernow.net/dl/20240312qvAFfIAL</a>.</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'> </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'>Regards</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;mso-ligatures:none;mso-fareast-language:FR'><br><br><br><br></span><o:p></o:p></p><pre>_______________________________________________<o:p></o:p></pre><pre>Users mailing list<o:p></o:p></pre><pre><a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><o:p></o:p></pre><pre><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><o:p></o:p></pre></blockquote><p class=MsoNormal><span style='font-size:11.0pt;mso-ligatures:none;mso-fareast-language:FR'><br><br><br><br></span><o:p></o:p></p></blockquote><p class=MsoNormal><span style='font-size:11.0pt;mso-ligatures:none;mso-fareast-language:FR'><br><br><br></span><o:p></o:p></p></blockquote><p class=MsoNormal><span style='font-family:"Aptos",sans-serif;mso-ligatures:none;mso-fareast-language:FR'><br><br><o:p></o:p></span></p></div></body></html>