[sr-dev] git:master:20d075a1: kamctl: use tm.t_uac_wait for ping command
Daniel-Constantin Mierla
miconda at gmail.com
Tue Jan 19 07:50:06 CET 2021
Module: kamailio
Branch: master
Commit: 20d075a17189961baf63ac000e4417d7f04d8a08
URL: https://github.com/kamailio/kamailio/commit/20d075a17189961baf63ac000e4417d7f04d8a08
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at 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/20d075a17189961baf63ac000e4417d7f04d8a08.diff
Patch: https://github.com/kamailio/kamailio/commit/20d075a17189961baf63ac000e4417d7f04d8a08.patch
---
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
More information about the sr-dev
mailing list