<br>Thank you.<br><br>Now that the conexts are different can all the extension call to echother ?<br><br>Seysan<br><br><br><div><span class="gmail_quote">On 8/27/07, <b class="gmail_sendername">Steven</b> <<a href="mailto:asterisk@tescogroup.com">
asterisk@tescogroup.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">This is what I did in Trixbox:<br><br>I added this to extensions_custom.conf
<br>-----------------<br>[restrict-local-only]<br>include => from-internal-additional-custom<br>include => app-recordings<br>include => app-callwaiting-cwoff<br>include => app-callwaiting-cwon<br>include => app-dialvm
<br>include => app-vmmain<br>include => app-cf-busy-off<br>include => app-cf-busy-off-any<br>include => app-cf-busy-on<br>include => app-cf-off<br>include => app-cf-off-any<br>include => app-cf-on<br>
include => app-cf-unavailable-off<br>include => app-cf-unavailable-on<br>include => ext-meetme<br>include => app-calltrace<br>include => app-directory<br>include => app-echo-test<br>include => app-speakextennum
<br>include => app-speakingclock<br>include => app-dnd-off<br>include => app-dnd-on<br>include => app-pickup<br>include => app-chanspy<br>include => ext-test<br>include => ext-local<br>include => outrt-007-local-only
<br>include => restrict-invalid<br>exten => h,1,Hangup<br><br>[restrict-invalid]<br>exten => _9.,1,Playback(feature-not-avail-line)<br>exten => _9.,n,Playback(that-number)<br>exten => _9.,n,Playback(is)<br>
exten => _9.,n,Playback(privacy-not)<br>exten => _9.,n,Playback(accessible-through-system)<br>exten => _9.,n,Busy()<br>------------------<br><br>Then in trixbox, each extension has a context field.<br><br>Change it from the default to "restrict-local-only".
<br><br>Also, I added a Route called "local-only"<br>This includes just our local exchanges, emergency, and toll free.<br><br>Dial Patterns:<br>911<br>9|1248.<br>9|1576.<br>9|1713.<br>9|1800.<br>9|1810.<br>9|1866.
<br>9|1877.<br>9|1888.<br><br>I created the "restrict-invalid" context to play a recording when a call was blocked.<br>It matches anything not specified in "restrict-local-only" or higher included contexts.
<br><br>This scenario work great for me.<br><br>Supposedly there is a Trixbox module called "CustomContexts" <a href="http://aussievoip.com.au/wiki/freePBX-CustomContexts">http://aussievoip.com.au/wiki/freePBX-CustomContexts
</a> , but it is in<br>beta and seems more complicated than my approach.<br>It should be much more versatile, but I went with the quick fix.<br><br>--<br>--<br>Steven<br><br><a href="http://www.glimasoutheast.org">http://www.glimasoutheast.org
</a><br><br><br><br>"Thomas Kenyon" <<a href="mailto:digium@sanguinarius.co.uk">digium@sanguinarius.co.uk</a>> wrote in message news:46D293E8.3000508@sanguinarius.co.uk...<br>> Seysan wrote:<br>>> Hi all,
<br>>><br>>> I want to limit the outgoing trunk to certain extensions, so for example<br>>> 6 extensions can call long distance, but 4 other extensions are not<br>>> allowed to do so.<br>>><br>
>> How can I do it in FreePBX specially?<br>>><br>> I don't know about Trixbox per say, but normally you would have all the<br>> handsets that can make long distance calls in one context and all the<br>
> ones that can't in another, then use dialplan logic to glue it all together.<br>><br>><br>> _______________________________________________<br>> --Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--">
http://www.api-digital.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>><br><br><br><br><br>_______________________________________________<br>--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--">http://www.api-digital.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>