Browse Source

updated websocket alias logic for in-dialog requests

3.17
karl anderson 12 years ago
parent
commit
50c499d75f
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      kamailio/default.cfg

+ 3
- 3
kamailio/default.cfg View File

@ -324,7 +324,7 @@ route[HANDLE_IN_DIALOG_REQUESTS]
}
if (loose_route()) {
#!ifdef WEBSOCKETS-ROLE
if ($du == "") {
if ($du == $null) {
handle_ruri_alias();
switch ($rc) {
case -1:
@ -332,10 +332,10 @@ route[HANDLE_IN_DIALOG_REQUESTS]
send_reply("400", "Bad request");
exit;
case 1:
xlog("L_INFO", "$ci|log|routing in-dialog $rm from $fu to $du\n");
xlog("L_INFO", "$ci|log|loose_route in-dialog message with alias $du");
break;
case 2:
xlog("L_INFO", "$ci|log|routing in-dialog $rm from $fu to $ru\n");
xlog("L_INFO", "$ci|log|loose_route in-dialog message with alias $du");
break;
}
}


Loading…
Cancel
Save