<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3059" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Or you can do</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>exten => _011.,1,Authenticate(1234)</FONT></DIV>
<DIV><FONT face=Arial size=2>exten => _011.,2,Dial(<A
href="mailto:SIP/${EXTEN}@sip_provider">SIP/${EXTEN}@sip_provider</A>)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Also this is a bit more complicated but you can do
it by sip extension. If CID of phone = phone that is allowed then let it go
out..... This will be hard considering you will have to make a gotoif for every
extension that you want to allow to call intl.</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=rizwanhasham@gmail.com href="mailto:rizwanhasham@gmail.com">Rizwan
Hisham</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=asterisk-users@lists.digium.com
href="mailto:asterisk-users@lists.digium.com">Asterisk Users Mailing List -
Non-Commercial Discussion</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, March 30, 2007 11:18
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [asterisk-users] Security on
long distance calls</DIV>
<DIV><BR></DIV>For operator:<BR><BR>[longdistance]<BR>include=>
local<BR>include=> International<BR><BR>for
extensions:<BR><BR>[localcalls]<BR>include=> local<BR><BR>now assign
longdistance context to operator and localcalls context to every other user
for whom you want to restrict intl calls <BR><BR>[local]<BR>should include all
local extension codes<BR><BR>[International]<BR>should include all
international extension codes<BR><BR>you get my point?<BR><BR>
<DIV><SPAN class=gmail_quote>On 3/30/07, <B class=gmail_sendername>Stefano
Corsi</B> <<A href="mailto:scorsi@floo.it">scorsi@floo.it</A>>
wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Hello,
<BR><BR>which kind of method could you use to inhibit long distance calls
to<BR>_some_ extensions?<BR>Is there a way to do it with freepbx or you have
to do it manually in<BR>the config files? I wouldn't like to set a route
password, because <BR>that is not confortable for the pbx operator. I just
would like the<BR>operator being able to call whatever number, while the
extensions<BR>should only be able to make local
calls.<BR><BR>Thanks<BR>Stefano<BR><BR><BR>_______________________________________________<BR>--Bandwidth
and Colocation provided by <A href="http://Easynews.com">Easynews.com</A>
--<BR><BR>asterisk-users mailing list<BR>To UNSUBSCRIBE or update options
visit:<BR> <A
href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</A><BR></BLOCKQUOTE></DIV><BR><BR
clear=all><BR>-- <BR>Regards<BR>Rizwan Hisham<BR>Software Engineer
<P>
<HR>
<P></P>_______________________________________________<BR>--Bandwidth and
Colocation provided by Easynews.com --<BR><BR>asterisk-users mailing
list<BR>To UNSUBSCRIBE or update options visit:<BR>
http://lists.digium.com/mailman/listinfo/asterisk-users<BR></BLOCKQUOTE></BODY></HTML>