Selecting international termination

2006-12-26 Thread Liviu Toma
Hello, I am using several VoIP companies for terminating calls into the PSTN. Some of them offer a number of minutes included in the monthly plan. I wonder if it's possible to setup asterisk in such a way that it will use one termination for the first X minutes to a certain destination, then

Re: [on-asterisk] Selecting international termination

2006-12-26 Thread Shidan
1) set some flag persistently out of asterisk, easiest is mysql, it can be anything else as long as it's persistant. For now lets pretend its a persistent environment variable called TimeUsedProvidername. You can even use the asterisk db but I wouldn't trust it. 2) Write a macro where you check

Mysql DB

2006-12-26 Thread Syed Zia
I would like Asterisk to record all the CDR in a mysql DB rather then master.csv. Can some one help me with some instructions on how we do that? Some sample code would be very helpful Thanks Syed

RE: [on-asterisk] Mysql DB

2006-12-26 Thread M.Arshad khan
Install freeradius with mysql, and install radius module for asterisk on asterisk server freeradius site: http://www.freeradius.org Arshad From:"Syed Zia" [EMAIL PROTECTED]To:asterisk@uc.orgSubject:[on-asterisk] Mysql DBDate:Tue, 26 Dec 2006 16:00:20 -0500I would like Asterisk to record all

Re: [on-asterisk] Mysql DB

2006-12-26 Thread Shidan
If all you want to do is record the cdr to mysql then definitely the below method is not necessary or even appropriate, just install the mysql module from add-ons and create the table for your cdr records, and change a couple of settings in your conf files as per instructions on the wiki or the