Hi Julian,<br><br>The way I do things is to break my call types up into blocks, such as [emergency], [local], [longdistance], [international], [localextensions], etc. <br><br>Then, I create contexts for my users which include those basic blocks. For example, a courtesy phone at reception (the [courtesy-phones] context) has emergency, local and localextensions included in it. Then when I setup an extension for a courtesy phone, I set context=courtesy-phones. 
<br><br>Alex<br><br><div><span class="gmail_quote">On 1/11/07, <b class="gmail_sendername">Julian Varanini</b> &lt;<a href="mailto:jvaranini@hotmail.com">jvaranini@hotmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">




<div>Hi,<br>
&nbsp;<br>
Does anyone have a good example of how to restrict International calls to only certain users?&nbsp; I have been messing around with contexts in the extensions.conf file with no success.<br>
&nbsp;<br>
Thanks<br>
&nbsp;<br>
Julian<br></div>

<br>_______________________________________________<br>--Bandwidth and Colocation provided by <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://Easynews.com" target="_blank">Easynews.com</a> --<br><br>
asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> &nbsp; <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br><br><br></blockquote></div><br><br clear="all"><br>-- <br>Alex Robar<br><a href="mailto:alex.robar@gmail.com">alex.robar@gmail.com</a>