Code cleanup and bugfix in chan_sip outboundproxy parsing.
authorWalter Doekes <walter+asterisk@wjd.nu>
Mon, 16 Jul 2012 19:58:00 +0000 (19:58 +0000)
committerWalter Doekes <walter+asterisk@wjd.nu>
Mon, 16 Jul 2012 19:58:00 +0000 (19:58 +0000)
commit6027b26fa7de6a70a3f1335017d07a22f4069409
treef51187d39a258a2e00d688c66ee12cb679d15d4f
parentfdd39eae5850e699aac2609d5baf41e0945929a0
Code cleanup and bugfix in chan_sip outboundproxy parsing.

The bug was clearing the global outboundproxy when a peer-specific
outboundproxy was bad. The cleanup reduces duplicate code.

Review: https://reviewboard.asterisk.org/r/2034/
Reviewed by: Mark Michelson
........

Merged revisions 370131 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 370132 from http://svn.asterisk.org/svn/asterisk/branches/10

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