[asterisk-commits] rmudgett: trunk r191175 - in /trunk: CHANGES channels/chan_misdn.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Apr 29 16:07:10 CDT 2009


Author: rmudgett
Date: Wed Apr 29 16:07:06 2009
New Revision: 191175

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=191175
Log:
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.

Modified:
    trunk/CHANGES
    trunk/channels/chan_misdn.c

Modified: trunk/CHANGES
URL: http://svn.digium.com/svn-view/asterisk/trunk/CHANGES?view=diff&rev=191175&r1=191174&r2=191175
==============================================================================
--- trunk/CHANGES (original)
+++ trunk/CHANGES Wed Apr 29 16:07:06 2009
@@ -72,11 +72,16 @@
     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
 -----------------------------

Modified: trunk/channels/chan_misdn.c
URL: http://svn.digium.com/svn-view/asterisk/trunk/channels/chan_misdn.c?view=diff&rev=191175&r1=191174&r2=191175
==============================================================================
--- trunk/channels/chan_misdn.c (original)
+++ trunk/channels/chan_misdn.c Wed Apr 29 16:07:06 2009
@@ -6386,6 +6386,12 @@
 				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) */
 




More information about the asterisk-commits mailing list