aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_rpt.c
diff options
context:
space:
mode:
authorjim <jim@f38db490-d61c-443f-a65b-d21fe96a405b>2005-07-04 00:52:18 +0000
committerjim <jim@f38db490-d61c-443f-a65b-d21fe96a405b>2005-07-04 00:52:18 +0000
commitf63e1f68c77fbf23312236b00219cf9188b0ef1e (patch)
treefbd64788948451c7d8395faf2cf24b019ca09aff /apps/app_rpt.c
parentc1f860cf9880c7e81e366880cef07d70a074cce5 (diff)
Added fix so that wctdm interface will start out in correct state
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6018 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_rpt.c')
-rwxr-xr-xapps/app_rpt.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/app_rpt.c b/apps/app_rpt.c
index ebd37632e..2fd1f9c22 100755
--- a/apps/app_rpt.c
+++ b/apps/app_rpt.c
@@ -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 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#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 @@ char cmd[MAXDTMF+1] = "";
{
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)