提交 9c233283 authored 作者: Anthony Minessale's avatar Anthony Minessale

fix

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4107 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 ea0a65d5
...@@ -4144,6 +4144,11 @@ static void sip_i_invite(nua_t *nua, ...@@ -4144,6 +4144,11 @@ static void sip_i_invite(nua_t *nua,
char uri[1024]; char uri[1024];
if (!(sip && sip->sip_contact && sip->sip_contact->m_url)) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "NO CONTACT!\n");
return;
}
if ((profile->pflags & PFLAG_AUTH_CALLS)) { if ((profile->pflags & PFLAG_AUTH_CALLS)) {
if (handle_register(nua, profile, nh, sip, REG_INVITE, key, sizeof(key))) { if (handle_register(nua, profile, nh, sip, REG_INVITE, key, sizeof(key))) {
return; return;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论