Follow Me


In the red text is what I added to my extensions.conf file to create a very simple follow me script.  As you can see from the file that only ext 2001 will use the follow me script.  All other extensions will just go to voicemail if no one answers the phone.  

For a more advance script see the WiKi Follow Me page.


[general]
static=yes
writeprotect=no

[home]

; locating or follow me service
exten => _2001,1,Setvar(ext=${EXTEN})
exten => _2001,2,Playback(try_locate)
exten => _2001,3,Wait(1)
exten => _2001,4,Dial(SIP/15552222493@outbound,10,t)
exten => _2001,5,Voicemail(u${EXTEN})
exten => _2001,105,Voicemail(b${EXTEN})
exten => _2001,106,Hangup


exten => _200x,1,Answer
exten => _200x,2,Dial(SIP/200x,10)
exten => _200x,3,Voicemail(u${EXTEN})
exten => _200x,4,Hangup
exten => _200x,103,Voicemail(b${EXTEN})
exten => _200x,104,Hangup

exten => _1nxxnxxxxxx,1,Dial(SIP/${EXTEN}@outbound)
exten => _1nxnxxxxxxx,2,Hangup

;Number that the IP Phones dial to access voice mail
exten => 22999,1,VoiceMailMain (${CALLERIDNUM})
exten => 22999,2,Wait(3)
exten => 22999,3,Hangup


© Kurt W. Pasewaldt 2005
Unauthorized duplication prohibited
without the author expressed written permission.


 
03/21/2005