summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Mudgett <rmudgett@digium.com>2009-04-29 21:07:06 +0000
committerRichard Mudgett <rmudgett@digium.com>2009-04-29 21:07:06 +0000
commitd35fd35ae3dfa0e6c5567711a30ec617dbc012fc (patch)
treec0ecee9b05bd3edaf7c0eaf6a3dd93cce3db7de4
parenta866a7590085a1f635ca92459c3917e5cded257a (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: https://origsvn.digium.com/svn/asterisk/trunk@191175 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r--CHANGES15
-rw-r--r--channels/chan_misdn.c6
2 files changed, 16 insertions, 5 deletions
diff --git a/CHANGES b/CHANGES
index 69debbd7c..8bfdb3cc9 100644
--- a/CHANGES
+++ b/CHANGES
@@ -72,11 +72,16 @@ mISDN channel driver (chan_misdn) changes
the CCBS/CCNR functionality.
* Added new dialplan function mISDN_CC which permits retrieval of various
values from an active call completion record.
- * For PTP, you should manually send the COLR for an incomming redirected
- call if the incoming call could or does experience further redirects.
- Just set the REDIRECTING(to-num,i) = ${EXTEN} and set the
- REDIRECTING(to-pres) to the COLR. A call has been redirected if the
- REDIRECTING(from-num) is not empty.
+ * For PTP, you should manually send the COLR of the redirected-to party
+ for an incomming redirected call if the incoming call could experience
+ further redirects. Just set the REDIRECTING(to-num,i) = ${EXTEN} and
+ set the REDIRECTING(to-pres) to the COLR. A call has been redirected
+ if the REDIRECTING(from-num) is not empty.
+ * 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 (COLR) when it becomes available.
thirdparty mISDN enhancements
-----------------------------
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) */