[SR-Users] kamailio fail to start when there are many records in DB in location or in pua table

2011-11-30 Thread laura testi
Hi all, when there many records in DB tables like location(usrloc use write back mode), pua etc, kamailio fail to start by complaining no pkg memory left when try to load (restore) all records from DB to hashtable of location/pua. The share momory are allocated enough for the hashtable, but the

Re: [SR-Users] kamailio fail to start when there are many records in DB in location or in pua table

2011-11-30 Thread Daniel-Constantin Mierla
Hello, many modules have a parameter named fetch_rows that is doing pretty much what you are looking for. pua seems not to have it, considering the amount of records that can be there, it is indeed a limitation. I will add the functionality in the near future. Cheers, Daniel On 11/30/11

Re: [SR-Users] $sel variable

2011-11-30 Thread Daniel-Constantin Mierla
Hello, if you declare a custom global variable like: grp.var = 0 desc my description Then do: sercmd cfg.seti grp var 1 to change its value to 1 You have to load ctl and cfg_rpc modules. Cheers, Daniel On 11/29/11 8:44 AM, Uri Shacked wrote: what i am trying to do is to have a parameter

Re: [SR-Users] starting kamailio method

2011-11-30 Thread Daniel-Constantin Mierla
Hello, On 11/29/11 9:35 AM, Uri Shacked wrote: hi, both methods run the same cfg file. when i run kamailio i get the following output and syslog running (i like it...) when i run the /etc/init.d/kamailio start i do not get this output and can't follow the debug on line...

Re: [SR-Users] no sercmd_ctl file

2011-11-30 Thread Daniel-Constantin Mierla
Hello, On 11/28/11 1:50 PM, Uri Shacked wrote: how do i restore the serdmd file in order to run commands with sercmd? control file is created by kamialio and it should be by default /tmp/kamailio_ctl If you are running tarball 3.2.0, it was a mismatching in the default ctl file between

Re: [SR-Users] transport=TLS

2011-11-30 Thread Bruno Bresciani
Now I understood why the messagem is forward with UDP protocol... This problem occurs with bria on android plataform, this softphone send the INVITE request with tls protocol specified only on the contact header. Contact: XXX sip:x...@yyy.yyy.yyy.yyy:YYY;transport=TLS. as Daniel pointed out, The

Re: [SR-Users] $sel variable

2011-11-30 Thread Uri Shacked
thanks. i used the pv module instead. $shv() seems a good solution as well. On Wed, Nov 30, 2011 at 12:46 PM, Daniel-Constantin Mierla mico...@gmail.com wrote: Hello, if you declare a custom global variable like: grp.var = 0 desc my description Then do: sercmd cfg.seti grp var 1 to

Re: [SR-Users] CANCEL not matching INVITES !

2011-11-30 Thread Daniel-Constantin Mierla
Hello, is the SIP trace complete? What I could find inside is: - invite from phone to kamailio - kamailio asks for authentication - 407 - ack - invite with credentials, kamailio forwards to asterisk - asterisk asks for authentication - 401 - ack - there is no new INVITE with credentials for

Re: [SR-Users] kamailio fail to start when there are many records in DB in location or in pua table

2011-11-30 Thread Daniel-Constantin Mierla
Hello, just committed the addition to pua module -- there are two patches in git master branch: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=09c9abb0f7907132d9afee4580f0475a2e46cadc

[SR-Users] dialog table entry not deleted after call if in-dialog requests are challenged

2011-11-30 Thread Yufei Tao
Hi I am using dialog module in Kamailio 3.1.5, and find that the dialog table entry does not get deleted after call if in-dialog requests (e.g. session timer refresh re-INVITEs in my case) are challenged. The entry will stay there and get deleted after a long time (some time out? I didn't set any

[SR-Users] Monitoring inquiry

2011-11-30 Thread Jenkins, Rachel
I have a couple questions as it relates to monitoring a Kamailio SIP Server. 1. Do you have an OID that we can poll via SNMP-GETs to show call completion statistics? Either the % of completion or the accepting/connecting statistics. If you do not have an OID, do you have a syslog or trap