aboutsummaryrefslogtreecommitdiffstats
path: root/main/features.c
diff options
context:
space:
mode:
authorqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2010-09-29 21:03:47 +0000
committerqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2010-09-29 21:03:47 +0000
commit6a49bde78670f909d414a6f5053832982f83eea2 (patch)
tree93a81d5463466f76267a69216474ea7ba20c4318 /main/features.c
parent21298d8d10753cf0b7bc210ccbb30ae86c961a98 (diff)
Merged revisions 289338 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r289338 | qwell | 2010-09-29 15:56:26 -0500 (Wed, 29 Sep 2010) | 8 lines 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.6.2@289339 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/features.c')
-rw-r--r--main/features.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/features.c b/main/features.c
index fd78a5a29..1a81a1cba 100644
--- a/main/features.c
+++ b/main/features.c
@@ -2277,7 +2277,7 @@ static struct ast_channel *feature_request_and_dial(struct ast_channel *caller,
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;