[Freeswitch-users] Drop A leg and originate a B-leg

Joel Serrano joel at textplus.com
Sat Jun 27 19:22:57 UTC 2020


Have you tried with bgapi originate?

I used to do something similar... I can probably find a snippet in python
if you need it.

Over time my project got too complicated and I ended up writing something
that used ESL... but it all started off just like you said.

On Fri, Jun 26, 2020 at 3:04 PM David Villasmil <
david.villasmil.work at gmail.com> wrote:

> Hello all,
>
> So right now I'm generating A simple INVITE, let's say from FS-G.
>
> On receiving the INVITE, FS launches a python script which should reject
> the incoming INVITE from G and start a new call B-leg.
>
> I already do this, but the FS-G leg keeps going and I would like to
> actually reject and hangup the FS-G leg.
>
> is this possible? Basically hangup the incoming call and keep the script
> running to create a new leg.
>
> Regards,
>
> David Villasmil
> email: david.villasmil.work at gmail.com
> phone: +34669448337
> _________________________________________________________________________
>
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20200627/d7b499d7/attachment.html>


More information about the FreeSWITCH-users mailing list