<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hi Oleg,</p>
<p>Unfortunately, at the moment there is no way to do this, as the <i>add_isup_part()</i>
function appends an ISUP body to the SIP message exposed in the
current script route. So the only option is to add the ISUP body
to a received reply, not a locally generated one.</p>
<p>Also, it's not an easy/quick feature to implement, but if you
don't find a way around it and think it would be useful, please
open a feature request on Github.</p>
<p>Regards,<br>
</p>
<pre class="moz-signature" cols="72">Vlad Patrascu
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 06/12/2019 07:42 PM, Олег Подгуйко
via Users wrote:<br>
</div>
<blockquote type="cite"
cite="mid:1560357771.145299644@f386.i.mail.ru">
My opensips works as state-full-proxy. At the one side it works
via SIP-I, at another side via SIP. Everything is ok.<br>
In one of my business-cases I get some INVITE with ISUP body with
certain parameters from SIP-I side I need to send 403 with ISUP
body including ISUP reason.<br>
To do this I try to use function: send_reply("403","Some
reason").<br>
<br>
It looks like <br>
<br>
<p># Encapsulate a REL<br>
add_isup_part("REL");<br>
$isup_param(Cause Indicators | Cause value) = 21;<br>
send_reply("403","The reason is 21");<br>
xlog("L_WARN","The call was rejected with 21");<br>
exit;</p>
But actually 403 is sending without any ISUP body.<br>
<br>
Is it possible to do such action?<br>
<br>
<br>
-- <br>
Oleg Podguyko
<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>