Play a sound during a call forwarded - HELP!

I’m looking for a way to play a sound during a call forwarded. I can’t find the way to play a sound certain time after the call is answered but before the dial command ends (channel hangup).

In general, I don’t know if it is possible to execute some other commands during a call, like math operations or variable assignments.

Any idea?

Thanks in advance!