The deprecation of "username" in favor of "defaultuser" for SIP peers unfortunately
authorMark Michelson <mmichelson@digium.com>
Wed, 30 Jan 2008 23:10:23 +0000 (23:10 +0000)
committerMark Michelson <mmichelson@digium.com>
Wed, 30 Jan 2008 23:10:23 +0000 (23:10 +0000)
commit4d00d175c3d2fa4110fa443f4890cd1225e09516
tree1807d21cf709ac30e93a6c5ba523d3297866f87b
parent9d07e7e9ee90aef47b4a794f9af61b8426296bf1
The deprecation of "username" in favor of "defaultuser" for SIP peers unfortunately
broke realtime configurations which still used the "username" field. This was taken
care of properly when reading from realtime but was not handled properly when updating
a realtime peer. This change also adds a deprecation NOTICE CLI message that will print
if using the deprecated "username" field.

(closes issue #11880)
Reported by: cabal95
Patches:
      11880.patch uploaded by putnopvut (license 60)
  Tested by: cabal95

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@101344 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c