<span style="color: rgb(68, 20, 21);"><font size="3"><span style="font-family: comic sans ms;">The best way of restricting users from STD is making different context in extensions.conf, in that context allow STD. and in sip.conf for those users make that context.</span><br style="font-family: comic sans ms;"><br style="font-family: comic sans ms;"><span style="font-family: comic sans ms;"> extensions.conf</span><br style="font-family: comic sans ms;"><br style="font-family: comic sans ms;"><span style="font-family: comic sans ms;">[local]</span><br style="font-family: comic sans ms;"><span style="font-family: comic sans ms;">exten => _0[1-9].,1,Answer</span><br style="font-family: comic sans ms;"><span style="font-family: comic sans ms;">exten => _0[1-9].,2,Dial(${TRUNK}/${EXTEN:1}w)</span><br style="font-family: comic sans ms;"><span style="font-family: comic sans ms;">exten => _0.,3,Hangup</span><br style="font-family: comic sans ms;"><br style="font-family:
comic sans ms;"><br style="font-family: comic sans ms;"><span style="font-family: comic sans ms;">[STD]</span><br style="font-family: comic sans ms;"><span style="font-family: comic sans ms;">exten => _0.,1,Answer</span><br style="font-family: comic sans ms;"><span style="font-family: comic sans ms;">exten => _0.,2,Dial(${TRUNK}/${EXTEN:1}w)</span><br style="font-family: comic sans ms;"><span style="font-family: comic sans ms;">exten => _0.,3,Hangup</span><br style="font-family: comic sans ms;"><span style="font-family: comic sans ms;">include => local</span><br style="font-family: comic sans ms;"><br style="font-family: comic sans ms;"><br style="font-family: comic sans ms;"><span style="font-family: comic sans ms;">and sample sip.conf---</span><br style="font-family: comic sans ms;"><span style="font-family: comic sans ms;">if User 101 is allowed for Local only and if 102 is for STD also ----</span><br style="font-family: comic sans ms;"><br
style="font-family: comic sans ms;"><span style="font-family: comic sans ms;">[101]</span><br style="font-family: comic sans ms;"><span style="font-family: comic sans ms;">type=friend</span><br style="font-family: comic sans ms;"><span style="font-family: comic sans ms;">username=101</span><br style="font-family: comic sans ms;"><span style="font-family: comic sans ms;">;secret=101</span><br style="font-family: comic sans ms;"><span style="font-family: comic sans ms;">host=dynamic</span><br style="font-family: comic sans ms;"><span style="font-family: comic sans ms;">port=5060</span><br style="font-family: comic sans ms;"><span style="font-family: comic sans ms;">dtmfmode=rfc2833</span><br style="font-family: comic sans ms;"><span style="font-family: comic sans ms;">canreinvite=no</span><br style="font-family: comic sans ms;"><span style="font-family: comic sans ms;">context=local</span><br style="font-family: comic sans ms;"><span style="font-family: comic sans
ms;">disallow=all</span><br style="font-family: comic sans ms;"><span style="font-family: comic sans ms;">allow=ulaw</span><br style="font-family: comic sans ms;"><br style="font-family: comic sans ms;"><br style="font-family: comic sans ms;"><span style="font-family: comic sans ms;">[102]</span><br style="font-family: comic sans ms;"><span style="font-family: comic sans ms;">type=friend</span><br style="font-family: comic sans ms;"><span style="font-family: comic sans ms;">username=102</span><br style="font-family: comic sans ms;"><span style="font-family: comic sans ms;">;secret=102</span><br style="font-family: comic sans ms;"><span style="font-family: comic sans ms;">host=dynamic</span><br style="font-family: comic sans ms;"><span style="font-family: comic sans ms;">port=5060</span><br style="font-family: comic sans ms;"><span style="font-family: comic sans ms;">dtmfmode=rfc2833</span><br style="font-family: comic sans ms;"><span style="font-family: comic sans
ms;">canreinvite=no</span><br style="font-family: comic sans ms;"><span style="font-family: comic sans ms;">context=STD</span><br style="font-family: comic sans ms;"><span style="font-family: comic sans ms;">disallow=all</span><br style="font-family: comic sans ms;"><span style="font-family: comic sans ms;">allow=ulaw</span><br style="font-family: comic sans ms;"><br style="font-family: comic sans ms;"><br style="font-family: comic sans ms;"><br style="font-family: comic sans ms;"><br style="font-family: comic sans ms;"><span style="font-family: comic sans ms;">----------------------------------</span><br style="font-family: comic sans ms;"><span style="font-family: comic sans ms;">----------------------------------</span><br style="font-family: comic sans ms;"><br style="font-family: comic sans ms;"><span style="font-family: comic sans ms;">You can also use "Authenticate" command in your dial plan for password authenticate if you want.</span><br
style="font-family: comic sans ms;"><br style="font-family: comic sans ms;"><span style="font-family: comic sans ms;">Regards,</span><br style="font-family: comic sans ms;"><span style="font-family: comic sans ms;">Kesh </span><br style="font-family: comic sans ms;"><br style="font-family: comic sans ms;"></font><br></span><br><b><i>satish patel <satish_patel_2000_2000@yahoo.com></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> Dear all<br><br> I have asterisk PBX and 100 endpoint i want to block STD for specific users or password protect so is it possible users can set passwd on his/her phone and password automaticaly reflacted on asterisk in short i want to restrict STD call of users of outgoing <br><br>Regards<br><br>satish patel<br><div> </div><hr size="1">Moody friends. Drama queens. Your life?
Nope! - their life, your story.<br> <a href="http://us.rd.yahoo.com/evt=48224/*http://sims.yahoo.com/">Play Sims Stories at Yahoo! Games. </a>_______________________________________________<br><br>Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ <br><br>--Bandwidth and Colocation Provided by http://www.api-digital.com--<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> http://lists.digium.com/mailman/listinfo/asterisk-users</blockquote><br><BR><BR><font style="font-family: comic sans ms; color: rgb(0, 0, 127);" size="3">Regards,<br>Kesh<br><span style="font-style: italic;">" Lets change the future...lets change the world."</span></font><br><p> 
<hr size=1><a href="http://us.rd.yahoo.com/evt=48250/*http://searchmarketing.yahoo.com/arp/sponsoredsearch_v9.php?o=US2226&cmp=Yahoo&ctv=AprNI&s=Y&s2=EM&b=50">Pinpoint customers </a>who are looking for what you sell.