mvickers@real.com
2003-Oct-20 19:35 UTC
[Asterisk-Users] Setting a variable in extenstions.conf from the phone keypad.
What I want to do is have one phone number for multiple call bridges (meetme) so that first users are prompted for their call bridge ID then their password. exten => 7001,1,Playback(/var/lib/asterisk/sounds/if-you-know-the-extension-you want-to-dial-press-that-extension:gsm) exten => 7001,2,set $foo to whatever was entered on the phones keypad exten => 7001,3,Dial($foo,60) Thanks! Mark Vickers, RealNetworks Inc. Desk: (206) 674-2391 Fax: (206)674-3588
Steven Critchfield
2003-Oct-20 19:53 UTC
[Asterisk-Users] Setting a variable in extenstions.conf from the phone keypad.
On Mon, 2003-10-20 at 21:35, mvickers@real.com wrote:> What I want to do is have one phone number for multiple call bridges > (meetme) so that first users are prompted for their call bridge ID then > their password. > > > exten => 7001,1,Playback(/var/lib/asterisk/sounds/if-you-know-the-extension-you > want-to-dial-press-that-extension:gsm)Use Background here so asterisk will do something with the keys pressed during prompt playback.> exten => 7001,2,set $foo to whatever was entered on the phones keypad > > exten => 7001,3,Dial($foo,60)No need to set a variable to toss it away. Also Dial won't do what you expect. You need to Goto the extension you are interested in. What you need to do then is write a pattern match and Goto that. exten => _XXX,1,Goto(${EXTEN}) -- Steven Critchfield <critch@basesys.com>
Maybe Matching Threads
- Dial plan doesn't seem to save properly
- T1 - A little guidance needed to get started, What order to do zaptel, zapata...
- chan_zap.c - echo cancelation getting in the way of dialing????
- insmod wcfxo failed ( b8zs, esf, wink start is what I'm trying to do.)
- TE410P lights don't blink read after the module is loaded