aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2008-04-14 14:54:17 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2008-04-14 14:54:17 +0000
commite35b3f65c81670f9def6cec0aa0ea1a7e0d2587f (patch)
tree874911ecd872fa488d9da4e95f50edf136c1e899 /channels
parent9e1b0685548debb282955281a7ea7d3c7d9fdd63 (diff)
Merged revisions 114104 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ................ r114104 | file | 2008-04-14 11:53:33 -0300 (Mon, 14 Apr 2008) | 12 lines 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: http://svn.digium.com/svn/asterisk/branches/1.6.0@114105 f38db490-d61c-443f-a65b-d21fe96a405b
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 e804745cd..da7bc424a 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -6848,7 +6848,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;