提交 4640a9c8 authored 作者: Giovanni Maruzzelli's avatar Giovanni Maruzzelli

gsmopen: cleaning

上级 66f028b4
......@@ -2725,13 +2725,6 @@ int gsmopen_sendsms(private_t *tech_pvt, char *dest, char *text)
ERRORA("AT+CMGF=1 (set message sending to TEXT (as opposed to PDU) didn't get OK from the phone\n", GSMOPEN_P_LOG);
}
/*
err = gsmopen_serial_write_AT_ack(tech_pvt, "AT+CSCS=\"UCS2\"");
if (err) {
ERRORA("AT+CSCS=\"UCS2\" (set TE messages to ucs2) didn't get OK from the phone\n", GSMOPEN_P_LOG);
}
*/
memset(dest2, '\0', sizeof(dest2));
utf8_to_ucs2(tech_pvt, dest, strlen(dest), dest2, sizeof(dest2));
sprintf(smscommand, "AT+CMGS=\"%s\"", dest2);
......
......@@ -1400,7 +1400,6 @@ static switch_status_t load_config(int reload_type)
}
/* BEGIN: Changes here */
if (reload_type == SOFT_RELOAD) {
char the_interface[256];
sprintf(the_interface, "#%s", name);
......@@ -1409,7 +1408,6 @@ static switch_status_t load_config(int reload_type)
continue;
}
}
/* END: Changes here */
if (!id) {
ERRORA("interface missing REQUIRED param 'id'\n", GSMOPEN_P_LOG);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论