Hi , can you any buddy provide agi script in perl or php for, only working hours incomming calls forward to his cellno., and after working hours should be play one playback msg then forward voicemail to his extension. working hours(sun - thu, 9:00 to 19:00)
ex: dialplan exten => 4578901,2,AGI(agi://127.0.0.1:4577/call_log) exten => 4578901,3,MixMonitor(/var/spool/asterisk/astrec/${TIMESTAMP}-${CALLERIDNUM}-${EXTEN}-${UNIQUEID}.gsm|av(0)V(0)) exten => 4578901,4,Dial(SIP/5001,30,tTo) exten => 4578901,5,Set(CALLERID(all)=044578901) exten => 4578901,6,Dial(Zap/g0/0554721368,,tTo) exten => 4578901,7,Hangup 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
-- _____________________________________________________________________ -- 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