<br><br>
<div><span class="gmail_quote">On 8/17/07, <b class="gmail_sendername">Dan-Cristian Bogos</b> &lt;<a href="mailto:dan.bogos@gmail.com">dan.bogos@gmail.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi Ram,<br><br>apparently you are not sending enough information to radius for<br>accounting. Starting 1.2.0
 you need to add extra attributes since<br>basic info doesn&#39;t anymore contain the necessary fields to build a<br>cdr.<br><br>You should have something similar:<br>modparam(&quot;acc&quot;, &quot;radius_extra&quot;, &quot;
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Called-Station-Id=$tu;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Calling-Station-Id=$fu;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; From-Header=$hdr(from);
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; User-Agent=$hdr(user-agent);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Contact=$hdr(contact);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Event=$hdr(event)&quot;)</blockquote>
<div>&nbsp;</div>
<div>Hi</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>after adding the above line, iam not able to start openser, its just quitting&nbsp; with the following errors, any suggestions</div>
<div>&nbsp;</div>
<div>&nbsp;0(2848) fm_malloc_init: F_OPTIMIZE=16384, /ROUNDTO=2048<br>&nbsp;0(2848) fm_malloc_init: F_HASH_SIZE=2067, fm_block size=16560<br>&nbsp;0(2848) fm_malloc_init(0xb5f8c000, 33554432), start=0xb5f8c000<br>&nbsp;0(2848) shm_mem_init: success
<br>&nbsp;0(2848) init_tcp: using epoll_lt as the io watch method (auto detected)<br>&nbsp;0(0) core dump limits set to 4294967295<br>&nbsp;0(0) DEBUG:add_avp_galias: registering &lt;serial_branch&gt; for avp id &lt;16725044&gt;<br>&nbsp;0(0) INFO: statistics manager successfully initialized
<br>&nbsp;0(0) DEBUG: init_mod: mysql<br>&nbsp;0(0) mysql: MySQL client version is 5.0.27<br>&nbsp;0(0) DEBUG: init_mod: mi_fifo<br>&nbsp;0(0) DBG: mi_fifo: mi_mod_init: testing fifo existance ...<br>&nbsp;0(0) DEBUG: init_mod: sl<br>&nbsp;0(0) StateLess module - initializing
<br>&nbsp;0(0) DEBUG: MD5 calculated: 822fec8f80c7b67df20525d27b33a67c<br>&nbsp;0(0) DEBUG: register_stats: sl<br>&nbsp;0(0) DEBUG: init_mod: tm<br>&nbsp;0(0) TM - initializing...<br>&nbsp;0(0) Call-ID initialization: &#39;79effffd&#39;<br>&nbsp;0(0) unixsock_register_cmd: New command (t_uac_dlg) registered
<br>&nbsp;0(0) unixsock_register_cmd: New command (t_uac_cancel) registered<br>&nbsp;0(0) unixsock_register_cmd: New command (t_hash) registered<br>&nbsp;0(0) unixsock_register_cmd: New command (t_reply) registered<br>&nbsp;0(0) DEBUG: lock_initialize: lock initialization started
<br>[root@home openser]#&nbsp; 0(0) DEBUG: MD5 calculated: 7ac89abfaa5cc52cf9dfcc0d87c7c29f<br>&nbsp;0(0) DEBUG: MD5 calculated: 56a2d1a773791176622e5c3e54467ba1<br>&nbsp;0(0) DEBUG: register_stats: tm<br>&nbsp;0(0) DEBUG: register_mi: tm<br>
&nbsp;0(0) DEBUG: init_mod: rr<br>&nbsp;0(0) rr - initializing<br>&nbsp;0(0) DEBUG: init_mod: maxfwd<br>&nbsp;0(0) Maxfwd module- initializing<br>&nbsp;0(0) DEBUG: init_mod: usrloc<br>&nbsp;0(0) usrloc - initializing<br>&nbsp;0(0) INFO:ul_init_locks: locks array size 512
<br>&nbsp;0(0) unixsock_register_cmd: New command (ul_rm) registered<br>&nbsp;0(0) unixsock_register_cmd: New command (ul_rm_contact) registered<br>&nbsp;0(0) unixsock_register_cmd: New command (ul_dump) registered<br>&nbsp;0(0) unixsock_register_cmd: New command (ul_flush) registered
<br>&nbsp;0(0) unixsock_register_cmd: New command (ul_add) registered<br>&nbsp;0(0) unixsock_register_cmd: New command (ul_show_contact) registered<br>&nbsp;0(0) find_mod_export: found &lt;db_use_table&gt; in module mysql [/usr/local/lib/openser/modules/mysql.so]
<br>&nbsp;0(0) find_mod_export: found &lt;db_init&gt; in module mysql [/usr/local/lib/openser/modules/mysql.so]<br>&nbsp;0(0) find_mod_export: found &lt;db_close&gt; in module mysql [/usr/local/lib/openser/modules/mysql.so]<br>&nbsp;0(0) find_mod_export: found &lt;db_query&gt; in module mysql [/usr/local/lib/openser/modules/mysql.so]
<br>&nbsp;0(0) find_mod_export: found &lt;db_fetch_result&gt; in module mysql [/usr/local/lib/openser/modules/mysql.so]<br>&nbsp;0(0) find_mod_export: found &lt;db_raw_query&gt; in module mysql [/usr/local/lib/openser/modules/mysql.so]
<br>&nbsp;0(0) find_mod_export: found &lt;db_free_result&gt; in module mysql [/usr/local/lib/openser/modules/mysql.so]<br>&nbsp;0(0) find_mod_export: found &lt;db_insert&gt; in module mysql [/usr/local/lib/openser/modules/mysql.so]
<br>&nbsp;0(0) find_mod_export: found &lt;db_delete&gt; in module mysql [/usr/local/lib/openser/modules/mysql.so]<br>&nbsp;0(0) find_mod_export: found &lt;db_update&gt; in module mysql [/usr/local/lib/openser/modules/mysql.so]<br>&nbsp;0(0) find_mod_export: found &lt;db_replace&gt; in module mysql [/usr/local/lib/openser/modules/mysql.so]
<br>&nbsp;0(0) DEBUG: register_stats: usrloc<br>&nbsp;0(0) DEBUG: register_mi: usrloc<br>&nbsp;0(0) DEBUG: init_mod: registrar<br>&nbsp;0(0) registrar - initializing<br>&nbsp;0(0) find_cmd_export_t: found &lt;load_sl&gt;(0) in module sl [/usr/local/lib/openser/modules/sl.so]
<br>&nbsp;0(0) xl_parse_name: name [s:rcv] index [0]<br>&nbsp;0(0) xl_parse_vname: avp [s:rcv]<br>&nbsp;0(0) find_cmd_export_t: found &lt;ul_bind_usrloc&gt;(1) in module usrloc [/usr/local/lib/openser/modules/usrloc.so]<br>&nbsp;0(0) DEBUG: register_stats: registrar
<br>&nbsp;0(0) DEBUG: init_mod: acc<br>&nbsp;0(0) ACC - initializing<br>&nbsp;0(0) find_cmd_export_t: found &lt;load_tm&gt;(0) in module tm [/usr/local/lib/openser/modules/tm.so]<br>&nbsp;0(0) xl_lookup_spec_name: found [tu] [22]<br>&nbsp;0(0) xl_lookup_spec_name: found [fu] [18]
<br>&nbsp;0(0) xl_lookup_spec_name: found [tu] [22]<br>&nbsp;0(0) xl_lookup_spec_name: found [au] [47]<br>&nbsp;0(0) xl_lookup_spec_name: found [ar] [48]<br>&nbsp;0(0) xl_lookup_spec_name: found [si] [34]<br>&nbsp;0(0) xl_lookup_spec_name: found [sp] [35]
<br>&nbsp;0(0) xl_parse_name: name [from] index [0]<br>&nbsp;0(0) INFO:xl_parse_name: using hdr type (4) instead of &lt;from&gt;<br>&nbsp;0(0) xl_parse_name: name [user-agent] index [0]<br>&nbsp;0(0) INFO:xl_parse_name: using hdr type (27) instead of &lt;user-agent&gt;
<br>&nbsp;0(0) xl_parse_name: name [contact] index [0]<br>&nbsp;0(0) INFO:xl_parse_name: using hdr type (7) instead of &lt;contact&gt;<br>&nbsp;0(0) xl_parse_name: name [event] index [0]<br>&nbsp;0(0) INFO:xl_parse_name: using hdr type (21) instead of &lt;event&gt;
<br>&nbsp;0(0) ERROR: acc: can&#39;t get code for the anonical-URI attribute<br>&nbsp;0(0) ERROR:acc:mod_init: failed to init radius<br>&nbsp;0(0) init_mod(): Error while initializing module acc<br>ERROR: error while initializing modules
<br>&nbsp;0(0) XLOG: destroy module ...<br>&nbsp;0(0) DEBUG: tm_shutdown : start<br>&nbsp;0(0) DEBUG: unlink_timer_lists : emptying DELETE list<br>&nbsp;0(0) DEBUG: tm_shutdown : emptying hash table<br>&nbsp;0(0) DEBUG: tm_shutdown : releasing timers
<br>&nbsp;0(0) DEBUG: tm_shutdown : removing semaphores<br>&nbsp;0(0) DEBUG: tm_shutdown : destroying tmcb lists<br>&nbsp;0(0) DEBUG: tm_shutdown : done<br>&nbsp;0(0) INFO:mi_fifo:mi_destroy: process hasn&#39;t been created -&gt; nothing to kill
<br>&nbsp;0(2850) shm_mem_destroy<br>&nbsp;0(2850) destroying the shared memory lock<br>&nbsp;</div>
<div>&nbsp;</div>
<div>ram</div></div><br>