<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<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 cite="mid:1438804271241.53116@inatel.br" type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<style type="text/css" style="display:none"><!-- 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 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>