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

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Sep 15 23:04:56 CDT 2008


Author: jdixon
Date: Mon Sep 15 23:04:55 2008
New Revision: 143202

URL: http://svn.digium.com/view/asterisk?view=rev&rev=143202
Log:
Fix underwater problem

Modified:
    team/jdixon/chan_usbradio-1.4/channels/chan_echolink.c

Modified: team/jdixon/chan_usbradio-1.4/channels/chan_echolink.c
URL: http://svn.digium.com/view/asterisk/team/jdixon/chan_usbradio-1.4/channels/chan_echolink.c?view=diff&rev=143202&r1=143201&r2=143202
==============================================================================
--- team/jdixon/chan_usbradio-1.4/channels/chan_echolink.c (original)
+++ team/jdixon/chan_usbradio-1.4/channels/chan_echolink.c Mon Sep 15 23:04:55 2008
@@ -33,7 +33,7 @@
 	<depend>zlib</depend>
  ***/
 
-/* Version 0.18, 09/14/2008
+/* Version 0.19, 09/15/2008
 Echolink channel driver for Asterisk/app_rpt.
 
 I wish to thank the following people for the immeasurable amount of
@@ -2040,6 +2040,7 @@
 			str[strlen(str) - 1] = 0;
 		strncpy(ipaddr,str,sizeof(ipaddr) - 1);
 		sprintf(dbstr,"%c/ipaddr/%s",db_loading,ipaddr);
+		usleep(2000); /* To get to dry land */
 		if (ast_db_put(EL_DB_ROOT,dbstr,nodenum) != 0)
 		{
 			ast_log(LOG_ERROR,"Error in putting ipaddr record %s (nodenum %s)",ipaddr,nodenum);
@@ -2047,6 +2048,7 @@
 			return -1;
 		}
 		sprintf(dbstr,"%c/nodenum/%s",db_loading,nodenum);
+		usleep(2000); /* To get to dry land */
 		if (ast_db_put(EL_DB_ROOT,dbstr,ipaddr))
 		{
  			ast_log(LOG_ERROR,"Error in putting nodenum record %s (ipaddr %s)",nodenum,ipaddr);
@@ -2055,6 +2057,7 @@
 		}
 		sprintf(dbstr,"%c/call/%s",db_loading,call);
 		sprintf(dbstr1,"%s:%s",nodenum,ipaddr);
+		usleep(2000); /* To get to dry land */
 		if (ast_db_put(EL_DB_ROOT,dbstr,dbstr1))
 		{
  			ast_log(LOG_ERROR,"Error in putting call record %s (ipaddr %s)",nodenum,ipaddr);




More information about the asterisk-commits mailing list