res_pjsip_refer: Make safely get the context for a blind transfer.
authorRichard Mudgett <rmudgett@digium.com>
Fri, 6 Mar 2015 22:59:29 +0000 (22:59 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Fri, 6 Mar 2015 22:59:29 +0000 (22:59 +0000)
commitaffcf1d7664308202c66e700638267931091d426
tree2968480c1d6efbfb1d6cc7402511febb746fad63
parent090ab1735b63452341d4f64b84862c922163c515
res_pjsip_refer: Make safely get the context for a blind transfer.

Made safely get the TRANSFER_CONTEXT channel value while the channel is
locked in refer_incoming_attended_request() and
refer_incoming_blind_request().  The pointer returned by
pbx_builtin_getvar_helper() is only valid while the channel is locked.
........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@432595 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_pjsip_refer.c