[asterisk-commits] kharwell: trunk r412454 - in /trunk: ./ res/res_pjsip_refer.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Apr 17 10:17:49 CDT 2014


Author: kharwell
Date: Thu Apr 17 10:17:39 2014
New Revision: 412454

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=412454
Log:
res_pjsip_refer: Channel variable SIPREFERTOHDR not being set during 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

Modified:
    trunk/   (props changed)
    trunk/res/res_pjsip_refer.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-12-merged' - no diff available.

Modified: trunk/res/res_pjsip_refer.c
URL: http://svnview.digium.com/svn/asterisk/trunk/res/res_pjsip_refer.c?view=diff&rev=412454&r1=412453&r2=412454
==============================================================================
--- trunk/res/res_pjsip_refer.c (original)
+++ trunk/res/res_pjsip_refer.c Thu Apr 17 10:17:39 2014
@@ -680,6 +680,7 @@
 	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:




More information about the asterisk-commits mailing list