]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_blind_transfer: new application BlindTransfer
authorAlexei Gradinari <alex2grad@gmail.com>
Tue, 21 May 2019 19:53:47 +0000 (15:53 -0400)
committerAlexei Gradinari <alex2grad@gmail.com>
Fri, 7 Jun 2019 14:26:37 +0000 (08:26 -0600)
commit745cbab5017fbc32e1dbe0c1ce781205632708c2
tree3a017f8c866f2e6d623264f09a47b3f1e2200540
parent03783cfa1b19f371763fda21166673086e3d97ba
app_blind_transfer: new application BlindTransfer

BlindTransfer redirects all channels currently bridged to the
caller channel to the specified destination.

This application can be useful with Custom Dynamic Features.
For example to make blind transfer to a predefined number.

features.conf
;;;
[applicationmap]
my_blindxfer => *6,self,GoSub,"my_blindxfer,s,1",default
;;;

extensions.conf
;;;
[globals]
DYNAMIC_FEATURES=my_blindxfer

[my_blindxfer]
exten => s,1,BlindTransfer(1234567890,default)
   same => n,Return()
;;;

This application also can be used to completly redefine Blind transfer
feature using dialplan. For example:

features.conf
;;;
[featuremap]
blindxfer =>

[applicationmap]
custom_blindxfer => ##,self,GoSub,"custom_blindxfer,s,1",default
;;;

extensions.conf
;;;
[globals]
DYNAMIC_FEATURES=custom_blindxfer

[custom_blindxfer]
exten => s,1,
   same => n,Playback(pbx-transfer)
   same => n,Read(dest,dial,10,i,3,3)
   same => n,BlindTransfer(${dest},default)
   same => n,Return()
;;;

Change-Id: I9d55e7f69ccfd4472dec00d62771d6de8803215a
apps/app_blind_transfer.c [new file with mode: 0644]
doc/CHANGES-staging/app_blind_transfer.txt [new file with mode: 0644]
menuselect/example_menuselect-tree
menuselect/test/menuselect-tree