[asterisk-commits] rmudgett: branch rmudgett/dahdi_deflection r224029 - /team/rmudgett/dahdi_def...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Oct 13 19:30:11 CDT 2009
Author: rmudgett
Date: Tue Oct 13 19:30:08 2009
New Revision: 224029
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=224029
Log:
More stuff to transfer when the B channel changes.
Modified:
team/rmudgett/dahdi_deflection/channels/sig_pri.c
Modified: team/rmudgett/dahdi_deflection/channels/sig_pri.c
URL: http://svnview.digium.com/svn/asterisk/team/rmudgett/dahdi_deflection/channels/sig_pri.c?view=diff&rev=224029&r1=224028&r2=224029
==============================================================================
--- team/rmudgett/dahdi_deflection/channels/sig_pri.c (original)
+++ team/rmudgett/dahdi_deflection/channels/sig_pri.c Tue Oct 13 19:30:08 2009
@@ -780,6 +780,14 @@
old_chan->setup_ack = 0;
old_chan->outgoing = 0;
old_chan->digital = 0;
+
+ /* More stuff to transfer to the new channel. */
+#if defined(HAVE_PRI_REVERSE_CHARGE)
+ new_chan->reverse_charging_indication = old_chan->reverse_charging_indication;
+#endif /* defined(HAVE_PRI_REVERSE_CHARGE) */
+#if defined(HAVE_PRI_SETUP_KEYPAD)
+ strcpy(new_chan->keypad_digits, old_chan->keypad_digits);
+#endif /* defined(HAVE_PRI_SETUP_KEYPAD) */
if (new_chan->no_b_channel) {
/* Copy the real channel configuration to the no B channel interface. */
More information about the asterisk-commits
mailing list