aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_misdn.c
diff options
context:
space:
mode:
authorrmudgett <rmudgett@f38db490-d61c-443f-a65b-d21fe96a405b>2009-04-29 21:07:06 +0000
committerrmudgett <rmudgett@f38db490-d61c-443f-a65b-d21fe96a405b>2009-04-29 21:07:06 +0000
commit46a59c62462f3b23c2ce265c95b88115052acbd6 (patch)
treec0ecee9b05bd3edaf7c0eaf6a3dd93cce3db7de4 /channels/chan_misdn.c
parent8fc2c0f7245703d3dde31d7fa035f3f28c82daeb (diff)
Outgoing PTP redirected calls did not wait for the COLR from the redirected-to party.
For outgoing PTP redirected calls, you now need to use the inhibit(i) option on all of the REDIRECTING statements before dialing the redirected-to party. You still have to set the REDIRECTING(to-xxx,i) and the REDIRECTING(from-xxx,i) values. The PTP call will update the redirecting-to presentation when it becomes available and queue the redirecting update to the calling channel. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@191175 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_misdn.c')
-rw-r--r--channels/chan_misdn.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/channels/chan_misdn.c b/channels/chan_misdn.c
index 63b3271fc..4f2a6bf7d 100644
--- a/channels/chan_misdn.c
+++ b/channels/chan_misdn.c
@@ -6386,6 +6386,12 @@ static int misdn_call(struct ast_channel *ast, char *dest, int timeout)
newbc->fac_out.u.DivertingLegInformation2.OriginalCalledPresent = 1;
newbc->fac_out.u.DivertingLegInformation2.OriginalCalled.Type = 2;/* numberNotAvailableDueToInterworking */
}
+
+ /*
+ * Expect a DivertingLegInformation3 to update the COLR of the
+ * redirecting-to party we are attempting to call now.
+ */
+ newbc->div_leg_3_rx_wanted = 1;
}
#endif /* defined(AST_MISDN_ENHANCEMENTS) */