Paul Concepcion
2004-Aug-20 12:28 UTC
[Asterisk-Users] determining what number was dialed?
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. Thanks, -paul
Steven Critchfield
2004-Aug-20 12:33 UTC
[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@basesys.com>
Hello Paul, Check out this varialbe: ${DNID}: Dialed Number Identifier Here are some others: http://www.voip-info.org/wiki-Asterisk+Variables -- Richard Cook richard@aspworld.com Tel: 705-497-9320 -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Paul Concepcion Sent: Friday, August 20, 2004 3:28 PM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] determining what number was dialed? 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. Thanks, -paul _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Paul Concepcion
2004-Aug-21 14:33 UTC
[Asterisk-Users] determining what number was dialed?
Thanks for the information. Sorry about tossing that Caller ID tidbit, a separate train of thought appeared while I was typing that last reply. On Sat, 21 Aug 2004 14:23:46 -0700, Kevin P. Fleming <kpfleming@backtobasicsmgmt.com> wrote:> Paul Concepcion wrote: > > > 8 analog lines all terminate in an Adtran TA750 channel bank we > > bought. From there a crossover cable connects to the T100P card in our > > Asterisk server. > > With this arrangement you cannot receive DNIS. There is no way for the > telco to transmit the dialed number to you. > > > We temporarily had regular phones connected to a few of the analog > > lines and the caller ID information did come through. Are there > > questions I should ask my provider that will tell me what kind of > > signalling we use? > > Caller ID is something else entirely; it is _not_ the number that was > dialed, it is (presumably) the number of the caller. > > If you want to receive the number that the caller dialed (so you can > route the call based on that information), you have only two choices: a > T-1 from your telco with two-way DID trunks on it, or a PRI from your > telco. Asterisk does not support any other means of receiving the dialed > number (and there is only one other means, analog DID trunks). > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >