Ticket #3042: callme_extensions_custom.conf

File callme_extensions_custom.conf, 479 bytes (added by sasargen, 4 years ago)

Custom dialplan code for handling click-to-call voicemail playback.

Line 
1 ; ################## FOR VOICEMAIL "CALL ME" FUNCTIONALITY ##################
2 ; MSG and MBOX are channel variables set when Call Me originates the call
3 [custom-callme]
4 exten => s,1,Answer()
5 exten => s,n,Wait(1)
6 exten => s,n,Background(${MSG}&vm-repeat&vm-starmain)
7 exten => s,n,WaitExten()
8
9 exten => #,1,Playback(vm-goodbye)
10 exten => #,n,Hangup()
11
12 exten => 5,1,Goto(custom-callme,s,3)
13
14 exten => *,1,Macro(get-vmcontext,${MBOX})
15 exten => *,n,VoiceMailMain(${MBOX}@${VMCONTEXT},s)