From 9d99fe8e89bdfa039f78a947605fad062f1922d3 Mon Sep 17 00:00:00 2001 From: Andrew Thompson Date: Mon, 12 Oct 2009 19:09:34 +0000 Subject: [PATCH] Add a log message when the invite has no SDP and 3pcc isn't enabled to aid troubleshooting git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15140 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_sofia/sofia.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index bc6f4f62ea..76561c1ab6 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -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); }