Since chan_sip is callback devicestate driven do not pass in actual states, pass...
authorJoshua Colp <jcolp@digium.com>
Fri, 12 Dec 2008 16:55:15 +0000 (16:55 +0000)
committerJoshua Colp <jcolp@digium.com>
Fri, 12 Dec 2008 16:55:15 +0000 (16:55 +0000)
commit035a7552d6b03d56afba8fc7d1d20e73af5bab31
tree243b5870232422941381554b42f0a80e6d579757
parent9b745b988316b4b2ebd72937ac63166af5f7d901
Since chan_sip is callback devicestate driven do not pass in actual states, pass in unknown so we get asked. Additionally do not pass in an actual device state value in ast_setstate since the channel may be callback driven.
(closes issue #13525)
Reported by: pj

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