you can also set some kind of authentication on the extensions for example ask for a pin to dialout. etc<br><br><div class="gmail_quote">On Thu, Feb 24, 2011 at 6:51 PM, Daniel Tryba <span dir="ltr">&lt;<a href="mailto:daniel@tryba.nl">daniel@tryba.nl</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">On Thu, Feb 24, 2011 at 11:38:17AM +0000, Roger Burton West wrote:<br>
&gt; The relevant part of my setup is something like:<br>
&gt;<br>
&gt; SIP phones -&gt; local server -&gt; remote server -&gt; SIP-to-PSTN provider<br>
&gt;<br>
&gt; I want _some_ of the SIP phones on the local server to be able to get<br>
&gt; access to SIP-to-PSTN, but not all of them. The local-to-remote<br>
&gt; connection is IAX2 over VPN.<br>
<br>
</div>The way I would to this is by blocking them on the localserver (with<br>
different contexts). An other solution would be to set prefixes on the<br>
extension when dialing from local to remote and use these to filter, not<br>
very elegant but works over any transport. I use this to do multitenant<br>
billing on the remote server in places where I only want 1 IAX trunk.<br>
Whether this is effective depends on your control of the local server.<br>
<br>
--<br>
<font color="#888888"><br>
   Daniel Tryba<br>
</font><div><div></div><div class="h5"><br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
               <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</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" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><font color="#888888"><div>Best Ragards</div><div>Rizwan Qureshi</div><div>VoIP/Asterisk Engineer</div><div>Axvoice Inc.</div>
<div>V: +92 (0) 3333 6767 26</div><div>E: <a href="mailto:rizwanhasham@gmail.com" target="_blank">rizwanhasham@gmail.com</a></div><div>W: <a href="http://www.axvoice.com/" target="_blank">www.axvoice.com</a></div></font><br>