Re: [OpenSIPS-Users] new CDRTool release 6.9.0

2009-07-20 Thread ram
On Sun, Jul 19, 2009 at 3:44 PM, Alex Balashov wrote:

> ram wrote:
>
> Hi Adrian
>>  I found some problem last version when iam patching freeradius.patch
>> with Freeradius 2.1.6 is that Fixed in this version
>>  I have installed Freeradius 2.0.4
>>
>
> I would wager, on Adrian's behalf, that a description of "some problem" or
> a reference to a bug report number would be necessary to answer this
> question.
>
>

I forgot to mention the problem

here it is :


/usr/src/freeradius-server-2.1.6# patch -p0 <
/usr/src/CDRTool/contrib/freeradius-brandinger/freeradius-20090223.patch
patching file man/man5/rlm_sql.5
patching file raddb/sql/mssql/dialup.conf
patching file raddb/sql/mysql/dialup.conf
patching file raddb/sql/oracle/dialup.conf
patching file raddb/sql/postgresql/dialup.conf
patching file src/include/radius.h
patching file src/modules/rlm_sql/conf.h
Hunk #2 succeeded at 80 (offset 2 lines).
patching file src/modules/rlm_sql/rlm_sql.c



Configure Go smooth

when iam issuing make

i get the following errors

