Raise Registry AMI events on registration failures
authorMatthew Jordan <mjordan@digium.com>
Thu, 1 Aug 2013 00:07:59 +0000 (00:07 +0000)
committerMatthew Jordan <mjordan@digium.com>
Thu, 1 Aug 2013 00:07:59 +0000 (00:07 +0000)
commit0a29f85f8755f3a17cb13c1f96c8266b0ba723eb
treee1ed2695474541abd82f2f92d1753691cbd12c23
parent9ea74182ef69aca7f99a578a92ce31a68042f25a
Raise Registry AMI events on registration failures

This patch makes it so that all registration attempts that fail that
also permanently modify the registration state will raise an appropriate
AMI event.

Note that this patch was forward ported to trunk and the Stasis Core
message bus by mjordan.

(closes issue ASTERISK-21368)
Reported by: Dmitriy Serov
patches:
  chan_sip.c.diff uploaded by Demon (license 6479)

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