[svn-commits] file: branch 1.2 r44580 - /branches/1.2/file.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Fri Oct 6 09:52:15 MST 2006


Author: file
Date: Fri Oct  6 11:52:14 2006
New Revision: 44580

URL: http://svn.digium.com/view/asterisk?rev=44580&view=rev
Log:
Even more frames to treat as though the remote side disappeared (issue #8097 reported by eldadran)

Modified:
    branches/1.2/file.c

Modified: branches/1.2/file.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/file.c?rev=44580&r1=44579&r2=44580&view=diff
==============================================================================
--- branches/1.2/file.c (original)
+++ branches/1.2/file.c Fri Oct  6 11:52:14 2006
@@ -1029,6 +1029,7 @@
 				switch(fr->subclass) {
 				case AST_CONTROL_HANGUP:
 				case AST_CONTROL_BUSY:
+				case AST_CONTROL_CONGESTION:
 					ast_frfree(fr);
 					return -1;
 				case AST_CONTROL_RINGING:
@@ -1097,6 +1098,8 @@
 			case AST_FRAME_CONTROL:
 				switch(fr->subclass) {
 				case AST_CONTROL_HANGUP:
+				case AST_CONTROL_BUSY:
+				case AST_CONTROL_CONGESTION:
 					ast_frfree(fr);
 					return -1;
 				case AST_CONTROL_RINGING:
@@ -1166,6 +1169,8 @@
 			case AST_FRAME_CONTROL:
 				switch(fr->subclass) {
 				case AST_CONTROL_HANGUP:
+				case AST_CONTROL_BUSY:
+				case AST_CONTROL_CONGESTION:
 					ast_frfree(fr);
 					return -1;
 				case AST_CONTROL_RINGING:
@@ -1231,6 +1236,8 @@
 			case AST_FRAME_CONTROL:
 				switch(fr->subclass) {
 				case AST_CONTROL_HANGUP:
+				case AST_CONTROL_BUSY:
+				case AST_CONTROL_CONGESTION:
 					ast_frfree(fr);
 					return -1;
 				case AST_CONTROL_RINGING:



More information about the svn-commits mailing list