Redirecting/Transferring an answered call

Hi guys,

my setting is as follows:

Caller A calls an Asterisk instance B (where something like a “voicebot” happens) and might get transferred to a Callee C.

Bridging (via the Dial command) the leg of A->B and B->C works but it keeps the call in Asterisk on B. Deflecting the call to C before answering at B works via command transfer.

Since there is a voicebot application at B the call from A needs to answered of course.

Is there a way for the asterisk on B to leave the call after A and C are connected (or bridged) before they end their call?

Your help is greatly appreciated!

Transfer also works, for unattended transfers, after answer.

Thanks for the reply!

I read about the unattended transfer DTMF patterns, to be set in the features.conf. But I’m looking for a transfer which is part of the dial plan and not something a user would do.

Can you give please me a hint here?

I have already done so.

@david551

Would you happen to still have a dialplan snippet of this at hand?

It should be exactly the same as for before answer, but done after an answer has been triggered.

Turns out, the transfer method was the right one all along. My provider just didn’t support Sip REFER…