Module: kamailio
Branch: master
Commit: 301525dfbbad2ffcec6738ef5eff952645ab9dfe
URL:
https://github.com/kamailio/kamailio/commit/301525dfbbad2ffcec6738ef5eff952…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-07-02T09:33:55+02:00
kamctl: set Path to '.' when parameter not set for 'ul add'
---
Modified: utils/kamctl/kamctl
---
Diff:
https://github.com/kamailio/kamailio/commit/301525dfbbad2ffcec6738ef5eff952…
Patch:
https://github.com/kamailio/kamailio/commit/301525dfbbad2ffcec6738ef5eff952…
---
diff --git a/utils/kamctl/kamctl b/utils/kamctl/kamctl
index ffac93065c..211e0cf042 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