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

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sat Sep 6 08:24:47 CDT 2008


Author: jdixon
Date: Sat Sep  6 08:24:45 2008
New Revision: 141502

URL: http://svn.digium.com/view/asterisk?view=rev&rev=141502
Log:
Fixed segfault

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=141502&r1=141501&r2=141502
==============================================================================
--- team/jdixon/chan_usbradio-1.4/apps/app_rpt.c (original)
+++ team/jdixon/chan_usbradio-1.4/apps/app_rpt.c Sat Sep  6 08:24:45 2008
@@ -22,7 +22,7 @@
 /*! \file
  *
  * \brief Radio Repeater / Remote Base program 
- *  version 0.143 9/4/08 
+ *  version 0.144 9/6/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.143  9/4/2008";
+static  char *tdesc = "Radio Repeater / Remote Base  version 0.144  9/6/2008";
 
 static char *app = "Rpt";
 
@@ -5940,12 +5940,12 @@
 	else
 	{
 		if(debug > 3) 
-			ast_log(LOG_NOTICE, "Unable to place call to %s/%s on %s\n",
-		deststr,tele,l->chan->name);
+			ast_log(LOG_NOTICE, "Unable to place call to %s/%s\n",
+				deststr,tele);
 		if (myrpt->p.archivedir)
 		{
 			char str[100];
-			sprintf(str,"LINKFAIL,%s",l->name);
+			sprintf(str,"LINKFAIL,%s/%s",deststr,tele);
 			donodelog(myrpt,str);
 		}
 		ast_free(l);
@@ -10720,8 +10720,8 @@
 	else 
 	{
 		if (option_verbose > 2)
-			ast_verbose(VERBOSE_PREFIX_3 "Unable to place call to %s/%s on %s\n",
-				deststr,tele,l->chan->name);
+			ast_verbose(VERBOSE_PREFIX_3 "Unable to place call to %s/%s\n",
+				deststr,tele);
 		return -1;
 	}
 	usleep(5000);




More information about the asterisk-commits mailing list