Re: [SR-Users] Music on hold with freeswitch as SBC

2011-12-22 Thread Daniel-Constantin Mierla
Can you give the output of: ps auxw | grep -i rtpproxy That will show if rtpproxy is running and what is its control socket. Cheers, Daniel On 12/21/11 11:25 PM, Gautam Batra wrote: I'm not able to set up the rtp proxy module. I have entered the following: loadmodule rtpproxy.so modparam

Re: [SR-Users] ERROR: slow timer too slow: overflow (1048 - 25 = 1023) repeat a lot

2011-12-22 Thread Daniel-Constantin Mierla
Hello, On 12/21/11 12:12 PM, laura testi wrote: Hi, sometime we get the following error after we restart the kamailio for a while: ERROR:core [timer.c:972]: ERROR: slow timer too slow: overflow (1048 - 25 = 1023) ... last message repeated 138times ERROR:core [timer.c:972]: ERROR:

[SR-Users] new in devel wiki page

2011-12-22 Thread Daniel-Constantin Mierla
Hello, short reminder for everyone to update the wiki page with short description of the new stuff/enhancements added to GIT repository -- here it is: * http://www.kamailio.org/wiki/features/new-in-devel Also, if you do changes to existing parts that require upgrade of config file or

[SR-Users] anyone with opensuse around?

2011-12-22 Thread Daniel-Constantin Mierla
Hello, is anyone here having an opensuse available for using to do some tests? It is about the radius modules, it seems opensuse does now have radiusclient-ng, but the client library from freeradius. They should be quite similar and we should be able to compile with freeradius client

Re: [SR-Users] ERROR: slow timer too slow: overflow (1048 - 25 = 1023) repeat a lot

2011-12-22 Thread laura testi
Thank you very much for your answer Daniel! The problem is that we are using the PUA module which using the timer to call update_pua for the records in hash tables. When there are a lot of records in the pua hash table, it takes time to process all records. The update_pua (in hashT_clean) and

[SR-Users] usrloc, timer process and cache cleanup

2011-12-22 Thread Andreas Granig
Hi, Could you please tell me which of the three timer processes (timer, slow timer or timer nh) is responsible for cleaning up the internal usrloc cache? Looks like every now and then the cleanup of the internal location cache is starting to fail. Funny thing is that expired locations are

Re: [SR-Users] usrloc, timer process and cache cleanup

2011-12-22 Thread Andreas Granig
Got the cause of the issue. What happens is that there's an AOR which registers ever 120 seconds. For some reason, the location entry is in usrloc cache, but not in db. What happens now is that usrloc tries an update query in the db, because it still assumes that the entry is there, which

Re: [SR-Users] usrloc, timer process and cache cleanup

2011-12-22 Thread Daniel-Constantin Mierla
Hello, On 12/22/11 6:19 PM, Andreas Granig wrote: Got the cause of the issue. What happens is that there's an AOR which registers ever 120 seconds. For some reason, the location entry is in usrloc cache, but not in db. What happens now is that usrloc tries an update query in the db, because it

Re: [SR-Users] Music on hold with freeswitch as SBC

2011-12-22 Thread Gautam Batra
Thanks Daniel, I wasn't starting rtpproxy properly. So the initial error is gone. But in my script when the rtpproxy_stream2uac is called i get the following log: Dec 22 08:18:44 vps daemon.err /usr/sbin/kamailio[7901]: ERROR: rtpproxy [rtpproxy.c:1581]: script error -no valid set selected Dec 22

Re: [SR-Users] usrloc, timer process and cache cleanup

2011-12-22 Thread Ovidiu Sas
The replace solution will mask the real issue. The flag that is in the usrloc should switch between update or insert and that is the real fix. Regards, Ovidiu Sas -- VoIP Embedded, Inc.http://www.voipembedded.com On Thu, Dec 22, 2011 at 12:58 PM, Daniel-Constantin Mierla mico...@gmail.com

Re: [SR-Users] usrloc, timer process and cache cleanup

2011-12-22 Thread Daniel-Constantin Mierla
On 12/22/11 7:40 PM, Ovidiu Sas wrote: The replace solution will mask the real issue. The flag that is in the usrloc should switch between update or insert and that is the real fix. Right, that has to be done, but there are some cases when db can become inconsistent, due to database

Re: [SR-Users] usrloc, timer process and cache cleanup

2011-12-22 Thread Ovidiu Sas
Right, that has to be done, but there are some cases when db can become inconsistent, due to database unavailability, and then some trick have to be done at db layer, example: - db is unavailable, phone unregisters, contact deleted from memory but not from database - phone register again,

Re: [SR-Users] usrloc, timer process and cache cleanup

2011-12-22 Thread Daniel-Constantin Mierla
On 12/22/11 8:02 PM, Ovidiu Sas wrote: Right, that has to be done, but there are some cases when db can become inconsistent, due to database unavailability, and then some trick have to be done at db layer, example: - db is unavailable, phone unregisters, contact deleted from memory but not