[SR-Users] Dispatcher caches IP

Daniel-Constantin Mierla miconda at gmail.com
Fri Aug 8 08:21:41 CEST 2014


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 at uni-tel.dk 
> <mailto:kfh at 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 at 10.0.0.2 
> <mailto:sip%3Aproxy at 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 at lists.sip-router.org <mailto:sr-users at 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 at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Next Kamailio Advanced Trainings 2014 - http://www.asipto.com
Sep 22-25, Berlin, Germany ::: Oct 15-17, San Francisco, USA

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20140808/979765d7/attachment.html>


More information about the sr-users mailing list