Re: [SR-Users] siptrace error...

2012-03-30 Thread Daniel-Constantin Mierla
Hello, On 3/29/12 10:35 PM, Krishna Kurapati wrote: Daniel, I finally had some time to put a log after it failed to convert from to socket. ERROR: siptrace [siptrace.c:1704]: there is not a valid number port 5060??k5 as you can see the port is printed as '5060??k5', which is invalid.

Re: [SR-Users] siptrace error...

2012-03-30 Thread Alexandr Dubovikov
Krishna, take the last siptrace.c from ser's git and add after line 1703 this code: if(len 0) tmp_piport[len - 1] = '\0'; so, code must looks so: /* our tmp string */ 1703

Re: [SR-Users] siptrace error...

2012-03-29 Thread Krishna Kurapati
Daniel, I finally had some time to put a log after it failed to convert from to socket. ERROR: siptrace [siptrace.c:1704]: there is not a valid number port 5060??k5 Mar 29 13:30:32 siptest /usr/sbin/kamailio[19848]: ERROR: siptrace [siptrace.c:1514]: ERROR: bad FROM tcp:10.1.0.6:5060 or TO tcp:

Re: [SR-Users] siptrace error...

2012-03-28 Thread Daniel-Constantin Mierla
Hello, are you working with a custom siptrace module? the line in siptrace.c does not match. If you changed the sources, paste here the lines in siptrace.c around 1705, 10 before and 10 after. Cheers, Daniel On 3/26/12 3:23 PM, Krishna Kurapati wrote: Hi, I keep getting this error in the

Re: [SR-Users] siptrace error...

2012-03-28 Thread Krishna Kurapati
I tried to pull null terminator to see if that fixes the issue. That is why there is shift in the lines. It is same as line 1701. Krish Kura On Wed, Mar 28, 2012 at 3:57 AM, Daniel-Constantin Mierla mico...@gmail.com wrote: Hello, are you working with a custom siptrace module? the line in

Re: [SR-Users] siptrace error...

2012-03-28 Thread Daniel-Constantin Mierla
have you changed the log line to print the port? can you print the entire string, with proto and ip to see if there are spaces/invalid characters (print it between special chars, like [])? The line is inside the mirroring traffic via hep protocol, is what you want to get, right? Cheers,

Re: [SR-Users] siptrace error...

2012-03-28 Thread Alexandr Dubovikov
Hello Krishna, do you use git version or release 3.2 ? I don't really understand what's a problem do you have ? Wbr, Alexandr 3/28/2012 12:53 PM, Krishna Kurapati wrote: I tried to pull null terminator to see if that fixes the issue. That is why there is shift in the lines. It is same as