Call extension state callbacks at hint creation.
authorMark Michelson <mmichelson@digium.com>
Mon, 19 Jan 2015 18:15:03 +0000 (18:15 +0000)
committerMark Michelson <mmichelson@digium.com>
Mon, 19 Jan 2015 18:15:03 +0000 (18:15 +0000)
commit7dc784ffa99bc56bfcf385150b9abbbedba1dee6
tree667c502681823494f3facf8aa5cf109721fa5810
parente43912f3f3096c7df0fe77ac26cc737be291e492
Call extension state callbacks at hint creation.

When a hint gets created, any subsequent device or presence
state changes result in extension status events getting sent
out to interested parties. However, at the time of hint creation,
no such event gets sent out, so watchers of extension state are
potentially left in the dark until the first state change after
hint creation.

Patch contributed by John Hardin (License #6512)
........

Merged revisions 430776 from http://svn.asterisk.org/svn/asterisk/branches/13

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@430777 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/pbx.c