[asterisk-commits] dhubbard: branch dhubbard/bbfcfm r214818 - /team/dhubbard/bbfcfm/channels/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Sat Aug 29 20:09:57 CDT 2009
Author: dhubbard
Date: Sat Aug 29 20:09:51 2009
New Revision: 214818
URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=214818
Log:
add PRI service message support for the 'national' switchtype
Modified:
team/dhubbard/bbfcfm/channels/chan_dahdi.c
Modified: team/dhubbard/bbfcfm/channels/chan_dahdi.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/dhubbard/bbfcfm/channels/chan_dahdi.c?view=diff&rev=214818&r1=214817&r2=214818
==============================================================================
--- team/dhubbard/bbfcfm/channels/chan_dahdi.c (original)
+++ team/dhubbard/bbfcfm/channels/chan_dahdi.c Sat Aug 29 20:09:51 2009
@@ -12827,7 +12827,7 @@
while (tmp) {
if (tmp->pri && tmp->channel == channel) {
if (!tmp->pri->enable_service_message_support) {
- ast_cli(fd, "\n\tThis operation has not been enabled in chan_dahdi.conf, set 'service_message_support=yes' to use this operation.\n\tNote only 4ESS and 5ESS switch types are supported.\n\n");
+ ast_cli(fd, "\n\tThis operation has not been enabled in chan_dahdi.conf, set 'service_message_support=yes' to use this operation.\n\tNote only 4ESS, 5ESS, and NATIONAL switch types are supported.\n\n");
return CLI_SUCCESS;
}
why = -1;
@@ -15688,7 +15688,9 @@
#ifdef HAVE_PRI_SERVICE_MESSAGES
} else if (!strcasecmp(v->name, "service_message_support")) {
/* assuming switchtype for this channel group has been configured already */
- if ((confp->pri.pri.switchtype == PRI_SWITCH_ATT4ESS || confp->pri.pri.switchtype == PRI_SWITCH_LUCENT5E) && ast_true(v->value))
+ if ((confp->pri.pri.switchtype == PRI_SWITCH_ATT4ESS
+ || confp->pri.pri.switchtype == PRI_SWITCH_LUCENT5E
+ || confp->pri.pri.switchtype == PRI_SWITCH_NI2) && ast_true(v->value))
confp->pri.pri.enable_service_message_support = 1;
else
confp->pri.pri.enable_service_message_support = 0;
More information about the asterisk-commits
mailing list