public static string switch_replace_char(string str, char from, char to, switch_bool_t dup) { string ret = freeswitchPINVOKE.switch_replace_char(str, from, to, (int)dup); return ret; }