[sr-dev] git:master:47a98532: kamctl: use tm.t_uac_wait_block rpc for ping command
Daniel-Constantin Mierla
miconda at gmail.com
Wed Jan 20 08:55:32 CET 2021
Module: kamailio
Branch: master
Commit: 47a98532af5512a4597bbf9ad3834c62dd633256
URL: https://github.com/kamailio/kamailio/commit/47a98532af5512a4597bbf9ad3834c62dd633256
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2021-01-20T08:54:49+01:00
kamctl: use tm.t_uac_wait_block rpc for ping command
---
Modified: utils/kamctl/kamctl
---
Diff: https://github.com/kamailio/kamailio/commit/47a98532af5512a4597bbf9ad3834c62dd633256.diff
Patch: https://github.com/kamailio/kamailio/commit/47a98532af5512a4597bbf9ad3834c62dd633256.patch
---
diff --git a/utils/kamctl/kamctl b/utils/kamctl/kamctl
index 36fd4363d4..1db38e8865 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_wait OPTIONS \"$1\" \".\" \".\" \"From:sip:daemon@$myhost=CRLF=To:<$1>=CRLF=Contact:sip:daemon@$myhost=CRLF=\""
+ CMDPARAMS="= tm.t_uac_wait_block 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