]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
res_pjsip_outbound_authenticator_digest: Add missing outbound authenticator callback. 17/317/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:42 +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 aa35fbac053981067d6868fe35a7e9c90f733eeb..8616b6caf324d4a21199b1a3adf4d1c5655f431e 100644 (file)
@@ -158,6 +158,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)