[Asterisk-Users] determining what number was dialed?

Steven Critchfield critch at basesys.com
Fri Aug 20 14:08:53 MST 2004


On Fri, 2004-08-20 at 15:47, Chris Shaw wrote:
> 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...

Even a regular T1 can have DID and therefore again, the "line" is not
relavent. We had a channelized T1 with E&m wink and the "lines" where
not assigned a number, we decoded it as part of call setup via dtmf. On
those lines I know we didn't receive the 1800 number as it was forwarded
to our DID number and we just received the last 4 digits of the DID. 

So we are back to waiting to hear from the PSTN connectivity and
signalling before we can continue giving advice.


> > > ----- Original Message -----
> > > From: "Steven Critchfield" <critch at basesys.com>
> > > To: <asterisk-users at lists.digium.com>
> > > 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 <critch at basesys.com>
> >




More information about the asterisk-users mailing list