I guess you haven't installed all the mysql libraries, maybe some
php_mysql stuff is missing.
$ php -v
will give you your version!
klaus
John LI wrote:
Hi Klaus,
I have tried to install the serweb on to the system, and after i try to go
to the
http://localhost/installed-folder/html/admin/index.php, I got the
error message:
Fatal error: Call to undefined function: mysql_pconnect() in
/var/www/html/serweb_2004-01-04/phplib/db_mysql.inc on line 73
It is becuase I need to install the PHP4 on the server, and if it is so, how
can I to make sure the PHP4 I installed on the server support the Mysql
feature?
Thanks for your help.
John
----- Original Message -----
From: "Klaus Darilion" <klaus.mailinglists(a)pernau.at>
To: "John LI" <john(a)signalc.com>
Cc: "Jan Janak" <jan(a)iptel.org>rg>; "Jiri Kuthan"
<jiri(a)iptel.org>rg>; "Serusers"
<serusers(a)lists.iptel.org>
Sent: Wednesday, March 31, 2004 5:54 AM
Subject: Re: [Serusers] CDR Issue
missed_calls can be filled also by the acc module
-> see the parameters
in the README file of the acc module.
Klaus
John LI wrote:
>Hi Jan,
>
>Thanks for you response, after I set the DB flag in the ser.cfg, all the
>action could be writen to the acc table. thanks for you help.
>
>In the ser db there is a bunch of tables there, I am now only using the
acc
>, subscriber, location tables, I would like to
know how to write the
>information into the missed_call table, active_action table etc.
>
>Thanks
>
>John
>
>----- Original Message -----
>From: "Jan Janak" <jan(a)iptel.org>
>To: "John LI" <john(a)signalc.com>
>Cc: "Klaus Darilion" <klaus.mailinglists(a)pernau.at>at>; "Jiri
Kuthan"
><jiri(a)iptel.org>l.org>; "Serusers" <serusers(a)lists.iptel.org>
>Sent: Wednesday, March 31, 2004 5:20 AM
>Subject: Re: [Serusers] CDR Issue
>
>
>
>
>>On 30-03 11:52, John LI wrote:
>>
>>
>>>Hi Jan,
>>>
>>>I get the tar ball from the Iptel, and untar it, and I untar the tar
>
>ball in
>
>
>>>the /home/alan/, then I changed the Makefile in
>>>/home/alan/ser-0.8.12/modules/acc, I wonder if it is the correct file
>
>you
>
>
>>>mentioned like sip_router/modules/acc/Makefile?
>>
>> Yes.
>>
>>
>>
>>>The other issue is when you talk recomplie the Module, dose that mean
>>>recompile the acc.so module itself or recomplie the whole ser? Becuase
>
>when
>
>
>>>I tried to run the make in the /home/alan/ser-0.8.12/modules/acc, the
>>>system asked me to complie the the source in the main ser directory.
>>
>> I would recommend to recompile the whole ser.
>>
>>
>>
>>>The third issue is , if I just want the database accounting, no need
for
>Radius Accounting, should I still uncomment the
line concerened with
Radius
>accounting, can I just uncomment line
concerned with the database
>accounting?
Uncomment just database related lines if you want database accounting
only.
>The fourth issue is, I have load the acc.so in in the ser.cfg, it
supposed
>to use the syslog to write the cdr in the
Syslog file, is that right?
which
>file I should looking for the CDR
information.
/var/log/messages or /var/log/daemon.log (depending on the
distribution).
Jan.