[asterisk-commits] murf: branch 1.6.1 r159375 - in /branches/1.6.1: ./ channels/ main/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Nov 25 17:27:09 CST 2008
Author: murf
Date: Tue Nov 25 17:27:08 2008
New Revision: 159375
URL: http://svn.digium.com/view/asterisk?view=rev&rev=159375
Log:
Merged revisions 159360 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
................
r159360 | murf | 2008-11-25 16:03:01 -0700 (Tue, 25 Nov 2008) | 23 lines
Merged revisions 159316 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r159316 | murf | 2008-11-25 15:41:10 -0700 (Tue, 25 Nov 2008) | 15 lines
(closes issue #12694)
Reported by: yraber
Patches:
12694.2nd.diff uploaded by murf (license 17)
Tested by: murf, laurav
Thanks to file (Joshua Colp) for his IAX fix.
the change to cdr.c allows no-answer to percolate
up into CDR's, and feels like the right place to
locate this fix; if BUSY is done here, no-answer
should be, too.
........
................
Modified:
branches/1.6.1/ (props changed)
branches/1.6.1/channels/chan_iax2.c
branches/1.6.1/main/cdr.c
Propchange: branches/1.6.1/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.
Modified: branches/1.6.1/channels/chan_iax2.c
URL: http://svn.digium.com/view/asterisk/branches/1.6.1/channels/chan_iax2.c?view=diff&rev=159375&r1=159374&r2=159375
==============================================================================
--- branches/1.6.1/channels/chan_iax2.c (original)
+++ branches/1.6.1/channels/chan_iax2.c Tue Nov 25 17:27:08 2008
@@ -8548,6 +8548,13 @@
if (f.subclass != iaxs[fr->callno]->videoformat) {
ast_debug(1, "Ooh, video format changed to %d\n", f.subclass & ~0x1);
iaxs[fr->callno]->videoformat = f.subclass & ~0x1;
+ }
+ }
+ if (f.frametype == AST_FRAME_CONTROL && iaxs[fr->callno]->owner) {
+ if (f.subclass == AST_CONTROL_BUSY) {
+ iaxs[fr->callno]->owner->hangupcause = AST_CAUSE_BUSY;
+ } else if (f.subclass == AST_CONTROL_CONGESTION) {
+ iaxs[fr->callno]->owner->hangupcause = AST_CAUSE_CONGESTION;
}
}
if (f.frametype == AST_FRAME_IAX) {
Modified: branches/1.6.1/main/cdr.c
URL: http://svn.digium.com/view/asterisk/branches/1.6.1/main/cdr.c?view=diff&rev=159375&r1=159374&r2=159375
==============================================================================
--- branches/1.6.1/main/cdr.c (original)
+++ branches/1.6.1/main/cdr.c Tue Nov 25 17:27:08 2008
@@ -754,6 +754,9 @@
case AST_CAUSE_BUSY:
ast_cdr_busy(cdr);
break;
+ case AST_CAUSE_NO_ANSWER:
+ ast_cdr_noanswer(cdr);
+ break;
case AST_CAUSE_NORMAL:
break;
default:
More information about the asterisk-commits
mailing list