public void BindMetaApp(DialableNumber digits, MetaAppLegTypes leg, MetaAppFlags[] flags, string application, string pars) { string sflags = ""; if (flags != null) { foreach (MetaAppFlags flg in flags) { sflags += (char)flg; } } ExecuteApplication("bind_meta_app", digits.ToString() + " " + leg.ToString() + " " + sflags + " " + application + (pars == null ? "" : "::" + pars), false); }
public void UnBindMetaApp(DialableNumber digits, bool eventLock) { ExecuteApplication("unbind_meta_app", digits.ToString(), eventLock); }
public void BindDigitAction(string realm, DialableNumber digits, string command, string arguements, BindDigitTargetLegs?targetLeg, BindDigitsEventLegs?eventLeg) { ExecuteApplication("bind_digit_action", "realm," + digits.ToString() + "," + command + "," + (arguements == null ? "" : arguements) + "," + (targetLeg.HasValue ? targetLeg.Value.ToString() : "aleg") + "," + (eventLeg.HasValue ? eventLeg.Value.ToString() : "self"), false); }
public void BindMetaApp(DialableNumber digits, MetaAppLegTypes leg, MetaAppFlags[] flags, string application, string pars) { string sflags = ""; if (flags != null) { foreach (MetaAppFlags flg in flags) sflags += (char)flg; } ExecuteApplication("bind_meta_app", digits.ToString() + " " + leg.ToString() + " " + sflags + " " + application + (pars == null ? "" : "::" + pars), false); }
public void BindDigitAction(string realm, DialableNumber digits, string command, string arguements, BindDigitTargetLegs? targetLeg, BindDigitsEventLegs? eventLeg) { ExecuteApplication("bind_digit_action", "realm," + digits.ToString() + "," + command + "," + (arguements == null ? "" : arguements) + "," + (targetLeg.HasValue ? targetLeg.Value.ToString() : "aleg") + "," + (eventLeg.HasValue ? eventLeg.Value.ToString() : "self"), false); }