Re: [SR-Users] Migrating from OpenSER config file question.

2016-10-06 Thread Brian McCrary
Hello, No, I did not have the pv module loaded! I loaded that module and all is well. I didn't know I needed it. I ran into a few other small errors that I was able to easily fix so I now have a good config file and am ready to start importing the old database in. Thanks for your help!!

Re: [SR-Users] Kamailio stop processing SIP

2016-10-06 Thread Igor Potjevlesch
I'm using snmpstats and dialog. IPTables is used but not with SIP tracking module. But if I work on a Wireshark trace during a representative peak period (during ~12min), I have 30-40 INVITE/second ; 3 REGISTER/second and 7 OPTIONS/second. Kamailio is running with 15 children actually.

Re: [SR-Users] Out of memory in UB 210: OOM killed process 12261 (kamailio) score 0 vm:1614768kB, rss:280200kB, swap:131408kB

2016-10-06 Thread Jurijs Ivolga
Hi Daniel, I do not use puke.top rpc command. Maybe this issue related to TLS? Servers what has this problem are utilizing TLS heavily, servers which do not has this problem use UDP. With kind regards, Jurijs On Thu, Oct 6, 2016 at 6:05 PM, Daniel-Constantin Mierla wrote:

Re: [SR-Users] Out of memory in UB 210: OOM killed process 12261 (kamailio) score 0 vm:1614768kB, rss:280200kB, swap:131408kB

2016-10-06 Thread Daniel-Constantin Mierla
Hello, are you using pike.top rpc command? I noticed in the code that it uses system malloc, but I haven't investigated further yet, first to see if this would be a possibility ... Cheers, Daniel On 06/10/16 16:33, Jurijs Ivolga wrote: > Hi Daniel, > > We do not do any external operations. > >

Re: [SR-Users] Out of memory in UB 210: OOM killed process 12261 (kamailio) score 0 vm:1614768kB, rss:280200kB, swap:131408kB

2016-10-06 Thread Jurijs Ivolga
Hi Daniel, We do not do any external operations. We are using janson 2.7 everywhere. I will try to update to latest janson version tomorrow. All json operation is pretty much same, we are using only jansson_get. In attachment you can see memory consumption. On the right 2 servers which are

Re: [SR-Users] Order of record-route

2016-10-06 Thread Alex Balashov
The order of the Record-Route headers is very relevant, and must strictly correspond to the order in which the intermediate proxy chain is traversed. The RR header of the Kamailio closest to your Client will be at the top of the RR stack, and this will be the first hop in the Route set used in

[SR-Users] Order of record-route

2016-10-06 Thread Dirk Teurlings - Signet B.V.
Hi, Looking at an issue with SIP-Cisco and a Barracuda firewall, I've come across something I need to know more about. The setup is as follows: CLIENT -> KAMAILIO -> ASTERISK CLIENT <- KAMAILIO <- ASTERISK Client sends INVITE, Kamailio forwards to Asterisk, SIP 100 and SIP 183 are being sent

Re: [SR-Users] Out of memory in UB 210: OOM killed process 12261 (kamailio) score 0 vm:1614768kB, rss:280200kB, swap:131408kB

2016-10-06 Thread Daniel-Constantin Mierla
Hello, are you doing different external operations than on the other instances, like mi/rpc commands. >From the list of the modules you exposed, I think jansson has the higher probability to work with system memory. Are you doing different json operations in config that in the other instances of

Re: [SR-Users] Size of passwords fields in db

2016-10-06 Thread Daniel-Constantin Mierla
On 06/10/16 13:47, Fred Posner wrote: > On 10/06/2016 05:43 AM, Daniel-Constantin Mierla wrote: >> On 05/10/16 16:35, Fred Posner wrote: >>> On 10/05/2016 10:25 AM, Daniel-Constantin Mierla wrote: Hello, writing here to decide on a topic opened by pull request 779: -

Re: [SR-Users] Size of passwords fields in db

