diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-04-14 14:52:46 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-04-14 14:52:46 +0000 |
commit | aa892cd0802282749dc31d2e800e340a188fc8d2 (patch) | |
tree | 26e9da2f5035fbe74609f80a03703ae4d30a26a5 /channels | |
parent | 269c96c0926f97dac8ae0a994c891b45d6b3321b (diff) |
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.4@114103 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 c21815e23..03f5ae091 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -5489,7 +5489,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 || !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; |