[asterisk-users] [Record() function] Script stops if user doesn't hit # after msg

Vincent vincent.delporte at bigfoot.com
Sun Nov 25 17:44:50 CST 2007


Hello

	I noticed something nasty with the Record() function: If the
user either hangs up during the prompt (ie. doesn't leave a message at
all), or does leave a message but forgets to hit the # key at the
end... Asterisk stops right there, so the rest of the script doesn't
run:

========
[internal]
exten => 777,1,Playback(leave_msg)
exten => 777,n,Record(/tmp/test.wav,3,30)
;Verbose() not run
exten => 777,n,Verbose(Here we are)
========

Am I doing it wrong? Is there a way to solve this?

Thank you.




More information about the asterisk-users mailing list