mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-10 18:57:45 +00:00
fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4107 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
ea0a65d5ff
commit
9c2332830c
@ -4143,7 +4143,12 @@ static void sip_i_invite(nua_t *nua,
|
|||||||
char *from_port;
|
char *from_port;
|
||||||
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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user