[asterisk-users] play file and action only stop if one defined key has been pressed

Thomas Winter thowinter at googlemail.com
Fri Mar 9 12:52:46 MST 2007


Hi,

I would like that user cann press 3 and then actions can be taken.
Problem ist if the pressed key not 3 the user jumps to extension i and then 
the file will be played from start again.

I would like that the play of file is only stopped if the user has pressed the 
key 3.

What for an command can i use to make this happened?

exten => i,1,GoTo(restart)

exten => 3,1,NoOp(action)

exten => s,n(restart),Background(file)

best regards
Thomas


More information about the asterisk-users mailing list