[SR-Users] Hunt groups with alias_db_lookup
Adam McCarthy
adam at adammccarthy.co.uk
Tue Mar 2 19:04:40 CET 2021
Yes, that exactly solved my problem. Thank you.
On 02.03.2021 13:00, Alex Balashov wrote:
>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
>_______________________________________________
>Kamailio (SER) - Users Mailing List
>sr-users at lists.kamailio.org
>https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
More information about the sr-users
mailing list