[Serusers] Problem with accounting modules in 8.14

Ricardo Martinez rmartinez at redvoiss.net
Wed Sep 8 01:07:50 CEST 2004


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 <load_tm> in module tm
[/usr/local//lib/ser/modules/tm.so]
 0(11874) find_export: found <register_tmcb> in module tm
[/usr/local//lib/ser/modules/tm.so]
 0(11874) find_export: found <t_newtran> in module tm
[/usr/local//lib/ser/modules/tm.so]
 0(11874) find_export: found <t_relay_to_tcp> in module tm
[/usr/local//lib/ser/modules/tm.so]
 0(11874) find_export: found <t_relay_to_udp> in module tm
[/usr/local//lib/ser/modules/tm.so]
 0(11874) find_export: found <t_relay> in module tm
[/usr/local//lib/ser/modules/tm.so]
 0(11874) find_export: found <t_reply> in module tm
[/usr/local//lib/ser/modules/tm.so]
 0(11874) find_export: found <t_reply_with_body> in module tm
[/usr/local//lib/ser/modules/tm.so]
 0(11874) find_export: found <t_is_local> in module tm
[/usr/local//lib/ser/modules/tm.so]
 0(11874) find_export: found <t_get_trans_ident> in module tm
[/usr/local//lib/ser/modules/tm.so]
 0(11874) find_export: found <t_lookup_ident> in module tm
[/usr/local//lib/ser/modules/tm.so]
 0(11874) find_export: found <t_add_blind> in module tm
[/usr/local//lib/ser/modules/tm.so]
 0(11874) find_export: found <t_forward_nonack> in module tm
[/usr/local//lib/ser/modules/tm.so]
 0(11874) find_export: found <t_request_within> in module tm
[/usr/local//lib/ser/modules/tm.so]
 0(11874) find_export: found <t_request_outside> in module tm
[/usr/local//lib/ser/modules/tm.so]
 0(11874) find_export: found <t_request> in module tm
[/usr/local//lib/ser/modules/tm.so]
 0(11874) find_export: found <new_dlg_uac> in module tm
[/usr/local//lib/ser/modules/tm.so]
 0(11874) find_export: found <dlg_response_uac> in module tm
[/usr/local//lib/ser/modules/tm.so]
 0(11874) find_export: found <new_dlg_uas> in module tm
[/usr/local//lib/ser/modules/tm.so]
 0(11874) find_export: found <dlg_request_uas> in module tm
[/usr/local//lib/ser/modules/tm.so]
 0(11874) find_export: found <free_dlg> in module tm
[/usr/local//lib/ser/modules/tm.so]
 0(11874) find_export: found <print_dlg> 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 <load_tm> in module tm
[/usr/local//lib/ser/modules/tm.so]
 0(11889) find_export: found <register_tmcb> in module tm
[/usr/local//lib/ser/modules/tm.so]
 0(11889) find_export: found <t_newtran> in module tm
[/usr/local//lib/ser/modules/tm.so]
 0(11889) find_export: found <t_relay_to_tcp> in module tm
[/usr/local//lib/ser/modules/tm.so]
 0(11889) find_export: found <t_relay_to_udp> in module tm
[/usr/local//lib/ser/modules/tm.so]
 0(11889) find_export: found <t_relay> in module tm
[/usr/local//lib/ser/modules/tm.so]
 0(11889) find_export: found <t_reply> in module tm
[/usr/local//lib/ser/modules/tm.so]
 0(11889) find_export: found <t_reply_with_body> in module tm
[/usr/local//lib/ser/modules/tm.so]
 0(11889) find_export: found <t_is_local> in module tm
[/usr/local//lib/ser/modules/tm.so]
 0(11889) find_export: found <t_get_trans_ident> in module tm
[/usr/local//lib/ser/modules/tm.so]
 0(11889) find_export: found <t_lookup_ident> in module tm
[/usr/local//lib/ser/modules/tm.so]
 0(11889) find_export: found <t_add_blind> in module tm
[/usr/local//lib/ser/modules/tm.so]
 0(11889) find_export: found <t_forward_nonack> in module tm
[/usr/local//lib/ser/modules/tm.so]
 0(11889) find_export: found <t_request_within> in module tm
[/usr/local//lib/ser/modules/tm.so]
 0(11889) find_export: found <t_request_outside> in module tm
[/usr/local//lib/ser/modules/tm.so]
 0(11889) find_export: found <t_request> in module tm
[/usr/local//lib/ser/modules/tm.so]
 0(11889) find_export: found <new_dlg_uac> in module tm
[/usr/local//lib/ser/modules/tm.so]
 0(11889) find_export: found <dlg_response_uac> in module tm
[/usr/local//lib/ser/modules/tm.so]
 0(11889) find_export: found <new_dlg_uas> in module tm
[/usr/local//lib/ser/modules/tm.so]
 0(11889) find_export: found <dlg_request_uas> in module tm
[/usr/local//lib/ser/modules/tm.so]
 0(11889) find_export: found <free_dlg> in module tm
[/usr/local//lib/ser/modules/tm.so]
 0(11889) find_export: found <print_dlg> 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.




More information about the sr-users mailing list