Hi Jason; i configured cfg like below. Charging working but there is no information about it is call forwarding and all the avps are about first session. When i check dialog_ng hash , it can be updated. is there any flag to set call forwarding or something.
or my problem is just logic. I am trying to use S-CSCF at the same time a Application Server route [X]{ if(!cr_route("$avp(s:carrier)","$avp(s:domian)","$rU","$rU","call_id","$avp(s:route_desc)")) { xlog("L_ALERT","[$ci] [NoRoute]"); send_reply("603", "Route bulunamadi"); exit; } $avp(s:host)= $rd+":"+$rp; $avp(maliyet_id)=$avp(s:route_desc); setflag(FLT_DIALOG); set_dlg_profile("orig"); $avp(DLG_TIMEOUT_AVP) =3600; t_newtran(); t_on_failure(1); $var(cc_ret) = Ro_CCR("CHARGING_CCR_REPLY", "orig", "SCUR", "", "", "location"); if ($var(cc_ret) < 0) { xlog("L_ERR","CCR Request failure\n"); sl_send_reply("402","Payment required-1"); exit; } return; } failure_route[1]{ revert_uri(); if(!cr_next_domain("$avp(s:carrier)","$avp(s:domian)","$rU","$avp(s:host)","$T_reply_code","$avp(s:domain)")){ xlog("L_ALERT","callid:$ci:route:bulunamadi"); exit; } if(!cr_route("$avp(s:carrier)","$avp(s:domian)","$rU","$rU","call_id","$avp(s:route_desc)")){ xlog("L_ALERT","callid:$ci:route:yapilamadi"); exit; } $avp(maliyet_id)=$avp(s:route_desc); $avp(s:host)= $rd+":"+$rp; $rU="05435477707"; t_on_failure("1"); if(!t_relay()) { send_reply("408", "Servis Disi"); exit; }else{ exit; } return; } -- View this message in context: http://sip-router.1086192.n5.nabble.com/Ims-charging-lose-all-charging-information-when-restart-tp137742p137771.html Sent from the Users mailing list archive at Nabble.com. _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users