diff options
author | dvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-06-02 17:55:35 +0000 |
---|---|---|
committer | dvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-06-02 17:55:35 +0000 |
commit | 8160bfb09a0e9259f6e60a6a85148c6bdcdd50d4 (patch) | |
tree | 0490b27d3fa0b4e634794bd649ffc5b7ef71ceda /channels/chan_iax2.c | |
parent | 61e3c796d87a6d2105251dc165fb98768db31a92 (diff) |
fixes issue with channels not going down after transfer
Iax2 currently does not support native bridging if the timeoutms value is set. We check for that in iax2_bridge, but then set timeoutms to 0 by default. If the timeoutms is not provided it is set to -1. By setting timeoutms to 0 it is processed causing a bridging retry loop.
(closes issue #15216)
Reported by: oxymoron
Tested by: dvossel
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@198824 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_iax2.c')
-rw-r--r-- | channels/chan_iax2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c index a6a56b4e0..beede16fe 100644 --- a/channels/chan_iax2.c +++ b/channels/chan_iax2.c @@ -4277,7 +4277,7 @@ static enum ast_bridge_result iax2_bridge(struct ast_channel *c0, struct ast_cha return AST_BRIDGE_FAILED; } - timeoutms = 0; + timeoutms = -1; lock_both(callno0, callno1); if (!iaxs[callno0] || !iaxs[callno1]) { |