mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user