---------- Forwarded message ---------- From: Uri Shacked uri.shacked@gmail.com Date: Wed, Oct 5, 2011 at 11:48 AM Subject: dialog ref Error To: sr-users@lists.sip-router.org
Hi,
i keep on getting this error: Oct 5 14:39:33 Kamailio2 /usr/sbin/kamailio[21568]: DEBUG: dialog [dlg_hash.c:247]: new dialog on hash 531 Oct 5 14:39:33 Kamailio2 /usr/sbin/kamailio[21568]: DEBUG: dialog [dlg_handlers.c:264]: route_set , contact sip:036264529@10.2.0.55:5061, cseq 1 and bind_addr udp:10.2.0.5:5060 Oct 5 14:39:33 Kamailio2 /usr/sbin/kamailio[21568]: DEBUG: dialog [dlg_hash.c:519]: ref dlg 0xb417f5a0 with 3 -> 3 Oct 5 14:39:33 Kamailio2 /usr/sbin/kamailio[21568]: DEBUG: dialog [dlg_hash.c:600]: unref dlg 0xb417f5a0 with 1, crt ref count: 3
anyone knows what it is?
here is the dialog part in my cfg:
*# ------ dialog params --------*
modparam("dialog", "db_url", DBURL)
##modparam("dialog", "rr_param", "did")
modparam("dialog", "default_timeout", 7200)
modparam("dialog", "dlg_match_mode", 0)
modparam("dialog", "detect_spirals", 1)
modparam("dialog", "db_mode", 1)
##modparam("dialog", "db_fetch_rows", 100)
modparam("dialog", "dlg_flag", FLT_DLG)
modparam("dialog", "profiles_with_value", "test")
..........
dlg_manage();
##dlg_setflag(FLT_DLG);
if (is_method("INVITE")) {
$var(size) = 0;
get_profile_size("test","$rU","$var(size)");
xlog("currently, the user $rU has $var(size) active calls\n");
if( $var(size) >= 5 ){
sl_send_reply("507", "Simultaneous calls limit reached");
xlog("Limit of $var(size) active calls has been reached \n");
exit;}
set_dlg_profile("test","$rU");}
........
On 05.10.2011 12:12, Uri Shacked wrote:
---------- Forwarded message ---------- From: *Uri Shacked* <uri.shacked@gmail.com mailto:uri.shacked@gmail.com> Date: Wed, Oct 5, 2011 at 11:48 AM Subject: dialog ref Error To: sr-users@lists.sip-router.org mailto:sr-users@lists.sip-router.org
Hi,
i keep on getting this error: Oct 5 14:39:33 Kamailio2 /usr/sbin/kamailio[21568]: DEBUG: dialog [dlg_hash.c:247]: new dialog on hash 531 Oct 5 14:39:33 Kamailio2 /usr/sbin/kamailio[21568]: DEBUG: dialog [dlg_handlers.c:264]: route_set , contact sip:036264529@10.2.0.55:5061 http://sip:036264529@10.2.0.55:5061, cseq 1 and bind_addr udp:10.2.0.5:5060 http://10.2.0.5:5060/ Oct 5 14:39:33 Kamailio2 /usr/sbin/kamailio[21568]: DEBUG: dialog [dlg_hash.c:519]: ref dlg 0xb417f5a0 with 3 -> 3 Oct 5 14:39:33 Kamailio2 /usr/sbin/kamailio[21568]: DEBUG: dialog [dlg_hash.c:600]: unref dlg 0xb417f5a0 with 1, crt ref count: 3
anyone knows what it is?
Doesn't look like an error to me. You increased log verbosity to DEBUG and thus, will receive a lot dialog status updates per se. Unless you encounter anything of type WARN or worse (including a crash) there should be no reason to be concerned.
Cheers,
--Timo