[Asterisk-Users] Background only responds to 1 digit

rnc Info Lists info-lists at robertc.de
Thu Nov 13 14:31:20 MST 2003


I have a problem where the Background application only seems to work if
one digit is pressed.  Extensions with multiple digits just timeout and
asterisk hangs up.

Below is the relevant excerpt from extensions.conf.  In this example,
pressing 2 will access the service menu.  Then pressing 1 will do the echo
test ok but pressing 8463 or 33 will cause an  invalid extension message. 
 Any ideas for a solution are appreciated.

Robert

[default]
exten=> s,1,ResponseTimeout,10
exten=> s,2,Background(rnc-mainmenu)

exten=> 1,1,Goto(local-extensions,2001,1)
exten=> 2,1,Goto(services,s,1)

[services]
exten=> s,1,ResponseTimeout,10
exten=> s,2,Background(rnc-svcmenu)

exten => 1,1,Answer
exten => 1,2,Playback(demo-echotest)
exten => 1,3,Echo()
exten => 1,4,Playback(demo-echodone)
exten => 1,5,Wait(1)
exten => 1,6,Playback(vm-goodbye)
exten => 1,7,Wait(1)
exten => 1,8,Hangup


exten =>33,1,Answer
exten =>33,2,MusicOnHold(random)

exten =>8463,1,DateTime()
exten =>8463,2,Wait(2)
exten =>8463,3,Playback(vm-goodbye)
exten =>8463,4,Hangup





More information about the asterisk-users mailing list