Hi,

There is no b-leg when the call is answered by freeswitch.
You need to create new sessions for your subsequent calls in your lua script.


Best Regards,
-- 
Vallimamod Abdullah
SIP Solutions
vma@sip.solutions
linkedin.com/in/vallimamod
.


On 1 Jun 2019, at 13:54, Bipin Patel via FreeSWITCH-users <freeswitch-users@lists.freeswitch.org> wrote:


From: 
Bipin Patel <bipin@xbipin.com>
Subject: Re: [Freeswitch-users] Run script that calls exts and plays recording
Date: 1 June 2019 at 12:34:19 CEST
To: <freeswitch-users@lists.freeswitch.org>


Hi,

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 available.

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



Regards,

Bipin

On June 1, 2019 1:51:09 PM Bipin Patel via FreeSWITCH-users <freeswitch-users@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@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com







_________________________________________________________________________

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@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com