FusionPBX setting api_hangup_hook in the Freeswitch API

Status
Not open for further replies.

Zebedee

New Member
Dec 10, 2019
8
1
3
28
I am trying to set the api_hangup_hook in a lua script but I have been told on the Freeswitch slack that FusionPBX sets this at the end of the dialplan.

Essentially I am trying to send an email to the recipient of the call an email with a file attachment that is the .wav recording of the call. I am trying to set the script to execute on hangup so the recording file is avaliable and not being written to at the time.
If anyone can point me in the right direction it will be hugely appreciated.

Thanks -Z
 
Status
Not open for further replies.