mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 04:30:28 +00:00
After a parked call times out, allow the call back to the parker to time out.
(closes issue #10890) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@114542 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1711,7 +1711,7 @@ static void *do_parking_thread(void *ignore)
|
|||||||
}
|
}
|
||||||
if (con) {
|
if (con) {
|
||||||
char returnexten[AST_MAX_EXTENSION];
|
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);
|
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);
|
set_c_e_p(chan, parking_con_dial, peername, 1);
|
||||||
|
Reference in New Issue
Block a user