summaryrefslogtreecommitdiff
path: root/channels/chan_sip.c
diff options
context:
space:
mode:
authorMichael L. Young <elgueromexicano@gmail.com>2012-11-02 17:27:24 +0000
committerMichael L. Young <elgueromexicano@gmail.com>2012-11-02 17:27:24 +0000
commit01526b2c3c54252f6f22386f079f157b26174360 (patch)
treee4964cf053c71dc20307efcb6e582699d1bc4eae /channels/chan_sip.c
parentd4a357b82ffd55395813e88ff9d00e572ded389b (diff)
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 ........ Merged revisions 375601 from http://svn.asterisk.org/svn/asterisk/branches/10 ........ Merged revisions 375613 from http://svn.asterisk.org/svn/asterisk/branches/11 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@375614 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_sip.c')
-rw-r--r--channels/chan_sip.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 54e43e505..9059669f0 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -9937,6 +9937,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)) {