[Asterisk-cvs] asterisk/apps app_rpt.c,1.34,1.35

jim at lists.digium.com jim at lists.digium.com
Sun Jul 3 20:52:51 CDT 2005


Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv19575

Modified Files:
	app_rpt.c 
Log Message:
Added fix so that wctdm interface will start out in correct state


Index: app_rpt.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_rpt.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- app_rpt.c	15 Jun 2005 03:50:29 -0000	1.34
+++ app_rpt.c	4 Jul 2005 00:52:18 -0000	1.35
@@ -3,7 +3,7 @@
  * Asterisk -- A telephony toolkit for Linux.
  *
  * Radio Repeater / Remote Base program 
- *  version 0.25 06/14/05
+ *  version 0.26 07/02/05
  * 
  * See http://www.zapatatelephony.org/app_rpt.html
  *
@@ -159,7 +159,7 @@
 #include "asterisk/say.h"
 #include "asterisk/localtime.h"
 
-static  char *tdesc = "Radio Repeater / Remote Base  version 0.25  06/14/2005";
+static  char *tdesc = "Radio Repeater / Remote Base  version 0.26  07/02/2005";
 
 static char *app = "Rpt";
 
@@ -3206,6 +3206,8 @@
 	{
 		myrpt->txchannel = myrpt->rxchannel;
 	}
+	ast_indicate(myrpt->txchannel,AST_CONTROL_RADIO_KEY);
+	ast_indicate(myrpt->txchannel,AST_CONTROL_RADIO_UNKEY);
 	/* allocate a pseudo-channel thru asterisk */
 	myrpt->pchannel = ast_request("zap",AST_FORMAT_SLINEAR,"pseudo",NULL);
 	if (!myrpt->pchannel)




More information about the svn-commits mailing list