git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4107 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2007-02-02 00:42:20 +00:00
parent ea0a65d5ff
commit 9c2332830c
1 changed files with 6 additions and 1 deletions

View File

@ -4143,7 +4143,12 @@ static void sip_i_invite(nua_t *nua,
char *from_port;
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 (handle_register(nua, profile, nh, sip, REG_INVITE, key, sizeof(key))) {
return;