[SR-Users] Help with Kamailio java module

2016-04-08 Thread Bonjour Madame
Hi! I am a newbie and I need help understanding how to use the java module with Kamailio. I am trying to create a basic java application that will print the SIP message type being processed by Kamailio. I read the app_java module but can't still figure it out. Any help or reference will be gre

Re: [SR-Users] Kamailio Updates on VUC 588 - this week on Friday

2016-04-08 Thread Daniel-Constantin Mierla
To sync about the time across the world -- the event is just about to start now. Cheers, Daniel On 08/04/16 11:14, Daniel-Constantin Mierla wrote: > Hello, > > short reminder for those that want to join the live VUC session today > about Kamailio -- it starts at 18:00 Berlin timezone (17:00 Londo

Re: [SR-Users] Extracting P-Asserted-Identity value

2016-04-08 Thread Grant Bagdasarian
To answer my own question. This does parse: $var(p_asserted_identity) = $(hdr(P-Asserted-Identity)[*]); $var(caller_id) = $(var(p_asserted_identity){param.value,'tel',:}); But, I'm not sure if this is

[SR-Users] Extracting P-Asserted-Identity value

2016-04-08 Thread Grant Bagdasarian
Hello, How do I extract the value of "tel" from multiple P-Asserted-Identity headers? Example: P-Asserted-Identity: "Cullen Jennings" P-Asserted-Identity: tel:+14085264000 What I got so far is: $var(p_asserted_identity) = $(hdr(P-Asserted-Id

Re: [SR-Users] truncating sip message

2016-04-08 Thread ycaner
Hello;     I saw it. it is fragmented IP and cant resolve it wireshark. But i cant understand one thing, First Call Flows makes fragmantion but second call flows doesnt fragmantaion even if it is larger than first call flows. Thanks.

Re: [SR-Users] Question about debugging using `kamcmd pkg.stats`

2016-04-08 Thread Daniel-Constantin Mierla
Hello, On 08/04/16 13:42, Lucian Balaceanu wrote: > Hi, > > Ok, then in my case mem_join is not enabled. > > So the scenario is plausible, right? 8M of free private memory doesn't > mean neccesarily that there is a contiguous chunk of 200K. So such a > big pkg alloc can fail? yes, that is possibl

Re: [SR-Users] Question about debugging using `kamcmd pkg.stats`

2016-04-08 Thread Lucian Balaceanu
Hi, Ok, then in my case mem_join is not enabled. So the scenario is plausible, right? 8M of free private memory doesn't mean neccesarily that there is a contiguous chunk of 200K. So such a big pkg alloc can fail? Thank you On 08.04.2016 12:48, Daniel-Constantin Mierla wrote: Hi Lucian, th

Re: [SR-Users] truncating sip message

2016-04-08 Thread Andres
On 4/8/16 5:27 AM, ycaner wrote: Hello Daniel; source and destination is different machines and ips. they are sniffed by tshark and they are the same and truncated. Maybe they are not truncated by rather fragmented. If you are capturing packets by UDP Port you will not see the fragments.

Re: [SR-Users] truncating sip message

2016-04-08 Thread ycaner
Hello Daniel;     3 day ago , i just started to work on rtpproxy. My call flow  like UAC1--> Kamailio1---> Kamailio2+RTPPROXY--> UAC2 but it doesnt work because i saw sdp body has missing parameters but rtp flows like UAC1<>UAC2. And then i removed fi

Re: [SR-Users] Question about debugging using `kamcmd pkg.stats`

2016-04-08 Thread Daniel-Constantin Mierla
Hi Lucian, the mem_join is enabled by default -- I checked from 4.1.x to 4.3.x. In the Makefile.defs should be a: C_DEFS+= -DMEM_JOIN_FREE In 4.4 I just noticed it was lost when I added the feature to select the memory manger with command line option -x. I will fix it. Even MEM_JOIN_FREE is ena

Re: [SR-Users] truncating sip message

2016-04-08 Thread ycaner
Hello Daniel;     source and destination is different machines and ips. they are sniffed by tshark and they are the same and truncated.     i tried to remove all extra addes  , include Record-Route and send messsage , no truncate. and then started to add

Re: [SR-Users] Question about debugging using `kamcmd pkg.stats`

2016-04-08 Thread Lucian Balaceanu
Hi Daniel, Thank you for yesterday's input. By doing some debugging on the 'no private memory left' I came to the conclusion that there is enough private memory as a whole to allocate the required amount, but that there is no single free chunk big enough to accommodate the required size. Thi

Re: [SR-Users] Kamailio Updates on VUC 588 - this week on Friday

2016-04-08 Thread Daniel-Constantin Mierla
Hello, short reminder for those that want to join the live VUC session today about Kamailio -- it starts at 18:00 Berlin timezone (17:00 London, 12:00EDT): - https://www.kamailio.org/w/2016/04/vuc-588-kamailio-updates/ Cheers, Daniel On 05/04/16 08:30, Daniel-Constantin Mierla wrote: > Hello,

Re: [SR-Users] truncating sip message

2016-04-08 Thread Daniel-Constantin Mierla
Hello, how did you asserted the fact that the message is truncated? Is the next SIP hop not retrieving it with full content? Or just you looked at some traces on the net, if this one, note that some network sniffing tools are having their limitations in what they display. Daniel On 08/04/16 09:3

Re: [SR-Users] truncating sip message

2016-04-08 Thread ycaner
Hello Daniel;     in request route when invite comes, a header is added like P-SrcUserid. when i added new header , it truncate sdpbody. before t_relay(), i try to remove header, and it didnt. main problem is why truncates sdpbody when i added new