Displaying 1 result from an estimated 1 matches for "do_not_disturb".
2005 Feb 27
2
Jumb between macro's and variables
...er macro if a conditition is true or
false.
Asterisk is jumping to the next macro, but then the {ARG1} variable is not
working anymore.
part of config:
[macro-default]
exten => s,1,DBGet(do-not-disturb=DND/${ARG1})
exten => s,2,GotoIf($["${do-not-disturb}" = "YES"]?macro-do_not_disturb,s,1)
...
[macro-do_not_disturb]
exten => s,1,Wait(2)
exten => s,2,Answer
exten => s,3,Playback(pls-try-call-later)
exten => s,4,Voicemail(u${ARG1})
exten => s,5,Hangup
In the asterisk log I see this error for s,4 in macro-do_not_disturb:
-- Executing VoiceMail("SIP/201-6440&...