[asterisk-users] CDR on MySQL

2010-12-22 Thread Ron
Hi All, I've got this dialplan: [macro-callout-intl] exten = s,1,ResetCDR(w) exten = s,2,Dial(IAX2/${ARG1}/018${OUTBOUND}||t|L(${OUTTIME}00:6000)) exten = s,3,Goto(s-${DIALSTATUS},1) exten = s,4,Hangup(19) exten = s-BUSY,1,NoCDR() exten = s-BUSY,n,Playback(useris-curntly-busy) exten =

Re: [asterisk-users] CDR on MySQL

2010-12-22 Thread Ishfaq Malik
On Wed, 2010-12-22 at 18:10 +0800, Ron wrote: Hi All, I've got this dialplan: [macro-callout-intl] exten = s,1,ResetCDR(w) exten = s,2,Dial(IAX2/${ARG1}/018${OUTBOUND}||t|L(${OUTTIME}00:6000)) exten = s,3,Goto(s-${DIALSTATUS},1) exten = s,4,Hangup(19) exten = s-BUSY,1,NoCDR() exten

Re: [asterisk-users] CDR on MySQL

2010-12-22 Thread Ron
Hi I have tried setting endbeforehexten=yes but still CDR does not get inserted before h exten. what i tried is setting ResetCDR(w) before the DEADAGI. Like this: exten = h,1,ResetCDR(w) exten = h,2,DEADAGI(get-unqiueid.php) it seems to work but it's inserting 2 record on the CDR, one with

Re: [asterisk-users] CDR on MySQL

2010-12-22 Thread Bryant Zimmerman
exten code as well. Bryant From: Ron nha...@gmail.com Sent: Wednesday, December 22, 2010 9:42 AM To: asterisk-users@lists.digium.com Subject: Re: [asterisk-users] CDR on MySQL Hi I have tried setting endbeforehexten=yes but still CDR does not get

[Asterisk-Users] CDR with MySQL and Asterisk PID File

2004-08-02 Thread Tom Lawrence
Hello, I've been trying to get the CDR to work but when I do make it prints: cdr_addon_mysql.c:33:19: mysql.h: No such file or directory cdr_addon_mysql.c:33:19: errmsg.h: No such file or directory and then stops. Is this something to do with MySQL or with asterisk? I have the latest version of

Re: [Asterisk-Users] CDR with MySQL and Asterisk PID File

2004-08-02 Thread Holger Schurig
Any ideas where I can get these files from? You need to install the development files for MySQL, not just the app. Depending on your distro, they could be named mysql-dev, libmysql-dev or similar. ___ Asterisk-Users mailing list [EMAIL PROTECTED]

RE: [Asterisk-Users] CDR with MySQL and Asterisk PID File

2004-08-02 Thread Kevin Walsh
Tom Lawrence [EMAIL PROTECTED] wrote: _/_/_/_/_/ _/_/_/_/ _/_/_/_/_/ _/ _/_/_/_/ _/ _/ _/ _/ _/_/_/_/ _/ _/ _/ _/ _/_/_/_/ _/ _/ _/ Resistance is futile. :-) -- _/ _/ _/_/_/_/ _/_/ _/_/_/ _/_/ _/_/_/ _/_/

RE: [Asterisk-Users] CDR with MySQL and Asterisk PID File

2004-08-02 Thread Scott Stingel
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tom Lawrence Sent: Monday, August 02, 2004 3:49 AM To: [EMAIL PROTECTED] Subject: [Asterisk-Users] CDR with MySQL and Asterisk PID File Hello, I've been trying to get the CDR to work but when I do make it prints: cdr_addon_mysql.c:33:19

RE: [Asterisk-Users] CDR and Mysql (or Postgre)

2004-03-25 Thread Joe Dennick
. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of asterisk Sent: Wednesday, March 24, 2004 10:44 PM To: [EMAIL PROTECTED] Subject: [Asterisk-Users] CDR and Mysql (or Postgre) I have been researching using mysql as a database to manage the cdr's. However, I do

[Asterisk-Users] CDR and Mysql (or Postgre)

2004-03-24 Thread asterisk
I have been researching using mysql as a database to manage the cdr's. However, I do not see how to get asterisk to insert the records directly in the database. All I can see from my searches is some scripts to copy the master.csv text file into the database. However I think this would be