[Asterisk-Users] how to ask for number to dial and then dial it?

2006-07-02 Thread Robert La Ferla
I want to create an extension say 8000 that prompts the user to enter a number and then dial that entered number according to a set of rules. The rules for dialing out are in different context (dial- out-rules). [mymenu] exten = 8000,1,Answer() [dial-out-rules] ; toll-free numbers

Re: [Asterisk-Users] how to ask for number to dial and then dial it?

2006-07-02 Thread Cory Forsyth
You could do this: [mymenu] exten = 8000,1,Answer() exten = 8000,n,GoTo(dial-out-rules,s,1) [dial-out-rules] ; you'll have to record a prompt, or find an appropriate one in the distribution exten = s,1,Playback(dial_number_after_the_beep) exten = s,n,Playback(beep) exten = s,n,WaitExten(5) ;

Re: [Asterisk-Users] how to ask for number to dial and then dial it?

2006-07-02 Thread El Flynn
Robert La Ferla wrote: I want to create an extension say 8000 that prompts the user to enter a number and then dial that entered number according to a set of rules. The rules for dialing out are in different context (dial- out-rules). [some-context] exten =