[Asterisk-cvs] asterisk/apps app_rpt.c,1.38,1.39
jim
jim
Sun Aug 21 22:36:26 CDT 2005
Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv3078/apps
Modified Files:
app_rpt.c
Log Message:
Added support for Yaesu FT-897 HF/VHF/UHF radio and other improvements
Index: app_rpt.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_rpt.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -d -r1.38 -r1.39
--- app_rpt.c 15 Jul 2005 16:15:57 -0000 1.38
+++ app_rpt.c 22 Aug 2005 02:38:37 -0000 1.39
@@ -3,11 +3,11 @@
* Asterisk -- A telephony toolkit for Linux.
*
* Radio Repeater / Remote Base program
- * version 0.27 07/09/05
+ * version 0.28 08/21/05
*
* See http://www.zapatatelephony.org/app_rpt.html
*
- * Copyright (C) 2002-2004, Jim Dixon, WB6NIL
+ * Copyright (C) 2002-2005, Jim Dixon, WB6NIL
*
[...2048 lines suppressed...]
+ {
+ ast_indicate(myrpt->remchannel,AST_CONTROL_RADIO_UNKEY);
+ }
+ myrpt->hfscanstatus = 0;
+ }
ast_frfree(f);
continue;
}
@@ -4717,8 +5737,11 @@
ast_mutex_lock(&myrpt->lock);
if (myrpt->rxchannel != myrpt->txchannel) ast_hangup(myrpt->txchannel);
ast_hangup(myrpt->rxchannel);
+ myrpt->hfscanmode = 0;
+ myrpt->hfscanstatus = 0;
myrpt->remoteon = 0;
ast_mutex_unlock(&myrpt->lock);
+ closerem(myrpt);
LOCAL_USER_REMOVE(u);
return res;
}
More information about the svn-commits
mailing list