public void SquelchSet(int callid, bool valor, CORESIP_PttType tipoptt = CORESIP_PttType.CORESIP_PTT_OFF, ushort pttId = 0) { try { SipAgentNet.SqhOnOffSet(callid, valor, tipoptt, pttId); } catch (Exception x) { LogException(x, "SquelchSet Exception"); } }
public void PttSet(int callid, CORESIP_PttType tipo, ushort pttId = 0, int pttMute = 0) { try { if (tipo == CORESIP_PttType.CORESIP_PTT_OFF) { SipAgentNet.PttOff(callid); } else { SipAgentNet.PttOn(callid, pttId, tipo, pttMute); } } catch (Exception x) { LogException(x, "PttSet Exception"); } }