[asterisk-commits] jdixon: branch jdixon/chan_usbradio-1.4 r157072 - /team/jdixon/chan_usbradio-...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sat Nov 15 08:42:40 CST 2008


Author: jdixon
Date: Sat Nov 15 08:42:37 2008
New Revision: 157072

URL: http://svn.digium.com/view/asterisk?view=rev&rev=157072
Log:
Really really fixed problem with linktolink

Modified:
    team/jdixon/chan_usbradio-1.4/dev-temp/app_rpt.c

Modified: team/jdixon/chan_usbradio-1.4/dev-temp/app_rpt.c
URL: http://svn.digium.com/view/asterisk/team/jdixon/chan_usbradio-1.4/dev-temp/app_rpt.c?view=diff&rev=157072&r1=157071&r2=157072
==============================================================================
--- team/jdixon/chan_usbradio-1.4/dev-temp/app_rpt.c (original)
+++ team/jdixon/chan_usbradio-1.4/dev-temp/app_rpt.c Sat Nov 15 08:42:37 2008
@@ -22,7 +22,7 @@
 /*! \file
  *
  * \brief Radio Repeater / Remote Base program 
- *  version 0.168 11/14/08 
+ *  version 0.169 11/14/08 
  * 
  * \author Jim Dixon, WB6NIL <jim at lambdatel.com>
  *
@@ -408,7 +408,7 @@
 /*! Stop the tones from playing */
 void ast_playtones_stop(struct ast_channel *chan);
 
-static  char *tdesc = "Radio Repeater / Remote Base  version 0.168  11/14/2008";
+static  char *tdesc = "Radio Repeater / Remote Base  version 0.169  11/14/2008";
 
 static char *app = "Rpt";
 
@@ -1539,6 +1539,7 @@
 	if ((mylink->name[0] != '0') && (!mylink->phonemode) &&
 	    strncasecmp(mylink->chan->name,"echolink",8) &&
 		strncasecmp(mylink->chan->name,"irlp",4)) return(0);
+	if ((myrpt->p.duplex < 2) && (myrpt->tele.next == &myrpt->tele)) return(0);
 	if (mylink->linkmode < 2) return(0);
 	if (mylink->linkmode == 0x7fffffff) return(1);
 	if (mylink->linkmode < 0x7ffffffe) return(1);
@@ -13324,7 +13325,7 @@
 				int n;
 #endif
 
-				if ((!myrpt->localtx) && (!myrpt->p.linktolink) && 
+				if ((!myrpt->localtx) && /* (!myrpt->p.linktolink) && */
 				    (!myrpt->localoverride))
 				{
 					memset(f->data,0,f->datalen);




More information about the asterisk-commits mailing list