Page 1 of 1

Problem with script /etc/init.d/vicidial in Vicibox 8.0.0

PostPosted: Mon Apr 16, 2018 3:00 pm
by marzo
Hello,

The line 154 is:
if [ -x $WAN_BIN -a "$(find /etc/wanpipe -maxdepth 1 -name 'wanpipea*.conf' -print -quit)" ]; then
it could be:
if [ -x $WAN_BIN -a "$(find /etc/wanpipe -maxdepth 1 -name 'wanpipe*.conf' -print -quit)" ]; then

Please validate this change.

Regards

Re: Problem with script /etc/init.d/vicidial in Vicibox 8.0.

PostPosted: Mon Apr 16, 2018 4:18 pm
by marzo
The line 415 is:
ASTERISK_UP=$AST_BIN" -rx "$ASTUPTIMECMD" | /usr/bin/grep System"
it could be:
ASTERISK_UP=`$AST_BIN -rx "$ASTUPTIMECMD" | /usr/bin/grep System | /usr/bin/awk '{print $3$4$5$6$7$8}'`

Please validate this change.

Regards