Hi there,
That property returns an array of "TCX.Configuration.GatewayParameterBinding". You can iterate the array until you find the property you need to change, and then change the object accordingly.
It is suggested that you debug it with Visual Studio, so you see the properties values, and you know how to identify each parameter.
Kind regards.
foreach (var rct in ps.GetGateways())
// {
// rct.OutboundCallerID = "0842003325";
// rct.Save();
// foreach (var x in rct.OutboundParams)
// {
// if (x.Param.Name.ToString() == "FromUserPart")
// {
// // if (Code.GetExtCallerIDsettingByMexMobile(args[3]))
// x.Value = x.Param.PossibleValuesAsOutbound[2];
// //else
// // {
// // x.Value = x.Param.PossibleValuesAsOutbound[0];
// // }
//
// rct.Save();
// x.Value = x.Param.PossibleValuesAsOutbound[2];
// rct.Save();
//
// }
// }
// }
Link up your team and customers Phone System Live Chat Video Conferencing
Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.
Check your inbox!
We’ve sent you an email. Click on the button in the email body to verify your email address – (if you can not find it, check your spam folder).
Upon verification you will be directed to the 3CX setup wizard.