Hi,<br><br>based on your trace, it looks like you have no Sip-Src-Ip inside your freeradius dictionary. Make sure you load your dictionaries properly (the example of dictionary in the documentation you have mentioned should still do).<br>
<br>Regarding FreeRADIUS version, there should be not really important since OpenSER has no real connection with the FreeRADIUS, but personally I would suggest you use the latest stable FreeRADIUS version (bug less one).<br>
<br>Hope that helps,<br>Dan<br><br><div class="gmail_quote">2008/3/7 htl_22 &lt;<a href="mailto:htl_22@163.com">htl_22@163.com</a>&gt;:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>Dear <a href="http://openser.org" target="_blank">openser.org</a>:</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I have studied &quot;Build SIP-based VOIP Service With RADIUS AAA Using OpenSER And FreeRadius&quot; web pages.This documentation is valid for OpenSER v1.0.1 and FreeRadius v1.1.0.</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; My&nbsp;OS is unbuntu 6.10.The radius and openser install&nbsp;are successful.MySQl work well,and the radius start also,but OpenSER don&#39;t start!</div>
<div>The error information is:</div>
<div>tr&lt;0xb7f603a0&gt; 0(5988) );&nbsp; 0(5988) } else { 0(5988) };&nbsp; 0(5988) exit( 0(5988) type&lt;0&gt; 0(5988) );&nbsp; 0(5988) exit( 0(5988) type&lt;0&gt; 0(5988) );&nbsp; 0(5988) <br>Listening on <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; udp: <a href="http://10.1.37.22" target="_blank">10.1.37.22</a> [<a href="http://10.1.37.22" target="_blank">10.1.37.22</a>]:5060<br>
Aliases: <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; udp: htl-desktop:5060<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; *: openser.org:*</div>
<div>WARNING: no fork mode <br>&nbsp;0(5988) fm_malloc_init: F_OPTIMIZE=16384, /ROUNDTO=2048<br>&nbsp;0(5988) fm_malloc_init: F_HASH_SIZE=2067, fm_block size=16548<br>&nbsp;0(5988) fm_malloc_init(0xb5a9f000, 33554432), start=0xb5a9f000<br>
&nbsp;0(5988) shm_mem_init: success<br>&nbsp;0(0) core dump limits set to 4294967295<br>&nbsp;0(0) DEBUG: init_mod: mysql<br>&nbsp;0(0) mysql: MySQL client version is 5.0.24a<br>&nbsp;0(0) DEBUG: init_mod: sl_module<br>stateless - initializing<br>
&nbsp;0(0) DEBUG: register_fifo_cmd: new command (sl_stats) registered<br>&nbsp;0(0) unixsock_register_cmd: New command (sl_stats) registered<br>&nbsp;0(0) DEBUG: MD5 calculated: 8f36450dbf9496a39daffb98efb4221a<br>&nbsp;0(0) DEBUG: init_mod: tm<br>
&nbsp;0(0) TM - (size of cell=2832, sip_msg=768) initializing...<br>&nbsp;0(0) Call-ID initialization: &#39;2ff5b7ea&#39;<br>&nbsp;0(0) DEBUG: register_fifo_cmd: new command (t_uac_dlg) registered<br>&nbsp;0(0) DEBUG: register_fifo_cmd: new command (t_uac_cancel) registered<br>
&nbsp;0(0) DEBUG: register_fifo_cmd: new command (t_hash) registered<br>&nbsp;0(0) DEBUG: register_fifo_cmd: new command (t_reply) registered<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>&nbsp;0(0) DEBUG: register_fifo_cmd: new command (t_stats) registered<br>
&nbsp;0(0) unixsock_register_cmd: New command (t_stats) registered<br>&nbsp;0(0) DEBUG: MD5 calculated: 741ad5dfb14662b78989a07dc5c8b59e<br>&nbsp;0(0) DEBUG: MD5 calculated: eb9313e49dd2c8bc3fd8ed1343760911<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: avpops<br>&nbsp;0(0) AVPops - initializing<br>&nbsp;0(0) DEBUG: init_mod: usrloc<br>&nbsp;0(0) usrloc - initializing<br>
&nbsp;0(0) DEBUG: register_fifo_cmd: new command (ul_stats) registered<br>&nbsp;0(0) DEBUG: register_fifo_cmd: new command (ul_rm) registered<br>&nbsp;0(0) DEBUG: register_fifo_cmd: new command (ul_rm_contact) registered<br>&nbsp;0(0) DEBUG: register_fifo_cmd: new command (ul_dump) registered<br>
&nbsp;0(0) DEBUG: register_fifo_cmd: new command (ul_flush) registered<br>&nbsp;0(0) DEBUG: register_fifo_cmd: new command (ul_add) registered<br>&nbsp;0(0) DEBUG: register_fifo_cmd: new command (ul_show_contact) registered<br>&nbsp;0(0) unixsock_register_cmd: New command (ul_stats) registered<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/]<br>
&nbsp;0(0) find_mod_export: found &lt;db_init&gt; in module mysql [/usr/local/lib/openser/modules/]<br>&nbsp;0(0) find_mod_export: found &lt;db_close&gt; in module mysql [/usr/local/lib/openser/modules/]<br>&nbsp;0(0) find_mod_export: found &lt;db_query&gt; in module mysql [/usr/local/lib/openser/modules/]<br>
&nbsp;0(0) find_mod_export: found &lt;db_raw_query&gt; in module mysql [/usr/local/lib/openser/modules/]<br>&nbsp;0(0) find_mod_export: found &lt;db_free_result&gt; in module mysql [/usr/local/lib/openser/modules/]<br>&nbsp;0(0) find_mod_export: found &lt;db_insert&gt; in module mysql [/usr/local/lib/openser/modules/]<br>
&nbsp;0(0) find_mod_export: found &lt;db_delete&gt; in module mysql [/usr/local/lib/openser/modules/]<br>&nbsp;0(0) find_mod_export: found &lt;db_update&gt; in module mysql [/usr/local/lib/openser/modules/]<br>&nbsp;0(0) find_mod_export: found &lt;db_replace&gt; in module mysql [/usr/local/lib/openser/modules/]<br>
&nbsp;0(0) DEBUG: init_mod: registrar<br>&nbsp;0(0) registrar - initializing<br>&nbsp;0(0) find_export: found &lt;sl_send_reply&gt; in module sl_module [/usr/local/lib/openser/modules/]<br>&nbsp;0(0) find_export: found &lt;ul_bind_usrloc&gt; in module usrloc [/usr/local/lib/openser/modules/]<br>
&nbsp;0(0) find_export: found &lt;ul_register_udomain&gt; in module usrloc [/usr/local/lib/openser/modules/]<br>&nbsp;0(0) find_export: found &lt;ul_get_all_ucontacts&gt; in module usrloc [/usr/local/lib/openser/modules/]<br>&nbsp;0(0) find_export: found &lt;ul_insert_urecord&gt; in module usrloc [/usr/local/lib/openser/modules/]<br>
&nbsp;0(0) find_export: found &lt;ul_delete_urecord&gt; in module usrloc [/usr/local/lib/openser/modules/]<br>&nbsp;0(0) find_export: found &lt;ul_get_urecord&gt; in module usrloc [/usr/local/lib/openser/modules/]<br>&nbsp;0(0) find_export: found &lt;ul_lock_udomain&gt; in module usrloc [/usr/local/lib/openser/modules/]<br>
&nbsp;0(0) find_export: found &lt;ul_unlock_udomain&gt; in module usrloc [/usr/local/lib/openser/modules/]<br>&nbsp;0(0) find_export: found &lt;ul_release_urecord&gt; in module usrloc [/usr/local/lib/openser/modules/]<br>&nbsp;0(0) find_export: found &lt;ul_insert_ucontact&gt; in module usrloc [/usr/local/lib/openser/modules/]<br>
&nbsp;0(0) find_export: found &lt;ul_delete_ucontact&gt; in module usrloc [/usr/local/lib/openser/modules/]<br>&nbsp;0(0) find_export: found &lt;ul_get_ucontact&gt; in module usrloc [/usr/local/lib/openser/modules/]<br>&nbsp;0(0) find_export: found &lt;ul_update_ucontact&gt; in module usrloc [/usr/local/lib/openser/modules/]<br>
&nbsp;0(0) find_export: found &lt;ul_register_watcher&gt; in module usrloc [/usr/local/lib/openser/modules/]<br>&nbsp;0(0) find_export: found &lt;ul_unregister_watcher&gt; in module usrloc [/usr/local/lib/openser/modules/]<br>&nbsp;0(0) find_export: found &lt;ul_register_ulcb&gt; in module usrloc [/usr/local/lib/openser/modules/]<br>
&nbsp;0(0) DEBUG: init_mod: textops<br>textops - initializing<br>&nbsp;0(0) DEBUG: init_mod: xlog<br>&nbsp;0(0) XLOG: initializing ...<br>&nbsp;0(0) DEBUG: init_mod: acc<br>&nbsp;0(0) ACC - initializing<br>&nbsp;0(0) find_export: found &lt;load_tm&gt; in module tm [/usr/local/lib/openser/modules/]<br>
&nbsp;0(0) <b>ERROR: acc: can&#39;t get code for the Sip-Src-IP attribute<br></b>&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(5988) shm_mem_destroy<br>&nbsp;0(5988) destroying the shared memory lock<br></div>
<div>&nbsp;&nbsp;</div>
<div>&nbsp;I wish that you can hint me and help me solving the problem!</div>
<div>&nbsp;</div>
<div>&nbsp;If openser&#39;s version is 1.1.0 and it need the &quot;presence&quot; module, Which freeradius version&nbsp;will be&nbsp;choosed?</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </div>
<div>&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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sincerely tlhe</div>
<div>&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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </div>
<div>&nbsp;</div>
<div>&nbsp;</div><br><br><hr>
<a style="font-size: 14px; line-height: 15px; color: rgb(0, 0, 0); text-decoration: none;" href="http://event.mail.163.com/chanel/click.htm?from=NO_26&amp;domain=163" target="_blank"><span style="text-decoration: underline; color: blue;">中 国 最 强 网 游 --- 网 易 梦 幻 西 游 ,166 万 玩 家 同 时 在 线</span> </a><br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.openser.org">Users@lists.openser.org</a><br>
<a href="http://lists.openser.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.openser.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br>