]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
thanks _Vile
authorAnthony Minessale <anthony.minessale@gmail.com>
Tue, 27 Feb 2007 22:53:57 +0000 (22:53 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Tue, 27 Feb 2007 22:53:57 +0000 (22:53 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4408 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_commands/mod_commands.c

index 9aebcb82ebc8e8cf862c5301289096508d4cf215..d6308b746f510af7b76aef9661494d7c45e494c6 100644 (file)
@@ -511,7 +511,7 @@ static switch_status_t originate_function(char *cmd, switch_core_session_t *ises
 
        if (switch_ivr_originate(NULL, &caller_session, &cause, aleg, timeout, &noop_state_handler, cid_name, cid_num, NULL) != SWITCH_STATUS_SUCCESS) {
                if (machine) {
-                       stream->write_function(stream, "fail: %s", switch_channel_cause2str(cause));
+                       stream->write_function(stream, "fail: %s\n", switch_channel_cause2str(cause));
                } else {
                        stream->write_function(stream, "Cannot Create Outgoing Channel! [%s] cause: %s\n", aleg, switch_channel_cause2str(cause));
                }