Move evaluation of set_var options in pjsip to the end of channel initialization.
authorMark Michelson <mmichelson@digium.com>
Wed, 20 Aug 2014 20:04:43 +0000 (20:04 +0000)
committerMark Michelson <mmichelson@digium.com>
Wed, 20 Aug 2014 20:04:43 +0000 (20:04 +0000)
commitd0640ad7df7910f05cc9040ec7d3191bbd245969
tree91016a52b35075be22842bfad5b77bc716eb5629
parent36f4bff943c0ea83b3d1a3ab5243658d64b16ba3
Move evaluation of set_var options in pjsip to the end of channel initialization.

This allows for set_var to override certain defaults such as caller ID and codec
values. This also fixes a test suite regression. The "set_var" test suite test attempted
to use set_var to override caller ID, but a recent change caused that to no longer work.
........

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

Merged revisions 421566 from http://svn.asterisk.org/svn/asterisk/branches/13

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