]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
After a parked call times out, allow the call back to the parker to time out.
authorRussell Bryant <russell@russellbryant.com>
Tue, 22 Apr 2008 18:29:56 +0000 (18:29 +0000)
committerRussell Bryant <russell@russellbryant.com>
Tue, 22 Apr 2008 18:29:56 +0000 (18:29 +0000)
(closes issue #10890)

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

res/res_features.c

index 7eb1b4c4c9914f1e7ef17905caae3c977c597cef..9c7fef79fa2d2428a69846184a89401c42622367 100644 (file)
@@ -1711,7 +1711,7 @@ static void *do_parking_thread(void *ignore)
                                        }
                                        if (con) {
                                                char returnexten[AST_MAX_EXTENSION];
-                                               snprintf(returnexten, sizeof(returnexten), "%s||t", peername);
+                                               snprintf(returnexten, sizeof(returnexten), "%s|30|t", peername);
                                                ast_add_extension2(con, 1, peername, 1, NULL, NULL, "Dial", strdup(returnexten), ast_free, registrar);
                                        }
                                        set_c_e_p(chan, parking_con_dial, peername, 1);