Module: kamailio
Branch: 5.3
Commit: c33d634f400d5219dd1a820b209a123ef3e27020
URL:
https://github.com/kamailio/kamailio/commit/c33d634f400d5219dd1a820b209a123…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-07-02T09:48:11+02:00
kamctl: set Path to '.' when parameter not set for 'ul add'
(cherry picked from commit 301525dfbbad2ffcec6738ef5eff952645ab9dfe)
---
Modified: utils/kamctl/kamctl
---
Diff:
https://github.com/kamailio/kamailio/commit/c33d634f400d5219dd1a820b209a123…
Patch:
https://github.com/kamailio/kamailio/commit/c33d634f400d5219dd1a820b209a123…
---
diff --git a/utils/kamctl/kamctl b/utils/kamctl/kamctl
index c97ad491a2..a2fc9ffe43 100755
--- a/utils/kamctl/kamctl
+++ b/utils/kamctl/kamctl
@@ -2652,12 +2652,12 @@ usrloc() {
UL_EXPIRES=0
UL_FLAGS=0
BR_FLAGS=0
- UL_PATH=0
+ UL_PATH="."
elif [ $# -eq 4 ] ; then
UL_EXPIRES=$4
UL_FLAGS=0
BR_FLAGS=0
- UL_PATH=0
+ UL_PATH="."
elif [ $# -eq 5 ] ; then
UL_EXPIRES=$4
UL_FLAGS=0