Going to an extension while bridging?

Hello.

i am very new to asterisk. i searched everywhere but i didn’t find answer to my problem that myust be very easy to resolve.

Here is a bit of my dialplan

[test] ; nom du plan
exten => _003318xxxxxxx,1,Answer
same => n,Dial(DAHDI/2)
same => n,Hangup()

003318xxxxxxx is sip and dahdi2 analog

What i wand is while the sip and dahdi2 are bridged and talking with each others… if one of the 2 personne plays dtmf while they are talking (before the hangup), the dial plan goes to that extension.

I searched the options od the dial command here voip-info.org/wiki/view/Asterisk+cmd+Dial i din’t find the answer.

Is it possible ?

Thank you.

T and t options on Dial. features.conf

From the SIP side, you can also do native SIP transfers, because Asterisk is a back to back user agent, so the SIP protocol doesn’t go beyond Asterisk and doesn’t care that the other side isn’t SIP.