]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
gsmopen: cleaning
authorGiovanni Maruzzelli <gmaruzz@gmail.com>
Thu, 20 Jun 2013 22:36:26 +0000 (00:36 +0200)
committerGiovanni Maruzzelli <gmaruzz@gmail.com>
Thu, 20 Jun 2013 22:41:07 +0000 (00:41 +0200)
src/mod/endpoints/mod_gsmopen/gsmopen_protocol.cpp
src/mod/endpoints/mod_gsmopen/mod_gsmopen.cpp

index fd0106be6f0a220aa29d53e963c9db4df06cda69..6e9e70876b9e6517e2a7db1fa195e9a7a65df830 100644 (file)
@@ -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);
index 56b3cb1e1858ef73945baea5c04b5d6926a9dc3c..69886ab4f60b697712816c45f494c367ad94431e 100644 (file)
@@ -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);