Hi,
I have 4.5.4 CDRTool version. I patched my cdr_addon_mysql like this:
cd ../asterisk-addons
- Add a line into asterisk-addons/Makefile reading:
CFLAGS+=-DMYSQL_LOGUNIQUEID
- edit cdr_addon_mysql.c and replace the line reading
AST_MUTEX_DEFINE_STATIC(mysql_lock);
with
static ast_mutex_t mysql_lock = AST_MUTEX_INITIALIZER;
- change the asterisk table name from cdr to asterisk_cdr in
cdr_addon_mysql.c
chmod 644 cdr_addon_mysql.so
cp cdr_addon_mysql.so /usr/lib/asterisk/modules/
restart Asterisk
But when I "make" , I've got error like this:
cdr_addon_mysql.c:61: error: `__use_AST_MUTEX_DEFINE_STATIC_rather_than_AST_MUTEX_INITIALIZER__' undeclared here (not in a function)
make: *** [cdr_addon_mysql.o] Error 1
rm app_saycountpl.o
make: *** [cdr_addon_mysql.o] Error 1
rm app_saycountpl.o
I also have problem with web client, I see require_once 'HTTP/Request.php' , but there is no directory HTTP and file Request.php .
Can You advice something
2006/6/21, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
Hello,
I 've got cdrtool web interface working not SOAP
client/server again !
I compiled cdr_addon_mysql.so however i have not tried
it to insert datas in cdrtool.
Harry
--- Giedrius Augys <[EMAIL PROTECTED]> a écrit :
> Has anybody patched sucessfully cdr_addon_mysql.c ,
> cause I get error . And
> does work cdrtool web interface for you? Maybe you
> can give me some advices
> > _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com
> --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>
>
http://lists.digium.com/mailman/listinfo/asterisk-users
>
___________________________________________________________________________
Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire.
http://fr.mail.yahoo.com
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
--
Pagarbiai,
Giedrius Augys
Siauliu Universitetas, IST
IP telefonijos inzinierius
Tel. 8 41 590408
Mob. Tel. 8 678 05790
el. pastas [EMAIL PROTECTED]
_______________________________________________ --Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
