aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2008-02-06 18:01:15 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2008-02-06 18:01:15 +0000
commitf7101e5e1d50c78390ed32d6e85d2b6d49fc874a (patch)
tree83ea3e83ada6b8a8631d0e1dd3ea19a9b5e161ef /channels
parent3074bbe01dea786e952041bcb7ec85366eb6aa42 (diff)
Merged revisions 102725 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r102725 | file | 2008-02-06 13:59:23 -0400 (Wed, 06 Feb 2008) | 2 lines Only consider a T.38-only INVITE compatible if we have both a joint capability between us and them and if they provided T.38. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@102726 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 322f4c127..f0c593af4 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -6653,7 +6653,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) {
+ if (!p->t38.jointcapability || !p->t38.peercapability) {
ast_log(LOG_NOTICE, "No compatible codecs, not accepting this offer!\n");
/* Do NOT Change current setting */
return -1;