<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>​Thank you very much!<br>
</p>
<p>I´m starting to learn about this script language.<br>
</p>
<p>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 style="color: rgb(33, 33, 33);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>De:</b> users-bounces@lists.opensips.org <users-bounces@lists.opensips.org> em nome de Max Mühlbronner <mm@42com.com><br>
<b>Enviado:</b> quinta-feira, 6 de agosto de 2015 04:39<br>
<b>Para:</b> users@lists.opensips.org<br>
<b>Assunto:</b> Re: [OpenSIPS-Users] Is it possible to avoid calls to a determined UA, by means of the opensips.cfg file?</font>
<div> </div>
</div>
<div>
<div class="moz-cite-prefix">Hi,<br>
<br>
<br>
without any additional modules, something like this works out of the box:<br>
<br>
<br>
if ($rU=="username_of_forbidden_phone") {<br>
t_reply("486", "Busy Here");<br>
exit;<br>
}<br>
<br>
<br>
Just add this in the correct route block in your config, where the call is going to user location / registered clients and it will block all calls before they are sent to the client.<br>
<br>
Best Regards<br>
<br>
Max M.<br>
<br>
On 05.08.2015 21:51, Rodrigo Pimenta Carvalho wrote:<br>
</div>
<blockquote type="cite"><style type="text/css" style="">
<!--
p
        {margin-top:0px;
        margin-bottom:0px}
-->
</style>
<p>Hi. <br>
</p>
<p><br>
</p>
<p>In a network there are OpenSIPS (acting as SIP server) and several softphones registered on it.<br>
</p>
<p><br>
</p>
<p>One of the softphones is forbidden to receive calls. So, if one tries to call such softphone, the call will not be completed and a (busy here) answer should be sent to the caller.<br>
</p>
<p>Can OpenSIPS provide such kind of automatic answer, can´t it?<br>
</p>
<p><br>
</p>
<p>What OpenSIPS module does help me to implement this idea? Is the module about dialogs ?<br>
</p>
<p><br>
</p>
<p>Thanks!<br>
</p>
<p><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>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset> <br>
<pre>_______________________________________________
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>
</div>
</div>
</body>
</html>