[SR-Users] Dialog ref Error

Uri Shacked ushacked at gmail.com
Wed Oct 5 12:12:35 CEST 2011


---------- Forwarded message ----------
From: Uri Shacked <uri.shacked at gmail.com>
Date: Wed, Oct 5, 2011 at 11:48 AM
Subject: dialog ref Error
To: sr-users at 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 at 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");}

........
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20111005/33dcccd6/attachment.htm>


More information about the sr-users mailing list