I have a requirement for a setup with prepaid call credits. I am aware of the two applications available (been researching for the past week), app_prepaid and app_rateengine. However neither of the two sound like exactly what I want. However I was wondering that someone who has used it might be able to say if they could be used in my scenario. Basically my scenario is pretty straight forward. Credit will be allocated to the ddi, I dont need any announcements etc (maybe low credit warning during call could be useful thoug). From the users prespective everything will be transparent. However the call should disconnect when the credit runs out. The CDR and the account DB need to be adjusted according to the call made. My guess is that app_prepaid could used with modification, I am assuming here that this is not possible as-is with configuration. Basically in case of the prepaid app, the card number can be replace transparently with the callerID. All help, guidence and comments will be extremelly appreciated. Umar.
Have you tried the calling card sample AGI listed in the Wiki? I am not using it in production, but I tested it and it seemed straight forward. http://www.voip-info.org/wiki-Asterisk+tips+and+tricks On Sun, 2004-05-23 at 16:10, usedcanon wrote:> I have a requirement for a setup with prepaid call credits. > > I am aware of the two applications available (been researching for the past > week), app_prepaid and app_rateengine. However neither of the two sound like > exactly what I want. However I was wondering that someone who has used it > might be able to say if they could be used in my scenario. > > Basically my scenario is pretty straight forward. Credit will be allocated > to the ddi, I dont need any announcements etc (maybe low credit warning > during call could be useful thoug). From the users prespective everything > will be transparent. However the call should disconnect when the credit runs > out. The CDR and the account DB need to be adjusted according to the call > made. > > My guess is that app_prepaid could used with modification, I am assuming > here that this is not possible as-is with configuration. > > Basically in case of the prepaid app, the card number can be replace > transparently with the callerID. > > All help, guidence and comments will be extremelly appreciated. > > Umar. > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@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--
On Mon, 24 May 2004, usedcanon wrote:> I have a requirement for a setup with prepaid call credits. > > I am aware of the two applications available (been researching for the past > week), app_prepaid and app_rateengine. However neither of the two sound like > exactly what I want. However I was wondering that someone who has used it > might be able to say if they could be used in my scenario. > > Basically my scenario is pretty straight forward. Credit will be allocated > to the ddi, I dont need any announcements etc (maybe low credit warning > during call could be useful thoug). From the users prespective everything > will be transparent. However the call should disconnect when the credit runs > out. The CDR and the account DB need to be adjusted according to the call > made. > > My guess is that app_prepaid could used with modification, I am assuming > here that this is not possible as-is with configuration. > > Basically in case of the prepaid app, the card number can be replace > transparently with the callerID.Hi, I did this to app_prepaid - you can pass a parameter into Prepaid() - its looked up in a table to find an "associated" card number - if that is found then the card number prompt is skipped and the associated card is used automatically. I can send a patch if you like (will also include a minor change or two to have app_prepaid work against CVS. Steve
Hi Steve, Sounds like more or less what I want. I would be greatful if you could send me your patch. Just wondering if you play any prompts to the user at all ? like when the credit is running out etc. Thanks Umar. -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com]On Behalf Of Stephen Davies Sent: 24 May 2004 07:37 To: asterisk-users@lists.digium.com Subject: Re: [Asterisk-Users] Asterisk Prepaid On Mon, 24 May 2004, usedcanon wrote:> I have a requirement for a setup with prepaid call credits. > > I am aware of the two applications available (been researching for thepast> week), app_prepaid and app_rateengine. However neither of the two soundlike> exactly what I want. However I was wondering that someone who has used it > might be able to say if they could be used in my scenario. > > Basically my scenario is pretty straight forward. Credit will be allocated > to the ddi, I dont need any announcements etc (maybe low credit warning > during call could be useful thoug). From the users prespective everything > will be transparent. However the call should disconnect when the creditruns> out. The CDR and the account DB need to be adjusted according to the call > made. > > My guess is that app_prepaid could used with modification, I am assuming > here that this is not possible as-is with configuration. > > Basically in case of the prepaid app, the card number can be replace > transparently with the callerID.Hi, I did this to app_prepaid - you can pass a parameter into Prepaid() - its looked up in a table to find an "associated" card number - if that is found then the card number prompt is skipped and the associated card is used automatically. I can send a patch if you like (will also include a minor change or two to have app_prepaid work against CVS. Steve _______________________________________________ Asterisk-Users mailing list Asterisk-Users@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
As far as a low credit warning is concerned.........look at bug id: 1353 on http://bugs.digium.com I have been using it just fine. usedcanon wrote:>I have a requirement for a setup with prepaid call credits. > >I am aware of the two applications available (been researching for the past >week), app_prepaid and app_rateengine. However neither of the two sound like >exactly what I want. However I was wondering that someone who has used it >might be able to say if they could be used in my scenario. > >Basically my scenario is pretty straight forward. Credit will be allocated >to the ddi, I dont need any announcements etc (maybe low credit warning >during call could be useful thoug). From the users prespective everything >will be transparent. However the call should disconnect when the credit runs >out. The CDR and the account DB need to be adjusted according to the call >made. > >My guess is that app_prepaid could used with modification, I am assuming >here that this is not possible as-is with configuration. > >Basically in case of the prepaid app, the card number can be replace >transparently with the callerID. > >All help, guidence and comments will be extremelly appreciated. > >Umar. > >_______________________________________________ >Asterisk-Users mailing list >Asterisk-Users@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 > >