Hello! Trying to use profiling in dialog module. Getting the strange results:
route[5] { #----------------------------------------------------------------- # PSTN Handler #----------------------------------------------------------------- avp_load_radius("digest"); get_profile_size("sessions","$avp(s:caller_billing_user)","$avp(s:count)"); xlog("L_NOTICE", "Current calls count for user $avp(s:caller_billing_user) is $avp(s:count).\n"); set_dlg_profile("sessions","$avp(s:caller_billing_user)"); get_profile_size("sessions","$avp(s:caller_billing_user)","$avp(s:count)"); xlog("L_NOTICE", "Current calls count for user $avp(s:caller_billing_user) is $avp(s:count).\n"); } Log outputs: Jul 15 15:30:25 main /usr/local/sbin/openser[26540]: Current calls count for user user-test is 0. Jul 15 15:30:25 main /usr/local/sbin/openser[26540]: Current calls count for user user-test is 0. And after 5 or 6 calls openser is crashing to core. I can send the core dump, if it will be need. Source - current trunk - revision 4486 -- Pavel D.Kuzin Nodex LTD. _______________________________________________ Devel mailing list Devel@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/devel