Return to IVR menu after calling an extension

Is there a way for a call that comes in (say from a POTS line via a Digium TDM400p), gets an IVR messages, dials an extension, talks with that extension, then press some key or keys and go back to the IVR menu?

try Dial(destination,ringtime,g)

help file for g flag-
g - Proceed with dialplan execution at the current extension if the
destination channel hangs up.

so you’d do

exten => 1234,1,Dial(SIP/somebody,20,g)
exten => 1234,2,Goto(ivr,s,1)