]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
update
authorAnthony Minessale <anthony.minessale@gmail.com>
Thu, 4 May 2006 00:08:46 +0000 (00:08 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Thu, 4 May 2006 00:08:46 +0000 (00:08 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1337 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_dingaling/mod_dingaling.c

index abbe160417cace7ff14a5c61b3f8be4d48747dc2..17cdfb868480029cfae9c5e90100d41736fff9ea 100644 (file)
@@ -1560,14 +1560,6 @@ static ldl_status handle_signalling(ldl_handle_t *handle, ldl_session_t *dlsessi
        case LDL_SIGNAL_MSG:
                if (msg) { 
                        if (*msg == '+') {
-                               char *p;
-                               if ((p = strchr(msg, '\r'))) {
-                                       *p = '\0';
-                               }
-                               if ((p = strchr(msg, '\n'))) {
-                                       *p = '\0';
-                               }
-                               
                                switch_channel_queue_dtmf(channel, msg + 1);
                        }
                        switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "SESSION MSG [%s]\n", msg);