Paul Mahler
2004-May-14 11:47 UTC
[Asterisk-Users] How to Echo extension number to caller?
I need to dial an extension that tells me what extension I'm dialing from. I'm running a bunch of analog phones off a channel bank to * over a T1. I have the following in extensions.conf. exten => 98,1,SayDigits(${EXTEN}) This says the digits the caller enters on the keypad, not the extension they are calling from. Thanks Guys!!!!!!!! Paul Paul Mahler pmahler@signate.com <mailto:pmahler@signate.com> <http://www.signate.com/> Signate, LLC PO Box 60430 Palo Alto, CA 94306 VoIP Systems, Training & Consulting
Andrew Kohlsmith
2004-May-14 12:01 UTC
[Asterisk-Users] How to Echo extension number to caller?
> exten => 98,1,SayDigits(${EXTEN})SayDigits(${CIDNUM}) ?? -A.
Steven Critchfield
2004-May-14 12:09 UTC
[Asterisk-Users] How to Echo extension number to caller?
On Fri, 2004-05-14 at 13:47, Paul Mahler wrote:> I need to dial an extension that tells me what extension I'm dialing from. > > I'm running a bunch of analog phones off a channel bank to * over a T1. I > have the following in extensions.conf. > > exten => 98,1,SayDigits(${EXTEN}) > > This says the digits the caller enters on the keypad, not the extension they > are calling from.[general] critch=Zap/15 [extensions] exten => 112,1,dial(${critch}) ; primary extension exten => 113,1,dial(${critch}) ; former employee, cover extension exten => 5,1,dial(${critch}) ; Tech support entry [did] exten => 9012,1,dial(${critch}) ; did entry [testing] exten => 46,1,dial(${critch}) ; in bound from another * What extension am I???? Your problem is in not understanding that you are at an interface, not an extension. If you wanted to create a lookup table of interfaces to primary extensions, that would be possible. You would use something like CHANNEL for that. -- Steven Critchfield <critch@basesys.com>
Try: exten => *53,1,SayDigits(${CALLERIDNUM}) Kyle Paul Mahler wrote:>I need to dial an extension that tells me what extension I'm dialing from. > >I'm running a bunch of analog phones off a channel bank to * over a T1. I >have the following in extensions.conf. > >exten => 98,1,SayDigits(${EXTEN}) > >This says the digits the caller enters on the keypad, not the extension they >are calling from. > >Thanks Guys!!!!!!!! > >Paul > > > > >Paul Mahler >pmahler@signate.com <mailto:pmahler@signate.com> ><http://www.signate.com/> >Signate, LLC >PO Box 60430 >Palo Alto, CA > 94306 > > VoIP Systems, Training & Consulting > > > > > > > > > > >_______________________________________________ >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 > > > >
It's called caller id. Paul Mahler wrote:>I need to dial an extension that tells me what extension I'm dialing from. > >I'm running a bunch of analog phones off a channel bank to * over a T1. I >have the following in extensions.conf. > >exten => 98,1,SayDigits(${EXTEN}) > >This says the digits the caller enters on the keypad, not the extension they >are calling from. > >Thanks Guys!!!!!!!! > >Paul > > > > >Paul Mahler >pmahler@signate.com <mailto:pmahler@signate.com> ><http://www.signate.com/> >Signate, LLC >PO Box 60430 >Palo Alto, CA > 94306 > > VoIP Systems, Training & Consulting > > > > > > > > > > >_______________________________________________ >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 > > >