diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-02-06 17:59:23 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-02-06 17:59:23 +0000 |
commit | 02a58dd0faf72db65a85f75734068bc4bb721cd7 (patch) | |
tree | dd573ed1162f7bcd5744c4218772c9d8f76bce2e /channels | |
parent | 4bea08b20b2fc071c48e567e96189279b1f4b4a8 (diff) |
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/branches/1.4@102725 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_sip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index d02268e0a..b0ef9bc97 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -5416,7 +5416,7 @@ static int process_sdp(struct sip_pvt *p, struct sip_request *req) } 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; |