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

2010-03-11 Thread 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 natted user then it's not possible to send such NOTIFY. Do you mean that the user is sending transport=tcp in his Contact header ? Is it acceptable to

Re: [Kamailio-Users] Generate INVITE from Openser

2009-07-17 Thread Pascal Maugeri
Can you try uac_req_send() from UAC module ? http://www.kamailio.org/docs/modules/1.5.x/uac.html#id2467913 -pascal On Thu, Jul 16, 2009 at 5:02 PM, ALAEDDINE abbech alasup...@yahoo.frwrote: Hello all How can i generate an INVITE from OpenSER. That means that Openser make the role of UAC.

[Kamailio-Users] [nat][registrar] setting max_expires dynamically

2009-07-14 Thread Pascal Maugeri
Hi How can we set the expires value of the REGISTER OK sent back to the clients in a dynamic way ? We set already a value with modparam(registrar, max_expires, 120) but if the UA has been detected to be behind a NAT we want to apply a different value. Regards, Pascal

[Kamailio-Users] How to know if a UAC is behind NAT after fix_nated_register() ?

2009-07-13 Thread Pascal Maugeri
Hi A quick question, when I apply a fix_nated_register() to a remote user when he/she registers, how can I know later on if this user is behind NAT ? All my calls go through a B2BUA: Caller -- kamailio/rtpproxy -- B2BUA -- kamailio/rtpproxy -- Callee When my B2BUA calls a user,

Re: [Kamailio-Users] How to know if a UAC is behind NAT after fix_nated_register() ?

2009-07-13 Thread Pascal Maugeri
, Pascal On Mon, Jul 13, 2009 at 2:43 PM, Pascal Maugeri pascal.maug...@gmail.comwrote: I'm not that familiar with flag management. so when I detect a UA is behind NAT, I do: if (nat_uac_test(19)) { if (method==REGISTER) { setbflag(7

Re: [Kamailio-Users] TCP supervisor process in Kamailio

2009-07-09 Thread Pascal Maugeri
On Wed, Jul 8, 2009 at 11:30 AM, Daniel-Constantin Mierla mico...@gmail.com wrote: On 07/08/2009 09:17 AM, Pascal Maugeri wrote: Thanks for the suggestion Jiri. So far I have been monitoring sr and I know that the TCP async implementation might resolve some problems we're facing

Re: [Kamailio-Users] TCP supervisor process in Kamailio

2009-07-09 Thread Pascal Maugeri
On Wed, Jul 8, 2009 at 5:44 PM, Jiri Kuthan j...@iptel.org wrote: Pascal Maugeri wrote: Thanks for the suggestion Jiri. So far I have been monitoring sr and I know that the TCP async implementation might resolve some problems we're facing with kamailio. But I'm a bit conservative and I

Re: [Kamailio-Users] TCP supervisor process in Kamailio

2009-07-08 Thread Pascal Maugeri
for SIP), I suggest you consider the sip-router core. There has been (and I think still will be) tremendous effort put in it. -jiri Pascal Maugeri wrote: Hi I recently read the following in order to optimize OpenSER in handling TCP connections: First, the TCP supervisor process must

[Kamailio-Users] TCP supervisor process in Kamailio

2009-07-07 Thread Pascal Maugeri
Hi I recently read the following in order to optimize OpenSER in handling TCP connections: First, the TCP supervisor process must be given an elevated priority level in order to prevent anomalous behavior due to the Linux scheduler. First of all, as this is quite old paper (it refers to OpenSER

Re: [Kamailio-Users] TCP supervisor process in Kamailio

2009-07-07 Thread Pascal Maugeri
On Tue, Jul 7, 2009 at 2:58 PM, Daniel-Constantin Mierlamico...@gmail.com wrote: Hello, On 07/07/2009 02:51 PM, Pascal Maugeri wrote: Hi I recently read the following in order to optimize OpenSER in handling TCP connections: First, the TCP supervisor process must be given an elevated

Re: [Kamailio-Users] NAThelper and multipart SDP

2009-06-26 Thread Pascal Maugeri
? Cheers Pascal On Tue, Jun 23, 2009 at 12:01 PM, Daniel-Constantin Mierla mico...@gmail.com wrote: Hi Pascal, you are right, a stupid bug introduced with the support for the multipart. I committed to the git repo. Thanks, Daniel On 06/23/2009 11:55 AM, Pascal Maugeri wrote: Daniel

Re: [Kamailio-Users] No Audio with clients Behind NAT, audio is fine with clients using public IPs (Im using rtpproxy)

2009-06-26 Thread Pascal Maugeri
I've just setup a similar configuration as yours. Could you check the SDP payload of the SIP INVITE that goes from kamailio to the callee ? It should contains the IP address of rtpproxy and the port allocated by the proxy. Regards, Pascal On Thu, Jun 25, 2009 at 12:41 PM, rubenrojas - Trc.es

Re: [Kamailio-Users] NAThelper and multipart SDP

2009-06-23 Thread Pascal Maugeri
mismatching\n); goto error; } ? ( ==1 -- ==-1) Because now it gives me errors when processing INVITE with application/sdp payload. -pascal On Tue, Jun 23, 2009 at 10:59 AM, Daniel-Constantin Mierla mico...@gmail.com wrote: On 06/23/2009 10:16 AM, Pascal Maugeri wrote

