[SR-Users] Placing ds_select_dst in kamailio.cfg, where?

Carsten Bock carsten at ng-voice.com
Wed Sep 28 17:09:05 CEST 2011


Hi,

When you've got problems with placing "ds_select_dst()" in your
config, you should do the following:
- Open an Editor of your choice
- go to the line, where you want to place it
- type: ds_select_dst("1", "0");
- save & exit

Just kidding! You should do the following with your config:
kamailio -f <path-to-your-config> -c

What error is displayed? If none, then check your syslog for errors.
Could you post your config? It is better to put a full path in the
config to the dispatcher-file... otherwise it might be dependent of,
where you are running the init.d-skript/kamailio....

I am using dispatcher in Kamailio 1.5, 3.1 and 3.2, everythings works
fine with me.

Kind regards,
Carsten

2011/9/28 Henrik Aagaard Sørensen <henrikaagaardsorensen at gmail.com>:
> I've installed 2 Freeswitch on different servers and would like to have
> Kamailio load balance between them.
>
> I've installed Kamailio following:
> http://www.kamailio.org/dokuwiki/doku.php/install:kamailio-3.1.x-from-git
>
> I've created dispatcher.list and added:
>
> loadmodule "dispatcher.so"
>
> modparam("dispatcher", "list_file", "../etc/dispatcher.list")
>
> in the kamailio.cfg.
>
> But looking at:
> http://kamailio.org/docs/modules/3.1.x/modules_k/dispatcher.html
> I'm having difficulties to placing:
>
> ds_select_dst("1", "0");
>
> in the kamailio.cfg that was created originally.
>
> Can anyone help me?
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>



-- 
Carsten Bock
CEO (Geschäftsführer)

ng-voice GmbH i. Gr.
Schomburgstr. 80
D-22767 Hamburg / Germany

http://www.ng-voice.com
mailto:carsten at ng-voice.com

Mobile +49 179 2021244
Office +49 40 34927219
Fax +49 40 34927220



More information about the sr-users mailing list