Kelly Opal wrote:
I would like my customers to have a choice of dialing 1 to get my cell
phone while in voicemail
I use a combination of the follow me feature, along with the 'a' extension:


[s-NOANSWER]

exten => s,1,Gosub(mailbox_exist,s,1)
exten => s,n,Set(VoiceMailCount=${VMCOUNT(${ARG1}@sip)})
exten => s,n,Voicemail(${ARG1}@sip|u)

exten => h,1,Set(NewVoiceMailCount=${VMCOUNT(${ARG1}@sip)})
exten => h,n,GotoIf($["${NewVoiceMailCount}" > "${VoiceMailCount}"]?5:6)
exten => h,n,Hangup()

exten => a,1,Followme(${ARG1}|san)
exten => a,n,Voicemail(${ARG1}@sip|u)


--

Ben Franklin quote:

"Those who would give up Essential Liberty to purchase a little Temporary Safety, 
deserve neither Liberty nor Safety."


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to