Hi, Can someone kindly help me or give me some hint on the following problem:
I am trying to send out voicemail email with the email body containing a variable that is set during the call.
lets say in one of the extension, I do
exten => 2,1,Set(Press=2)
Then in voicemail.conf I have
Which intends to tell me what digit the caller press. However the variable “Press” became empty string when sending out the email.
I tried using SetGlobalVar(Press=2), and it works, but as it is a global variable, if there are any other caller, they are going to mess up the result.
Basically how can I set a variable to the scope of one call/channel and being able to email it out?
Let me know if this is confusing, I can try to explain in a bit more detail