From 2a3211f8ddf1702235df5d5001b054382c569fe7 Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Fri, 15 Aug 2008 18:02:15 +0000 Subject: [PATCH] regseconds is actually stored as the epoch time, not registration length git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@138086 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_sip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 9c6351998d..5797a26110 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -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,