[SR-Users] Hunt groups with alias_db_lookup
Alex Balashov
abalashov at evaristesys.com
Tue Mar 2 19:00:31 CET 2021
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 at 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 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
>
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20210302/69af3595/attachment.htm>
More information about the sr-users
mailing list