[Asterisk-Users] SIP prepaid

Alexander Didebulidze alexander.didebulidze at stusta.mhn.de
Tue Jun 15 14:30:34 MST 2004


you have to create all neded sounds (i use a copy of beep.gsm) prepaid-
*.gsm you can start asterisk in debug mode and you will see what files
it needs.

in extentions :
    exten => 02000101,1,Wait,1
    exten => 02000101,2,Answer
    exten => 02000101,3,Prepaid
    exten => 02000101,4,Hangup

than you have to put example database in postgresql database and
configure prepaid.conf.

than you have to create some entries in database...
phppgadmin can help you...
you have to enable postgresql debug mode to see what is app_prepaid
doing ... (watch logs)
in postgresql.conf set "log_statement = true" !

if you can authenticate to app_prepaid with a pin you created in
database try to add some allowed destinations in database too..

it's not easy but all you need is time ....




On Tue, 2004-06-15 at 18:00 +0000, asterisk at ati-kos.com wrote:
> Does it do the cost calculation by destination (country rates)? if yes it
> should be great! Does it work with sip clients to or only with digium
> cards! also if it is posible to tell us what should we do to make it work,
> should we add some lines to extensions.conf?
> 
> 
> Best Regards
> Hekuran Doli
> 
> > I got it working (but not realy)...
> >
> > I can authenticate with a Prepaid Card Number (10 digits) and it
> > "tells"(see asterisk debug -cvvv,-rvvv) me to enter destination number.
> > But i'm lazy to fill allowed destinations database but i think that it
> > will work too.
> >
> > Alex
> >
> >
> >
> >
> > On Tue, 2004-06-15 at 15:35 +0000, asterisk at ati-kos.com wrote:
> >> Yesturday I was trying to install the app_prepaid but a guy on irc
> >> told me that its fake and it dosent work. So I start trying to install
> >> the appradius and installed it succesfully, but I cant make it work!
> >> Any one has experience with app_prepaid or appradius that can tell us
> >> what are the advantages of the prepaid app they are using?
> >>
> >> Best Regards
> >> Hekuran
> >>
> >>
> >>
> >> > I think many of the list members have it, but for their own benefit.
> >> Like jeremy mcnamara from nufone...
> >> >
> >> > HC.
> >> >
> >> > ----- Original Message -----
> >> > From: "usedcanon" <usedcanon at yahoo.co.uk>
> >> > To: <asterisk-users at lists.digium.com>
> >> > Sent: Monday, June 14, 2004 5:43 PM
> >> > Subject: RE: [Asterisk-Users] SIP prepaid
> >> >
> >> >
> >> >> I am doing something for someone. I counld not find anything that
> >> met the spec.
> >> >>
> >> >> Umar.
> >> >>
> >> >> -----Original Message-----
> >> >> From: asterisk-users-admin at lists.digium.com
> >> >> [mailto:asterisk-users-admin at lists.digium.com]On Behalf Of HCQ
> >> Sent: 14 June 2004 20:28
> >> >> To: asterisk-users at lists.digium.com
> >> >> Subject: [Asterisk-Users] SIP prepaid
> >> >>
> >> >>
> >> >> I want to have sip prepaid (not calling card) users, is there
> >> anything already developed for that matter?
> >> >>
> >> >> Thanks .
> >> >> HC
> >> >>
> >> >> _______________________________________________
> >> >> 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
> >> >>
> >> >> _______________________________________________
> >> >> 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
> >> >>
> >> > _______________________________________________
> >> > 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
> >>
> >>
> >>
> >> _______________________________________________
> >> 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
> >>
> > --
> > Alexander Didebulidze <alexander.didebulidze at stusta.mhn.de>
> >
> > _______________________________________________
> > 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
> 
> 
> 
> _______________________________________________
> 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
> 
-- 
Alexander Didebulidze <alexander.didebulidze at stusta.mhn.de>




More information about the asterisk-users mailing list