<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:΢ÈíÑźÚ
}
--></style></head>
<body class='hmmessage'><div dir='ltr'> <BR> <BR>Hi  !<br>I am now study on dev-4.1.3  . the default cfg  working well , <br>however  included "ims_qos" modules , it 's  not work .<BR>i  want  this module ,   not configure a ims "p-icsf   p-cscf   scsf " ( thinking problems??)<BR>the aim is    to send   qos request for some specific contacts ( i want assign in the  mod.c/ims_qos , w_rx_aar_register).<BR>Could you please help me achieve this goal.<br><br>Thanks !<BR><br>my  details as follows:(based on default cfg file.)<BR>1,  make cfg includes... ( dialog_ng, ims_usrloc_pcscf, cdp,cdp_avp, ims_qos ) <br>2, make and install  (  it;s start working  )<BR>3, modify cfg:<br>modparam("dialog_ng", "dlg_flag", FLT_DIALOG)<br>modparam("dialog_ng", "timeout_avp", "$avp(DLG_TIMEOUT_AVP)")<br>modparam("dialog_ng", "detect_spirals", 0)<br>modparam("dialog_ng", "profiles_no_value", "orig ; term")<BR> <BR>modparam("cdp","config_file","/usr/local/etc/kamailio/DiameterPeer.xml")<br>modparam("ims_qos","rx_dest_realm","NETWORKNAME")<BR> <BR>...<BR>###in route main ..  i hope "ims_qos" module working , , , , <BR>     <BR>   # Handle Registrations:<br>        if (is_method("REGISTER")) {<br>                route(REGISTER);<br>                exit;<br>       }<BR>....<BR><br>route[REGISTER]{<BR><font color="#ac193d">if(Rx_AAR_Register("REG_AAR_REPLY","location")==0)<br>        exit;<br>}</font><BR><br>route[REG_AAR_REPLY]{<br>       log(1,"\n\n  LIUJIAHAO\n\n");<BR>         switch($avp(s:aar_return_code)){<br>            case 1:<br>                xlog("L_DBG","Diameter: AAR success .. \n");<br>                break;<br>            default:<br>                xlog("L_ERR","Diameter: AAR failed .. \n");<br>                send_reply("403","Can't register to QoS .. \n");<br>                exit;<br>            }<br>}<BR> <BR>4.sys log messages... (the red line   maybe the problems,    that is  in red  line upper param.)<BR> <BR> <BR>Jun  7 14:28:30 cent-03 kamailio: WARNING: <core> [socket_info.c:1397]: fix_hostname(): WARNING: fix_hostname: could not rev. resolve 192.168.1.166<br>Jun  7 14:28:30 cent-03 kamailio: WARNING: <core> [socket_info.c:1397]: fix_hostname(): WARNING: fix_hostname: could not rev. resolve 192.168.1.166<br>Jun  7 14:28:30 cent-03 kamailio: INFO: <core> [tcp_main.c:4836]: init_tcp(): init_tcp: using epoll_lt as the io watch method (autodetected)<br>Jun  7 14:28:30 cent-03 kamailio[3114]: INFO: rr [../outbound/api.h:54]: ob_load_api(): Failed to import bind_ob<br>Jun  7 14:28:30 cent-03 kamailio[3114]: INFO: rr [rr_mod.c:159]: mod_init(): outbound module not available<br>Jun  7 14:28:30 cent-03 kamailio[3114]: INFO: usrloc [hslot.c:53]: ul_init_locks(): locks array size 512<br>Jun  7 14:28:30 cent-03 kamailio[3114]: INFO: ims_usrloc_pcscf [hslot.c:62]: ul_init_locks(): locks array size 512<br>Jun  7 14:28:30 cent-03 kamailio[3114]: ERROR: <core> [kstats_wrapper.c:73]: register_stat(): counter usrloc.location-contacts already registered<br>Jun  7 14:28:30 cent-03 kamailio[3114]: ERROR: ims_usrloc_pcscf [udomain.c:121]: new_udomain(): failed to add stat variable<br>Jun  7 14:28:30 cent-03 kamailio[3114]: ERROR: ims_usrloc_pcscf [dlist.c:193]: new_dlist(): creating domain structure failed<br>Jun  7 14:28:30 cent-03 kamailio[3114]: ERROR: ims_usrloc_pcscf [dlist.c:233]: register_udomain(): failed to create new domain<br>Jun  7 14:28:30 cent-03 kamailio[3114]: ERROR: ims_qos [mod.c:942]: fixup_aar_register(): Error doing fixup on assign save<br><font color="#ac193d">Jun  7 14:28:30 cent-03 kamailio[3114]: ERROR: <core> [route.c:1215]: fix_actions(): fixing failed (code=-1) at cfg:/usr/local/etc/kamailio/kamailio.cfg:354<br>Jun  7 14:28:30 cent-03 kamailio[3114]: ERROR: <core> [route.c:1215]: fix_actions(): fixing failed (code=-1) at cfg:/usr/local/etc/kamailio/kamailio.cfg:356</font><br>Jun  7 14:28:30 cent-03 kamailio[3114]: INFO: cdp [mod.c:251]: cdp_exit(): CDiameterPeer child stopping ...<br>Jun  7 14:28:30 cent-03 kamailio[3114]: INFO: cdp [diameter_peer.c:428]: diameter_peer_destroy(): destroy_diameter_peer(): Terminating all children...<br>Jun  7 14:28:30 cent-03 kamailio[3114]: INFO: cdp [diameter_peer.c:447]: diameter_peer_destroy(): destroy_diameter_peer(): All processes terminated. Cleaning up.<br>Jun  7 14:28:30 cent-03 kamailio[3114]: INFO: cdp [worker.c:137]: worker_destroy(): Unlocking workers waiting on empty queue...<br>Jun  7 14:28:30 cent-03 kamailio[3114]: INFO: cdp [worker.c:140]: worker_destroy(): Unlocking workers waiting on full queue...<br>Jun  7 14:28:30 cent-03 kamailio[3114]: CRITICAL: cdp [diameter_peer.c:487]: diameter_peer_destroy(): destroy_diameter_peer(): Bye Bye from C Diameter Peer test<br>Jun  7 14:28:30 cent-03 kamailio[3114]: INFO: cdp [mod.c:253]: cdp_exit(): ... CDiameterPeer child stoped<BR> <BR> <BR><em>Could you please guide me where am I doing wrong ?
</em><BR><em> </em><BR><em>Regards,</em><br>Good<BR>                                           </div></body>
</html>