<br>Wasn't that helpful?<br><a href="http://lists.digium.com/pipermail/asterisk-users/2011-June/264082.html">http://lists.digium.com/pipermail/asterisk-users/2011-June/264082.html</a><br>Use GotoIfTime in agi of your choice with "condition" part being calculated dynamically as per your requirement.<br>
<br>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.<br>[SATISH]<br>Mumbai, India.<br><br><div class="gmail_quote">On Mon, Jun 27, 2011 at 3:00 PM, mahesh katta <span dir="ltr"><<a href="mailto:maheshkatta@flexydial.com">maheshkatta@flexydial.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi ,<br><br>can you any buddy provide agi script in perl or php for,<br>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.<br>
working hours(sun - thu, 9:00 to 19:00)<br><br>ex: dialplan <br>exten => 4578901,2,AGI(agi://<a href="http://127.0.0.1:4577/call_log" target="_blank">127.0.0.1:4577/call_log</a>)<br>exten => 4578901,3,MixMonitor(/var/spool/asterisk/astrec/${TIMESTAMP}-${CALLERIDNUM}-${EXTEN}-${UNIQUEID}.gsm|av(0)V(0))<br>
exten => 4578901,4,Dial(SIP/5001,30,tTo)<br>exten => 4578901,5,Set(CALLERID(all)=044578901)<br>exten => 4578901,6,Dial(Zap/g0/0554721368,,tTo)<br>exten => 4578901,7,Hangup<br><br clear="all"><font face="Verdana, sans-serif"><font size="2"><font color="#000000">Best
Regards, <br><br>Mahesh Katta</font><br><font color="#ff9900"><b>BUZZ</b></font><font color="#000000"><b>WORKS</b></font><font color="#000000">
Business Services Private Limited<br></font><font color="#999999">BANGALORE
</font><font color="#000000">| </font><font color="#999999">CHENNAI </font><font color="#808080">|
</font><font color="#999999">HYDERABAD </font><font color="#000000">|
</font><font color="#ff9900">MUMBAI| </font><font color="#999999">DELHI<br></font><font color="#000000">201, Crystal Tower, 75 Gundavali Cross Lane, Andheri Kurla Road, Andheri (E) Mumbai 400069</font><font color="#666666"><br>
</font><font color="#ff9900">GSM</font><font color="#000000">
+91.97029.70779 | </font><font color="#ff9900">Phone </font><font color="#000000">+91.22.4229.2634
| </font><font color="#ff9900">Fax </font><font color="#000000">+91.22.4229.2634<br></font><font color="#ff9900">Web</font><font color="#000000">
<a href="http://www.buzzworks.com/" target="_blank">http://www.buzzworks.com<br></a></font></font></font><br>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>