True, very true... If it's PRI then you will get DNIS/DNID from the D-Channel...
If they're doing anything other than PRI though, like a regular T1 into a channel bank (or into a TE100P or TE40xP) , this would work... Lines would be assigned to a specific channel and they could be separated out with contexts... Not as pretty as using DNIS but it would work... -Chris ----- Original Message ----- From: "Steven Critchfield" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, August 20, 2004 1:29 PM Subject: Re: [Asterisk-Users] determining what number was dialed? > On Fri, 2004-08-20 at 15:23, Chris Shaw wrote: > > Why not use separate contexts for these lines in zapata.conf? Seems way > > simpler to me... > > > > http://www.voip-info.org/wiki-Asterisk+config+zapata.conf > > Who said they are seperate lines. 1-800 numbers can just be redirects to > other lines. In that case you have to have a different signaling method > to determine 1800-a on line b is different from 1800-c on line b. > > In a PRI circuit, the "lines" are just channels, all signaling data is > run over the D channel and any "line" can be any number routed to that > circuit. > > > > ----- Original Message ----- > > From: "Steven Critchfield" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Friday, August 20, 2004 12:33 PM > > Subject: Re: [Asterisk-Users] determining what number was dialed? > > > > > > > On Fri, 2004-08-20 at 14:28, Paul Concepcion wrote: > > > > Hey all, > > > > > > > > I've setup * to serve the needs of our small helpdesk and I'm looking > > > > to expand. We're planning on doing support for different companies, > > > > each one identified by a different 1-800 number that terminates at our > > > > PBX. What I would like to know is: is there a variable I can read to > > > > determine what number any given caller dialed? I'd like to be able to > > > > separate calls based on who called 1-800-777-7777 and who dialed > > > > 1-800-555-5555, for example. > > > > > > Yes, but it depends on what type of telephony signalling you are using > > > as to whether or not you can get that information. > > > > > > Tells us about your PSTN connection. > > > -- > > > Steven Critchfield <[EMAIL PROTECTED]> > > > _______________________________________________ > Asterisk-Users mailing list > [EMAIL PROTECTED] > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users