Re: [SR-Users] xlog issue

2018-12-02 Thread Joel Serrano
That looks good. And your modparam values for xlog module? Have you tried increasing the “buf_size”? On Sun, Dec 2, 2018 at 08:36 Soltanici Ilie wrote: > Sure, > > request_route { >include_file "conf.d/request_route.cfg" > } > conf.d/request_route.cfg: > xlog("L_INFO","[START

Re: [SR-Users] xlog issue

2018-12-02 Thread Joel Serrano
Can you paste your first lines of request_route? On Sun, Dec 2, 2018 at 07:15 Soltanici Ilie wrote: > Hello, > > I have a strange situation by using xlog module. I don't know for what > reason I'm not receiving all logs generated by kamailio. > > This is the configuration which I'm using in

Re: [SR-Users] xlog issue

2018-12-02 Thread Soltanici Ilie
Sure,  request_route {    include_file "conf.d/request_route.cfg" } conf.d/request_route.cfg: xlog("L_INFO","[START ROUTING]-(Source IP=$si:$sp/Destination IP=$Ri:$Rp)\n"); route(REQINIT); route(NATDETECT); # Handle Cancel Requests route(CATCH_CANCEL); route(RETRANSMISSIONS); etc >Joel

[SR-Users] xlog issue

2018-12-02 Thread Soltanici Ilie
Hello, I have a strange situation by using xlog module. I don't know for what reason I'm not receiving all logs generated by kamailio. This is the configuration which I'm using in kamailio.cfg: log_facility=LOG_LOCAL0 log_name="kamailio" log_prefix="{$rm ($mt) | Seq=$cs | Source IP=$si

Re: [SR-Users] xlog issue

2018-12-02 Thread Soltanici Ilie
Joel, Yes, for me it's very strange as well. It's a virtual machine (vmware esxi) on a physical server.  (4 vCPU/8GB Ram) >Joel Serrano : > >I’m not sure then what it can be, as load is not high, IO either and you have >SSD... > >Is it a virtual server in a cloud? > >I would say to enable

Re: [SR-Users] xlog issue

2018-12-02 Thread Soltanici Ilie
Yes, i did, see below xlog modparam: # - xlog - modparam("xlog", "buf_size", 8192) modparam("xlog", "long_format", 0) modparam("xlog", "force_color", 1) modparam("xlog", "log_colors", "L_ERR=cr;L_WARN=px,L_INFO=px") >Воскресенье, 2 декабря 2018, 17:24 UTC от Joel Serrano : > >That

[SR-Users] is_e164 logic to detect valid number

2018-12-02 Thread Patrick Wakano
Hello list, Hope you are all doing fine! I am using the is_e164() function to validate the number we receive, and I come to see that the number +555 was accepted After some googling it looks like(it is not very clear though) that 7 digits are the minimum we could have for e164 numbers but

Re: [SR-Users] is_e164 logic to detect valid number

2018-12-02 Thread Mojtaba
Hello, it's strange that why this function (actually i mean e164_check function) doesn’t check the length of number! Based on Recommendation ITU-T E.164, Annex A.3 Number length, it should be matched with one of structures that is explained there So you could do check it yourself with regex. With

[SR-Users] Dialog getting disconnected as soon as call is ended

2018-12-02 Thread Subham Singhal
Hello, I am new to kamailio. I have been trying to integrate kamailio with asterisk. I am able to send INVITE and get RTP packets as well, but I am unable to receive BYE from asterisk. Call is getting terminated through following websocket error. "WebSocket connection to

Re: [SR-Users] xlog issue

2018-12-02 Thread Joel Serrano
I’m not sure then what it can be, as load is not high, IO either and you have SSD... Is it a virtual server in a cloud? I would say to enable debug mode to try and see if you see anything there... :/ On Sun, Dec 2, 2018 at 10:38 Soltanici Ilie wrote: > Yes, i did, see below xlog modparam: >