Dear Jiri,
I have successfully compile the acc.so with SQL support. And I run a number of testing on it. It seems works fine but I encounter the following error which crach the ser. =========================================================== [root@md benny]# 0(3545) mod_init(): Database connection opened successfuly Maxfwd module- initializing rr - initializing acc - initializing stateless - initializing mysql - initializing 0(0) INFO: udp_init: SO_RCVBUF is initially 65535 0(0) INFO: udp_init: SO_RCVBUF is finally 131070 0(0) INFO: udp_init: SO_RCVBUF is initially 65535 0(0) INFO: udp_init: SO_RCVBUF is finally 131070 9(3565) INFO: fifo process starting: 3565 9(3565) SER: open_uac_fifo: fifo server up at /tmp/ser_fifo... 10(3574) ACC: transaction answered: method=INVITE, i-uri=sip:1000@md.com;user=ph one, o-uri=sip:1000@192.168.10.18:5000;user=phone, call_id= 426a69eafe94e7923666 1278d86d5024@192.168.10.18, from= UserAgent-1sip:1000@192.168.10.18:5000;user=p hone, code=408 10(3574) use_table(): Invalid parameter value 0(3545) child process 3574 exited by a signal 11 0(3545) core was not generated 0(3545) INFO: terminating due to SIGCHLD =========================================================================
It seems to be a crash on use_table() when code=408, I tried to unanswer to call or call to itself, and this problem generated.
Benny
-----Original Message----- From: Jiri Kuthan [mailto:jiri@iptel.org] Sent: Monday, February 24, 2003 6:30 PM To: Benny Ho Subject: RE: [Serusers] problem in using acc.so and radius_acc.so and auth.so
First of all, note well: http://lists.iptel.org/pipermail/serusers/2003-February/000493.html
At 04:36 AM 2/24/2003, Benny Ho wrote:
Could you tell me how to enable SQL_ACC def? and setting teh db_url parameter?
uncomment the "#DEFS+=-DSQL_ACC" line in modules/acc/Makefile
I cannot find any doc for mysql modules.
mysql module is not used from ser scripts directly -- modules which rely on mysql use it internally. acc w/mysql has not been released yet, it is work in progress on CVS and it has not been documented.
-jiri