Re: [Kamailio-Users] NAThelper and multipart SDP

2009-06-22 Thread Pascal Maugeri
On Mon, Jun 22, 2009 at 11:36 AM, Juha Heinanen j...@tutpro.com wrote: Pascal Maugeri writes: I tried to install mediaproxy but it looks tricky to install (many dependencies, including kernel specific configurations) :-( i don't know about those. i just use mediaproxy debian package

Re: [Kamailio-Users] NAThelper and multipart SDP

2009-06-22 Thread Pascal Maugeri
11:30 AM, Pascal Maugeri wrote: I tried to install mediaproxy but it looks tricky to install (many dependencies, including kernel specific configurations) :-( and I would like to stick to rtpproxy for performance reason. Do you believe the same workaround using textops/filter_body can be used

Re: [Kamailio-Users] NAThelper and multipart SDP

2009-06-22 Thread Pascal Maugeri
Yes, you're right. Sorry for that. -pascal On Mon, Jun 22, 2009 at 1:52 PM, Daniel-Constantin Mierla mico...@gmail.com wrote: On 06/22/2009 01:46 PM, Pascal Maugeri wrote: If I understood correctly you want me to test the patch nhelpr_func.c you've done in sr in kamailio ? This is what

Re: [Kamailio-Users] NAThelper and multipart SDP

2009-06-22 Thread Pascal Maugeri
to test it directly there. Cheers, Daniel On 06/22/2009 11:30 AM, Pascal Maugeri wrote: I tried to install mediaproxy but it looks tricky to install (many dependencies, including kernel specific configurations) :-( and I would like to stick to rtpproxy for performance reason. Do you believe

[Kamailio-Users] NAThelper and multipart SDP

2009-06-19 Thread Pascal Maugeri
Hi Does NATHelper support properly multipart SDP (eg. INVITE with application/sdp and application/resource-lists+xml) ? Regards, Pascal ___ Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org

Re: [Kamailio-Users] NAThelper and multipart SDP

2009-06-19 Thread Pascal Maugeri
from the message is it familiar to you ? -pascal On Fri, Jun 19, 2009 at 12:25 PM, Alex Balashov abalas...@evaristesys.com wrote: As I understand it, yes, only the SDP payload per se is modified. Pascal Maugeri wrote: Thanks Alex but I'm not sure if I understood correctly

Re: [Kamailio-Users] NAThelper and multipart SDP

2009-06-19 Thread Pascal Maugeri
Hi there are two separate issues here related to multipart/mixed. one is nathelper/mediaproxy module related and the other relates to textops/filter_body function. mediaproxy module's use_mediaproxy() function can extract application/sdp bodypart both in k 1.5 and sr. ok, this point is

Re: [Kamailio-Users] Question about manually manipulating RURI

2009-06-19 Thread Pascal Maugeri
Hi Geoffrey Why don't you try: http://www.kamailio.org/docs/modules/1.5.x/textops.html#id2467793 Regards, Pascal On Fri, Jun 19, 2009 at 9:01 PM, Geoffrey Mina geoffreym...@gmail.comwrote: I have a need to perform some manipulation of the user part of the RURI. I have some dialers which

Re: [Kamailio-Users] db_mysql errors doing presence activity

2009-06-10 Thread Pascal Maugeri
it looks the email I sent yesterday has been blocked because of its size by the mailing-list agent. -pascal On Tue, Jun 9, 2009 at 5:45 PM, Pascal Maugeri pascal.maug...@gmail.comwrote: OK good news, with the lastest of 1.5 branch I could not reproduced the bug I reported. I've sent

Re: [Kamailio-Users] /etc/init.d/kamailio start can't start

2009-06-09 Thread Pascal Maugeri
am I missing? Thank you Best Regards vinod *From:* pascal.maug...@gmail.com [mailto:pascal.maug...@gmail.com] *On Behalf Of *Pascal Maugeri *Sent:* Tuesday, June 09, 2009 4:01 AM *To:* vinod *Cc:* users@lists.kamailio.org *Subject:* Re: [Kamailio-Users] /etc/init.d/kamailio start

Re: [Kamailio-Users] db_mysql errors doing presence activity

2009-06-09 Thread Pascal Maugeri
Indeed, yes I have the xcap_client module loaded. I believe you found the gulty module : as I have another server without the xcap_client loaded and it does not give this db error ! -pascal Hi Pascal, do you have loaded xcap_client module? -- Iñaki Baz Castillo i...@aliax.net

Re: [Kamailio-Users] db_mysql errors doing presence activity

2009-06-09 Thread Pascal Maugeri
at 1:57 PM, Daniel-Constantin Mierla mico...@gmail.comwrote: I did a fix for what Inaki reported for xcap_client, you can get latest svn version for 1.5 and try again, maybe that was the issue. Thanks, Daniel On 06/08/2009 04:54 PM, Pascal Maugeri wrote: Daniel, do you want me to do other

Re: [Kamailio-Users] db_mysql errors doing presence activity

2009-06-09 Thread Pascal Maugeri
ok I try it again -pascal On Tue, Jun 9, 2009 at 5:27 PM, Daniel-Constantin Mierla mico...@gmail.comwrote: I mistakenly returned error code even all was ok, in the previous commit. Should be fixed on svn. Thanks, Daniel On 06/09/2009 06:22 PM, Pascal Maugeri wrote: I just tried your fix

Re: [Kamailio-Users] db_mysql errors doing presence activity

2009-06-09 Thread Pascal Maugeri
at least it starts :-) let's see if I get these db errors ... -pascal On Tue, Jun 9, 2009 at 5:28 PM, Pascal Maugeri pascal.maug...@gmail.comwrote: ok I try it again -pascal On Tue, Jun 9, 2009 at 5:27 PM, Daniel-Constantin Mierla mico...@gmail.com wrote: I mistakenly returned error

Re: [Kamailio-Users] db_mysql errors doing presence activity

2009-06-09 Thread Pascal Maugeri
at 5:32 PM, Pascal Maugeri pascal.maug...@gmail.comwrote: at least it starts :-) let's see if I get these db errors ... -pascal On Tue, Jun 9, 2009 at 5:28 PM, Pascal Maugeri pascal.maug...@gmail.comwrote: ok I try it again -pascal On Tue, Jun 9, 2009 at 5:27 PM, Daniel-Constantin

Re: [Kamailio-Users] db_mysql errors doing presence activity

2009-06-08 Thread Pascal Maugeri
Daniel, do you want me to do other test ? -pascal On Fri, Jun 5, 2009 at 4:26 PM, Pascal Maugeri pascal.maug...@gmail.comwrote: OK now I can provide you more feedback regarding this issue and using your patch: Jun 5 18:21:17 sandbox /usr/sbin/kamailio[15152

Re: [Kamailio-Users] /etc/init.d/kamailio start can't start

2009-06-08 Thread Pascal Maugeri
On which operating are you running kamailio ? On fedora for instance, I usually copy the script from kamailio source root/packaging/fedora/kamailio.init to /etc/init.d/kamailio. Then I edit the file /etc/init.d/kamailio and change the variable oser to point to the directory where the kamailio

[Kamailio-Users] Kamailio 1.5.1 on Amazon EC2

2009-06-08 Thread Pascal Maugeri
Hi We installed Kamailio 1.5.1 on a Amazon EC2 Fedora Core 9 image. As you may know EC2 maps a public IP address to a private IP address of the image, hence there is a kind of NAT. It looks presence does not work because of this. We'll try to make use of the NATHelper module ASAP. Except this

Re: [Kamailio-Users] db_mysql errors doing presence activity

2009-06-05 Thread Pascal Maugeri
Sorry I misunderstood what you want me to do: please just forget my previous email. Now I'm going to generate some load to reproduce the failure and I'll send you the feedback you expect. -pascal On Fri, Jun 5, 2009 at 2:15 PM, Pascal Maugeri pascal.maug...@gmail.comwrote: Hi I just applied

Re: [Kamailio-Users] db_mysql errors doing presence activity

2009-06-05 Thread Pascal Maugeri
On Fri, Jun 5, 2009 at 2:53 PM, Pascal Maugeri pascal.maug...@gmail.comwrote: Sorry I misunderstood what you want me to do: please just forget my previous email. Now I'm going to generate some load to reproduce the failure and I'll send you the feedback you expect. -pascal On Fri, Jun

[Kamailio-Users] db_mysql errors doing presence activity

2009-06-04 Thread Pascal Maugeri
Hello I'm getting these errors using Kamailio 1.5.1: Jun 4 12:25:10 sandbox /usr/sbin/kamailio[5060]: ERROR:db_mysql:db_mysql_submit_query: driver error on query: Commands out of sync; you can't run this command now Jun 4 12:25:10 sandbox /usr/sbin/kamailio[5060]: ERROR:core:db_do_update:

Re: [Kamailio-Users] db_mysql errors doing presence activity

2009-06-04 Thread Pascal Maugeri
ok, I've applied your patch changed my kamailio.cfg to have debug=5 and restarted the test. I will send you send feedback ASAP -pascal On Thu, Jun 4, 2009 at 12:09 PM, Daniel-Constantin Mierla mico...@gmail.com wrote: Hello, On 06/04/2009 11:49 AM, Pascal Maugeri wrote: Hello I'm

Re: [Kamailio-Users] db_mysql errors doing presence activity

2009-06-04 Thread Pascal Maugeri
which configuration parameters do you want to see ? -pascal On Thu, Jun 4, 2009 at 11:12 AM, Saúl Ibarra sag...@gmail.com wrote: Can you paste you DB settings? On Thu, Jun 4, 2009 at 10:49 AM, Pascal Maugeri pascal.maug...@gmail.com wrote: Hello I'm getting these errors using Kamailio

[Kamailio-Users] SIP Compact form supported

2009-06-03 Thread Pascal Maugeri
Hi Does Kamailio support SIP Compact Form (RFC 3261, section 7.3.3) ? Regards, Pascal ___ Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users

Re: [Kamailio-Users] tcp_blocking_connect related errors and Kamailio using 100% CPU

2009-05-29 Thread Pascal Maugeri
On Thu, May 28, 2009 at 12:59 PM, Iñaki Baz Castillo i...@aliax.net wrote: 2009/5/28 Pascal Maugeri pascal.maug...@gmail.com: FYI, I've changed the configuration to: tcp_children=8 tcp_send_timeout=3 tcp_connect_timeout=5 and it looks we get less often the problem described here

Re: [Kamailio-Users] tcp_blocking_connect related errors and Kamailio using 100% CPU

2009-05-27 Thread Pascal Maugeri
To my best knowledge, TCP support in Kamailio is blocking. This has been addressed for sip-router (tcp_async=yes). Anyway, there are still some issues for tls. This is a good argument to switch to sip-router :-) How many simultaneous TCP connections are you handling? You could try to

Re: [Kamailio-Users] RLS - is rls-services supported ?

2009-05-20 Thread Pascal Maugeri
-Constantin Mierla mico...@gmail.com wrote: Hello, On 05/19/2009 06:26 PM, Pascal Maugeri wrote: Hi I'm doing an integration of the RLS module for Kamailio 1.5 and a third-party XCAP server. I see that when my client sends a SIP SUBSCRIBE to a list that is defined into the document rls-services

[Kamailio-Users] RLS - is rls-services supported ?

2009-05-19 Thread Pascal Maugeri
Hi I'm doing an integration of the RLS module for Kamailio 1.5 and a third-party XCAP server. I see that when my client sends a SIP SUBSCRIBE to a list that is defined into the document rls-services, I only see the traffic from Kamailio/RLS to the XCAP server to retrieve a resource-lists

[Kamailio-Users] RLS with XCAP server - document changes notification

2009-05-17 Thread Pascal Maugeri
Hi I am planning to use the RLS module with an external XCAP server (integrated_xcap_server=0) to store users resource-lists documents. My question is related to the changes of a such resource-lists document and how the RLS server behaves. I've read carrefully the module

Re: [Kamailio-Users] [presence] use case of a user that doesn't un-REGISTER and un-PUBLISH

2009-01-23 Thread Pascal Maugeri
if this is the proper way to proceed by at least it works for me :-) Any suggestion are welcome! Pascal On Thu, Jan 22, 2009 at 8:50 PM, Iñaki Baz Castillo i...@aliax.net wrote: El Jueves, 22 de Enero de 2009, Pascal Maugeri escribió: Well not really : if we use long publish expiration such as 3600s, we may

[Kamailio-Users] [presence] use case of a user that doesn't un-REGISTER and un-PUBLISH

2009-01-22 Thread Pascal Maugeri
Hi Using kamailio v1.5 (trunk), I'm testing the following simple presence scenario where one user shutdowns his application without prior un-PUBLISH and un-REGISTER. 1) user A subscribes to user B presence. Both use X-Lite. 2) user B shutdowns his X-Lite (without doing un-REGISTER and un-PUBLISH

Re: [Kamailio-Users] [presence] use case of a user that doesn't un-REGISTER and un-PUBLISH

2009-01-22 Thread Pascal Maugeri
: El Jueves, 22 de Enero de 2009, Pascal Maugeri escribió: Hi Using kamailio v1.5 (trunk), I'm testing the following simple presence scenario where one user shutdowns his application without prior un-PUBLISH and un-REGISTER. 1) user A subscribes to user B presence. Both use X-Lite. 2

Re: [Kamailio-Users] [presence] NOTIFY sent over UDP when UA is waiting on TCP - (New bug reported)

2008-11-15 Thread Pascal Maugeri
I think so. I've filled in a new issue in the tracker system (#2291718). Regards, Pascal On Fri, Nov 14, 2008 at 11:37 PM, Klaus Darilion [EMAIL PROTECTED] wrote: looks like a bug in the presence module Pascal Maugeri wrote: Hi We've seen the following problem: 1) the UA subscribe

[Kamailio-Users] [presence] getting record not found in hash_table error

2008-11-14 Thread Pascal Maugeri
Hi We get very ofter this error message when subscribing to presence: Nov 14 16:20:01 server2-operations /usr/local/sbin/kamailio[6224]: ERROR:presence:get_stored_info: record not found in hash_table Nov 14 16:20:01 server2-operations /usr/local/sbin/kamailio[6224]:

[Kamailio-Users] [presence] NOTIFY sent over UDP when UA is waiting on TCP

2008-11-14 Thread Pascal Maugeri
Hi We've seen the following problem: 1) the UA subscribe to a presentity with a SUBSCRIBE that contains this Contact header: p1i sip:[EMAIL PROTECTED]:1414;transport=tcp 2) then the presence module outputs in log file: INFO:presence:send_notify_request: NOTIFY sip:[EMAIL

[Kamailio-Users] Fwd: How to enable local_route feature ?

2008-10-29 Thread Pascal Maugeri
CRITICAL:core:yyerror: parse error in config file, line 432, column 1-2: invalid local_route statement As you announced this feature for OpenSER 1.4 release series, I assume this is available for kamailio v1.4.2 ? Best regards, Pascal -- Forwarded message -- From: Pascal Maugeri

Re: [Kamailio-Users] [presence] Modifying NOTIFY headers set

