Skip to content

Commit

Permalink
kamctl: use tm.t_uac_wait for ping command
Browse files Browse the repository at this point in the history
(cherry picked from commit 20d075a)
  • Loading branch information
miconda committed Feb 9, 2021
1 parent 9b5eade commit 6769d44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/kamctl/kamctl
Expand Up @@ -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
Expand Down

0 comments on commit 6769d44

Please sign in to comment.