mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 11:25:35 +00:00
Fix multiple SIP realtime issues
1. Set lastms to 0 when clearing instead of "" 2. Don't set ipaddr or port to the string "(null)" when they are empty 3. Add missing required fields, set default for lastms to 0, and modify the length of the ipaddr field to 45 in the Postgresql realtime.sql file. (closes issue ASTERISK-19172) Review: https://reviewboard.asterisk.org/r/1703/ ........ Merged revisions 354348 from http://svn.asterisk.org/svn/asterisk/branches/1.8 ........ Merged revisions 354349 from http://svn.asterisk.org/svn/asterisk/branches/10 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@354360 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -64,10 +64,14 @@ username character varying(80) DEFAULT '' NOT NULL,
|
||||
allow character varying(200) DEFAULT '!all,g729,ilbc,gsm,ulaw,alaw',
|
||||
musiconhold character varying(100),
|
||||
regseconds bigint DEFAULT 0::bigint NOT NULL,
|
||||
ipaddr character varying(40) DEFAULT '' NOT NULL,
|
||||
ipaddr character varying(45) DEFAULT '' NOT NULL,
|
||||
regexten character varying(80) DEFAULT '' NOT NULL,
|
||||
cancallforward character varying(3) DEFAULT 'yes',
|
||||
lastms integer DEFAULT -1 NOT NULL
|
||||
lastms integer DEFAULT 0 NOT NULL,
|
||||
defaultuser character varying(80),
|
||||
fullcontact character varying(80),
|
||||
regserver character varying(30),
|
||||
useragent character varying(40)
|
||||
);
|
||||
|
||||
drop table voicemail_users;
|
||||
|
Reference in New Issue
Block a user