]> 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>
Tue, 21 May 2019 20:02:54 +0000 (16:02 -0400)
commitdb5bc0fabfb68c87e04770ba2a5ea57be7bfb117
treec3f87c0338ec8d8adb69951c77ef8c71faedf391
parent2aa9bc6d2cf655fc8d12072922b897f4dd00c0e8
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