Thank you for your reply.
The problem with AMI is that it can only be executed via the current script (I use PHPAGI) and that when the transfer is done, my script ends.
- 1 Instruction 1
- 2 Dial ()
- 3 Instruction never executed if blind transfer.
As a reminder, the above script is always executed by the caller and only the recipient has the right to transfer.
So if I want to use AMI I have to run a permanent execution script and I don’t like this idea. Because we cannot monitor that it is always active or launched several times …
I tried with GOTO_ON_BLINDXFR but it only works for the person who transfers the caller. This allows me to execute a URL to warn my web server that the called party has hung up due to transfer, but I cannot know to whom the caller was transferred. also cannot follow the progress of the call after the transfer because I have no context on the caller side, nor on the new recipient side transferred. I am in the most total blur. Dial continues to run but on both sides I no longer have any context or execute code.
I really have trouble understanding the logic of blindxfer under asterisk. Let the transferor leave their context OK but I don’t understand why the Dial initiated by the caller stops. The caller has been transferred, it is still online so its context should be maintained and the execution of the instructions after Dial should continue. But this is not the case.