I believe simultaneous calling is known as a ring group, while sequential calling is a hunt group.

This should do the trick. All the other required settings related to branch management in TM are on by default.

https://kamailio.org/docs/modules/5.4.x/modules/alias_db.html#alias_db.p.append_branches

— Alex

Sent from my iPad

On Mar 2, 2021, at 12:53 PM, Adam McCarthy <adam@adammccarthy.co.uk> wrote:

Hello,

I'm currently using alias_db_lookup to map inbound calls from my SIP
carrier to internal endpoints e.g.,
1NXXXXXXXXX@sip.example.com -> alice@sip.example.com.

This works well, but I would now like to simultaneously call alice@ and
bob@, e.g.

alias_db_lookup(...)  # somehow return alice@ and bob@
append_branch("sip:bob@sip.example.com")

as described here: http://kamailio.org/docs/modules/devel/modules/tm.html#tm.serial_forking

This is effectively a hunt group, where two users are called and once
one user picks up the call, the second is sent a CANCEL.

How would I acheive this with Kamailio?

Thanks,
Adam


_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users