Update res_pjsip_endpoint_identifier_constant.c to use reorganized endpoint structure.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@395779 65c4cc65-6c06-0410-ace0-fbb531ad65f3
changes/78/78/1
Mark Michelson 13 years ago
parent 735b30ad71
commit 127a6fc114

@ -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;
}

Loading…
Cancel
Save