Voicemail Variables

Status
Not open for further replies.

mc6650

Member
Apr 8, 2019
123
5
18
62
Hello
I'd like to be able to control the playing of time. date and caller ID when listening to a voicemail message. From my reading it looks like I do this "Advance - Variables" in the "Dialplan".
Voicemail Variables.jpg




When I scroll to each of these locations I don't see the options to do this. The only settings I see are in "Advance - Default Settings" but they don't list what I'm looking for.

What am I missing? Thanks in advance for any help that can be provided.
Michael
 

Attachments

  • Voicemail Default Settings.jpg
    Voicemail Default Settings.jpg
    162.4 KB · Views: 23
  • Voicemail Diaplan.jpg
    Voicemail Diaplan.jpg
    103.3 KB · Views: 22
Read the docs more closely. Those variables ultimately need to end up in the dial plan. They can be set globally in Advanced>Vars but that requires a freeswitch restart. The normal way would be to add an "action" "set" "<voicemail variable>=true in a domain or global level dial plan
 
Hello
Thanks for the feedback. I've never had the opportunity to create a dial plan as the previous switch I had was FreePBX and this type of setting already existed. All I needed to do was turn it on or off via the GUI. Having said that, I did attempt to create a dial plan for "vm_caller_id_number=false" however it didn't work. Do you have an example of a dialplan with this setting or one of the other variables I could learn from? I'm trying to turn off the caller ID, Date & Time in mailbox 700. Ideally these should be made available (to the listener) in the TUI of the VM700. For example after listening to the message, I may decide to play the envelop information at which point the Caller ID, Date & Time of the message would be played.

Here's my first attempt at a dial plan. Thanks in advance for your help.

VM 700 Dial Plan.jpg
 
Hello

Would anyone be kind enough to post a picture of a voicemail variable so I can use it as template to setup other variables? If I want to set up two variables is that two new dialplans or one? I'm interested in setting up "vm_say_caller_id_number" and "vm_say_date_time". This is for mailbox 700.

Thanks
 
Here is an example of setting vm_caller_id_number to false if Extension 700 dial *97 to check voicemail.
I copied the existing vmain_user dial plan, set the order to 329 (one less than the default 330)
Added a condition to check the sip_from_user is 700
Added the variable to turn off vm_caller_id_number
1616593401420.png
And here is another version of the dial plan where any extension in the domain can dial **700 to check mailbox 700 with the same variable set.
1616593919614.png

It might not be as easy as a toggle switch as found in Freepbx but almost any setting you want can usually be done.
 
Hello
Thanks again for the help. **700 didn't work but *700 did. Unfortunately when I play a message then the caller ID is also being played. I've included a screen shot of my set up. In addition I added the "action" to not ask for a password, however this didn't work. Any ideas what I've not done correctly?

Michael
 

Attachments

  • New DialPlan.jpg
    New DialPlan.jpg
    149.3 KB · Views: 9
Oops. I found the problem with the caller ID instructions; they were incomplete. I had "vm_caller_id_number=false" instead of "vm_say_caller_id_number=false". Any idea about not requiring the password to be entered?
 
From the other thread you found..
Second option (a little hacky), back in the dialplan add a new row, with:
Action - set - sip_from_user=700
 
Status
Not open for further replies.