If the parker information can not be obtained from the peer, try and see if
the BLINDTRANSFER channel variable has been set. Previously, a blind transfer
to the ParkAndAnnounce app would return nothing for the From.
Closes AST-189
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@175294 65c4cc65-6c06-0410-ace0-fbb531ad65f3
@ -421,7 +421,8 @@ static int park_call_full(struct ast_channel *chan, struct ast_channel *peer, in
{
structast_context*con;
intparkingnum_copy;
constchar*event_from;
/* Get a valid space if not already done */
if(pu==NULL)
pu=park_space_reserve(chan);
@ -487,6 +488,12 @@ static int park_call_full(struct ast_channel *chan, struct ast_channel *peer, in
if(option_verbose>1)
ast_verbose(VERBOSE_PREFIX_2"Parked %s on %d@%s. Will timeout back to extension [%s] %s, %d in %d seconds\n",pu->chan->name,pu->parkingnum,parking_con,pu->context,pu->exten,pu->priority,(pu->parkingtime/1000));