[Serusers] Problem with accounting modules in 8.14

Rafael J. Risco G.V rafael_rgv at yahoo.com
Wed Sep 8 16:55:35 CEST 2004


Hi
try this file:
.../ser_v_0.8.14/modules/acc/etc/sip_dictionary
 
rafael


Ricardo Martinez <rmartinez at redvoiss.net> wrote:
Hi.
When i'm trying to run SER i obtain the next error at the end of the
debug.
acc - initializing
0(11874) find_export: found in module tm
[/usr/local//lib/ser/modules/tm.so]
0(11874) find_export: found in module tm
[/usr/local//lib/ser/modules/tm.so]
0(11874) find_export: found in module tm
[/usr/local//lib/ser/modules/tm.so]
0(11874) find_export: found in module tm
[/usr/local//lib/ser/modules/tm.so]
0(11874) find_export: found in module tm
[/usr/local//lib/ser/modules/tm.so]
0(11874) find_export: found in module tm
[/usr/local//lib/ser/modules/tm.so]
0(11874) find_export: found in module tm
[/usr/local//lib/ser/modules/tm.so]
0(11874) find_export: found in module tm
[/usr/local//lib/ser/modules/tm.so]
0(11874) find_export: found in module tm
[/usr/local//lib/ser/modules/tm.so]
0(11874) find_export: found in module tm
[/usr/local//lib/ser/modules/tm.so]
0(11874) find_export: found in module tm
[/usr/local//lib/ser/modules/tm.so]
0(11874) find_export: found in module tm
[/usr/local//lib/ser/modules/tm.so]
0(11874) find_export: found in module tm
[/usr/local//lib/ser/modules/tm.so]
0(11874) find_export: found in module tm
[/usr/local//lib/ser/modules/tm.so]
0(11874) find_export: found in module tm
[/usr/local//lib/ser/modules/tm.so]
0(11874) find_export: found in module tm
[/usr/local//lib/ser/modules/tm.so]
0(11874) find_export: found in module tm
[/usr/local//lib/ser/modules/tm.so]
0(11874) find_export: found in module tm
[/usr/local//lib/ser/modules/tm.so]
0(11874) find_export: found in module tm
[/usr/local//lib/ser/modules/tm.so]
0(11874) find_export: found in module tm
[/usr/local//lib/ser/modules/tm.so]
0(11874) find_export: found in module tm
[/usr/local//lib/ser/modules/tm.so]
0(11874) find_export: found 
in module tm
[/usr/local//lib/ser/modules/tm.so]
0(11874) ERROR: acc: can't get code for the Sip-Translated-Request-URI
attribute
0(11874) init_mod(): Error while initializing module acc
ERROR: error while initializing modules
0(11874) DEBUG: tm_shutdown : start
0(11874) DEBUG: tm_shutdown : empting DELETE list
0(11874) DEBUG: tm_shutdown : empting hash table
0(11874) DEBUG: tm_shutdown: releasing timers
0(11874) DEBUG: tm_shutdown : removing semaphores
0(11874) DEBUG: tm_shutdown : done
0(11874) shm_mem_destroy
0(11874) destroying the shared memory lock

So, i went to the dictionary file and at the end : 
$INCLUDE /usr/local/etc/radiusclient/dictionary.ser 

I did not found the Sip-Translated-Request.URI attribute so i added manually


ATTRIBUTE Sip-Translated-Request-URI 107 string

Even with this changes i obtain the next error when i try to start the
server.


acc - initializing
0(11889) find_export: found in module tm
[/usr/local//lib/ser/modules/tm.so]
0(11889) find_export: found in module tm
[/usr/local//lib/ser/modules/tm.so]
0(11889) find_export: found in module tm
[/usr/local//lib/ser/modules/tm.so]
0(11889) find_export: found in module tm
[/usr/local//lib/ser/modules/tm.so]
0(11889) find_export: found in module tm
[/usr/local//lib/ser/modules/tm.so]
0(11889) find_export: found in module tm
[/usr/local//lib/ser/modules/tm.so]
0(11889) find_export: found in module tm
[/usr/local//lib/ser/modules/tm.so]
0(11889) find_export: found in module tm
[/usr/local//lib/ser/modules/tm.so]
0(11889) find_export: found in module tm
[/usr/local//lib/ser/modules/tm.so]
0(11889) find_export: found in module tm
[/usr/local//lib/ser/modules/tm.so]
0(11889) find_export: found in module tm
[/usr/local//lib/ser/modules/tm.so]
0(11889) find_export: found in module tm
[/usr/local//lib/ser/modules/tm.so]
0(11889) find_export: found in module tm
[/usr/local//lib/ser/modules/tm.so]
0(11889) find_export: found in module tm
[/usr/local//lib/ser/modules/tm.so]
0(11889) find_export: found in module tm
[/usr/local//lib/ser/modules/tm.so]
0(11889) find_export: found in module tm
[/usr/local//lib/ser/modules/tm.so]
0(11889) find_export: found in module tm
[/usr/local//lib/ser/modules/tm.so]
0(11889) find_export: found in module tm
[/usr/local//lib/ser/modules/tm.so]
0(11889) find_export: found in module tm
[/usr/local//lib/ser/modules/tm.so]
0(11889) find_export: found in module tm
[/usr/local//lib/ser/modules/tm.so]
0(11889) find_export: found in module tm
[/usr/local//lib/ser/modules/tm.so]
0(11889) find_export: found 
in module tm
[/usr/local//lib/ser/modules/tm.so]
0(11889) ERROR: acc: can't get code for the Failed attribute value
0(11889) init_mod(): Error while initializing module acc
ERROR: error while initializing modules
0(11889) DEBUG: tm_shutdown : start
0(11889) DEBUG: tm_shutdown : empting DELETE list
0(11889) DEBUG: tm_shutdown : empting hash table
0(11889) DEBUG: tm_shutdown: releasing timers
0(11889) DEBUG: tm_shutdown : removing semaphores
0(11889) DEBUG: tm_shutdown : done
0(11889) shm_mem_destroy#
# $Id: dictionary.ser,v 1.2 2003/09/11 22:05:08 janakj Exp $
#
# SIP RADIUS attributes
#
# Schulzrinne indicates attributes according to
# draft-schulzrinne-sipping-radius-accounting-00
#
# Sterman indicates attributes according to
# draft-sterman-aaa-sip-00
#
# Standard indicates a standard RADIUS attribute
# which is missing in radiusclient dictionary
#
# Digest indicates attributes according to
#
# Proprietary indicates an attribute that hasn't
# been standardized
#

### acc ###
ATTRIBUTE Sip-Method 101 integer # Schulzrinne
ATTRIBUTE Sip-Response-Code 102 integer # Schulzrinne
ATTRIBUTE Sip-Cseq 103 string # Schulzrinne
ATTRIBUTE Sip-To-Tag 104 string # Schulzrinne
ATTRIBUTE Sip-From-Tag 105 string # Schulzrinne
ATTRIBUTE Sip-Branch-Id 106 string # Schulzrinne
ATTRIBUTE Sip-Translated-Request-URI 107 string
ATTRIBUTE Sip-Source-Ip-Address 108 ipaddr # Schulzrinne
ATTRIBUTE Sip-Source-Port 109 integer # Schulzrinne
VALUE Service-Type Sip-Session 15 # Schulzrinne

### auth_radius ###
# Sip-Session service type is already defined in acc section
VALUE Service-Type Call-Check 10 # Standard
VALUE Service-Type Emergency-Call 13 # Proprietary

ATTRIBUTE Digest-Response 206 string # Sterman
ATTRIBUTE Digest-Attributes 207 string # Sterman

ATTRIBUTE Sip-Uri-User 208 string # Proprietary
ATTRIBUTE Sip-Rpid 213 string # Proprietary

ATTRIBUTE Digest-Realm 1063 string # Sterman
ATTRIBUTE Digest-Nonce 1064 string # Sterman
ATTRIBUTE Digest-Method 1065 string # Sterman
ATTRIBUTE Digest-Uri 1066 string # Sterman
ATTRIBUTE Digest-Qop 1067 string # Sterman
ATTRIBUTE Digest-Algorithm 1068 string # Sterman
ATTRIBUTE Digest-Body-Digest 1069 string # Sterman
ATTRIBUTE Digest-Cnonce 1070 string # Sterman
ATTRIBUTE Digest-Nonce-Count 1071 string # Sterman
ATTRIBUTE Digest-User-Name 1072 string # Sterman

### group_radius ###
VALUE Service-Type Group-Check 12 # Proprietary

ATTRIBUTE Sip-Group 211 string # Proprietary

### uri_radius ###
# Call-Check service type is already define in auth_radius

I'm missing something?
I'm attaching to you the dictionary.ser file.

Thanks in advance

Ricardo Martinez.

_______________________________________________
Serusers mailing list
serusers at lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers



---------------------------------
Do You Yahoo!?
Todo lo que quieres saber de Estados Unidos, América Latina y el resto del Mundo.
Visíta Yahoo! Noticias.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20040908/00390ddc/attachment.htm>


More information about the sr-users mailing list