[Freeswitch-users] Is this an appropriate use of loopback or is there a better way?

Martin Paterson martin at pattersong.co.uk
Fri Jul 17 16:15:56 UTC 2020


Hello all,

I'm about to use loopback, but given the warnings against its use in
teh docs I wondered if there was another way to achieve the behaviour
I would like.

I'm making a hunt group: several phones called at the same time -
thats straightforward: create an extension in the dialplan which
matches on the hunt group's number, put a bridge command inside, the
dialstring contains the user agents to dial:

{ignore_early_media=true}user/833 at mydomain,user/835 at mydomain

But what if the hunt group wants to have another hunt group as  a
destination? I can do it with loopback within the bridge:

{ignore_early_media=true}user/833 at mydomain,user/835 at mydomain:_:{ignore_early_media}loopback/202/mydomain

But does anyone know of a better way?

In other words can one do a combination of bridge and transfer in one
go? Can I bridge/transfer to multiple destinations at once, some of
which are user agents or external destinations (user/833 or
sofia/gateway/my-gw/0123456789) and some of which are extensions in
the dialplan?

Many thanks,

Martin.



More information about the FreeSWITCH-users mailing list