[SR-Users] Hunt groups with alias_db_lookup

Adam McCarthy adam at adammccarthy.co.uk
Tue Mar 2 18:52:40 CET 2021


Hello,

I'm currently using alias_db_lookup to map inbound calls from my SIP
carrier to internal endpoints e.g.,
1NXXXXXXXXX at sip.example.com -> alice at 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 at 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




More information about the sr-users mailing list