Hi there, Regarding the calling card system, I would like to know what software tools are suitable to write the CDR system? 1) Perl (but what kind of database should be used?) 2) PHP + MySQL 3) or others suggestion? Also, which one is easier to access AGI? Any source and information would be appreciated. Best regards, Max Chow -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040121/3c46957a/attachment.htm
Hi- I've been on the development team writing calling card platforms in different languages - it's really up to you to choose the combo that you prefer. I like MySQL myself, and found it to be quite stable, but I think you'll find that others on this list prefer other DB's. Anything you use should work fine with Perl or PHP. Please read through the archives as this topic has been discussed a number of times. Regards, Scott Stingel Scott M. Stingel Emerging Voice Technology Inc. Palo Alto, California and London, England URL: www.evtmedia.com -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of KH Chow Sent: Wednesday, January 21, 2004 9:47 AM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] Calling Card Application Hi there, Regarding the calling card system, I would like to know what software tools are suitable to write the CDR system? 1) Perl (but what kind of database should be used?) 2) PHP + MySQL 3) or others suggestion? Also, which one is easier to access AGI? Any source and information would be appreciated. Best regards, Max Chow
KH Chow wrote:> Hi there, > > Regarding the calling card system, I would like to know what software > tools are suitable to write the CDR system? > > 1) Perl (but what kind of database should be used?) > > 2) PHP + MySQL > > 3) or others suggestion? > > Also, which one is easier to access AGI? Any source and information > would be appreciated. >I personally like the PHP and MySQL combination for ease of use.. I haven't written a calling card system I have just been playing with AGI a little and writing the scripts in PHP (because its the language I am most comfortable with).. Others on the list use perl, python and C.. I guess there are others languages as well.. I know many also like PostgresSQL and here to there are aothe DB's.. I guess the answer to you question is that you can use just about any language and DB you like, its totally up to you because its your system and you are the one who is going to have to support it.. Later..
hi all, i'd like to know if is possible with asterisk / standard pc(server) / Wildcard TE410P (4 port T1/E1) to implement a calling card application. This calling card application should work as follows: - User's can buy credits at out company (this credit gets stored in a database - with the telephone number associated with the credit) for his telephone number (which is always a mobile phone) - If the user wants to dial a long distance number - then he simple calls our "calling card application number" (where our Wildcard sits on a E1). - Then asterisk checks if the user is authorized with his mobile number. - If the user is authorized - then let him enter the destination number - if the user is not authorized - then give back a text - Then connect to the long distance number and establish the call (but hang up the call if the user credit is to low) - The outbound call also goes over our WildCard card. Additionally there should be: - The outgoing call should get "least coast" router between several providers (we have a table for which provider is the best for which destination) - It would be nice if the call could ask for his credit (or he always gets a message "Your credit is ..." - Also it would be nice - if it were possible for users to store the number the want to call in their phone book (eg. "calling card application number...pause...long distance number) - so that they don't have to remember the number. I have already found something like this - its at: http://www.voip-info.org/wiki-Asterisk+callingcard - it seems to be nearly the same as for what i was searching (the authorization is based on a PIN which the user have to enter - but beside of that it is the same) Is, what i have tryied to explain, so possible with asterisk ? If not - does there exists anything else with which it would be possibe (gnu bayonne?) ? Where are the possible problems ? Have someone already used app_prepaid in production ? hope you have some hints for me PS: sorry for my bad english best regards Wolfgang
Good afternoon, I haven't set up a pre-paid system myself, so I can't answer to details on what system to use, etc. But I can give you some advise regarding your authentication scheme. If by authentication by mobile number you mean the caller ID received, that is not secure at all. CallerID is very easy to spoof when you have a digital line (certain types, of course.) For example, when I call out from my Asterisk box, if I prefix the number with 9, it sends my correct CallerID information. If I prefix the number with 8, it sends the number I am calling as the CID. I can just as easily set that to show random numbers, or a mobile number I know will give me pre-paid minutes on XYZ company's long distance account. If you do want to use the CallerID as part of the authentication, that is fine, but I would highly recommend keeping the PIN code in place also, as a safeguard against a falsified CID. Examples 1. Caller ID shows correct number of a user: Caller is presented with a prompt for a PIN, user enters in correct pin, prompted for destination number, call completes. 2. Caller ID shows correct number of a user: Caller is presented with a prompt for a PIN, incorrect pin is entered, Invalid account message played, disconnected or transferred to operator. 3. Caller ID does not match customer database. Caller is played a message stating how to get an account, and routed to operator or disconnected accordingly. Even with the PIN, you could still store the appropriate pauses in a speed dial and be seemingly transparent for the user. Many phones have a calling card function in them already, which will work fine as well. Good luck, Jeremy -----Original Message----- From: Wolfgang Pichler [mailto:madmin@dialog-telekom.at] Sent: Tuesday, May 25, 2004 9:17 AM To: Asterisk-Users Mailinglist Subject: [Asterisk-Users] calling card application <SNIP> - Then asterisk checks if the user is authorized with his mobile number. <SNIP> Where are the possible problems ? <SNIP>
That may be the case in Australia, but at least here in the US of A, the telco accepts what is sent. I only have it set up to spoof on prefix 8 to call friends, but they already know that if they see their number, odds are pretty good that it is me. :-) The main "legit" way that is used, is when you have DIDs for numerous office extensions. You have to set the Caller ID when you call out so it shows the correct DID extension to call back on. Or you can always send your main switchboard number rather than the individual extension. There are several methods that are commonly used. As for why the telcos don't look at the incoming number list for your account, and verify what you are sending is part of that, I don't know. I agree with you there, it just seems to be the way it should be. The only exception I could see is if you have lines from several providers, and want to send the incoming number from a different provider than your outgoing. But then it seems they could evaluate that on a case by case basis but still protect the data. They didn't ask me though. But regardless of what it could, and should, be, caller ID is a very insecure authentication method as it currently stands. Jeremy -----Original Message----- From: Klaus Darilion [mailto:klaus.mailinglists@pernau.at] Sent: Tuesday, May 25, 2004 12:21 PM To: asterisk-users@lists.digium.com Subject: Re: [Asterisk-Users] calling card application Jeremy Hall wrote:> If by authentication by mobile number you mean the caller ID received, > that is not secure at all. CallerID is very easy to spoof when youhave> a digital line (certain types, of course.) For example, when I callout> from my Asterisk box, if I prefix the number with 9, it sends mycorrect> CallerID information. If I prefix the number with 8, it sends the > number I am calling as the CID. I can just as easily set that to show > random numbers, or a mobile number I know will give me pre-paidminutes> on XYZ company's long distance account.Is it really possible to spoof the CID? Shouldn't the PSTN provider (the company which gave you the E1 link) verfiy that the CID you're sending into the PSTN is correct (i.e. is in your number range), and put in a correct one if it's false? I think that's the way it should be in Austria. regards, klaus _______________________________________________ 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
can anyone using/integrating modified-prepaid-application avaiable on wiki . if anyone kindly guided me. Thanks.
I am looking for a calling card application which is able to advise me during a call when the credit is almost finish. For examples 1 minute before the end of the credit. Thank you
ASTCC should do that. Darren Wiebe darren@aleph-com.net Il Neofita wrote:>I am looking for a calling card application which is able to advise me >during a call when the credit is almost finish. For examples 1 minute >before the end of the credit. > >Thank you >_______________________________________________ >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 > > >