[Asterisk-code-review] app_blind_transfer: new application BlindTransfer (...asterisk[16])

George Joseph asteriskteam at digium.com
Thu May 16 13:28:57 CDT 2019


George Joseph has uploaded a new patch set (#3) to the change originally created by Alexei Gradinari. ( https://gerrit.asterisk.org/c/asterisk/+/11381 )

Change subject: app_blind_transfer: new application BlindTransfer
......................................................................

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,Playtones(dial)
   same => n,Read(dest,dial,10,i,3,3)
   same => n,BlindTransfer($dest,default)
   same => n,Return()
---

Change-Id: I9d55e7f69ccfd4472dec00d62771d6de8803215a
---
A apps/app_blind_transfer.c
A doc/CHANGES-staging/app_blind_transfer.txt
M menuselect/example_menuselect-tree
M menuselect/test/menuselect-tree
4 files changed, 147 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/81/11381/3
-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/11381
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 16
Gerrit-Change-Id: I9d55e7f69ccfd4472dec00d62771d6de8803215a
Gerrit-Change-Number: 11381
Gerrit-PatchSet: 3
Gerrit-Owner: Alexei Gradinari <alex2grad at gmail.com>
Gerrit-Reviewer: Alexei Gradinari <alex2grad at gmail.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-MessageType: newpatchset
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20190516/ff550b7c/attachment.html>


More information about the asterisk-code-review mailing list