You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So this project is great and it all makes sense but is there any way I could get an example of how to catch hangup events? I don't quite understand how that would work. When the caller hangs up I need to do a few things before returning to the Dial Plan.
The text was updated successfully, but these errors were encountered:
Except these two exceptions AGIAppError, AGISIGHUPHangup.
Also make sure you set AGISIGUP=no as follows before calling your AGI script from asterisk or else asterisk will kill your script abruptly on hangup.
exten => 123,1,Log(NOTICE, Executing script)
same => n,Set(AGISIGHUP=no)
same => n,AGI(/path/to/agi_script.py)
So this project is great and it all makes sense but is there any way I could get an example of how to catch hangup events? I don't quite understand how that would work. When the caller hangs up I need to do a few things before returning to the Dial Plan.
The text was updated successfully, but these errors were encountered: