diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-06-07 14:21:59 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-06-07 14:21:59 +0000 |
commit | 01c77f4b152937156c2524f14aa82475a2c13a7f (patch) | |
tree | ad5489699d053c2bb4f4fa4d17aecbf4c6cb94cd /apps | |
parent | d6618ca7a3b91846ffc65297848157aeadd06859 (diff) |
Merged revisions 68070 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r68070 | file | 2007-06-07 10:19:40 -0400 (Thu, 07 Jun 2007) | 2 lines
Allow the 'g' option to work if used with the 'S' option. (issue #9888 reported by gasparz)
........
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@68071 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_dial.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c index 67449aee9..c18858021 100644 --- a/apps/app_dial.c +++ b/apps/app_dial.c @@ -1685,8 +1685,11 @@ out: if (option_debug) ast_log(LOG_DEBUG, "Exiting with DIALSTATUS=%s.\n", status); - if ((ast_test_flag(peerflags, OPT_GO_ON)) && (!chan->_softhangup) && (res != AST_PBX_KEEPALIVE)) + if ((ast_test_flag(peerflags, OPT_GO_ON)) && (!chan->_softhangup) && (res != AST_PBX_KEEPALIVE)) { + if (calldurationlimit) + chan->whentohangup = 0; res = 0; + } done: ast_module_user_remove(u); |