[asterisk-gui] internal calls

dima dima at scancom.es
Fri Jul 6 20:43:33 CDT 2007


Thanks a lot for your answer
You are right. That was my error :-(
I guess I have a bit weird setup, where for every user the extension
number is the same like callerid number. Users are porting their
traditional PSTN numbers to our platform and in the "calling rules" I
couldn't find a way to distinguish local numbers from outside ones. Once
I would have set up a pattern like _9XXXXXXXX in "calling rules" to make
external calls, local numbers would start being routed outside as well.

Finally I came up with this:

[numberplan-custom-1]
;created in "Incomming calls". Makes sure that all internal calls will
not be routed outside
include = DID_trunk_1
;created in "Calling rules". Calls are routed outside
include = numberplan-custom-2
;voicemail & friends
include = default

Unfortunately, gui dialplan constructor ("Calling rules") doesn't let
"including" contexts. So once I'll need multiple dialplans for the
clients, again I'll have to set up the "including" directly in the
config files.
I'm not sure if the "include context" feature is important to the rest
of you guys. I'll be more than happy if somebody puts it in the todo.txt



> No, all phones should be able to call
> other phones by registered extension
> if its on the same asterisk box.
> 
> -bk
> 
> dima wrote:
> > Hello, everyone.
> > I'm trying to configure internal calls with GUI (so that the registered
> > extensions could call one another without leaving the asterisk box). So
> > far I didn't have success. 
> > It's a pure sip setup. No analog lines. The only way I could do it is by
> > specifying a local trunk (with the IP of my asterisk box), making a
> > calling rule for every extension, and then making an incoming call rule
> > for every extension throug the local trunk.
> > Is that the ony way it could be done?
> > Thanks in advance. 
> >
> >
> > _______________________________________________
> > --Bandwidth and Colocation Provided by http://www.api-digital.com--
> >
> > asterisk-gui mailing list
> > To UNSUBSCRIBE or update options visit:
> >    http://lists.digium.com/mailman/listinfo/asterisk-gui
> >   
> 
> 
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
> 
> asterisk-gui mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-gui




More information about the asterisk-gui mailing list