Re: [SR-Users] [NATHELPER] bug in SDP parsing when dealing with multi-part bodies ?

2010-05-13 Thread Pascal Maugeri
> case HDR_CONTENTTYPE_T: > case HDR_CONTENTDISPOSITION_T: > case HDR_CONTENTLENGTH_T: Cheers Pascal On Wed, May 12, 2010 at 5:41 PM, Iñaki Baz Castillo wrote: > 2010/5/12 Pascal Maugeri : > > > It looks the Content-length within th

[SR-Users] [NATHELPER] bug in SDP parsing when dealing with multi-part bodies ?

2010-05-12 Thread Pascal Maugeri
Hi I got the following error when dealing with SIP INVITE with multi-part when the client is behind NAT: May 12 15:27:04 test /usr/sbin/kamailio[1792]: ERROR: nathelper [nathelper.c:2954]: can't extract body from the message The SIP INVITE message looks like: INVITE sip:t...@test.net SIP/2.0

Re: [SR-Users] Configuring TCP keep alive and connection lifetime

2010-05-11 Thread Pascal Maugeri
keep alive, then you have to tweak the > kernel. > > regards > Klaus > > Am 07.05.2010 16:20, schrieb Pascal Maugeri: > >> "kamailio" mailto:us...@lists.kamailio.org>>, >> >> >> Hi >> >> I am sorry to ask again about this topic

Re: [SR-Users] Configuring TCP keep alive and connection lifetime

2010-05-09 Thread Pascal Maugeri
alive. Tomorrow I will try to make a couple a calls to see if I get this 408 you mentionned. Is there a way (either with a parameter or changing source code) a to control the frequency of TCP k.a. ? Cheers Pascal 2010/5/7 Henning Westerholt > On Friday 07 May 2010, Pascal Mauge

[SR-Users] Configuring TCP keep alive and connection lifetime

2010-05-07 Thread Pascal Maugeri
"kamailio" , Hi I am sorry to ask again about this topic but I don't understand yet how the TCP keep-alive are sent. With Kamailio 3.0.1 and the following configuration: tcp_keepalive=yes tcp_keepidle=10 tcp_connection_lifetime=3600 The TCP connection is kept alive and TCP Keep-Alive packets

Re: [SR-Users] [NAT] BYE not received to caller

2010-04-14 Thread Pascal Maugeri
Thank you, I really appreciate ! I will read that carefully. FYI, we just did the test of sending the INVITE with transport=tcp in contact header and it just works fine: kamailio sends the BYE over TCP. Regards, Pascal On Wed, Apr 14, 2010 at 3:36 PM, Juha Heinanen wrote: > Klaus Darilion writ

Re: [SR-Users] [NAT] BYE not received to caller

2010-04-14 Thread Pascal Maugeri
http://sip-router.org/docbook/sip-router/branch/master/modules_k/nathelper/nathelper.html#id2601711 > > regards > klaus > > Am 14.04.2010 12:06, schrieb Pascal Maugeri: > >> Hi >> >> I need some "guidelines" to troubleshoot the following issue: >>

Re: [SR-Users] [NAT] BYE not received to caller

2010-04-14 Thread Pascal Maugeri
A more standard-conform way of rewriting the SDP is to use the > add_contact_alias() and handle_ruri_alias() functions: > > http://sip-router.org/docbook/sip-router/branch/master/modules_k/nathelper/nathelper.html#id2601711 > > regards > klaus > > Am 14.04.2010 12:06, schr

Re: [SR-Users] [Kamailio-Users] Relaying NOTIFY UDP messages over TCP

2010-04-14 Thread Pascal Maugeri
; On 4/14/10 11:42 AM, Pascal Maugeri wrote: > > Hi Daniel > > Just to let you know I followed your advice and we deployed kamailio > 3.0.1. > We are still doing several tests, but I can say already we don't have > anymroe errors with tcp connections ... > > ok, thanks for

[SR-Users] [NAT] BYE not received to caller

2010-04-14 Thread Pascal Maugeri
Hi I need some "guidelines" to troubleshoot the following issue: a) A is behind NAT b) B is not behind NAT c) A calls B, SIP INVITE is sent over TCP d) A's firewall does NAT and changes the source port to let's say p1 e) B releases the call and sends BYE over UDP f) Kamailio sends the BYE to

Re: [SR-Users] [Kamailio-Users] Relaying NOTIFY UDP messages over TCP

2010-04-14 Thread Pascal Maugeri
> > > On 03/11/2010 05:58 PM, Iñaki Baz Castillo wrote: > >> 2010/3/11 Pascal Maugeri: >> >> >>> Does such NOTIFY go to a TCP registered user? Of course if there is >>>> not an existing TCP connection between Kamailio and the final