Browse Source

kamctl: use tm.t_uac_wait_block rpc for ping command

Daniel-Constantin Mierla 4 years ago
parent
commit
47a98532af
1 changed files with 1 additions and 1 deletions
  1. 1 1
      utils/kamctl/kamctl

+ 1 - 1
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