> -----Original Message----- > From: Tony Mountifield [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 20, 2006 2:41 PM > To: asterisk-users@lists.digium.com > Subject: [asterisk-users] Re: Match a Numer - then continue with, > dialplan > > > In article > <[EMAIL PROTECTED]>, > Douglas Garstang <[EMAIL PROTECTED]> 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. _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users