Protect call termination?


Recently I got familiar with Asterisk, I want to install a simple application basing on Asterisk PBX.
Below is my scenario:

  1. A make a call to my Asterisk PBX
  2. The PBX redirect the call to B
  3. B terminates the call on his phone, but I want to keep the call on A side (redirect the call to an IVR)

Anyone who know how can I do it, please help me!!!
Thanks in advance!

If “B” is a member of a QUEUE utilizing the VQ Plus Module you can easily set a Post Hangup Destination see this wiki article for more information:

Thank you. But B is an outbound customer, so he cannot be a member of some queue. Could you have other ideas?