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
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
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
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]
Tom Lawrence [EMAIL PROTECTED] wrote:
_/_/_/_/_/ _/_/_/_/ _/_/_/_/_/
_/ _/_/_/_/ _/ _/ _/
_/ _/_/_/_/ _/ _/ _/
_/ _/_/_/_/ _/ _/ _/
Resistance is futile. :-)
--
_/ _/ _/_/_/_/ _/_/ _/_/_/ _/_/
_/_/_/ _/_/
Probably best to install MySQL 4 (free) available from
http://dev.mysql.com/downloads/mysql/4.0.html
Under Red Hat or Fedora, for example, I find that these libraries are
necessary:
If you use rpm's, install by using rpm -U for each, in this order:
* shared-compat (may be called something
Download asterisk-addons from the CVS. Compile it the same way you
compile asterisk and it's other modules. Make sure you have MySQL
installed and running. Then read the file
/usr/src/asterisk-addons/doc/cdr_mysql.txt for information on how to
create the necessary tables in your database. The