MessageBox.Show("Warning the register-transport for account: "+name+" is set to tls, however you have tls disabled in your sofia settings this account will be disabled for now");
if(value.value=="tls"&&!tls_enabled){
gateways_node.RemoveChild(node);
MessageBox.Show("Warning the register-transport for account: "+name+" is set to tls, however you have tls disabled in your sofia settings this account will be disabled for now");
enabled=false;
gateways_node.RemoveChild(node);
return;
enabled=false;
return;
}
if(value.value!="tls"&&tls_only){
MessageBox.Show("Warning the register-transport for account: "+name+" is not set to tls, however you have tls only enabled in your sofia settings this account will be disabled for now");
tls_port_msg+=" and tls bind port ("+FieldValue.GetByName(values,"tls-sip-port").value+")";
tls_port_msg+=" and tls bind port ("+FieldValue.GetByName(values,"tls-sip-port").value+")";
MessageBox.Show("Warning the master sofia profile was not able to load and the phone will most likely _not_ work, make sure the local bind port ("+FieldValue.GetByName(values,"sip-port").value+")"+tls_port_msg+" is free(set under the Advanced tab of in the sofia settings) and FSClient is allowed through your firewall, otherwise check the freeswitch.log for more details. You can try reloading the sofia profile by editing the sofia settings and clicking save to see if fixed.");
MessageBox.Show("Warning the master sofia profile was not able to load and the phone will most likely _not_ work, make sure the local bind port ("+FieldValue.GetByName(values,"sip-port").value+")"+tls_port_msg+" is free(set under the Advanced tab of in the sofia settings) and FSClient is allowed through your firewall, otherwise check the freeswitch.log for more details. You can try reloading the sofia profile by editing the sofia settings and clicking save to see if fixed.");
master_profile_ok=false;
master_profile_ok=false;
returnfalse;
}
}
master_profile_ok=true;
returntrue;
}
publicvoidsofia_profile_check_last(){
boolres=sofia_actual_profile_check(true);
Debug.WriteLine("GOT TO Last Check and its result was: "+res);