Skip to content
Snippets Groups Projects
Commit 7ed63549 authored by Mark Michelson's avatar Mark Michelson
Browse files

Fix chan_sip so it builds.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@183555 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 33c3fce7
Branches
Tags
No related merge requests found
...@@ -5841,7 +5841,7 @@ static int sip_write(struct ast_channel *ast, struct ast_frame *frame) ...@@ -5841,7 +5841,7 @@ static int sip_write(struct ast_channel *ast, struct ast_frame *frame)
if (p) { if (p) {
sip_pvt_lock(p); sip_pvt_lock(p);
if (p->red) { if (p->red) {
red_buffer_t140(p->trtp, frame); ast_red_buffer_t140(p->trtp, frame);
} else { } else {
if (p->trtp) { if (p->trtp) {
/* Activate text early media */ /* Activate text early media */
...@@ -8066,7 +8066,7 @@ static int process_sdp(struct sip_pvt *p, struct sip_request *req, int t38action ...@@ -8066,7 +8066,7 @@ static int process_sdp(struct sip_pvt *p, struct sip_request *req, int t38action
   
if (p->jointcapability & AST_FORMAT_T140RED) { if (p->jointcapability & AST_FORMAT_T140RED) {
p->red = 1; 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 { } else {
p->red = 0; p->red = 0;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment