[asterisk-commits] mattf: branch mattf/bug13495 r170940 - /team/mattf/bug13495/channels/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sat Jan 24 16:06:03 CST 2009


Author: mattf
Date: Sat Jan 24 16:06:03 2009
New Revision: 170940

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=170940
Log:
Make sure we sleep for some period of time before retrying to connect

Modified:
    team/mattf/bug13495/channels/chan_dahdi.c

Modified: team/mattf/bug13495/channels/chan_dahdi.c
URL: http://svn.digium.com/svn-view/asterisk/team/mattf/bug13495/channels/chan_dahdi.c?view=diff&rev=170940&r1=170939&r2=170940
==============================================================================
--- team/mattf/bug13495/channels/chan_dahdi.c (original)
+++ team/mattf/bug13495/channels/chan_dahdi.c Sat Jan 24 16:06:03 2009
@@ -10399,6 +10399,8 @@
 	*addr++ = 0;
 
 retry:
+	sleep(5);
+
 	if ((fd = socket(AF_INET, SOCK_STREAM, 0)) == -1) {
 		ast_log(LOG_ERROR, "Unable to open socket for SS7 slave server\n");
 		goto retry;




More information about the asterisk-commits mailing list