Hello,
Summary:
I have a queue that is staffed by remote agents using find me follow me to answer the queue calls from their cell phones. This is using the FreePBX distro. There is an issue in that when a remote agent transfers the call using the *2 or ## feature codes (attended & blind transfer), they will not get another queue call until the call they transferred disconnects from Asterisk. Working with the forum, we got a new code (#48) that let us blind transfer the call and have the remote agent immediately receive the next queue call, as soon as the transfer completes.
Working Blind Transfer Code:
[applicationmap](+)
ccredirect => #48,self/caller,Gosub(chan-redirect,s,1)
[add-custom-dynamic-feature]
exten => _.,1,Set(__DYNAMIC_FEATURES=ccredirect)
exten => _.,n,Goto(from-pstn,${EXTEN},1)
[chan-redirect]
exten => s,1,Set(FM_user=${CUT(UNIQCHAN,@,1)})
exten => s,n,GotoIf($["${DB_EXISTS(AMPUSER/${CUT(FM_user,/,2)}/cidnum)}" != "1"]?done)
exten => s,n,Read(ext_to_transfer,custom/please-enter-ext-number,4,,2,5)
exten => s,n,ChannelRedirect(${BRIDGEPEER},from-internal,${ext_to_transfer},1)
exten => s,n(done),Return()
Question:
How can I modify the blind transfer code above to allow for an attended transfer?
Desired:
- Press #48
- Queue caller put on hold
- Agent enters the transfer to party extension
- Agent connects and consults with transfer to party
- Press some combination of buttons to connect the queue caller with the transfer to party
- The agent is dropped from the channel path, allowing them to receive the next queue call right away
Any ideas? Thanks in advance!