<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello Rodrigo,<br>
<br>
you have to use failure route:<br>
<br>
<a class="moz-txt-link-freetext" href="http://www.opensips.org/Documentation/Script-Routes-2-2#toc3">http://www.opensips.org/Documentation/Script-Routes-2-2#toc3</a><br>
<br>
Regards<br>
<br>
<div class="moz-cite-prefix">El 06/11/2015 a las 15:07, Rodrigo
Pimenta Carvalho escribió:<br>
</div>
<blockquote
cite="mid:BLUPR02MB168399234749F595C035C679B5280@BLUPR02MB1683.namprd02.prod.outlook.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p><br>
</p>
<p>Hi OpenSIPS-users,</p>
<p><br>
</p>
<p>In the OpenSIPS script I can identify SIP requests, like
is_method("INVITE") or is_method("BYE").</p>
<p><br>
</p>
<p>How to identify SIP responses, based on its codes that can be
4xx, or 5xx, or 6xx?</p>
<p>For example, how to identify that occurred a SIP response
with code 483?</p>
<p><br>
</p>
<p>I just need to know that a SIP INVITE didn't succeeded.</p>
<p><br>
</p>
<p>What could be a elegant way to detect that a SIP INVITE was
not answered?<br>
</p>
<p><br>
</p>
<p><br>
</p>
<p>Best regards.<br>
</p>
<p><br>
</p>
<div id="Signature">
<div name="divtagdefaultwrapper"
style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:; margin:0">
<div class="BodyFragment"><font size="2">
<div class="PlainText">RODRIGO PIMENTA CARVALHO<br>
Inatel Competence Center<br>
Software<br>
Ph: +55 35 3471 9200 RAMAL 979<br>
</div>
</font></div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>