]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
regseconds is actually stored as the epoch time, not registration length
authorTilghman Lesher <tilghman@meg.abyt.es>
Fri, 15 Aug 2008 18:02:15 +0000 (18:02 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Fri, 15 Aug 2008 18:02:15 +0000 (18:02 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@138086 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 9c6351998d9e117c1e427e6ddd4003b678bc87a9..5797a26110db6e2b922abaceee39c836b31bbce9 100644 (file)
@@ -22584,7 +22584,7 @@ static int load_module(void)
                "name", RQ_CHAR, 10,
                "ipaddr", RQ_CHAR, 15,
                "port", RQ_UINTEGER2, 5,
-               "regseconds", RQ_UINTEGER2, 5,   /* Max of 18 hours */
+               "regseconds", RQ_INTEGER4, 11,
                "defaultuser", RQ_CHAR, 10,
                "fullcontact", RQ_CHAR, 35,
                "regserver", RQ_CHAR, 20,