[asterisk-users] Re: Match a Numer - then continue with, dialplan

Douglas Garstang dgarstang at oneeighty.com
Wed Dec 20 14:53:22 MST 2006


> -----Original Message-----
> From: Tony Mountifield [mailto:tony at softins.clara.co.uk]
> Sent: Wednesday, December 20, 2006 2:41 PM
> To: asterisk-users at lists.digium.com
> Subject: [asterisk-users] Re: Match a Numer - then continue with,
> dialplan
> 
> 
> In article 
> <645FEC31A18FE54A8721500CDD55A7B6035D0C6C at mail.oneeighty.com>,
> Douglas Garstang <dgarstang at oneeighty.com> wrote:
> > 
> > Let's try this a different way. Let's say you have two 
> companies. When someone calls a
> > number in their own company, we use their INTERNAL caller 
> id. When they call someone in
> > another company, we want to send their EXTERNAL caller id. 
> How would you do this?
> 
> Firstly, in the setup you are envisaging, how do you distinguish which
> company the caller is calling from? Their extensions number? 
> The context
> at which they enter the dialplan? Or something else?

Good questions, all of them. Unfortnately, I don't have answers to them. I wanted to take our 3000 line python script, which we'd used due to inadequacies of the dialplan, and throw the horrible nasty thing out the window.

> 
> Secondly, how do you distinguish between destination numbers 
> in one company
> from those in another? Number range? Context?

My brain hurts.


More information about the asterisk-users mailing list