[asterisk-users] Agi script for working hours PBX
Satish Barot
satish4asterisk at gmail.com
Mon Jun 27 05:51:53 CDT 2011
Wasn't that helpful?
http://lists.digium.com/pipermail/asterisk-users/2011-June/264082.html
Use GotoIfTime in agi of your choice with "condition" part being calculated
dynamically as per your requirement.
But I really don't see any usefulness of AGI if your working hours are fixed
i.e. Mon - Thu, 9:00 to 19:00.
[SATISH]
Mumbai, India.
On Mon, Jun 27, 2011 at 3:00 PM, mahesh katta <maheshkatta at flexydial.com>wrote:
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110627/eb398ec5/attachment.htm>
More information about the asterisk-users
mailing list