提交 9d99fe8e authored 作者: Andrew Thompson's avatar Andrew Thompson

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
上级 3fd6e624
......@@ -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);
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论