<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi,<br>
<br>
are you using realtime extensions or the classic config-file
extension.conf ?<br>
One way to go yould be to implement the allowed / not allowed
logic in the context of your sip users.<br>
check their "permissions" and if they are allowed to call...
continue with the dialplan, if not, route them<br>
to a voiceprompt saying that the call is prohibited due to
whatever reasons...<br>
<br>
To do so, take a look at the dialplan functions "if" and "db". Of
course you somehow have to set a<br>
"flag" in asterisk, that decides about permissions... Don´t know
which way you will programmatically<br>
set or clear this flag... there are hundreds of possibilites...
the easiest way I think would be to use the<br>
asterisk build-in database (therefore the hint to the function db...)<br>
<br>
regards,<br>
yves<br>
<br>
Am 08.02.2013 22:18, schrieb Muhammad:<br>
</div>
<blockquote
cite="mid:CAFZGJki_SXJubYSVRJ5Xq57TrZEDariW8p6L3+syKbax89y-Dg@mail.gmail.com"
type="cite">
<div dir="ltr">Hi,<br>
I wana control my SIP register from asterisk.<br>
I other hand, when users login into their softphone, dont access
to call and when I give them access, they can call.<br>
<br>
I dont know it's right way to plan my scenario/? <br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by <a class="moz-txt-link-freetext" href="http://www.api-digital.com">http://www.api-digital.com</a> --
New to Asterisk? Join us for a live introductory webinar every Thurs:
<a class="moz-txt-link-freetext" href="http://www.asterisk.org/hello">http://www.asterisk.org/hello</a>
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
<a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a></pre>
</blockquote>
<br>
</body>
</html>