function sipStatusChangedEvent(io, evt) {
  if (evt.exten.substr(0, 3) !== '*47') {
    io.emit('change-sip-status', {
      sip: evt.exten,
      status: SIP_STATUS[evt.status],
      online: SIP_STATUS_CODE_UNAVAILABLE !== evt.status
    });
  }
}
// // STATUS OF SIP EXTENSION IS CHANGED
STATUS OF SIP EXTENSION IS CHANGED
STATUS OF SIP EXTENSION IS CHANGED
function sipStatusChangedEvent(io, evt) {
  if (evt.exten.substr(0, 3) !== '*47') {
    io.emit('change-sip-status', {
      sip: evt.exten,
      status: SIP_STATUS[evt.status],
      online: SIP_STATUS_CODE_UNAVAILABLE !== evt.status
    });
  }
}
function sipStatusChangedEvent ( io , evt ) { if ( evt . exten . substr ( 0 , 3 ) !== '*47' ) { io . emit ( 'change-sip-status' , { sip : evt . exten , status : SIP_STATUS [ evt . status ] , online : SIP_STATUS_CODE_UNAVAILABLE !== evt . status } ) ; } }
STATUS OF SIP EXTENSION IS CHANGED
STATUS OF SIP EXTENSION IS CHANGED