Displaying 2 results from an estimated 2 matches for "checkmessage".
2004 Apr 14
1
background / goto commands
...the *
key and be prompted for their password to check vmail.
For some reason though the background command isn't working as I'd
expect it to:
[macro-vmessage]
exten => s,1,Answer
exten =>
s,2,Background(/var/spool/asterisk/voicemail/sixthree/${ARG1}/unavail)
exten => 1,*,Macro(checkmessage,${ARG1})
exten => 2,*,Hangup
exten => s,3,VoiceMail2(s${ARG1})
exten => s,4,Hangup
[macro-checkmessage]
exten => s,1,VoiceMailMain2(${ARG1})
exten => s,2,Hangup
If I do nothing during the greeting all behaves as I would expect (user
is given the unavailble greeting, then a beep to...
2004 Apr 15
0
external voicemail access - solved (mostly)
...was just captured. In order to
get the behavior I'm looking for (user calls into voicemail, presses *
to be prompted for a password and check messages, press # to skip the
greeting and leave a message) I had to have 3 macros:
(1)vm - leave voicemail
(2)vm-nogreet - simply provide a beep
(3)checkmessage
Ideally this would be one larger macro, where the starting point could
be specified as well as passing the arguments along.
[macro-vm]
exten => s,1,Answer
exten => s,2,Background(${VMAILPATH}/${ARG2}/${ARG1}/unavail)
exten => s,3,VoiceMail2(s${ARG1})
exten => s,4,Hangup
[macro-vm-no...