]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
manual update
authorKevin P. Fleming <kpfleming@digium.com>
Thu, 14 Dec 2006 13:18:15 +0000 (13:18 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Thu, 14 Dec 2006 13:18:15 +0000 (13:18 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2-netsec@48469 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channel.c

index 539b3d9c163aa3fd050662f79c49847a795092df..4779bf8d90792fb37ee33263d2a6d309255cba92 100644 (file)
--- a/channel.c
+++ b/channel.c
@@ -39,7 +39,7 @@
 #include <zaptel.h>
 #endif /* __linux__ */
 #ifndef ZT_TIMERPING
-#error "You need newer zaptel!  Please cvs update zaptel"
+#error "You need newer zaptel!  Please svn update zaptel"
 #endif
 #endif
 
@@ -3351,7 +3351,10 @@ static enum ast_bridge_result ast_generic_bridge(struct ast_channel *c0, struct
                if (bridge_end.tv_sec) {
                        to = ast_tvdiff_ms(bridge_end, ast_tvnow());
                        if (to <= 0) {
-                               res = AST_BRIDGE_COMPLETE;
+                               if (config->timelimit)
+                                       res = AST_BRIDGE_RETRY;
+                               else
+                                       res = AST_BRIDGE_COMPLETE;
                                break;
                        }
                } else