2016-10-06 Thread Fred Posner
On 10/06/2016 05:43 AM, Daniel-Constantin Mierla wrote: > On 05/10/16 16:35, Fred Posner wrote: >> On 10/05/2016 10:25 AM, Daniel-Constantin Mierla wrote: >>> Hello, >>> >>> writing here to decide on a topic opened by pull request 779: >>> >>> - https://github.com/kamailio/kamailio/pull/779 >>>

Re: [SR-Users] Out of memory in UB 210: OOM killed process 12261 (kamailio) score 0 vm:1614768kB, rss:280200kB, swap:131408kB

2016-10-06 Thread Jurijs Ivolga
Hi Daniel, This modules what we are using: loadmodule "mi_fifo.so" loadmodule "kex.so" loadmodule "corex.so" loadmodule "tm.so" loadmodule "tmx.so" loadmodule "sl.so" loadmodule "rr.so" loadmodule "pv.so" loadmodule "maxfwd.so" loadmodule "textops.so" loadmodule "siputils.so" loadmodule

Re: [SR-Users] Fwd: TOPOH Module in Kamialio

2016-10-06 Thread Ginti Saurabh
Thanks Danial :) for expaining On Thu, Oct 6, 2016 at 4:26 PM, Daniel-Constantin Mierla wrote: > topoh is a module that provides topology hiding by masking IP addresses in > Via, Contact and Record-Route headers. Making is done by replacing the > original ip with mask ip and

Re: [SR-Users] Fwd: TOPOH Module in Kamialio

2016-10-06 Thread Daniel-Constantin Mierla
topoh is a module that provides topology hiding by masking IP addresses in Via, Contact and Record-Route headers. Making is done by replacing the original ip with mask ip and the original ip is hidden in parameters after it is ecrypted, so it can be decrypted on the other way of the traffic. If

Re: [SR-Users] Kamailio stop processing SIP

2016-10-06 Thread Daniel-Constantin Mierla
Are you using pike module or any kernel/iptable module for tracking sip traffic? If you use statsc module you can get details about how many requests were received per specific interval of time. Cheers, Daniel On 06/10/16 12:38, Igor Potjevlesch wrote: > > Hard to say. Is there this kind of

Re: [SR-Users] Load balancing with Kamailio

2016-10-06 Thread Daniel-Constantin Mierla
Hello, On 26/09/16 13:27, Nitesh Bansal wrote: > Hello, > > I'm planning on doing some smart load balancing with Kamailio. > We have a distributed network, with multiple Kamailio boxes in > different locations serving as Ingress SBC, > these Kamailio boxes are the entry point for a SIP call and

Re: [SR-Users] usrloc module expires column issues

2016-10-06 Thread Daniel-Constantin Mierla
Hello, what database server are you using? Cheers, Daniel On 26/09/16 16:50, Grant Bagdasarian wrote: > > Hello, > > > > When saving in the location table, the expires and last_modified > columns contain the value 000-00-00 00:00:00 which causes issues when > Kamailio is restarted and the

Re: [SR-Users] Serial Forking and t_suspend

2016-10-06 Thread Daniel-Constantin Mierla
Hello, On 28/09/16 07:11, Kelvin Chua wrote: > we have serial forking already setup properly but need to t_suspend(). > found out that it completely breaks the destination set. > other than manually rebuilding the destination set after t_continue(), > are > there any other solution out there?

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-10-06 Thread Daniel-Constantin Mierla
Hello, uac_req_send() is able to send only initial requests (with follow up on auth challenge). It doesn't expose the ability to send requests within a dialog -- the functions exist in c (tm module), but not availble in config. On the other hand, there should be a mi/rpc command exported by tm

Re: [SR-Users] Kamailio stop processing SIP

2016-10-06 Thread Igor Potjevlesch
Hard to say. Is there this kind of stats on Kamailio? Regards, Igor. De : sr-users [mailto:sr-users-boun...@lists.sip-router.org] De la part de Aqs Younas Envoyé : vendredi 30 septembre 2016 11:45 À : Kamailio (SER) - Users Mailing List Objet : Re:

Re: [SR-Users] transaction is not suspended ERROR

