[Asterisk-Users] Collecting dialed digits

JKNUTSEN at UP.COM JKNUTSEN at UP.COM
Thu Apr 24 11:49:57 MST 2003


I am trying to set up an auto attendant for the first time, and am having
trouble getting to the submenu.  My extensions.conf file looks like this:

[incoming]

exten=> s,1,Background,menu1
exten=> s,2,Wait,20
exten=> s,3,Goto,s|1

exten=> 1,1,Playback,option1
exten=> 2,1,Playback,option2
exten=> 3,1,Playback,option3

It is my understanding that asterisk treats the digits entered by the
caller at the first menu as an extension.  When I run asterisk and call in
and enter a number for my option, I am not passed on, rather I just loop
through.  Is there something more that I need to set up.

Also, is there a way to store dialed digits as a variable?  I am interested
in writing a calling card/debit card application, and I think storing the
digits as a variable would be something that I would need to do to
accomplish that.  If anyone as experience with that I would appreciate your
advice as well.

Thanks,
Jesse




More information about the asterisk-users mailing list