Send DAHDI bridged channels after a limmited call to an IVR

I have to A calling B, where B accepts charges for X minutes, so I dial with L option to X minutes.

When time is up, I must play a message to A for with and send call to hold, while on B channel should be a IVR offering to by more time.

Is there a way to take channels after a limmited call and send them to an IVR?