BARIX Implementation

methodz
Joined: Mon 19 of Aug, 2013

BARIX Implementation

Posted:Mon 19 of Aug, 2013 (19:18 UTC)
Hello,

I've inherited an asterisk deployment which used BARIX devices to communicate with users in a non-phone environment. The BARIX would dial in to a conference line. I found a script in this box which constantly runs int he background of asterisk, but I am unable to determine what it's doing. I can't seem to find that "croncmd" context in any of the files.

The BARIX device may or may not have SIP ( I don't have the usernames/passwords ). Is there anyone with experience implementing a BARIX?

Also can anyone help me decipher this script?

#!/bin/bash
if ! asterisk -rx "meetme list 5010 concise" | grep Simple | grep "3010" > /dev/null ;
then
  echo "Init Barix Connections to MeetMe 5010:3010"
  asterisk -rx "channel originate local/30101@croncmd application hangup"
fi
if ! asterisk -rx "meetme list 5010 concise" | grep Simple | grep "3030" > /dev/null ;
then
  echo "Init Barix Connections to MeetMe 5010:3030"
  asterisk -rx "channel originate local/30301@croncmd application hangup"
fi