]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 49889 via svnmerge from
authorJoshua Colp <jcolp@digium.com>
Mon, 8 Jan 2007 05:11:54 +0000 (05:11 +0000)
committerJoshua Colp <jcolp@digium.com>
Mon, 8 Jan 2007 05:11:54 +0000 (05:11 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r49889 | file | 2007-01-08 00:10:07 -0500 (Mon, 08 Jan 2007) | 2 lines

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.4@49890 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_iax2.c

index 37fe4df000c81e2f2302fd7dee019309b44307c5..6450ca51e1faf8cd644cd05705d65be452009613 100644 (file)
@@ -5338,7 +5338,7 @@ static int iax2_ack_registry(struct iax_ies *ies, struct sockaddr_in *sin, int c
        /* Start pessimistic */
        char peer[256] = "";
        char msgstatus[60];
-       int refresh = 0;
+       int refresh = 60;
        char ourip[256] = "<Unspecified>";
        struct sockaddr_in oldus;
        struct sockaddr_in us;