]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Add a log message when the invite has no SDP and 3pcc isn't enabled to aid troublesho...
authorAndrew Thompson <andrew@hijacked.us>
Mon, 12 Oct 2009 19:09:34 +0000 (19:09 +0000)
committerAndrew Thompson <andrew@hijacked.us>
Mon, 12 Oct 2009 19:09:34 +0000 (19:09 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15140 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/sofia.c

index bc6f4f62eaa34cc41b32898d6e504b374b81825c..76561c1ab6e5812db6dd36d86398f46a6477de2a 100644 (file)
@@ -3724,6 +3724,7 @@ static void sofia_handle_sip_i_state(switch_core_session_t *session, int status,
                                                //Moves into CS_INIT so call moves forward into the dialplan
                                                switch_channel_set_state(channel, CS_INIT);
                                        } else {
+                                               switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_INFO, "No SDP in INVITE and 3pcc not enabled, hanging up.\n");
                                                switch_channel_set_variable(channel, SWITCH_ENDPOINT_DISPOSITION_VARIABLE, "3PCC DISABLED");
                                                switch_channel_hangup(channel, SWITCH_CAUSE_MANDATORY_IE_MISSING);
                                        }