]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 375601 via svnmerge from
authorAutomerge script <automerge@asterisk.org>
Fri, 2 Nov 2012 17:23:10 +0000 (17:23 +0000)
committerAutomerge script <automerge@asterisk.org>
Fri, 2 Nov 2012 17:23:10 +0000 (17:23 +0000)
file:///srv/subversion/repos/asterisk/branches/10

................
  r375601 | elguero | 2012-11-02 12:19:33 -0500 (Fri, 02 Nov 2012) | 14 lines

  Fix Wrong Result In Debug Message For SDP Origin Processing

  While looking at some debug logs, I noticed that it was being reported that the
  SDP origin line was unsupported or failed.  Upon looking into this on my local
  machine, I found that I too was getting this debug message yet everything seemed
  to be getting processed properly.  What was discovered is, that, the variable to
  determine what is displayed in the debug message for the SDP line that was
  processed, was not being set for the origin line when the result was successful.

  This patch fixes this and was tested on local machine.
  ........

  Merged revisions 375594 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10-digiumphones@375612 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 501e437c5a4fdb50aa41cd242c7c645872af0150..f95191e1429e7bba5b39afd2e0aa6d5d73cb9032 100644 (file)
@@ -9506,6 +9506,7 @@ static int process_sdp(struct sip_pvt *p, struct sip_request *req, int t38action
                                res = (p->session_modify == FALSE) ? 0 : -1;
                                goto process_sdp_cleanup;
                        }
+                       processed = TRUE;
                        break;
                case 'c':
                        if (process_sdp_c(value, &sessionsa)) {