Another probably elementary question I'm afraid!
I have recorded custom greetings for an asterisk mailbox and this is played appropriately when a caller is passed to the mailbox. After they have heard this however asterisk plays 'Please leave your message after the tone, when done press the pound key'
I dont need this second announcement - but I have been unable to prevent asterisk from playing it. Reading around the subject it appears that an s option should prevent this from happening but I cant find where in the configuration files (or PBX Manager interface) this switch should be used. It doesn't work if it is simply used in the 'additional options' field of the mailbox setup screen.
Does anyone have any suggestions as to how I might achieve this relitively simple task?
Thanks in advance,
Kind Regards,
Geoff.
Thanks - worked a treat!
eeman - Thanks so much for your pointer. I'm not all that familiar with the scripts that run PBXManager and your suggestion spurred me on to have a closer look at how they all worked. It was, once I had done a little work, easy to clone the scripts as you suggested and alter the hard coded options in tl-userexten-base.
Thanks again for your almost immediate help with this, especially over the Christmas Period. The solution works perfectly. In regards to your comments about callers needing good explanations of what to do when they hear the bleep - I entirely agree - I just wanted the instructions to be in the users own outgoing message.
Kind Regards,
Geoff.
This is a very old thread on
This is a very old thread on the subject. There seem to be various voicemail that may have bene added since this thread...is there a way to turn off this from the gui now without editing scripts?
No, but we may be able to add
No, but we may be able to add the ability to set vm options including silent for user extensions - i.e. add an optional parameter to the script and ability to set it in the GUI.
We will probably need to also allow setting of default options on the global and tenant level and overriding them for each extension. Any other requests for user extension options - vm or anything else?
While this should be easy for
While this should be easy for Thirdlane to implement better, overriding this on your own system is not too difficult.
You need to clone the tl-userexten-base script and 2 lines near the bottom of the script: Find these sections and make the changes noted:
;; UNAVAIL VM
exten => s-NA-VOICEMAIL,1,Answer
exten => s-NA-VOICEMAIL,n,Wait(2)
exten => s-NA-VOICEMAIL,n,GotoIf($["${VM}" = "2"]?ringing)
exten => s-NA-VOICEMAIL,n,GotoIf($["${VM_MBOX}" = "none"]?ringing)
exten => s-NA-VOICEMAIL,n,VoiceMail(${VM_MBOX},us) <----add an s to the u ---->
exten => s-NA-VOICEMAIL,n,Hangup
;;exten => s-NA-VOICEMAIL,n(ringing),Playtones(ring)
;;exten => s-NA-VOICEMAIL,n,Ringing()
;;exten => s-NA-VOICEMAIL,n,Wait(100)
;;exten => s-NA-VOICEMAIL,n,Hangup
exten => s-NA-VOICEMAIL,n(ringing),Hangup
;; BUSY VM
exten => s-BUSY-VOICEMAIL,1,NoOp
exten => s-BUSY-VOICEMAIL,n,GotoIf($["${VM}" = "2"]?busy)
exten => s-BUSY-VOICEMAIL,n,GotoIf($["${VM_MBOX}" = "none"]?busy)
exten => s-BUSY-VOICEMAIL,n,Wait(2)
exten => s-BUSY-VOICEMAIL,n,VoiceMail(${VM_MBOX},bs) <----add an s to the b ---->
exten => s-BUSY-VOICEMAIL,n,Hangup
exten => s-BUSY-VOICEMAIL,n(busy),Progress
exten => s-BUSY-VOICEMAIL,n,PlayTones(busy)
exten => s-BUSY-VOICEMAIL,n,Busy(5)
exten => s-BUSY-VOICEMAIL,n,Hangup
Then clone tl-stdexten and change the below line:
exten => s,n,Macro(tl-userexten-base,${ARG1},${ARG2},${ARG3})
to be
exten => s,n,Macro(,${ARG1},${ARG2},${ARG3})
Then go into the extension settings where you want to disable voicemail announcement and change the extension script from tl-stdexten to the new script you created that you cloned.
As a stopgap solution with minimal work from Thirdlane and no need to change the GUI or make any other changes, Thirdlane could modify their default tl-userexten-base script to include a 4th argument for silencing the announcement and create a new "system" user extension script that suppresses the voicemail announcement.
Then a user could simply choose between using tl-stdexten and tl-stdexten-silencevm and everything would be part of the Thirdlane solution.
you could clone tl-userexten-base and add the 's' option and likewise clone tl-userexten to call this new macro. Then specify the extension to use it. Personally I like the instructions, I've run into entirely too stupid of class of people to trust them to know what to do when they hear a beep ;-).
/emote imagines the complaints from customers already...