AGI Script during call

I have an agi script that does this:

exec dial SIP/12345|35|t

this will stop the script until dial finishes. Is there anyway to interact with the dialed number before the call ends?

David