2016-10-06 Thread Daniel-Constantin Mierla
Hello, On 04/10/16 13:57, david wrote: > Hello all > > i'm having some errors sometimes and i'm not able to know why they happen > i made a lua configuration script where i create some ESL sockets with > several freeswitches (10) (around 500-600 sockets in total, depending > on the number os

Re: [SR-Users] Out of memory in UB 210: OOM killed process 12261 (kamailio) score 0 vm:1614768kB, rss:280200kB, swap:131408kB

2016-10-06 Thread Daniel-Constantin Mierla
Hello, it looks like a leak from the system memory, not from kamailio's pkg or shm memory. This can be due to an improper use of an external library (e.g., libxml2) by a kamailio module or because of a problem in the library. Can you list the modules used in your config (the loadmodule lines)? I

Re: [SR-Users] Fwd: TOPOH Module in Kamialio

2016-10-06 Thread Ginti Saurabh
Danial, i have gone thorugh the URl, but a little bit confuse that what exactly this module does? If i commented out thease lines then what will be the effect or will it effect the system? On Thu, Oct 6, 2016 at 3:18 PM, Daniel-Constantin Mierla wrote: > Hello, > > On

Re: [SR-Users] Fwd: TOPOH Module in Kamialio

2016-10-06 Thread Daniel-Constantin Mierla
Hello, On 06/10/16 11:45, Ginti Saurabh wrote: > Hi Danial, > > below is the line. > modparam("topoh", "mask_ip", "192.168.0.1") > > loadmodule "topoh.so" if you comment the lines above, then the topoh module won't be loaded and the IP addresses in routing headers will not be masked anymore. To

Re: [SR-Users] Fwd: TOPOH Module in Kamialio

2016-10-06 Thread Ginti Saurabh
Hi Danial, below is the line. modparam("topoh", "mask_ip", "192.168.0.1") loadmodule "topoh.so" On Thu, Oct 6, 2016 at 3:03 PM, Daniel-Constantin Mierla wrote: > Hello, > On 05/10/16 13:30, Ginti Saurabh wrote: > > Hi, > > Can you let me know what is TOPOH module do in

Re: [SR-Users] 420 Bad Extension error

2016-10-06 Thread Daniel-Constantin Mierla
Hello, can you provide the REGISTER request as well -- it is important to see what it asks for. Cheers, Daniel On 06/10/16 11:35, Infinicalls Infinicalls wrote: > Hi all, > I am testing Edge Proxy setup with the example given here : >

Re: [SR-Users] Size of passwords fields in db

2016-10-06 Thread Daniel-Constantin Mierla
On 05/10/16 16:35, Fred Posner wrote: > On 10/05/2016 10:25 AM, Daniel-Constantin Mierla wrote: >> Hello, >> >> writing here to decide on a topic opened by pull request 779: >> >> - https://github.com/kamailio/kamailio/pull/779 >> >> what would be a fair size for db column storing a password

[SR-Users] 420 Bad Extension error

2016-10-06 Thread Infinicalls Infinicalls
Hi all, I am testing Edge Proxy setup with the example given here : http://kamailio.org/docs/modules/4.2.x/modules/outbound.html and I get this error : U 2016/10/06 09:18:48.331580 10.0.0.4:5060 -> 52.233.25.164:5060 SIP/2.0 420 Bad Extension. Via: SIP/2.0/UDP

Re: [SR-Users] Fwd: TOPOH Module in Kamialio

2016-10-06 Thread Daniel-Constantin Mierla
Hello, On 05/10/16 13:30, Ginti Saurabh wrote: > Hi, > > Can you let me know what is TOPOH module do in kamailio? > > what does it do? > > and if commented out this line then will it effect the system? what line and what system are you referring to? Cheers, Daniel -- Daniel-Constantin Mierla

Re: [SR-Users] Migrating from OpenSER config file question.

2016-10-06 Thread Daniel-Constantin Mierla
Hello, I just tested with: $avp(s:callfwd) = $ruri; using kamailio.cfg from master branch and all is ok. Have you loaded the pv module? Cheers, Daniel On 06/10/16 00:56, Brian McCrary wrote: > Hello, > > Thanks so much for the help in pointing me in the right direction. I > finally had