[asterisk-commits] jpeeler: branch jpeeler/chan_dahdi14 r119421 - /team/jpeeler/chan_dahdi14/main/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri May 30 16:25:02 CDT 2008


Author: jpeeler
Date: Fri May 30 16:25:02 2008
New Revision: 119421

URL: http://svn.digium.com/view/asterisk?view=rev&rev=119421
Log:
Map zap to dahdi so existing dialplans can make calls

Modified:
    team/jpeeler/chan_dahdi14/main/channel.c

Modified: team/jpeeler/chan_dahdi14/main/channel.c
URL: http://svn.digium.com/view/asterisk/team/jpeeler/chan_dahdi14/main/channel.c?view=diff&rev=119421&r1=119420&r2=119421
==============================================================================
--- team/jpeeler/chan_dahdi14/main/channel.c (original)
+++ team/jpeeler/chan_dahdi14/main/channel.c Fri May 30 16:25:02 2008
@@ -2998,6 +2998,11 @@
 		return NULL;
 	}
 
+	if (!strcasecmp(type, "Zap")) {
+		type = "DAHDI";
+		ast_log(LOG_NOTICE, "Zap interface translated to DAHDI.\n");
+	}
+
 	AST_LIST_TRAVERSE(&backends, chan, list) {
 		if (strcasecmp(type, chan->tech->type))
 			continue;




More information about the asterisk-commits mailing list