Re: [SR-Users] Presence Publish expires

2016-03-24 Thread Igor Olhovskiy
Thanks, will do! 2016-03-23 20:34 GMT+02:00 Daniel-Constantin Mierla : > Hello, > > you can change the expire value in the PUBLISH request, then do > msg_apply_changes() before handling it with presence module function. > > Cheers, > Daniel > > > On 23/03/16 13:17, Igor Olhovskiy wrote: > > Hi! >

Re: [SR-Users] Kamailio 5.0 - B2BUA

2016-03-24 Thread Carsten Bock
Hi, we are using SEMS as an SBC in almost all of our deployments and we are actually quite happy with it. We originally sponsored the development of the Transcoding capabilities in SEMS (with the condition of making it open-source) and we added Transcoding for the AMR-NB codec in our branch of SEM

[SR-Users] dialog rpc functions.

2016-03-24 Thread Yasin CANER
Hello;     i think  terminate a dialog with callid on rpc is really useful for dialog module. there is only terminate call  with hash_id on rpc . So it is so many transcation to terminate a call. Thanks P.S : that mail filter make me crazy!

[SR-Users] dynamic weighting for dispatcher

2016-03-24 Thread Brooks Bridges
So I'm building a load balancer solution that needs to monitor remote devices at a specific interval via snmp for certain data (channels and cps) and use that data to create a dynamically updated weight for each of the destinations. I can't find any reasonable mechanism for updating the weight

[SR-Users] Dispatching Registrations to Weight based servers

2016-03-24 Thread SamyGo
Hi All, I'm having a wee little bit of difficulty in trying to load-balance registrations to multiple servers based on their weights. Kind of similar scenario as discussed in this thread: http://lists.sip-router.org/pipermail/sr-users/2014-December/086235.html The problem I'm facing is that disp

Re: [SR-Users] Dispatching Registrations to Weight based servers

2016-03-24 Thread Brooks Bridges
Your reference to “dispatcher is not considering registrations as load at all and only counts INVITES as load.” leads me to believe that you are trying to use algorithm 10 since that’s the only mechanism that cares about call loading. Working from that assumption, the documentation clearly state

Re: [SR-Users] Dispatching Registrations to Weight based servers

2016-03-24 Thread SamyGo
Hi Brooks, Well no I'm using algo 9, with weights assigned to each IP in the set. The reason why I suspect that is because the load set and unset load related functions are mentioned to work only with INVITE. With the weights defined its only logical to assume that dispatcher will count the stuff

Re: [SR-Users] Dispatching Registrations to Weight based servers

2016-03-24 Thread SamyGo
Hi All, I think I got the answer from reading the dispatcher.c source code: https://github.com/kamailio/kamailio/blob/master/modules/dispatcher/dispatch.c Line: 577 Says: */* if the array was not completely filled (i.e., the sum of weights is* less than 100), then use last address to fill the r

Re: [SR-Users] dynamic weighting for dispatcher

2016-03-24 Thread SamyGo
Hi Brooks, While I was trying to figure issue out with my dispatcher issue here is something that I think might work for you. It do requires modifying little bit C code to pull some weight from a redis/memcache of remote destination and use that value instead. Somewhere in this function of dispatc

Re: [SR-Users] dynamic weighting for dispatcher

2016-03-24 Thread Brooks Bridges
Adding a function to allow either an MI command to update the weighting or having the probing pull the data from the sources was my first thought, however I’m hoping to avoid having to run customized modules just to prevent the need to deal with forward compatibility problems down the road. I’d

[SR-Users] Kamailio Dispatcher error msg 407

2016-03-24 Thread 林昱頡
Hi admins, I'm kinda new in this group and I'm not quite sure if I'm posting in a correct way, advise if I'm wrong. below is my post. I would like to activate Disp

[SR-Users] using DMQ , Kamailio shutsdown

2016-03-24 Thread Sunil More
Hello All, I am running two instances of kamailio and using dmq. Kamailio starts good. However one of the node shutsdown unexpectedly. Unsure what is going wrong. Please let me know what could be wrong. below is a the conf detail. loadmodule "dmq.so" modparam("dmq", "server_address", "sip:sunilm