With either module (Dispatcher or Carrierroute) , what would be the functional difference between ‘reloading’ and ‘recalculating’?

 

Both modules can be controlled via RPC:

 

Dispatcher can be set to send OPTIONS messages to the hosts in it’s tables to monitor endpoint status and dynamically bring the record in and out of service.  Additionally any target’s state can be changed administratively to disabled.  Finally, if you update your datasource, dispatcher can be reloaded.

 

Carrierroute doesn’t have any keepalive options, but supports adding and removing hosts, activating  and deactivating hosts, and replacing hosts.  Additionally, if carrierroute’s data is updated (i.e. if reading from database) it can be completely reloaded.

 

 

Kaufman

 

From: sr-users <sr-users-bounces@lists.kamailio.org> On Behalf Of David Villasmil
Sent: Monday, August 8, 2022 1:39 PM
To: Henning Westerholt <hw@gilawa.com>
Cc: Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org>
Subject: Re: [SR-Users] recompute distribution list

 

Hey Henning, thanks for replying. Quick question: Adding (or removing) in memory recalculates without reloading?

 

On Mon, 8 Aug 2022 at 19:47, Henning Westerholt <hw@gilawa.com> wrote:

Hello,

 

this is possible with carrierroute by RPC command: https://kamailio.org/docs/modules/5.5.x/modules/carrierroute.html#carrierroute.rpc.replace_host

 

With dispatcher you could of course just adding one host two times by some script and reload the module, as a simple idea.

 

Cheers,

 

Henning

 

From: sr-users <sr-users-bounces@lists.kamailio.org> On Behalf Of David Villasmil
Sent: Monday, August 8, 2022 5:05 PM
To: Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org>
Subject: [SR-Users] recompute distribution list

 

Hello guys,

 

Is it possible to have dispatcher recompute the distribution list? i.e. one server goes down, all traffic for that server goes to the next one, doubling traffic on that one. Is there a way of, when a host becomes unreachable, recompute the whole list?


Regards,

 

David Villasmil

phone: +34669448337

--

Regards,

 

David Villasmil

email: david.villasmil.work@gmail.com

phone: +34669448337