chan_pjsip: initial device state on endpoints is INVALID
authorKevin Harwell <kharwell@digium.com>
Thu, 16 Jan 2014 16:46:00 +0000 (16:46 +0000)
committerKevin Harwell <kharwell@digium.com>
Thu, 16 Jan 2014 16:46:00 +0000 (16:46 +0000)
commit3373a5332bd63aedb8a0d0cd2e8cfa94281e5072
tree2f9215c8814452e40bd3687d9651fa3f197afdb8
parent3c90fc0bfd1a982a4f938d2aa61d3e370c8a9820
chan_pjsip: initial device state on endpoints is INVALID

When endpoints get loaded their device state gets set to 'INVALID' because the
channel driver has not been loaded yet.  Fixed by updating the device state for
every endpoint upon load of the channel driver.

(closes issue ASTERISK-23065)
Reported by: Rusty Newton
Review: https://reviewboard.asterisk.org/r/3123/
........

Merged revisions 405643 from http://svn.asterisk.org/svn/asterisk/branches/12

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