You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This code doesn't work. There is no word UNREACHABLE in pjsip show endpoints function sip.trunk.down(){ TRUNK=$ASTERISK -rx "pjsip show endpoints" | grep UNREACHABLE | awk '{print$1}'| grep [A-Za-z] if [ -n "$TRUNK" ]; then echo $TRUNK else echo "1" fi
The text was updated successfully, but these errors were encountered:
This code doesn't work. There is no word UNREACHABLE in pjsip show endpoints
function sip.trunk.down(){ TRUNK=
$ASTERISK -rx "pjsip show endpoints" | grep UNREACHABLE | awk '{print$1}'| grep [A-Za-z]if [ -n "$TRUNK" ]; then echo $TRUNK else echo "1" fi
The text was updated successfully, but these errors were encountered: