[OpenSIPS-Users] Issue in displaying the CDRs in callsearch

Tushar Jain tusshar.jain at gmail.com
Mon May 2 12:44:34 CEST 2011


HI Tijmen,

It seems to the issue with PHP version 5.3, should I downgrade the version?

Regards
Tushar

On Mon, May 2, 2011 at 4:12 PM, Tushar Jain <tusshar.jain at gmail.com> wrote:

> Thanks Tijmen,
>
> We did enable the logs, according to the logs some of the functions
> are depreciated.
>
> Can you put some more light on it as I dont have much knowledge of PHP.
>
> ____________________________________________________________________________________________________________________________________
> [Mon May 02 10:38:07 2011] [error] [client 192.168.100.115] PHP Deprecated:
>  Function ereg() is deprecated in /var/www/CDRTool/phplib/ct_sql.inc on line
> 118, referer: http://192.168.100.29/CDRTool/callsearch.phtml
> [Mon May 02 10:38:07 2011] [error] [client 192.168.100.115] PHP Deprecated:
>  Function ereg_replace() is deprecated in /var/www/CDRTool/phplib/ct_sql.inc
> on line 119, referer: http://192.168.100.29/CDRTool/callsearch.phtml
> [Mon May 02 10:38:07 2011] [error] [client 192.168.100.115] PHP Deprecated:
>  Function split() is deprecated in /var/www/CDRTool/phplib/perm.inc on line
> 39, referer: http://192.168.100.29/CDRTool/callsearch.phtml
> [Mon May 02 10:38:07 2011] [error] [client 192.168.100.115] PHP Deprecated:
>  Function split() is deprecated in /var/www/CDRTool/phplib/perm.inc on line
> 40, referer: http://192.168.100.29/CDRTool/callsearch.phtml
> [Mon May 02 10:38:07 2011] [error] [client 192.168.100.115] PHP Deprecated:
>  Call-time pass-by-reference has been deprecated in
> /var/www/CDRTool/library/cdr_generic.php on line 1085, referer:
> http://192.168.100.29/CDRTool/callsearch.phtml
> [Mon May 02 10:38:07 2011] [error] [client 192.168.100.115] PHP Deprecated:
>  Call-time pass-by-reference has been deprecated in
> /var/www/CDRTool/library/cdr_generic.php on line 1085, referer:
> http://192.168.100.29/CDRTool/callsearch.phtml
> [Mon May 02 10:38:07 2011] [error] [client 192.168.100.115] PHP Deprecated:
>  Call-time pass-by-reference has been deprecated in
> /var/www/CDRTool/library/cdr_generic.php on line 1090, referer:
> http://192.168.100.29/CDRTool/callsearch.phtml
> [Mon May 02 10:38:07 2011] [error] [client 192.168.100.115] PHP Deprecated:
>  Call-time pass-by-reference has been deprecated in
> /var/www/CDRTool/library/cdr_generic.php on line 2157, referer:
> http://192.168.100.29/CDRTool/callsearch.phtml
> [Mon May 02 10:38:07 2011] [error] [client 192.168.100.115] PHP Deprecated:
>  Call-time pass-by-reference has been deprecated in
> /var/www/CDRTool/library/cdr_generic.php on line 2177, referer:
> http://192.168.100.29/CDRTool/callsearch.phtml
> [Mon May 02 10:38:07 2011] [error] [client 192.168.100.115] PHP Deprecated:
>  Call-time pass-by-reference has been deprecated in
> /var/www/CDRTool/library/cdr_generic.php on line 2328, referer:
> http://192.168.100.29/CDRTool/callsearch.phtml
> [Mon May 02 10:38:07 2011] [error] [client 192.168.100.115] PHP Deprecated:
>  Call-time pass-by-reference has been deprecated in
> /var/www/CDRTool/library/rating.php on line 6005, referer:
> http://192.168.100.29/CDRTool/callsearch.phtml
> [Mon May 02 10:38:07 2011] [error] [client 192.168.100.115] PHP Deprecated:
>  Call-time pass-by-reference has been deprecated in
> /var/www/CDRTool/library/rating.php on line 7311, referer:
> http://192.168.100.29/CDRTool/callsearch.phtml
> [Mon May 02 10:38:07 2011] [error] [client 192.168.100.115] PHP Deprecated:
>  Call-time pass-by-reference has been deprecated in
> /var/www/CDRTool/library/rating.php on line 7311, referer:
> http://192.168.100.29/CDRTool/callsearch.phtml
> [Mon May 02 10:38:07 2011] [error] [client 192.168.100.115] PHP Deprecated:
>  Call-time pass-by-reference has been deprecated in
> /var/www/CDRTool/library/rating.php on line 7817, referer:
> http://192.168.100.29/CDRTool/callsearch.phtml
> [Mon May 02 10:38:07 2011] [error] [client 192.168.100.115] PHP Deprecated:
>  Call-time pass-by-reference has been deprecated in
> /var/www/CDRTool/library/rating.php on line 7817, referer:
> http://192.168.100.29/CDRTool/callsearch.phtml
> [Mon May 02 10:38:07 2011] [error] [client 192.168.100.115] PHP Deprecated:
>  Function split() is deprecated in /var/www/CDRTool/phplib/perm.inc on line
> 39, referer: http://192.168.100.29/CDRTool/callsearch.phtml
> [Mon May 02 10:38:07 2011] [error] [client 192.168.100.115] PHP Deprecated:
>  Function split() is deprecated in /var/www/CDRTool/phplib/perm.inc on line
> 40, referer: http://192.168.100.29/CDRTool/callsearch.phtml
> [Mon May 02 10:38:07 2011] [error] [client 192.168.100.115] PHP Deprecated:
>  Function split() is deprecated in /var/www/CDRTool/phplib/perm.inc on line
> 39, referer: http://192.168.100.29/CDRTool/callsearch.phtml
> [Mon May 02 10:38:07 2011] [error] [client 192.168.100.115] PHP Deprecated:
>  Function split() is deprecated in /var/www/CDRTool/phplib/perm.inc on line
> 40, referer: http://192.168.100.29/CDRTool/callsearch.phtml
> [Mon May 02 10:38:07 2011] [error] [client 192.168.100.115] PHP Deprecated:
>  Function split() is deprecated in /var/www/CDRTool/phplib/perm.inc on line
> 39, referer: http://192.168.100.29/CDRTool/callsearch.phtml
> [Mon May 02 10:38:07 2011] [error] [client 192.168.100.115] PHP Deprecated:
>  Function split() is deprecated in /var/www/CDRTool/phplib/perm.inc on line
> 40, referer: http://192.168.100.29/CDRTool/callsearch.phtml
> [Mon May 02 10:38:07 2011] [error] [client 192.168.100.115] PHP Deprecated:
>  Function split() is deprecated in /var/www/CDRTool/phplib/perm.inc on line
> 39, referer: http://192.168.100.29/CDRTool/callsearch.phtml
> [Mon May 02 10:38:07 2011] [error] [client 192.168.100.115] PHP Deprecated:
>  Function split() is deprecated in /var/www/CDRTool/phplib/perm.inc on line
> 40, referer: http://192.168.100.29/CDRTool/callsearch.phtml
> [Mon May 02 10:38:07 2011] [error] [client 192.168.100.115] PHP Deprecated:
>  Function split() is deprecated in /var/www/CDRTool/phplib/perm.inc on line
> 39, referer: http://192.168.100.29/CDRTool/callsearch.phtml
> [Mon May 02 10:38:07 2011] [error] [client 192.168.100.115] PHP Deprecated:
>  Function split() is deprecated in /var/www/CDRTool/phplib/perm.inc on line
> 40, referer: http://192.168.100.29/CDRTool/callsearch.phtml
> [Mon May 02 10:38:07 2011] [error] [client 192.168.100.115] PHP Deprecated:
>  Function split() is deprecated in /var/www/CDRTool/phplib/perm.inc on line
> 39, referer: http://192.168.100.29/CDRTool/callsearch.phtml
> [Mon May 02 10:38:07 2011] [error] [client 192.168.100.115] PHP Deprecated:
>  Function split() is deprecated in /var/www/CDRTool/phplib/perm.inc on line
> 40, referer: http://192.168.100.29/CDRTool/callsearch.phtml
> [Mon May 02 10:38:07 2011] [error] [client 192.168.100.115] PHP Fatal
> error:  Call to undefined function geoip_record_by_name() in
> /var/www/CDRTool/library/cdr_generic.php on line 2365, referer:
> http://192.168.100.29/CDRTool/callsearch.phtml
>
> ________________________________________________________________________________________________________________________________
>
> Regards
> Tushar
>
> On Mon, May 2, 2011 at 3:58 PM, Tijmen de Mes <tijmen at ag-projects.com>wrote:
>
>>  Hi Tushar,
>>
>> I've never seen this error and could be related to a couple of things. To
>> get more
>> insight in what is causing this you could enable the error messages which
>> are default
>> disabled.
>>
>> To do this you need to comment $errorReporting=1 in the CDRTool. After
>> this you should see
>> errors (if there are errors) in syslog for the rating engine and in the
>> apache error log for the
>> webinterface.
>>
>>
>> Best regards,
>>
>> Tijmen de Mes
>> AG Projects
>>
>> Op 5/2/11 12:10 PM, Tushar Jain schreef:
>>
>> Hi Tijmen,
>>
>>  I am using PHP 5.3.3
>>
>>
>>  PHP 5.3.3-7+squeeze1 with Suhosin-Patch (cli) (built: Mar 18 2011
>> 17:22:52)
>> Copyright (c) 1997-2009 The PHP Group
>> Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
>>     with Suhosin v0.9.32.1, Copyright (c) 2007-2010, by SektionEins GmbH
>>
>>  Regards
>> Tushar
>>
>>  On Mon, May 2, 2011 at 3:31 PM, Tijmen de Mes <tijmen at ag-projects.com>wrote:
>>
>>>  Hi,
>>>
>>> So you see ... Number of records displayed, but no table below it with
>>> the calls?
>>>
>>> Which version of PHP are you using?
>>>
>>> Best regards,
>>>
>>> Tijmen de Mes
>>> AG Projects
>>>
>>> Op 5/2/11 11:02 AM, Tushar Jain schreef:
>>>
>>>  Hi Friends,
>>>
>>>  I am able to successfully install -
>>> opensips 1.6
>>> freeradius
>>> CDRTool 8.0.19
>>>
>>>  but when I am trying search the CDRs in CDRTool all I get the no. of
>>> records, no detail is populated on the screen though when I export the
>>> result to file i can see all the cdr records on the browser.
>>>
>>>  I have checked the opensips, apache, freeradius logs but there is no
>>> error in any of the log files.
>>>
>>>  --
>>> Regards
>>>
>>> Tushar Jain
>>>
>>>
>>> "two roads diverged in a wood, and I - I took the one less traveled by,
>>> and that has made all the difference"
>>>
>>> --Robert Frost "
>>>
>>>
>>> _______________________________________________
>>> Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>>
>>
>>
>> --
>> Regards
>>
>> Tushar Jain
>>
>>
>> "two roads diverged in a wood, and I - I took the one less traveled by,
>> and that has made all the difference"
>>
>> --Robert Frost "
>>
>>
>> _______________________________________________
>> Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>
>
> --
> Regards
>
> Tushar Jain
>
>
> "two roads diverged in a wood, and I - I took the one less traveled by, and
> that has made all the difference"
>
> --Robert Frost "
>



-- 
Regards

Tushar Jain


"two roads diverged in a wood, and I - I took the one less traveled by, and
that has made all the difference"

--Robert Frost "
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110502/87e97be7/attachment.htm>


More information about the Users mailing list