summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorMark Michelson <mmichelson@digium.com>2013-07-30 19:10:30 +0000
committerMark Michelson <mmichelson@digium.com>2013-07-30 19:10:30 +0000
commit127a6fc1144b777a59a8db16491a4a5dd929dd33 (patch)
treed9c4a6f408045b4966cf43ffc2e07734f6bc6f24 /res
parent735b30ad71110c2a51404cb8686bbe3cf14b630c (diff)
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
Diffstat (limited to 'res')
-rw-r--r--res/res_pjsip_endpoint_identifier_constant.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_pjsip_endpoint_identifier_constant.c b/res/res_pjsip_endpoint_identifier_constant.c
index 2430dc9e4..18d57b0b7 100644
--- a/res/res_pjsip_endpoint_identifier_constant.c
+++ b/res/res_pjsip_endpoint_identifier_constant.c
@@ -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;
}