]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Fix multiple SIP realtime issues
authorTerry Wilson <twilson@digium.com>
Tue, 7 Feb 2012 20:53:02 +0000 (20:53 +0000)
committerTerry Wilson <twilson@digium.com>
Tue, 7 Feb 2012 20:53:02 +0000 (20:53 +0000)
commit15d28cfdadbd3c59904ca456c18c06273307ef23
tree4fc8b7f8dcf692d5a364e55683bf34c24334e301
parentff07b89e6395be677963eeed5e005b73aa48246b
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/

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@354348 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c
contrib/realtime/postgresql/realtime.sql