endpoints: Fix failing unit tests from r419196
authorMatthew Jordan <mjordan@digium.com>
Wed, 23 Jul 2014 16:46:13 +0000 (16:46 +0000)
committerMatthew Jordan <mjordan@digium.com>
Wed, 23 Jul 2014 16:46:13 +0000 (16:46 +0000)
commitccc6e8bd170ed6a53158e2307237c99b6f33d6e6
tree9ef2bf03fab223e4ea35cebc9950580fa73e3f07
parent321efa785b154d0db300c908daf927d9c9fabe60
endpoints: Fix failing unit tests from r419196

This patch does two things:
(1) It updates the unit tests to expect additional stasis messages. More
    messages are now sent to the endpoint topic, due to forwarding all
    channel messages and the forwarding relationship set up between
    endpoints themselves.
(2) Remove the technology forwarding subscription during
    ast_endpoint_shutdown. This prevents an improper double shutdown of
    an endpoint from occurring.
........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@419319 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/endpoints.c
tests/test_stasis_endpoints.c