On 26 Apr 2024, at 16:38, tfayomi--- via sr-users <sr-users@lists.kamailio.org> wrote:

Hello,

I'm trying to set up the dispatcher module from kamailio, but I'm running into errors just loading the dispatcher module and setting the params in my config file and would like to know where I'm going wrong.

I've added destinations through kamctl as well and whenever I try to use dispatcher reload or dispatcher dump, I get a 500 error saying neither of those methods are found.

I'm using kamailio version 5.6.3  and these are the errors I'm getting when starting up kamailio:

/usr/sbin/kamailio[102176]: ERROR: dispatcher [dispatch.c:824]: ds_load_list(): can't open list file [/etc/kamailio/dispatcher.list]

This looks like it might be your issue - you need to create a file /etc/kamailio/dispatcher.list in the format as specified in the module documentation as detailed in the docs https://kamailio.org/docs/modules/5.8.x/modules/dispatcher.html#dispatcher.ex.fileforma

Hope this helps.

-Barry