[Freeswitch-users] Should I use loopback for a hunt group, or is there a better way?

Martin Paterson martin at pattersong.co.uk
Thu Jul 16 15:09:24 UTC 2020


Hello all,

I'm about to use loopback, but given the warnings against its use in
the 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 -
that's straightforward: create an extension in the dialplan which
matches on the hunt group's number, put inside it a bridge command,
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=true}loopback/202/mydomain"

But does anyone know of a better way?

Another way of describing this would be: 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