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

Vallimamod Abdullah vma at vallimamod.org
Sat Jun 1 12:40:16 UTC 2019


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 at sip.solutions
linkedin.com/in/vallimamod
.


> On 1 Jun 2019, at 13:54, Bipin Patel via FreeSWITCH-users <freeswitch-users at lists.freeswitch.org> wrote:
> 
> 
> From: Bipin Patel <bipin at xbipin.com <mailto:bipin at 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 at 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 at lists.freeswitch.org <mailto: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
> 
> 
> 
> 
> 
> 
> 
> _________________________________________________________________________
> 
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com <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 <https://signalwire.community/>
> 
> Professional FreeSWITCH Services
> sales at freeswitch.com <mailto:sales at freeswitch.com>
> https://freeswitch.com <https://freeswitch.com/>
> 
> Official FreeSWITCH Sites
> https://freeswitch.com/oss <https://freeswitch.com/oss>
> https://freeswitch.org/confluence <https://freeswitch.org/confluence>
> https://cluecon.com <https://cluecon.com/>
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
> https://freeswitch.com <https://freeswitch.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20190601/caae4a1a/attachment-0001.html>


More information about the FreeSWITCH-users mailing list