New SIP Channel driver: Always Auth Reject
[asterisk/asterisk.git] / res / res_sip_outbound_authenticator_digest.c
index d4ce7d6..13dc1f2 100644 (file)
@@ -56,6 +56,9 @@ static int set_outbound_authentication_credentials(pjsip_auth_clt_sess *auth_ses
                        pj_cstr(&auth_creds[i].data, auths[i]->md5_creds);
                        auth_creds[i].data_type = PJSIP_CRED_DATA_DIGEST;
                        break;
+               case AST_SIP_AUTH_TYPE_ARTIFICIAL:
+                       ast_log(LOG_ERROR, "Trying to set artificial outbound auth credentials shouldn't happen.\n");
+                       break;
                }
        }