Update res_pjsip_endpoint_identifier_constant.c to use reorganized endpoint structure.
authorMark Michelson <mmichelson@digium.com>
Tue, 30 Jul 2013 19:10:30 +0000 (19:10 +0000)
committerMark Michelson <mmichelson@digium.com>
Tue, 30 Jul 2013 19:10:30 +0000 (19:10 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@395779 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/res_pjsip_endpoint_identifier_constant.c

index 2430dc9..18d57b0 100644 (file)
@@ -42,7 +42,7 @@ static struct ast_sip_endpoint *constant_identify(pjsip_rx_data *rdata)
        if (!endpoint) {
                return NULL;
        }
-       ast_parse_allow_disallow(&endpoint->prefs, endpoint->codecs, "ulaw", 1);
+       ast_parse_allow_disallow(&endpoint->media.prefs, endpoint->media.codecs, "ulaw", 1);
        return endpoint;
 }