Okay, so here’s the context for my call to the voicemail application:
[ext-injection-5]
include => ext-injection-5-custom
exten => 5011,1,Goto(injection-5,${EXTEN},1)
; end of [ext-injection-5]
[injection-5]
include => injection-5-custom
exten => _.,1,Noop(Entering Injection: VoicemailDTMF)
exten => _.,n,Set(DYNAMIC_FEATURES=hangup#vmendcall)
exten => _.,n,Read(vminput,,5)
exten => _.,n,Set(vmbox=${vminput:0:4})
exten => _.,n,Set(vmfunc=${vminput:4})
exten => _.,n,Macro(vm,${vmbox},DIRECTDIAL)
exten => _.,n,Goto(vmret,1)
exten => _.,n,Goto()
exten => h,1,Macro(hangupcall,)
So, I did two things. First, I changed the Macro line that calls vm to the following:
and, second, I added the following in the [injection-5] section:
Should this be sufficient? Behavior is the same, but I’m hoping I’m just doing something wrong.
-Nick