login | register
Tue 02 of Dec, 2008 [12:16 UTC]

voip-info.org

History

BLINDTRANSFER

Created by: shmaltz,Last modification on Mon 23 of Jun, 2008 [19:01 UTC] by mwilliams

${BLINDTRANSFER} contains the active SIP channel that blind transfered the call.


This is usefull if you are trying to determine who to bill, or if you are trying to figure out a call back number for the transfered call. You could do something like this:

example (not tested, use at your own risk):


exten => s,1,Noop(BLINDTR = ${BLINDTRANSFER})
exten => s,2,GotoIf($[${LEN(${BLINDTRANSFER})} > 0]?10) ;if there is anything in the blindtransfer then you want to do something
exten => s,3,Dial(SIP/${ARG1},45,tr)
exten => s,10,Noop(we have been blint xfered by: ${BLINDTRANSFER})



See Bug 3268

Comments

Comments Filter
222

333Re: Bracket's Not showing in example!

by chandave, Saturday 26 of August, 2006 [15:25:32 UTC]
Fixed. You should now see the brackets in the example.

See ya...

d.c.
222

333Bracket's Not showing in example!

by bigdawggi, Friday 25 of August, 2006 [16:14:13 UTC]
Bracket doesn't show up in example, replace priority 2 line with the following (remove *BRACKET* and replace with a bracket)
exten => s,2,GotoIf($*BRACKET*${LEN(${BLINDTRANSFER})} > 0*BRACKET*?10) ;if there is anything in the blindtransfer then you want to do something ~/pp~