[Asterisk-Users] Voicemail() - Reading exit or return results
Bart Fisher
bhfisher at icpage.com
Sun Apr 2 14:32:33 MST 2006
Here my script:
exten => 230,1,Answer
exten => 230,2,NoOp
exten => 230,3,Voicemail(u${EXTEN})
exten => 230,4,NoOp(Need results from VoiceMail() above - should be non-zero and provided to ARG3)
exten => 230,5,NoOp
exten => 230,6,GoToIf($[${ARG3} = 0]?s|8)
exten => 230,7,system(/var/lib/asterisk/agi-bin/230.php|${EXTEN}) ;
exten => 230,8,Hangup
I need to know how to read and use 'exit' results into ARG3 from voicemail() so the script will continue past line 6 or not
Thanks
Bart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060402/75e61804/attachment.htm
More information about the asterisk-users
mailing list