Displaying 1 result from an estimated 1 matches for "tctc_oper".
2008 Dec 23
2
AEL Variable Warning Messages
...to go out over their lines so the people they 
call will have the correct callerID.  I created an asterisk database and 
with entries in the database for all extensions in the second office and 
defined the following macro:
globals {
  CONSOLE="Console/dsp";
  TRUNK="Zap/r1";
  TCTC_Operator=15;
  Law_Operator=12;
};
macro outside-dial ( num ) {
  if (${DB_EXISTS(Office/${CALLERID(num)})}) {
    TRUNK="Zap/r2";
  } else {
    TRUNK="Zap/r1";
  }
  Dial(${TRUNK}/${num},,Ttok);
}
It's working and correctly routing outside calls, but I get the 
following mess...