summaryrefslogtreecommitdiff
path: root/channels
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2008-04-14 14:53:33 +0000
committerJoshua Colp <jcolp@digium.com>2008-04-14 14:53:33 +0000
commitc5d0ca23f07e20ae4d31cce656747ad96b6ae193 (patch)
tree2509225e7b72cfcfbc695a668be7c4b2a8107ba5 /channels
parent5fff9c73046bc365db4387479337ad597b423513 (diff)
Merged revisions 114103 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r114103 | file | 2008-04-14 11:52:46 -0300 (Mon, 14 Apr 2008) | 4 lines It is possible for the remote side to say they want T38 but not give any capabilities. (closes issue #12414) Reported by: MVF ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@114104 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_sip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index cf758c49e..52bca55bf 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -6896,7 +6896,7 @@ static int process_sdp(struct sip_pvt *p, struct sip_request *req, int t38action
}
if (!newjointcapability) {
/* If T.38 was not negotiated either, totally bail out... */
- if (!p->t38.jointcapability || !p->t38.peercapability) {
+ if (!p->t38.jointcapability || !udptlportno) {
ast_log(LOG_NOTICE, "No compatible codecs, not accepting this offer!\n");
/* Do NOT Change current setting */
return -1;