[Asterisk-cvs] asterisk/apps app_rpt.c,1.8,1.9
jim at lists.digium.com
jim at lists.digium.com
Wed Jun 23 10:51:51 CDT 2004
Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv29027/apps
Modified Files:
app_rpt.c
Log Message:
Fixed bug in remote base part of app_rpt, and updated rpt.conf.sample to
reflect new changes in operation.
Index: app_rpt.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_rpt.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- app_rpt.c 22 Jun 2004 19:32:52 -0000 1.8
+++ app_rpt.c 23 Jun 2004 14:37:46 -0000 1.9
@@ -3,7 +3,7 @@
* Asterisk -- A telephony toolkit for Linux.
*
* Radio Repeater / Remote Base program
- * version 0.4 6/19/04
+ * version 0.5 6/22/04
*
* Copyright (C) 2002-2004, Jim Dixon, WB6NIL
*
@@ -1977,8 +1977,8 @@
myrpt->remotetx = 0;
myrpt->remoteon = 1;
ast_mutex_unlock(&myrpt->lock);
- ast_set_write_format(chan, ast_best_codec(chan->nativeformats));
- ast_set_read_format(chan, ast_best_codec(chan->nativeformats));
+ ast_set_write_format(chan, AST_FORMAT_SLINEAR);
+ ast_set_read_format(chan, AST_FORMAT_SLINEAR);
/* if we are on 2w loop and are a remote, turn EC on */
if (myrpt->remote && (myrpt->rxchannel == myrpt->txchannel))
{
More information about the svn-commits
mailing list