Re: [SR-Users] from Asterisk to Kamailio

2018-11-16 Thread David Villasmil
Your best bet is to use the default config, and enable: #!define WITH_MYSQL #!define WITH_AUTH #!define WITH_DISPATCHER add your users to the db, and the gateways to the dispatcher table with setid 1, you'll be good to go Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34

Re: [SR-Users] Which algorithm to use as load-balance

2018-11-16 Thread David Villasmil
Ok i got part of it to work: if(ds_select_routes("1=10;11=9", "D", "10")) The first 2 setid nodes are filled until the maxload value, looks good: DEBUG: dispatcher [dispatcher.c:679]: ki_ds_select_routes_limit(): routing with setid=1 alg=10 cnt=0 limit=0xa (10) DEBUG: dispatcher [dispatch.c:

Re: [SR-Users] Which algorithm to use as load-balance

2018-11-16 Thread David Villasmil
sorry, instead of ruri, i use destination. Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 ᐧ On Fri, Nov 16, 2018 at 5:31 PM David Villasmil < david.villasmil.w...@gmail.com> wrote: > Hello Daniel, > > I compiled and i'm testing 5.2, but it doesn't seem to be

Re: [SR-Users] Which algorithm to use as load-balance

2018-11-16 Thread David Villasmil
Hello Daniel, I compiled and i'm testing 5.2, but it doesn't seem to be doing what I was expecting, my config is as follows: route[DISPATCH] { dp_match("1", "$ru"); if(!ds_select_routes("1=4;11=9", "ruri", "10")) { send_reply("404", "No destination"); exit; } else

Re: [SR-Users] Freeradiusclient Interim-Update Support

2018-11-16 Thread YAS0 CANER
Hello, it is related acc module. so you should active report_ack https://kamailio.org/docs/modules/5.1.x/modules/acc.html#acc.p.report_ack Good luck Yasin CANER From: sr-users on behalf of Hamid Hashmi Sent: Friday, November 16, 2018 3:38 PM To: Kamaili

Re: [SR-Users] Freeradiusclient Interim-Update Support

2018-11-16 Thread Hamid Hashmi
How did you enable ALIVE packet? Regards Hamid From: sr-users on behalf of Hamid Hashmi Sent: Friday, November 16, 2018 4:27 PM To: sr-users@lists.kamailio.org Subject: [SR-Users] Freeradiusclient Interim-Update Support Dear All Is module acc_radius supports

Re: [SR-Users] Freeradiusclient Interim-Update Support

2018-11-16 Thread YAS0 CANER
Hello, I think it doesn't provide interim-update. I successed about START -ALIVE - STOP -FAILED (INV - ACK -BYE ) enum { RV_STATUS_START = 0, RV_STATUS_STOP, RV_STATUS_ALIVE, RV_STATUS_FAILED, RV_SIP_SESSION, RV_STATIC_MAX }; _

[SR-Users] Freeradiusclient Interim-Update Support

2018-11-16 Thread Hamid Hashmi
Dear All Is module acc_radius supports interim updates? If yes then how to configure it. Regards Hamid R. Hashmi ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

[SR-Users] textops module get_body_part function gives boundary error even if not multipart

2018-11-16 Thread YAS0 CANER
Hello, i try to get content from Invite request but it gives boundary error. it is not multipart or mixed content but it checks boundary and gives error. Thanks. My message INVITE Content-Type: application/resource-lists+xml static

Re: [SR-Users] Dispatcher with a naptr address as destination

2018-11-16 Thread Daniel-Constantin Mierla
Hello, I think the A query you see is done by the part related to doing OPTIONS keepalive -- I haven't developed that part, but if I remember correctly I saw something like that in the code. Maybe you can disable keepalive via the mod param and see if the query is still done. For routing, dispatc