Fix building of registration entry in build_peer when using callbackextension
authorJeff Peeler <jpeeler@digium.com>
Mon, 28 Sep 2009 19:10:10 +0000 (19:10 +0000)
committerJeff Peeler <jpeeler@digium.com>
Mon, 28 Sep 2009 19:10:10 +0000 (19:10 +0000)
commit05f94a05c222943cc7c54c930a345e97bfe408d2
tree71c52088a546f6ece0b2c89bc2c4dea4f13f717a
parent307bf124d2858d36aec1bc4239d777114746e52b
Fix building of registration entry in build_peer when using callbackextension

Check for remotesecret option was unintentionally always true, which therefore
caused the secret option to never be used. Thanks to dvossel for pointing out
the exact fix.

(closes issue #15943)
Reported by: tpsast

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