Explorar o código

sca: return true if no Contact header is found in an INVITE packet

- stop spurious log messages when receiving a 100 Trying with no Contact.
Andrew Mortensen %!s(int64=12) %!d(string=hai) anos
pai
achega
09dcd23537
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      modules/sca/sca_call_info.c

+ 1 - 1
modules/sca/sca_call_info.c

@@ -1444,7 +1444,7 @@ sca_call_info_invite_handler( sip_msg_t *msg, sca_call_info *call_info,
 	LM_DBG( "sca_call_info_invite_handler: Contact header is empty. "
 		"(From: %.*s To: %.*s)", STR_FMT( from_aor ),
 		 STR_FMT( to_aor ));
-	return( -1 );
+	return( 1 );
     }
 
     if ( msg->first_line.type == SIP_REQUEST ) {