[Asterisk-Users] RE: return Credit Time

Umair Bari umairbari at gmail.com
Mon Nov 21 00:51:18 MST 2005


Nov 21 06:44:30 WARNING[8266]: Timeout, but no rule 't' in context 'ppp'
 its not an error its just a warning that you dont have timeout rule in your
context,
 exten => t,1,Hangup
 OR
 exten => t,1,Do_SomeThing
 and it will fix that warning.
 and about your actual question,
 use AGI, get customer credit from database, divide that with charges for
the number called, it will give you max number of minutes for that
destination. Now you have the minutes under customer's credit, you can limit
the call. Set max call time limit to that number of minute and you are done.
 hope this helps.
 PS: I dont know if above method will work or not, I wrote what I think can
solve the issue.

Regards,
 Umair bari
On 11/20/05, Abdul Lateef Khan <abdul_zu at yahoo.com> wrote:
>
> Hi,
>
> I already install the agiphp from the following steps, i want to be
> sure, is my agiphp installation is correct or not.
>
> i copied all following files into
> /var/lib/asterisk/agi-bin folder
>
> phpagi.php
> phpagi-asmanager.php
> phpagi-fastagi.php
> dtmf.php ;For test
>
> i crated one extention
>
> [ppp]
> exten => 111,1,agi(dtmf.php)
>
> These are all modification which i did for phpagi, Is another
> configurations need to be done to work properly?
>
> When i am dialing this 111 extentions i am getting the error:
>
> Nov 21 06:44:30 WARNING[8266]: Timeout, but no rule 't' in context 'ppp'
>
> i will be very thank full if anyone can help me.
> --
> Best Regards,
> Abdul Lateef Khan
> Computer Programmer
> Mobile No. : +974 - 5405022
> ICQ : 276-994-704
> YM! : abdul_zu at yahoo.com
> MSN : abdulzu at hotmail.com
> Google Talk : lateef.np at gmail.com
> _______________________________________________
> --Bandwidth and Colocation sponsored by Easynews.com <http://Easynews.com>--
>
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> 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/20051121/62f7d040/attachment.htm


More information about the asterisk-users mailing list