[SR-Users] domain-based routing

David Villasmil david.villasmil.work at gmail.com
Mon Aug 20 01:17:34 CEST 2018


Hello Paolo,

Thanks for replying!
Just looked at the dialplan, it looks perfect for my requirements, will
test and let you know!!

David

On Sun, Aug 19, 2018, 17:06 * Paolo Visintin - evosip.cloud
<paolo.visintin at evosip.cloud> wrote:

> Hello David,
> You could use dialplan module where you can define also regex,
> manipulation or use the dest variabile to define your dispatcher Group or
> everything is useful for your routing logic.
> Dialplan parameters are loaded at startup and stored in memory, in a
> performance perspective.
>
> Cheers
>
>
> Il Dom 19 Ago 2018, 17:47 David Villasmil <david.villasmil.work at gmail.com>
> ha scritto:
>
>> Hello all,
>>
>> I need to set up a multi-domain kamailio, i think in terms of accepting
>> invites to different domains is pretty simple by using the "alias"
>> parameter, that much i have clear.
>>
>> My doubt comes from the fact that I need to route outgoing calls also
>> based on the domain.
>>
>> As of today, i have single-domain kamailios using dispatcher to
>> load-balance and failover said calls. I think i should be able to use
>> dispatcher here as well, separating the dispatcher list by GID, so that
>>
>> Domain1->gid:1
>> Domain2->gid: 2
>> Domain3->gid: 3
>> and so on...
>>
>> I don't have registrations on this server and none are expected.
>>
>> So i'm thinking i will received the invites like:
>>
>> sip:12345 at domain1.com
>> sip:12345 at domain1.com
>> sip:12345 at domain1.com
>> and so on...
>>
>> How would you guys go about associating the domain with the gid list in
>> dispatcher?
>>
>> Thanks a lot for your help!
>>
>> Regards,
>>
>> David Villasmil
>> email: david.villasmil.work at gmail.com
>> phone: +34669448337
>>>>
> _______________________________________________
>> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180820/abc1760d/attachment.html>


More information about the sr-users mailing list