Browse Source

use send_reply instead of sl_send_reply

* send_reply checks if there's a ongoing transaction and will call proper function to send the reply
master
lazedo 6 years ago
parent
commit
ff12d456b5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      kamailio/default.cfg

+ 1
- 1
kamailio/default.cfg View File

@ -487,7 +487,7 @@ route[PREPARE_INITIAL_REQUESTS]
if (t_check_trans()) {
route(RELAY);
} else {
sl_send_reply("481", "Call leg/transaction does not exist");
send_reply("481", "Call leg/transaction does not exist");
}
exit();
} else if (is_method("ACK")) {


Loading…
Cancel
Save