Re: [SR-Users] Presence PUBLISH error

2014-10-08 Thread Marino Mileti
Thanks Daniel, I'm trying to use sqlite (mysql is too heavy for my environment) but usually I receive a lot of commit failed because database is locked (especially in presentity.c and publish.c) Is there any way to manage, maybe i've missed some sqlite configuration parameters?

Re: [SR-Users] Kamailio -topoh- and Via headers

2014-10-08 Thread Daniel-Constantin Mierla
Hello, the received is added because the ip/address in via is not the same as source address. It is a section in an rfc about that. If textops can help with that, then it should be ok if you do it. Cheers, Daniel On 08/10/14 07:53, Gonzalo Gasca wrote: Hi Daniel, Just a quick update, I

Re: [SR-Users] Setting Kamailio User-Agent dynamically

2014-10-08 Thread Daniel-Constantin Mierla
Perhaps you can get it with adding User-Agent header to $uac_req(hdrs): $uac_req(hdrs)= $uac_req(hdrs) + User-Agent: + $ua + \r\n; And sent the global parameter: user_agent_header= But then no local generated request has user agent, which probably is ok for you. There are still ways to

Re: [SR-Users] chane source IP for REGISTER to provider

2014-10-08 Thread Daniel-Constantin Mierla
Hello, I didn't really understand the entire context you are having there, but if the ip you want to use as source is locally on the server and kamailio is listening on it, then use event_route[tm:local-request] to force the specific local socket. Cheers, Daniel On 07/10/14 17:29, Yuriy

[SR-Users] Multiple kamailio sharing single Registration DB

2014-10-08 Thread Varghese Paul
Hi all, How i can setup multiple kamailio servers should share the single registration DB. Requirement: I have two kamailio instances Kamailio-A and Kamalio-B ,both are sharing the same DB which is postgre*SQL *which is hosted in some other server. When a USER AGENT A send a register packet to

[SR-Users] Multiple kamailio sharing single Registration DB

2014-10-08 Thread Juha Heinanen
Varghese Paul writes: 1. How kamailio retrieving the registrations status ? Is it from the DB or from the internal cache ? 2. How can i read the registration status from the DB always ? you can find the answer in usrloc README. it always a good idea to read documentation first before

[SR-Users] KAMAILIO not updating Registration status to DB

2014-10-08 Thread Varghese Paul
Hi all, We are experiencing a strange problem in our Kamilio server. Some of the webrtc endpoint registrations are not updated to the Database and there is no issue with the registration. Once we flushed the registration for this endpoint then it is updating to the DB for the new Register Packet.

Re: [SR-Users] Setting Kamailio User-Agent dynamically

2014-10-08 Thread Errol Samuels
I followed Daniel's instructions and made some progress but not 100% there yet. ---[Global section]-- user_agent_header= ---[Main Routing Logic]--- # handle registrations if (is_method(REGISTER)) { $avp(new_user_agent) = $ua; }

[SR-Users] duplicate information in siptrace table

2014-10-08 Thread Fred
Hello, I use Kamailio 4.1.3 with siptrace module. In the sip_trace table I see duplicate information, one line with empty and one line with filled traced_user column. The empty lines are useless for me, I would like only entries with traced_user information. Here the siptrace part of

[SR-Users] GIT branch 4.2 has been created

2014-10-08 Thread Daniel-Constantin Mierla
Hello, short note to say that the branch 4.2 has been created, as announced on mailing list a while ago. This is the official branch to be used for releasing any of the 4.2.x versions. The first one, v4.2.0, is expected to be out in about one week. The version used now in master branch is

Re: [SR-Users] Segfault in 4.1.6

2014-10-08 Thread David Wilson
Hi Daniel, Thanks for the response. Reviewing the logs again, the first occurrence was on 25Sep, after upgrading to 4.1.6+precise on 24Sep. Previous upgrades were to: 4.1.5+precise 18Aug 4.1.4+precise June Traffic patterns are fairly uniform over that period. I've