Skip to main content

Missing tl-goto-voicemail-direct script

Posted by etornetworks on Tue, 08/08/2017

I do not see the tl-goto-voicemail-direct script in the star codes.

Can someone post it?


Submitted by volodya on Wed, 08/09/2017 Permalink

Hello,

Description:
Allows to transfer caller to voicemail.
Expects to be invoked through 3 character feature access code (like *96.), and treats the rest of the characters as the mailbox.

Dialplan:
exten => s,1,Wait(3)
exten => s,n,Voicemail(${MACRO_EXTEN:3}@default${TL_DASH}${tenant},u)
exten => s,n,Hangup

Can you please tell how it disappeared?

Submitted by eeman on Wed, 08/16/2017 Permalink

goto-voicemail-direct was a mistake since day 1. It was requested to be implemented because the requestor failed to realize that tl-transfer-to-voicemail ALREADY supported all of those features but the person was too inept to realize the script already existed. By the time I discovered the new script it was too late to get it removed from the release. Its completely not needed. You should be using tl-transfer-to-voicemail. Not only do you get the flexibility of picking HOW MANY digits you want to require (instead of mandating 3), you also get an Operator extension, as well as the ability to Star-out and enter your PIN to check your voicemail.

exten => s,1,GotoIf($["${ARG1}" != ""]?vm)
exten => s,n,Set(ARG1=1)
exten => s,n(vm),VoiceMail(${MACRO_EXTEN:${ARG1}}@default${TL_DASH}${tenant},${ARG2})

exten => o,1,GotoIf($["${ARG3}" = ""]?check)
exten => o,n,Set(OPERATOR=${ARG3})
exten => o,n(check),GotoIf($["${OPERATOR}" != ""]?dial)
exten => o,n,Set(OPERATOR=0)
exten => o,n(dial),Dial(Local/${OPERATOR}@from-inside${TL_DASH}${tenant})

exten => a,1,VoiceMailMain(${MACRO_EXTEN:${ARG1}}@default${TL_DASH}${tenant})
exten => a,n,Hangup