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

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sun Sep 7 12:23:15 CDT 2008


Author: jdixon
Date: Sun Sep  7 12:23:14 2008
New Revision: 141667

URL: http://svn.digium.com/view/asterisk?view=rev&rev=141667
Log:
make it so it doeent try doing secuity check on irlp/echolink

Modified:
    team/jdixon/chan_usbradio-1.4/apps/app_rpt.c

Modified: team/jdixon/chan_usbradio-1.4/apps/app_rpt.c
URL: http://svn.digium.com/view/asterisk/team/jdixon/chan_usbradio-1.4/apps/app_rpt.c?view=diff&rev=141667&r1=141666&r2=141667
==============================================================================
--- team/jdixon/chan_usbradio-1.4/apps/app_rpt.c (original)
+++ team/jdixon/chan_usbradio-1.4/apps/app_rpt.c Sun Sep  7 12:23:14 2008
@@ -22,7 +22,7 @@
 /*! \file
  *
  * \brief Radio Repeater / Remote Base program 
- *  version 0.145 9/6/08 
+ *  version 0.146 9/7/08 
  * 
  * \author Jim Dixon, WB6NIL <jim at lambdatel.com>
  *
@@ -380,7 +380,7 @@
 /*! Stop the tones from playing */
 void ast_playtones_stop(struct ast_channel *chan);
 
-static  char *tdesc = "Radio Repeater / Remote Base  version 0.145  9/6/2008";
+static  char *tdesc = "Radio Repeater / Remote Base  version 0.146  9/7/2008";
 
 static char *app = "Rpt";
 
@@ -13801,8 +13801,10 @@
 		return 0;
 
 	}
-
-	if (!options)
+	i = 0;
+	if (!strncasecmp(chan->name,"echolink",8)) i = 1;
+	if (!strncasecmp(chan->name,"irlp",4)) i = 1;
+	if ((!options) && (!i))
 	{
         struct ast_hostent ahp;
         struct hostent *hp;




More information about the asterisk-commits mailing list