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 <<a href="mailto:htl_22@163.com">htl_22@163.com</a>>:<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> I have studied "Build SIP-based VOIP Service With RADIUS AAA Using OpenSER And FreeRadius" web pages.This documentation is valid for OpenSER v1.0.1 and FreeRadius v1.1.0.</div>
<div> My OS is unbuntu 6.10.The radius and openser install are successful.MySQl work well,and the radius start also,but OpenSER don't start!</div>
<div>The error information is:</div>
<div>tr<0xb7f603a0> 0(5988) ); 0(5988) } else { 0(5988) }; 0(5988) exit( 0(5988) type<0> 0(5988) ); 0(5988) exit( 0(5988) type<0> 0(5988) ); 0(5988) <br>Listening on <br> 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> udp: htl-desktop:5060<br> *: openser.org:*</div>
<div>WARNING: no fork mode <br> 0(5988) fm_malloc_init: F_OPTIMIZE=16384, /ROUNDTO=2048<br> 0(5988) fm_malloc_init: F_HASH_SIZE=2067, fm_block size=16548<br> 0(5988) fm_malloc_init(0xb5a9f000, 33554432), start=0xb5a9f000<br>
0(5988) shm_mem_init: success<br> 0(0) core dump limits set to 4294967295<br> 0(0) DEBUG: init_mod: mysql<br> 0(0) mysql: MySQL client version is 5.0.24a<br> 0(0) DEBUG: init_mod: sl_module<br>stateless - initializing<br>
0(0) DEBUG: register_fifo_cmd: new command (sl_stats) registered<br> 0(0) unixsock_register_cmd: New command (sl_stats) registered<br> 0(0) DEBUG: MD5 calculated: 8f36450dbf9496a39daffb98efb4221a<br> 0(0) DEBUG: init_mod: tm<br>
0(0) TM - (size of cell=2832, sip_msg=768) initializing...<br> 0(0) Call-ID initialization: '2ff5b7ea'<br> 0(0) DEBUG: register_fifo_cmd: new command (t_uac_dlg) registered<br> 0(0) DEBUG: register_fifo_cmd: new command (t_uac_cancel) registered<br>
0(0) DEBUG: register_fifo_cmd: new command (t_hash) registered<br> 0(0) DEBUG: register_fifo_cmd: new command (t_reply) registered<br> 0(0) unixsock_register_cmd: New command (t_uac_dlg) registered<br> 0(0) unixsock_register_cmd: New command (t_uac_cancel) registered<br>
0(0) unixsock_register_cmd: New command (t_hash) registered<br> 0(0) unixsock_register_cmd: New command (t_reply) registered<br> 0(0) DEBUG: lock_initialize: lock initialization started<br> 0(0) DEBUG: register_fifo_cmd: new command (t_stats) registered<br>
0(0) unixsock_register_cmd: New command (t_stats) registered<br> 0(0) DEBUG: MD5 calculated: 741ad5dfb14662b78989a07dc5c8b59e<br> 0(0) DEBUG: MD5 calculated: eb9313e49dd2c8bc3fd8ed1343760911<br> 0(0) DEBUG: init_mod: rr<br>
0(0) rr - initializing<br> 0(0) DEBUG: init_mod: maxfwd<br> 0(0) Maxfwd module- initializing<br> 0(0) DEBUG: init_mod: avpops<br> 0(0) AVPops - initializing<br> 0(0) DEBUG: init_mod: usrloc<br> 0(0) usrloc - initializing<br>
0(0) DEBUG: register_fifo_cmd: new command (ul_stats) registered<br> 0(0) DEBUG: register_fifo_cmd: new command (ul_rm) registered<br> 0(0) DEBUG: register_fifo_cmd: new command (ul_rm_contact) registered<br> 0(0) DEBUG: register_fifo_cmd: new command (ul_dump) registered<br>
0(0) DEBUG: register_fifo_cmd: new command (ul_flush) registered<br> 0(0) DEBUG: register_fifo_cmd: new command (ul_add) registered<br> 0(0) DEBUG: register_fifo_cmd: new command (ul_show_contact) registered<br> 0(0) unixsock_register_cmd: New command (ul_stats) registered<br>
0(0) unixsock_register_cmd: New command (ul_rm) registered<br> 0(0) unixsock_register_cmd: New command (ul_rm_contact) registered<br> 0(0) unixsock_register_cmd: New command (ul_dump) registered<br> 0(0) unixsock_register_cmd: New command (ul_flush) registered<br>
0(0) unixsock_register_cmd: New command (ul_add) registered<br> 0(0) unixsock_register_cmd: New command (ul_show_contact) registered<br> 0(0) find_mod_export: found <db_use_table> in module mysql [/usr/local/lib/openser/modules/]<br>
0(0) find_mod_export: found <db_init> in module mysql [/usr/local/lib/openser/modules/]<br> 0(0) find_mod_export: found <db_close> in module mysql [/usr/local/lib/openser/modules/]<br> 0(0) find_mod_export: found <db_query> in module mysql [/usr/local/lib/openser/modules/]<br>
0(0) find_mod_export: found <db_raw_query> in module mysql [/usr/local/lib/openser/modules/]<br> 0(0) find_mod_export: found <db_free_result> in module mysql [/usr/local/lib/openser/modules/]<br> 0(0) find_mod_export: found <db_insert> in module mysql [/usr/local/lib/openser/modules/]<br>
0(0) find_mod_export: found <db_delete> in module mysql [/usr/local/lib/openser/modules/]<br> 0(0) find_mod_export: found <db_update> in module mysql [/usr/local/lib/openser/modules/]<br> 0(0) find_mod_export: found <db_replace> in module mysql [/usr/local/lib/openser/modules/]<br>
0(0) DEBUG: init_mod: registrar<br> 0(0) registrar - initializing<br> 0(0) find_export: found <sl_send_reply> in module sl_module [/usr/local/lib/openser/modules/]<br> 0(0) find_export: found <ul_bind_usrloc> in module usrloc [/usr/local/lib/openser/modules/]<br>
0(0) find_export: found <ul_register_udomain> in module usrloc [/usr/local/lib/openser/modules/]<br> 0(0) find_export: found <ul_get_all_ucontacts> in module usrloc [/usr/local/lib/openser/modules/]<br> 0(0) find_export: found <ul_insert_urecord> in module usrloc [/usr/local/lib/openser/modules/]<br>
0(0) find_export: found <ul_delete_urecord> in module usrloc [/usr/local/lib/openser/modules/]<br> 0(0) find_export: found <ul_get_urecord> in module usrloc [/usr/local/lib/openser/modules/]<br> 0(0) find_export: found <ul_lock_udomain> in module usrloc [/usr/local/lib/openser/modules/]<br>
0(0) find_export: found <ul_unlock_udomain> in module usrloc [/usr/local/lib/openser/modules/]<br> 0(0) find_export: found <ul_release_urecord> in module usrloc [/usr/local/lib/openser/modules/]<br> 0(0) find_export: found <ul_insert_ucontact> in module usrloc [/usr/local/lib/openser/modules/]<br>
0(0) find_export: found <ul_delete_ucontact> in module usrloc [/usr/local/lib/openser/modules/]<br> 0(0) find_export: found <ul_get_ucontact> in module usrloc [/usr/local/lib/openser/modules/]<br> 0(0) find_export: found <ul_update_ucontact> in module usrloc [/usr/local/lib/openser/modules/]<br>
0(0) find_export: found <ul_register_watcher> in module usrloc [/usr/local/lib/openser/modules/]<br> 0(0) find_export: found <ul_unregister_watcher> in module usrloc [/usr/local/lib/openser/modules/]<br> 0(0) find_export: found <ul_register_ulcb> in module usrloc [/usr/local/lib/openser/modules/]<br>
0(0) DEBUG: init_mod: textops<br>textops - initializing<br> 0(0) DEBUG: init_mod: xlog<br> 0(0) XLOG: initializing ...<br> 0(0) DEBUG: init_mod: acc<br> 0(0) ACC - initializing<br> 0(0) find_export: found <load_tm> in module tm [/usr/local/lib/openser/modules/]<br>
0(0) <b>ERROR: acc: can't get code for the Sip-Src-IP attribute<br></b> 0(0) init_mod(): Error while initializing module acc<br>ERROR: error while initializing modules<br> 0(0) XLOG: destroy module ...<br> 0(0) DEBUG: tm_shutdown : start<br>
0(0) DEBUG: unlink_timer_lists : emptying DELETE list<br> 0(0) DEBUG: tm_shutdown : emptying hash table<br> 0(0) DEBUG: tm_shutdown : releasing timers<br> 0(0) DEBUG: tm_shutdown : removing semaphores<br> 0(0) DEBUG: tm_shutdown : destroying tmcb lists<br>
0(0) DEBUG: tm_shutdown : done<br> 0(5988) shm_mem_destroy<br> 0(5988) destroying the shared memory lock<br></div>
<div> </div>
<div> I wish that you can hint me and help me solving the problem!</div>
<div> </div>
<div> If openser's version is 1.1.0 and it need the "presence" module, Which freeradius version will be choosed?</div>
<div> </div>
<div> sincerely tlhe</div>
<div> </div>
<div> </div>
<div> </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&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>