Module: kamailio
Branch: master
Commit: 20d075a17189961baf63ac000e4417d7f04d8a08
URL:
https://github.com/kamailio/kamailio/commit/20d075a17189961baf63ac000e4417d…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-01-19T07:49:24+01:00
kamctl: use tm.t_uac_wait for ping command
---
Modified: utils/kamctl/kamctl
---
Diff:
https://github.com/kamailio/kamailio/commit/20d075a17189961baf63ac000e4417d…
Patch:
https://github.com/kamailio/kamailio/commit/20d075a17189961baf63ac000e4417d…
---
diff --git a/utils/kamctl/kamctl b/utils/kamctl/kamctl
index 3b8ecd6c64..36fd4363d4 100755
--- a/utils/kamctl/kamctl
+++ b/utils/kamctl/kamctl
@@ -2036,7 +2036,7 @@ kamailio_stop() {
options_ping() {
myhost=`get_my_host`
require_ctlengine
- CMDPARAMS="= tm.t_uac_start OPTIONS \"$1\" \".\"
\".\"
\"From:sip:daemon@$myhost=CRLF=To:<$1>=CRLF=Contact:sip:daemon@$myhost=CRLF=\""
+ CMDPARAMS="= tm.t_uac_wait OPTIONS \"$1\" \".\" \".\"
\"From:sip:daemon@$myhost=CRLF=To:<$1>=CRLF=Contact:sip:daemon@$myhost=CRLF=\""
if [ $CTLENGINETYPE -eq 1 ] ; then
ctl_cmd_run $CMDPARAMS
else