Gentoo Archives: gentoo-commits

From: "Tony Vroon (chainsaw)" <chainsaw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/asterisk/files/1.6.1: asterisk-1.6.1.8-session_expiry.patch
Date: Wed, 28 Oct 2009 12:50:34
Message-Id: E1N37yy-00075O-GW@stork.gentoo.org
1 chainsaw 09/10/28 12:50:32
2
3 Added: asterisk-1.6.1.8-session_expiry.patch
4 Log:
5 Revision bump. An incoming SIP invite with no session-expiry header ended up with a -1 second expiry time, resulting in an immediate disconnect. From an upstream bug report. Updated 1.2 -> 1.6 instructions, ready for unmasking.
6 (Portage version: 2.1.7.1/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 net-misc/asterisk/files/1.6.1/asterisk-1.6.1.8-session_expiry.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/asterisk/files/1.6.1/asterisk-1.6.1.8-session_expiry.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/asterisk/files/1.6.1/asterisk-1.6.1.8-session_expiry.patch?rev=1.1&content-type=text/plain
13
14 Index: asterisk-1.6.1.8-session_expiry.patch
15 ===================================================================
16 diff -uNr asterisk-1.6.1.8.ORIG/channels/chan_sip.c asterisk-1.6.1.8/channels/chan_sip.c
17 --- asterisk-1.6.1.8.ORIG/channels/chan_sip.c 2009-10-28 12:30:58.000000000 +0000
18 +++ asterisk-1.6.1.8/channels/chan_sip.c 2009-10-28 12:31:24.000000000 +0000
19 @@ -18627,7 +18627,7 @@
20 st_interval = uac_max_se;
21 }
22 } else {
23 - st_interval = uac_min_se;
24 + st_interval = global_max_se;
25 }
26 break;