There is no db-only for dispatcher, you have to do reload.
If you don't need keepalive mechanism, perhaps you can try loading the
addresses from database with sqlops and do the dispatching algorithm via
config file only.
Cheers,
Daniel
On 08/08/14 05:56, Yuriy Gorlichenko wrote:
Ок. I will rty it. What about realtime reading this table of
dispatcher nodule? Does iyt have any solutions without kamctl?
08.08.2014 1:47 пользователь "Kristian F. Høgh" <kfh(a)uni-tel.dk
<mailto:kfh@uni-tel.dk>> написал:
Hi,
After making changes to database, run "kamctl dispatcher reload"
from
commandline.
Regards,
Kristian Høgh
On Friday 08 August 2014 01:23:43 Yuriy Gorlichenko wrote:
> Hello. I try to integrate dispathcer module (with db table
dispatcher) to
> my Kamailio server.
>
> I have problem with changing IP at db table, but when I calling -
call goes
> to old IP that alread deleted from db.
>
> I tested my table with query that selects destination address from
table,
> and it replyes to me correct address.
>
> I use round-robin ("4") algorythm
>
> modparam("dispatcher", "db_url",DBURL)
> modparam("dispatcher", "table_name", "dispatcher")
> modparam("dispatcher", "setid_col", "setid")
> modparam("dispatcher", "destination_col",
"destination")
> modparam("dispatcher", "force_dst", 1)
> modparam("dispatcher", "flags", 3)
> modparam("dispatcher", "dst_avp", "$avp(i:271)")
> modparam("dispatcher", "grp_avp", "$avp(i:272)")
> modparam("dispatcher", "cnt_avp", "$avp(i:273)")
> modparam("dispatcher", "ds_ping_from", "sip:proxy@10.0.0.2
<mailto:sip%3Aproxy@10.0.0.2>")
modparam("dispatcher", "ds_ping_interval",15)
modparam("dispatcher", "ds_probing_mode", 1)
modparam("dispatcher", "ds_ping_reply_codes",
"class=2;code=403;code=404;code=484;class=3")
How to disable this cache?
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org <mailto:sr-users@lists.sip-router.org>
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users