Skip to content
This repository has been archived by the owner on Jan 14, 2020. It is now read-only.

Commit

Permalink
res_pjsip_refer: Channel variable SIPREFERTOHDR not being set during …
Browse files Browse the repository at this point in the history
…blind transfer

The SIPREFERTOHDR channel variable is not being set on any channel when
performing a blind transfer using PJSIP. The 'refer->refer_to' was not
being set during a blind transfer.  Updated so the 'refer_to' is set to
the target uri on a blind transfer.

(closes issue ASTERISK-23502)
Reported by: John Bigelow
Review: https://reviewboard.asterisk.org/r/3445/
........

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


git-svn-id: http://svn.asterisk.org/svn/asterisk/trunk@412454 f38db490-d61c-443f-a65b-d21fe96a405b
  • Loading branch information
kharwell committed Apr 17, 2014
1 parent fb5e449 commit ee224ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions res/res_pjsip_refer.c
Original file line number Diff line number Diff line change
Expand Up @@ -680,6 +680,7 @@ static int refer_incoming_blind_request(struct ast_sip_session *session, pjsip_r
refer.context = context;
refer.progress = progress;
refer.rdata = rdata;
refer.refer_to = target;

switch (ast_bridge_transfer_blind(1, session->channel, exten, context, refer_blind_callback, &refer)) {
case AST_BRIDGE_TRANSFER_INVALID:
Expand Down

0 comments on commit ee224ec

Please sign in to comment.