Remove unnecessary repetition checks from res_pjsip_exten_state
authorMark Michelson <mmichelson@digium.com>
Thu, 1 May 2014 15:47:49 +0000 (15:47 +0000)
committerMark Michelson <mmichelson@digium.com>
Thu, 1 May 2014 15:47:49 +0000 (15:47 +0000)
commitfc4c5ca3deecd8b5cb0063e58e9d49b43acc065b
tree0c77b353ed1116b35bb860b2bc222fea9f0feaf2
parent45a7132480eb23606bf39f785f55805349401338
Remove unnecessary repetition checks from res_pjsip_exten_state

The PBX core already takes care of ensuring that repeated state changes
are not communicated to exten state consumers. Because the check in res_pjsip_exten_state
was incomplete, it was causing valid presence state changes not to be sent out. For instance,
if the presence state did not change but the message or subtype did, then no presence-related
NOTIFY request would be sent out.

closes issue ASTERISK-23672
Reported by Mark Michelson
........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@413174 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_pjsip_exten_state.c