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/branches/1.4@114103 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Joshua Colp
2008-04-14 14:52:46 +00:00
parent 19b8841503
commit 1e771acf2e

View File

@@ -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;