Hi,
I want to post the call details as soon as done to a different server.
For an instance, when the external call was picked up or hangup, I need to post that to a different server. I will write a PHP or a Python script to do that. But how can I get the call detail in every hook like ANSWER, HANGUP etc.
Also, I want to avail the UNIQUEID with the status.
Why is from_internal special? Remember this is not a FreePBX forum, so you are assumed to have full control of the content of your from_internal dialplan code.
When Dial sets DIALSTATUS, it sets it as a normal variable, so will generate the normal AMI events for setting that variable.