[asterisk-users] Denying call transfer to certain extensions

Philipp von Klitzing klitzing at pool.informatik.rwth-aachen.de
Wed Feb 24 05:55:06 CST 2010


Hi!

> > What I want is, if a call coming from a trunk 100 rings, and if the >
> caller wants to be transfered to 101, the transfer is denied. In other >
> words, 101 can't get transfered calls.
> 
> WHat about using featuresmap to replace the usual transfer application
> with code that tests to see the origin of the cal ind if it is from the
> 100 do something else, otherwise transfer as expected.

Or look at the channel variables 

  ${BLINDTRANSFER}, 
  ${GOTO_ON_BLINDXFR}, 
  ${TRANSFER_CONTEXT} and 
  ${FORWARD_CONTEXT} as well as 
  ${TRANSFERSTATUS} 

as described in doc/channelvariables.txt.

Philipp




More information about the asterisk-users mailing list