summaryrefslogtreecommitdiff
path: root/channels/chan_sip.c
diff options
context:
space:
mode:
authorMark Michelson <mmichelson@digium.com>2009-03-20 16:25:17 +0000
committerMark Michelson <mmichelson@digium.com>2009-03-20 16:25:17 +0000
commit7ed635498940df1eb4d575c7fc94f410b729b95c (patch)
tree445d932877e34556362ae2a5686748abc217b08a /channels/chan_sip.c
parent33c3fce71a7a27f9c304b852b27f878478702e11 (diff)
Fix chan_sip so it builds.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@183555 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_sip.c')
-rw-r--r--channels/chan_sip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index ef745aecb..0266070c9 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -5841,7 +5841,7 @@ static int sip_write(struct ast_channel *ast, struct ast_frame *frame)
if (p) {
sip_pvt_lock(p);
if (p->red) {
- red_buffer_t140(p->trtp, frame);
+ ast_red_buffer_t140(p->trtp, frame);
} else {
if (p->trtp) {
/* Activate text early media */
@@ -8066,7 +8066,7 @@ static int process_sdp(struct sip_pvt *p, struct sip_request *req, int t38action
if (p->jointcapability & AST_FORMAT_T140RED) {
p->red = 1;
- rtp_red_init(p->trtp, 300, red_data_pt, 2);
+ ast_rtp_red_init(p->trtp, 300, red_data_pt, 2);
} else {
p->red = 0;
}