[Freeswitch-users] Run script that calls exts and plays recording

Bipin Patel bipin at xbipin.com
Sat Jun 1 10:34:19 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



On June 1, 2019 1:51:09 PM Bipin Patel via FreeSWITCH-users 
<freeswitch-users at lists.freeswitch.org> wrote:

> _________________________________________________________________________
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
> Build your next product on our scalable cloud platform.
> Join our online community to chat in real time https://signalwire.community
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://cluecon.com
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> https://freeswitch.com

More information about the FreeSWITCH-users mailing list