summaryrefslogtreecommitdiff
path: root/channels/chan_sip.c
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2008-08-15 18:02:15 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2008-08-15 18:02:15 +0000
commit2a3211f8ddf1702235df5d5001b054382c569fe7 (patch)
tree870970330c7ffd0232962604ab829932e770dde9 /channels/chan_sip.c
parent1f1dc4a0dcb66cf66f91cb5a584e8465fac5c7c8 (diff)
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
Diffstat (limited to 'channels/chan_sip.c')
-rw-r--r--channels/chan_sip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 9c6351998..5797a2611 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,