I am new to asterisk and was trying a few trivial things. Now here’s a problem that I’m facing. I want to have a dial plan, that plays a hello-world and then waits for the user response indefinitely.
My dial plan goes something like this.
exten => 611,1,Answer()
exten => 611,2,Background(hello-world)
exten => 1,1,Dial(SIP/test1,10)
exten => 2,1,Dial(SIP/test2,10)
What happens is that I got the call through 611 and then I was expecting asterisk to wait for user response after playing hello-world. (basically a digit 1 or 2 from user). what happens is that asterisk hangs up the call immediately after playing hello-world. (The user is actually able to press digits 1 or 2 while music is being played, but immediately after the music’s done, asterisk hangs up the call). What am I doing wrong ? I am using asterisk-1.2.13. The end terminals are all X-Lite softphones 3.0
Thanks for your help in advance.