Re: [asterisk-users] FreePBX: using context other than the default context and the generation for the configuration

2012-07-16 Thread bilal ghayyad
Dears; First, I would like to declare that I used sip_custom.conf and extensions_custom.conf and I discovered that the calls are not shown in the CDR. Until now I did not check if I can browse the voicemails using the FreePBX if I used the extensions_custom.com file. Now, if we are talking

Re: [asterisk-users] FreePBX: using context other than the default context and the generation for the configuration

2012-07-12 Thread SamyGo
Great tip Duncan :) On Thu, Jul 12, 2012 at 10:29 AM, Duncan Turnbull dun...@e-simple.co.nzwrote: You can also specify routes with an callerid qualifier as 09XX/20X This would only have it apply to extensions in the 200-209 range That route can then point to a trunk going nowhere if

Re: [asterisk-users] FreePBX: using context other than the default context and the generation for the configuration

2012-07-12 Thread Duncan Turnbull
Thanks Samy I am figuring you may know but with freepbx if you want to make it a bit more tailored then send it to a custom trunk In freepbx add a custom trunk with the custom dial string Local/$OUTNUM$@blocked-number-custom /etc/asterisk/extensions_custom.conf [blocked-number-custom] exten =

Re: [asterisk-users] FreePBX: using context other than the default context and the generation for the configuration

2012-07-11 Thread bilal ghayyad
Fine, did you read the question well and understand about what I am asking? I know well what Verbose do and what Goto do, and my question is not related to what they are doing because I used Goto 100 times or more. I have been working on Asterisk more than 5 years and installed alot of sites.

Re: [asterisk-users] FreePBX: using context other than the default context and the generation for the configuration

2012-07-11 Thread Warren Selby
On Wed, Jul 11, 2012 at 4:56 PM, bilal ghayyad bilmar...@yahoo.com wrote: Fine, did you read the question well and understand about what I am asking? Perhaps I did not understand what you were asking. I thought you were wanting to do something custom per extension (in the case of my example,

Re: [asterisk-users] FreePBX: using context other than the default context and the generation for the configuration

2012-07-11 Thread SamyGo
See Route-Permissions module, It lets you restrict certain phones/extensions to follow a dial-plan pattern and dial out to the defined trunk etc meanwhile not breaking any other functionality or features of FPBX- though you can restrict the features from this too.

Re: [asterisk-users] FreePBX: using context other than the default context and the generation for the configuration

2012-07-11 Thread Duncan Turnbull
You can also specify routes with an callerid qualifier as 09XX/20X This would only have it apply to extensions in the 200-209 range That route can then point to a trunk going nowhere if you want to block them In freepbx there is a field in outbound route page to select callerid that the

Re: [asterisk-users] FreePBX: using context other than the default context and the generation for the configuration

2012-07-10 Thread bilal ghayyad
I went for admin/module admin and I search for custom contexts but did not find it. How I can get it? Regards Bilal --- The module is custom contexts - its a third party option in the module admin But you can write contexts in the extensions_custom.conf if you want to I

Re: [asterisk-users] FreePBX: using context other than the default context and the generation for the configuration

2012-07-10 Thread Steve Edwards
Please don't top-post. On Tue, 10 Jul 2012, bilal ghayyad wrote: -- Thanks in advance, - Steve Edwards sedwa...@sedwards.com Voice: +1-760-468-3867 PST Newline Fax:

Re: [asterisk-users] FreePBX: using context other than the default context and the generation for the configuration

2012-07-10 Thread Eric Wieling
-Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Steve Edwards Sent: Tuesday, July 10, 2012 5:22 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] FreePBX: using

Re: [asterisk-users] FreePBX: using context other than the default context and the generation for the configuration

2012-07-10 Thread bilal ghayyad
Dear Warren; I did not understand the example below well. What the Verbose will do? It will write in the CDR or the database? Really this did not understand. Also did not understand this lineL same = n,Goto(${EXTEN},from-internal,1) How it will work? Can u plz explain? Regards Bilal

Re: [asterisk-users] FreePBX: using context other than the default context and the generation for the configuration

2012-07-10 Thread Matthew Jordan
- Original Message - From: bilal ghayyad bilmar...@yahoo.com To: asterisk-users@lists.digium.com Sent: Tuesday, July 10, 2012 4:25:40 PM Subject: Re: [asterisk-users] FreePBX: using context other than the default context and the generation for the configuration Dear Warren;

Re: [asterisk-users] FreePBX: using context other than the default context and the generation for the configuration

2012-07-06 Thread bilal ghayyad
Dears; Thanks for all the replies and help. First of all, I am not looking to have the custom context only for outbound, I need this also to separate the extensions into partitions, so I can have same extensions in different contexts, also extensions in context A can not call extensions in

[asterisk-users] FreePBX: using context other than the default context and the generation for the configuration

2012-07-05 Thread bilal ghayyad
Hi All; If I set a context other than the default context, then I do not see a generation for a configuration in the extensions_additional.conf for this context, but always the generation for the configuration is for the default context (from-internal). Normally, I have to put some Phones in

Re: [asterisk-users] FreePBX: using context other than the default context and the generation for the configuration

2012-07-05 Thread SamyGo
Hey, If you want to have all the dialplan features for your extensions and still need to implement some outbound calling restrictions then you need to look for some modules in freePBX. i've used that module exactly for this purpose and it works..can't remember its name. Just google it or lookup

Re: [asterisk-users] FreePBX: using context other than the default context and the generation for the configuration

2012-07-05 Thread Duncan Turnbull
The module is custom contexts - its a third party option in the module admin But you can write contexts in the extensions_custom.conf if you want to I wouldn't use freepbx to generate your code - its quite complex code for a roll your own system, but very useful if you learn its gui and options

Re: [asterisk-users] FreePBX: using context other than the default context and the generation for the configuration

2012-07-05 Thread Warren Selby
On Thu, Jul 5, 2012 at 5:20 PM, bilal ghayyad bilmar...@yahoo.com wrote: Hi All; You can get modules to do what you're looking for, but if you really want to make a custom context but still have all the available features of the default context, you can add the following at the end of your

Re: [asterisk-users] FreePBX: using context other than the default context and the generation for the configuration

2012-07-05 Thread SamyGo
umm Warren, yes including from-internal is the way of getting all the features,,,but in my experience the calls going out using the dialplan script we manually enter in our custome context don't get inserted into the FreePBX CDR and recording stuff !! On Fri, Jul 6, 2012 at 10:01 AM, Warren

Re: [asterisk-users] FreePBX: using context other than the default context and the generation for the configuration

2012-07-05 Thread Warren Selby
On Fri, Jul 6, 2012 at 12:11 AM, SamyGo govoi...@gmail.com wrote: umm Warren, yes including from-internal is the way of getting all the features,,,but in my experience the calls going out using the dialplan script we manually enter in our custome context don't get inserted into the FreePBX