[Freeswitch-users] stop channel from entering conference

David Villasmil david.villasmil.work at gmail.com
Tue Oct 5 23:42:46 UTC 2021


Hello all,

I have a scenario where:

A calls B (i.e.: +19995551212) and puts it on hold.
A calls C (i.e.: +99911111) and when it answers:
The client sends a refer to B to connect to a conference, and then
transfers C to the conference.

All this works well, but i need to block specific called numbers from
entering the conference.
I can identify the channels as they come in and i'm trying to hangup the
leg i want.

I tried with

<action application="hangup"/>

and also with

<action application="set" data="res=${uuid_kill(${uuid})}"/>

but all channels are disconnected.

Not sure if i'm doing something wrong.

Any help would be appreciated

Regards,

David Villasmil
email: david.villasmil.work at gmail.com
phone: +34669448337
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20211006/4d9fc0e4/attachment.html>


More information about the FreeSWITCH-users mailing list