2008-10-27 Thread Pascal Maugeri
Right, I already tried append_hf but it looks that the NOTIFY messages sent by presence module do not go through the main route block. Can you confirm that ? Regards, Pascal On Mon, Oct 27, 2008 at 1:46 PM, Alex Balashov [EMAIL PROTECTED]wrote: append_hf() from textops. Pascal Maugeri

[Kamailio-Users] [dispatcher] configure the sending of OPTIONS pings

2008-10-24 Thread Pascal Maugeri
Hi How do you configure dispatcher to send OPTIONS ping to load-balanced proxies ? I'm using kamailio 1.4.2 with this of configuration: [...] modparam(dispatcher, ds_ping_method, OPTIONS) modparam(dispatcher, ds_ping_interval, 5) modparam(dispatcher, ds_ping_from, sip:[EMAIL PROTECTED][EMAIL

Re: [Kamailio-Users] Architecture with load-balancing (dispatcher module)

2008-10-23 Thread Pascal Maugeri
of time. That is how this is typically done. At some point you've got to say that you've done all you can do, and it's up to the other side. Thanks Alex, it's a good point. -pascal Pascal Maugeri wrote: Hi I was wondering how to achieve an architecture with two or more active load

Re: [Kamailio-Users] Registrar performance

2008-10-22 Thread Pascal Maugeri
Thanks for your input ! The link you provided is very useful for that purpose. -pascal On Wed, Oct 22, 2008 at 10:08 AM, Henning Westerholt [EMAIL PROTECTED] wrote: On Tuesday 21 October 2008, Klaus Darilion wrote: I would like to have some rough estimate of the registrar performance