[asterisk-commits] jpeeler: branch jpeeler/chan_dahdi r119357 - /team/jpeeler/chan_dahdi/apps/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri May 30 14:55:42 CDT 2008


Author: jpeeler
Date: Fri May 30 14:55:41 2008
New Revision: 119357

URL: http://svn.digium.com/view/asterisk?view=rev&rev=119357
Log:
missed some Zap strings

Modified:
    team/jpeeler/chan_dahdi/apps/app_rpt.c

Modified: team/jpeeler/chan_dahdi/apps/app_rpt.c
URL: http://svn.digium.com/view/asterisk/team/jpeeler/chan_dahdi/apps/app_rpt.c?view=diff&rev=119357&r1=119356&r2=119357
==============================================================================
--- team/jpeeler/chan_dahdi/apps/app_rpt.c (original)
+++ team/jpeeler/chan_dahdi/apps/app_rpt.c Fri May 30 14:55:41 2008
@@ -10783,7 +10783,7 @@
 	*tele++ = 0;
 	myrpt->rxchannel = ast_request(tmpstr,AST_FORMAT_SLINEAR,tele,NULL);
 	myrpt->dahdirxchannel = NULL;
-	if (!strcasecmp(tmpstr,"Zap"))
+	if (!strcasecmp(tmpstr,"DAHDI"))
 		myrpt->dahdirxchannel = myrpt->rxchannel;
 	if (myrpt->rxchannel)
 	{
@@ -10840,7 +10840,7 @@
 		}
 		*tele++ = 0;
 		myrpt->txchannel = ast_request(tmpstr,AST_FORMAT_SLINEAR,tele,NULL);
-		if (!strcasecmp(tmpstr,"Zap"))
+		if (!strcasecmp(tmpstr,"DAHDI"))
 			myrpt->dahditxchannel = myrpt->txchannel;
 		if (myrpt->txchannel)
 		{
@@ -10889,7 +10889,7 @@
 	else
 	{
 		myrpt->txchannel = myrpt->rxchannel;
-		if (!strncasecmp(myrpt->rxchanname,"Zap",3))
+		if (!strncasecmp(myrpt->rxchanname,"DAHDI",3))
 			myrpt->dahditxchannel = myrpt->txchannel;
 	}
 	ast_indicate(myrpt->txchannel,AST_CONTROL_RADIO_KEY);
@@ -13761,7 +13761,7 @@
 	*tele++ = 0;
 	myrpt->rxchannel = ast_request(myrpt->rxchanname,AST_FORMAT_SLINEAR,tele,NULL);
 	myrpt->dahdirxchannel = NULL;
-	if (!strcasecmp(myrpt->rxchanname,"Zap"))
+	if (!strcasecmp(myrpt->rxchanname,"DAHDI"))
 		myrpt->dahdirxchannel = myrpt->rxchannel;
 	if (myrpt->rxchannel)
 	{
@@ -13803,7 +13803,7 @@
 		}
 		*tele++ = 0;
 		myrpt->txchannel = ast_request(myrpt->txchanname,AST_FORMAT_SLINEAR,tele,NULL);
-		if (!strncasecmp(myrpt->txchanname,"Zap",3))
+		if (!strncasecmp(myrpt->txchanname,"DAHDI",3))
 			myrpt->dahditxchannel = myrpt->txchannel;
 		if (myrpt->txchannel)
 		{
@@ -13837,7 +13837,7 @@
 	else
 	{
 		myrpt->txchannel = myrpt->rxchannel;
-		if (!strncasecmp(myrpt->rxchanname,"Zap",3))
+		if (!strncasecmp(myrpt->rxchanname,"DAHDI",3))
 			myrpt->dahditxchannel = myrpt->rxchannel;
 	}
 	/* allocate a pseudo-channel thru asterisk */




More information about the asterisk-commits mailing list