Skip to content

Commit

Permalink
kamctl: use param evaluation mode for cisco restart command
Browse files Browse the repository at this point in the history
  • Loading branch information
miconda committed Jan 21, 2021
1 parent 41af7e7 commit 359050f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/kamctl/kamctl
Expand Up @@ -953,7 +953,7 @@ $AVP_USER_COLUMN='$OSERUSER' AND $AVP_DOMAIN_COLUMN='$OSERDOMAIN'"
cisco_restart() {
require_ctlengine
myhost=`get_my_host`
CMDPARAMS="tm.t_uac_start NOTIFY $1 . . \"From:sip:daemon@$myhost\r\nTo:<$1>\r\nEvent:check-sync\r\nContact:sip:daemon@$myhost\r\n\""
CMDPARAMS="= tm.t_uac_start NOTIFY \"$1\" \".\" \".\" \"From:sip:daemon@$myhost=CRLF=To:<$1>=CRLF=Event:check-sync=CRLF=Contact:sip:daemon@$myhost=CRLF=\""

if [ $CTLENGINETYPE -eq 1 ] ; then
ctl_cmd_run $CMDPARAMS
Expand Down

0 comments on commit 359050f

Please sign in to comment.