summaryrefslogtreecommitdiff
path: root/apps/app_rpt.c
diff options
context:
space:
mode:
authorJim Dixon <telesistant@hotmail.com>2005-07-04 00:52:18 +0000
committerJim Dixon <telesistant@hotmail.com>2005-07-04 00:52:18 +0000
commit4cac951c1ceb24e5e96bcfdbd626a43cf0d044a3 (patch)
treefbd64788948451c7d8395faf2cf24b019ca09aff /apps/app_rpt.c
parentde876769750b3207aa7ef8435ca5bc01d942688f (diff)
Added fix so that wctdm interface will start out in correct state
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6018 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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)