[Asterisk-Users] How to Playback Mailbox Owners Name?

Soren Rathje asterisk at lolle.org
Sun Dec 12 09:08:20 MST 2004


Thorben G. Jensen wrote:
> How do I Playback the Mailbox Owners Name?
>
>
>
> Ex.: I want a message saying "I am sorry but" + Mailbox Owner Name +
> "has gone to lunch"
>

Extension "999" in voicemail context "internal"

exten => 999,1,SetVar(VM_CONTEXT=internal)
exten => 999,2,Playback(im-sorry)
exten =>
999,3,Playback(/var/spool/asterisk/voicemail/${VM_CONTEXT}/${EXTEN}/greet)
exten => 999,4,Playback(flagged-for-lea)
exten => 999,5,Hangup()

That should get you going.. :-)

/Søren




More information about the asterisk-users mailing list