Browse Source

sht_rm_name_req requires string arg (#99)

4.0
Daniel Finke 9 years ago
committed by bitbashing
parent
commit
ff7cb99456
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      kamailio/websockets-role.cfg

+ 1
- 1
kamailio/websockets-role.cfg View File

@ -119,7 +119,7 @@ event_route[websocket:closed] {
$var(shtdec) = $shtdec(websockets=>$si::count);
if ($sht(websockets=>$si::count) < 1) {
xlog("L_INFO", "websocket|log|$si:$sp closed last websocket to that IP\n");
sht_rm_name_re(websockets=>$(si{re.subst,/\\./\\\\./g})::.*);
sht_rm_name_re("websockets=>$(si{re.subst,/\\./\\\\./g})::.*");
} else {
xlog("L_INFO", "websocket|log|closed websocket from $si:$sp, $var(count) remaining from that IP\n");
}


Loading…
Cancel
Save