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 9c63519..5797a26 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,