Run script that calls exts and plays recording

Bipin Patel bipin at
Sat Jun 1 09:10:01 UTC 2019


I have a requirement where one phone calls the number 55 which fs answers 
and asks user to record his message and hangup when complete which works 
fine but after he hangs up I want to run a lua script which can take this 
recorded message and call multiple phones and play it to them but this part 
doesn't work even when using api_hangup_hook because fs replies not session 

Is there any way to keep the b leg which is fs itself answering active and 
run the script? It's fs answering and recording the message so not able to 
use other commands related to bridge like continue on fail or hang up after 
bridge or transfer etc.

Any pointers will be helpful


More information about the FreeSWITCH-users mailing list