Ensure we use the default refresh value of 60 if the remote server does not send one. (issue #8746 reported by maethor)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@49889 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Joshua Colp
2007-01-08 05:10:07 +00:00
parent be0be1b4f1
commit 8ca9fedc42

View File

@@ -5525,7 +5525,7 @@ static int iax2_ack_registry(struct iax_ies *ies, struct sockaddr_in *sin, int c
/* 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;