[asterisk-users] Office timings only work asterisk after that voicemail

mahesh katta maheshkatta at flexydial.com
Wed Jun 22 00:40:09 CDT 2011


Hi,

I have small asterisk pbx. I was made a dialplan like whenever out side
world is dialing to asterisk pbx DID's it was goes to dial his extension
number. if this extension is not pick the call after 30 sec it will dial
his(user) mobile number. i need to create dialplan only office timings(9:00
am to 19:00, sun to Thu days) needs to dial his mobile number after that
will play like "this is not office time" whatever. after office timing it
should be go voicemail .

[default]
exten => 4578901,1,AGI(agi://127.0.0.1:4577/call_log)
exten =>
4578901,2,MixMonitor(/var/spool/asterisk/astrec/${TIMESTAMP}-${CALLERIDNUM}-${EXTEN}-${UNIQUEID}.gsm|av(0)V(0))
exten => 4578901,3,Dial(SIP/5001,30,tTo)
exten => 4578901,4,Gotoiftime(09:00-19-00,sun-fri,*,*?default,4578901,5)
exten => 4578901,5,Dial(Zap/g0/0554721368,,tTo)
exten => 4578901,6,VoiceMail(u5001)
exten => 4578901,7,playback(vm-goodbye)
exten => 4578901,8,Hangup
up to hundred did's have same dialplan

currently I am using above dial plan i need to add my question in this
dialplan . is there any way. please help'

Best Regards,

Mahesh Katta
*BUZZ**WORKS* Business Services Private Limited
BANGALORE | CHENNAI | HYDERABAD | MUMBAI| DELHI
201, Crystal Tower, 75 Gundavali Cross Lane, Andheri Kurla Road, Andheri (E)
Mumbai 400069
GSM +91.97029.70779 | Phone +91.22.4229.2634 | Fax +91.22.4229.2634
Web http://www.buzzworks.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110622/4189246b/attachment.htm>


More information about the asterisk-users mailing list