[asterisk-users] extensions ending with "#"...

Matt Riddell lists at venturevoip.com
Sun Feb 15 20:39:34 CST 2009


On 6/02/2009 6:45 p.m., flux at hotbox.ru wrote:
> Benoit wrote:
>> flux at hotbox.ru a écrit :
>>> Hi everyone!
>>>
>>> I've set up asterisk ip-pbx to implement IVR menu and encountered such a 
>>> problem: when users dial the destinaion phone number and end it up with 
>>> "#" asterisk still waits until timeout in WaitExten() is reached.

Just use the read application:

[internal]
exten => _X.,1,Read(myvar)
exten => _X.,n,Goto(outgoing,${myvar},1)

[outgoing]
exten => _1234.,1,Dial(DAHDI/g0/${EXTEN})

-- 
Kind Regards,

Matt Riddell
Director
_______________________________________________

http://www.venturevoip.com (Great new VoIP end to end solution)
http://www.venturevoip.com/news.php (Daily Asterisk News - html)
http://www.venturevoip.com/newrssfeed.php (Daily Asterisk News - rss)



More information about the asterisk-users mailing list