]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
res_pjsip_outbound_authenticator_digest: Add missing outbound authenticator callback. 18/318/2
authorMark Michelson <mmichelson@digium.com>
Thu, 30 Apr 2015 19:09:32 +0000 (14:09 -0500)
committerJoshua Colp <jcolp@digium.com>
Thu, 30 Apr 2015 19:13:09 +0000 (14:13 -0500)
The Asterisk 13 version of the fix for outbound registration was missing
a key component that set the outbound authenticator's callback that
creates an authenticated request based on an old request. This was
picked up by some outbound registration tests failing in the testsuite.

Change-Id: I5ca9379698c606da36bc38eaffccedaf64211ce3

res/res_pjsip_outbound_authenticator_digest.c

index 8ad1899402ce842eb258027e869a38ca8b6e4c31..44a8f35438a8299c72048a4d177a12b233de53e9 100644 (file)
@@ -148,6 +148,7 @@ static int digest_create_request_with_auth(const struct ast_sip_auth_vector *aut
 
 static struct ast_sip_outbound_authenticator digest_authenticator = {
        .create_request_with_auth = digest_create_request_with_auth,
+       .create_request_with_auth_from_old = digest_create_request_with_auth_from_old,
 };
 
 static int load_module(void)