From f63e1f68c77fbf23312236b00219cf9188b0ef1e Mon Sep 17 00:00:00 2001 From: jim Date: Mon, 4 Jul 2005 00:52:18 +0000 Subject: 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 --- apps/app_rpt.c | 6 ++++-- 1 file 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) -- cgit v1.2.3