/usr/src/freeradius-server-2.1.6/libtool --mode=link gcc -release 2.1.6 \
-module -export-dynamic   -o rlm_realm.la \
-rpath /usr/local/lib rlm_realm.lo rlm_realm.c
/usr/src/freeradius-server-2.1.6/src/lib/libfreeradius-radius.la  -lnsl
-lresolv  -lpthread
gcc -shared  .libs/rlm_realm.o  -Wl,--rpath
-Wl,/usr/src/freeradius-server-2.1.6/src/lib/.libs
/usr/src/freeradius-server-2.1.6/src/lib/.libs/libfreeradius-radius.so -lnsl
-lresolv -lpthread  -Wl,-soname -Wl,rlm_realm-2.1.6.so -o .libs/
rlm_realm-2.1.6.so
(cd .libs && rm -f rlm_realm.so && ln -s rlm_realm-2.1.6.so rlm_realm.so)
ar cru .libs/rlm_realm.a  rlm_realm.o
ranlib .libs/rlm_realm.a
creating rlm_realm.la
(cd .libs && rm -f rlm_realm.la && ln -s ../rlm_realm.la rlm_realm.la)
for x in .libs/* rlm_realm.la; do \
rm -rf /usr/src/freeradius-server-2.1.6/src/modules/lib/$x;
\
ln -s
/usr/src/freeradius-server-2.1.6/src/modules/rlm_realm/$x
/usr/src/freeradius-server-2.1.6/src/modules/lib/$x; \
done
make[6]: Leaving directory
`/usr/src/freeradius-server-2.1.6/src/modules/rlm_realm'
Making all in rlm_sql...
make[6]: Entering directory
`/usr/src/freeradius-server-2.1.6/src/modules/rlm_sql'
/usr/src/freeradius-server-2.1.6/libtool --mode=compile gcc  -g -O2
-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG
-I/usr/src/freeradius-server-2.1.6/src
-I/usr/src/freeradius-server-2.1.6/libltdl
-I/usr/src/freeradius-server-2.1.6/src/modules/rlm_sql -c rlm_sql.c
mkdir .libs
 gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE
-DNDEBUG -I/usr/src/freeradius-server-2.1.6/src
-I/usr/src/freeradius-server-2.1.6/libltdl
-I/usr/src/freeradius-server-2.1.6/src/modules/rlm_sql -c rlm_sql.c  -fPIC
-DPIC -o .libs/rlm_sql.o
rlm_sql.c:92: warning: braces around scalar initializer
rlm_sql.c:92: warning: (near initialization for 'module_config[25].offset')
rlm_sql.c:92: warning: initialization makes integer from pointer without a
cast
rlm_sql.c:92: warning: excess elements in scalar initializer
rlm_sql.c:92: warning: (near initialization for 'module_config[25].offset')
rlm_sql.c:93: warning: excess elements in scalar initializer
rlm_sql.c:93: warning: (near initialization for 'module_config[25].offset')
rlm_sql.c:93: warning: excess elements in scalar initializer
rlm_sql.c:93: warning: (near initialization for 'module_config[25].offset')
rlm_sql.c:93: warning: excess elements in scalar initializer
rlm_sql.c:93: warning: (near initialization for 'module_config[25].offset')
rlm_sql.c:94: warning: initialization makes pointer from integer without a
cast
rlm_sql.c:94: warning: excess elements in struct initializer
rlm_sql.c:94: warning: (near initialization for 'module_config[25]')
rlm_sql.c: In function 'rlm_sql_accounting':
rlm_sql.c:1293: error: 'Got' undeclared (first use in this function)
rlm_sql.c:1293: error: (Each undeclared identifier is reported only once
rlm_sql.c:1293: error: for each function it appears in.)
rlm_sql.c:1293: error: expected ';' before 'accounting'
rlm_sql.c:1324:7: warning: "/*" within comment
rlm_sql.c:1364: error: break statement not within loop or switch
rlm_sql.c:1369: error: 'default' label not within a switch statement
rlm_sql.c:1373: error: break statement not within loop or switch
rlm_sql.c: At top level:
rlm_sql.c:1377: warning: data definition has no type or storage class
rlm_sql.c:1377: warning: type defaults to 'int' in declaration of
'sql_release_socket'
rlm_sql.c:1377: warning: parameter names (without types) in function
declaration
rlm_sql.c:1379: error: expected identifier or '(' before 'return'
rlm_sql.c:1380: error: expected identifier or '(' before '}' token
make[6]: *** [rlm_sql.lo] Error 1
make[6]: Leaving directory
`/usr/src/freeradius-server-2.1.6/src/modules/rlm_sql'
make[5]: *** [common] Error 2
make[5]: Leaving directory `/usr/src/freeradius-server-2.1.6/src/modules'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/usr

Re: [OpenSIPS-Users] new CDRTool release 6.9.0

2009-07-19 Thread Alex Balashov
ram wrote:

> Hi Adrian
>  
> I found some problem last version when iam patching freeradius.patch
> with Freeradius 2.1.6 is that Fixed in this version
>  
> I have installed Freeradius 2.0.4

I would wager, on Adrian's behalf, that a description of "some problem" 
or a reference to a bug report number would be necessary to answer this 
question.

-- 
Alex Balashov
Evariste Systems
Web: http://www.evaristesys.com/
Tel: (+1) (678) 954-0670
Direct : (+1) (678) 954-0671
Mobile : (+1) (678) 237-1775

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] new CDRTool release 6.9.0

2009-07-19 Thread ram
On Sat, Jul 18, 2009 at 7:42 PM, Adrian Georgescu wrote:

> Changelog:
>
> cdrtool (6.9.0) unstable; urgency=low
>
>   * Display geographic location using geo ip
>   * Fixed variable names that did not match the config
>   * Fixed logging of imported rows from csv files
>   * Fixed export of CSV with prepaid history
>   * Hide called address in missed session list
>   * Refactored PSTN provisioning, NGNPro >= 4.1.5 is required
>   * Show timezone in SIP accounts list
>   * Display prepaid balance in SIP accounts list
>   * Do not change quota when toggle the prepaid flag
>   * Specify a default timezone per engine
>   * Cache returns from lookup sip_proxy from Thor network
>
> The software can be downloaded from:
>
> http://download.ag-projects.com/CDRTool/
>


Hi Adrian

I found some problem last version when iam patching freeradius.patch
with Freeradius 2.1.6 is that Fixed in this version

I have installed Freeradius 2.0.4


Ram
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] new CDRTool release 6.9.0

2009-07-18 Thread Adrian Georgescu
Changelog:

cdrtool (6.9.0) unstable; urgency=low

   * Display geographic location using geo ip
   * Fixed variable names that did not match the config
   * Fixed logging of imported rows from csv files
   * Fixed export of CSV with prepaid history
   * Hide called address in missed session list
   * Refactored PSTN provisioning, NGNPro >= 4.1.5 is required
   * Show timezone in SIP accounts list
   * Display prepaid balance in SIP accounts list
   * Do not change quota when toggle the prepaid flag
   * Specify a default timezone per engine
   * Cache returns from lookup sip_proxy from Thor network

The software can be downloaded from:

http://download.ag-projects.com/CDRTool/

For people running Debian testing there is an official public  
repository. To use it, add
these lines in /etc/apt/sources.list

# AG Projects software
deb http://ag-projects.com/debian unstable main
deb-src http://ag-projects.com/debian unstable main

Install the AG Projects debian software signing key:

wget http://download.ag-projects.com/agp-debian-gpg.key
apt-key add agp-debian-gpg.key

After that, run:

apt-get update
apt-get install cdrtool

Regards,
Adrian


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users