[asterisk-commits] rmudgett: branch rmudgett/bch_shift_v1.6.2 r311742 - /team/rmudgett/bch_shift...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Mar 28 12:49:01 CDT 2011
Author: rmudgett
Date: Mon Mar 28 12:48:57 2011
New Revision: 311742
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=311742
Log:
Add some consideration for GR-303 on outgoing calls.
Modified:
team/rmudgett/bch_shift_v1.6.2/channels/chan_dahdi.c
Modified: team/rmudgett/bch_shift_v1.6.2/channels/chan_dahdi.c
URL: http://svnview.digium.com/svn/asterisk/team/rmudgett/bch_shift_v1.6.2/channels/chan_dahdi.c?view=diff&rev=311742&r1=311741&r2=311742
==============================================================================
--- team/rmudgett/bch_shift_v1.6.2/channels/chan_dahdi.c (original)
+++ team/rmudgett/bch_shift_v1.6.2/channels/chan_dahdi.c Mon Mar 28 12:48:57 2011
@@ -11617,6 +11617,8 @@
}
#if defined(HAVE_PRI)
switch (p->sig) {
+ case SIG_GR303FXOKS:
+ case SIG_GR303FXSKS:
case SIG_PRI_LIB_HANDLE_CASES:
/*
* We already have the B channel reserved for this call. We
@@ -11635,17 +11637,11 @@
if (!tmp) {
p->outgoing = 0;
#if defined(HAVE_PRI)
- switch (p->sig) {
- case SIG_PRI_LIB_HANDLE_CASES:
- /*
- * This should be the last thing to clear when we are done with
- * the channel.
- */
- p->allocated = 0;
- break;
- default:
- break;
- }
+ /*
+ * This should be the last thing to clear when we are done with
+ * the channel.
+ */
+ p->allocated = 0;
#endif /* defined(HAVE_PRI) */
}
#ifdef HAVE_PRI
More information about the asterisk-commits
mailing list