[asterisk-commits] file: branch 1.2 r49889 - /branches/1.2/channels/chan_iax2.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sun Jan 7 22:10:08 MST 2007


Author: file
Date: Sun Jan  7 23:10:07 2007
New Revision: 49889

URL: http://svn.digium.com/view/asterisk?view=rev&rev=49889
Log:
Ensure we use the default refresh value of 60 if the remote server does not send one. (issue #8746 reported by maethor)

Modified:
    branches/1.2/channels/chan_iax2.c

Modified: branches/1.2/channels/chan_iax2.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/channels/chan_iax2.c?view=diff&rev=49889&r1=49888&r2=49889
==============================================================================
--- branches/1.2/channels/chan_iax2.c (original)
+++ branches/1.2/channels/chan_iax2.c Sun Jan  7 23:10:07 2007
@@ -5525,7 +5525,7 @@
 	/* Start pessimistic */
 	char peer[256] = "";
 	char msgstatus[40];
-	int refresh = 0;
+	int refresh = 60;
 	char ourip[256] = "<Unspecified>";
 	struct sockaddr_in oldus;
 	struct sockaddr_in us;



More information about the asterisk-commits mailing list