From: Jim Dixon Date: Mon, 4 Jul 2005 00:52:18 +0000 (+0000) Subject: Added fix so that wctdm interface will start out in correct state X-Git-Tag: 1.2.0-beta1~376 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4cac951c1ceb24e5e96bcfdbd626a43cf0d044a3;p=thirdparty%2Fasterisk.git 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 --- diff --git a/apps/app_rpt.c b/apps/app_rpt.c index ebd37632e6..2fd1f9c224 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)