diff options
author | Olle Johansson <oej@edvina.net> | 2006-06-14 11:40:31 +0000 |
---|---|---|
committer | Olle Johansson <oej@edvina.net> | 2006-06-14 11:40:31 +0000 |
commit | 4b6d6a1a0b47ba1f849b27c54cb55d4d888ef214 (patch) | |
tree | 975c25200733e15bfefc4d378430a77431392f09 /channels/chan_sip.c | |
parent | 3aa0f7897f032e4cb26a861925999a0623a21760 (diff) |
Formatting fixes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34065 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_sip.c')
-rw-r--r-- | channels/chan_sip.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 49b8aac87..be92be000 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -3887,7 +3887,7 @@ static struct ast_frame *sip_read(struct ast_channel *ast) { struct ast_frame *fr; struct sip_pvt *p = ast->tech_pvt; - int faxdetected = 0; + int faxdetected = FALSE; ast_mutex_lock(&p->lock); fr = sip_rtp_read(ast, p, &faxdetected); @@ -4024,9 +4024,8 @@ static struct sip_pvt *sip_alloc(ast_string_field callid, struct sockaddr_in *si ast_rtp_settos(p->vrtp, global_tos_video); ast_rtp_setdtmf(p->vrtp, 0); } - if (p->udptl) { + if (p->udptl) ast_udptl_settos(p->udptl, global_tos_audio); - } p->rtptimeout = global_rtptimeout; p->rtpholdtimeout = global_rtpholdtimeout; p->rtpkeepalive = global_rtpkeepalive; |