diff options
author | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-09-29 20:56:26 +0000 |
---|---|---|
committer | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-09-29 20:56:26 +0000 |
commit | e3d556380a1423cbbab17a2f610d28441401eab7 (patch) | |
tree | 5ff4cd3a1ef718e6aa345bb3e89efd71e0ad7246 /res | |
parent | 32c4a0bbf96e2c091add8e078339a5ac280c37ee (diff) |
Allow a manager originate to succeed on forwarded devices.
The timeout to wait for an answer was being set to 0 when a device forwarded to another
extension. We don't always need the timeout set like this, so make it an optional
parameter, and don't use it in this case.
ABE-2544
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@289338 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res')
-rw-r--r-- | res/res_features.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_features.c b/res/res_features.c index fcea7c566..98760ccd2 100644 --- a/res/res_features.c +++ b/res/res_features.c @@ -1505,7 +1505,7 @@ static struct ast_channel *ast_feature_request_and_dial(struct ast_channel *call if (chan && (chan == active_channel)) { if (!ast_strlen_zero(chan->call_forward)) { - if (!(chan = ast_call_forward(caller, chan, &to, format, NULL, outstate))) { + if (!(chan = ast_call_forward(caller, chan, NULL, format, NULL, outstate))) { return NULL; } continue; |