- Joined
- Mar 21, 2017
- Messages
- 16
- Reaction score
- 0
Hi
I am trying to create a conference call but can't seem to get it to work the relevant bit of my code is below , nothing happens when I run the code.
The documentation says the IsGateway needs to be false that is why i am setting it like that below , although once set i dont need to run this bit of the code again.
@edossantos you helped me before not sure if you can on this one.
I am trying to create a conference call but can't seem to get it to work the relevant bit of my code is below , nothing happens when I run the code.
The documentation says the IsGateway needs to be false that is why i am setting it like that below , although once set i dont need to run this bit of the code again.
Code:
PhoneSystem.ApplicationName = "pleasework";
PhoneSystem.CfgServerHost = "127.0.0.1";
PhoneSystem.CfgServerPort = 5485;
PhoneSystem.CfgServerUser = "cfguser_default";
PhoneSystem.CfgServerPassword = "pwhshhlew3va";
bool found = false;
ConferencePlaceExtension[] conf = PhoneSystem.Root.GetConferencePlaceExtensions();
foreach (ConferencePlaceExtension confs in conf)
{
Console.Write(confs.Number);
Console.WriteLine('t');
Console.WriteLine();
Console.Write(confs.IsGateway);
confs.IsGateway = false;
confs.Save();
}
PBXConnection pbx = CreatePbxConn();
Dictionary<string, string> t = new Dictionary<string, string>();
t.Add("tojoin", "12");
t.Add("instant", "1");
pbx.MakeCall("70",t);
/// pbx.MakeCall("70", "12");
@edossantos you helped me before not sure if you can on this one.