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 acceptab

[Kamailio-Users] Relaying NOTIFY UDP messages over TCP

2010-03-09 Thread Pascal Maugeri
Hi We need to force some NOTIFY messages going through our kamailio instance over UDP to be sent over TCP. For that purpose we inserted the following relaying rule at the beginning of the routing script: route{ if (!mf_process_maxfwd_header("10")) { sl_send_reply("483","Too Many Hops"); exi

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 wrote: > Hello all > > How can i generate an INVITE from OpenSER. That means that Openser make the > role of UAC. > Who have an id

[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 __

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

2009-07-13 Thread Pascal Maugeri
isbflagset(7)) { setflag(5); Regards, Pascal On Mon, Jul 13, 2009 at 2:43 PM, Pascal Maugeri wrote: > I'm not that familiar with flag management. > > so when I detect a UA is behind NAT, I do: > > if (nat_uac_test("19")) {

[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 us

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 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. >> >&

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 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&#x

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

2009-07-08 Thread Pascal Maugeri
nt TCP is not easy 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 hand

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 Mierla 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: >> >> "Fir

[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 OpenSE

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 wro

Re: [Kamailio-Users] NAThelper and multipart SDP

2009-06-26 Thread Pascal Maugeri
ailio ? 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

Re: [Kamailio-Users] NAThelper and multipart SDP

2009-06-23 Thread Pascal Maugeri
> >>Let me know if works ok now. >> >>Thanks, >>Daniel >> >> >> On 06/22/2009 04:22 PM, Daniel-Constantin Mierla wrote: >> >>please send me the original and the new invite so I can see >>how the body is chang

Re: [Kamailio-Users] NAThelper and multipart SDP

2009-06-23 Thread Pascal Maugeri
ierla wrote: > >> please send me the original and the new invite so I can see how the body >> is changed afterwards. >> >> Cheers, >> Daniel >> >> On 06/22/2009 03:23 PM, Pascal Maugeri wrote: >> >>> With your patch there is a small

Re: [Kamailio-Users] NAThelper and multipart SDP

2009-06-22 Thread Pascal Maugeri
k to rtpproxy for performance reason. >> >> Do you believe the same workaround using textops/filter_body can be used >> using rtpproxy ? I think yes as these are two different things as said Juha. >> >> Regards, >> Pascal >> >> >> On Fri, Jun 19,

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 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 ka

Re: [Kamailio-Users] NAThelper and multipart SDP

2009-06-22 Thread Pascal Maugeri
> want 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 lik

Re: [Kamailio-Users] NAThelper and multipart SDP

2009-06-22 Thread Pascal Maugeri
On Mon, Jun 22, 2009 at 11:36 AM, Juha Heinanen 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 mediap

Re: [Kamailio-Users] NAThelper and multipart SDP

2009-06-22 Thread Pascal Maugeri
these are two different things as said Juha. Regards, Pascal On Fri, Jun 19, 2009 at 9:26 PM, Pascal Maugeri wrote: > > > On Fri, Jun 19, 2009 at 9:13 PM, Juha Heinanen wrote: > >> Pascal Maugeri writes: >> >> > So if I understand well (please corre

Re: [Kamailio-Users] NAThelper and multipart SDP

2009-06-19 Thread Pascal Maugeri
On Fri, Jun 19, 2009 at 9:13 PM, Juha Heinanen wrote: > Pascal Maugeri writes: > > > So if I understand well (please correct me if I'm wrong) the "plan" is: > > > > 1º) I install MediaProxy and use Kamailio MEDIAPROXY module instead of > > rtppro

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 wrote: > I have a need to perform some manipulation of the user part of the > RURI. I have some dialers which send INVITES with the RU

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

Re: [Kamailio-Users] NAThelper and multipart SDP

2009-06-19 Thread Pascal Maugeri
ttp://lists.kamailio.org/pipermail/users/2009-June/023706.html). > I think it is useless I try mediaproxy (instead of rtpproxy) because the error comes from NATHelper module. Thanks all for your answers Pascal > > Edson. > > Pascal Maugeri escreveu: > >> I found the tracker

Re: [Kamailio-Users] NAThelper and multipart SDP

2009-06-19 Thread Pascal Maugeri
I found the tracker in sip-router but nothing in Kamailio. Does it mean that this is a fix that will be applied only to sip-router module ? -pascal On Fri, Jun 19, 2009 at 1:35 PM, Juha Heinanen wrote: > Pascal Maugeri writes: > > > I was checking the nathelper source code (n

Re: [Kamailio-Users] NAThelper and multipart SDP

2009-06-19 Thread Pascal Maugeri
athelper source code (nhelpr_func.c) and it looks that only a content-type of application/sdp is accepted. -pascal 2009/6/19 Victor Pascual Ávila > Hi Pascal, > > could you please attach the INVITE body? > > Thanks, > -Victor > > On Fri, Jun 19, 2009 at 12:54 PM, Pascal

Re: [Kamailio-Users] NAThelper and multipart SDP

2009-06-19 Thread Pascal Maugeri
/usr/sbin/kamailio[15560]: ERROR:nathelper:force_rtp_proxy: can't extract body from the message is it familiar to you ? -pascal On Fri, Jun 19, 2009 at 12:25 PM, Alex Balashov wrote: > As I understand it, yes, only the SDP payload per se is modified. > > Pascal Maugeri wrote: &g

Re: [Kamailio-Users] NAThelper and multipart SDP

2009-06-19 Thread Pascal Maugeri
Alex Balashov wrote: > Nathelper does not attempt to modify parts of SDP not pertinent to its > mission. > > Pascal Maugeri wrote: > > Hi >> >> Does NATHelper support properly multipart SDP (eg. INVITE with >> application/sdp and application/resour

[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 http://lists.kamailio.org/cgi-bin/mailman/listi

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 wrote: > OK good news, with the lastest of 1.5 branch I could not reproduced the bug > I reported. > > I've sent somethin

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

2009-06-09 Thread Pascal Maugeri
un 9, 2009 at 5:32 PM, Pascal Maugeri wrote: > 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 > wrote: > >> ok I try it again >> -pascal >> >> >> On Tue, Ju

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 wrote: > ok I try it again > -pascal > > > On Tue, Jun 9, 2009 at 5:27 PM, Daniel-Constantin Mierla < > mico...@gmail.com> wrote: > >> I m

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 wrote: > 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: > >

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

2009-06-09 Thread Pascal Maugeri
1:57 PM, Daniel-Constantin Mierla wrote: > 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, d

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 > > > __

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

2009-06-09 Thread Pascal Maugeri
this is my fault as I remember you asked me to send this info as well. I'm restarting the test ... -pascal > > Thanks, > Daniel > > >> -pascal >> >> >> >> On Fri, Jun 5, 2009 at 2:53 PM, Pascal Maugeri >> > pascal.maug...@gmail.com&g

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

2009-06-08 Thread Pascal Maugeri
in /etc/init.d/kamailio ? > > > > > > What 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

[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 poi

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 /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 binary is (in my case i

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 wrote: > 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]: > ERROR:db_mysql:db_mys

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

2009-06-05 Thread Pascal Maugeri
w Jun 5 18:21:17 sandbox /usr/sbin/kamailio[15153]: ERROR:core:db_do_query: error while submitting query So you can see the previous SQL commands sent. Do you need anything else ? -pascal On Fri, Jun 5, 2009 at 2:53 PM, Pascal Maugeri wrote: > Sorry I misunderstood what you want me to

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 wrote: > Hi > > I just applied y

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

2009-06-05 Thread Pascal Maugeri
It changes the frequency of the log but the log always appear periodically (for clean/update actions). Regards, Pascal On Fri, Jun 5, 2009 at 10:04 AM, Daniel-Constantin Mierla wrote: > > > On 06/05/2009 10:55 AM, Daniel-Constantin Mierla wrote: > >> >> >> On 06/04/

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 wrote: > Can you paste you DB settings? > > On Thu, Jun 4, 2009 at 10:49 AM, Pascal Maugeri > wrote: > > Hello > > > > I'm getting these errors using K

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 wrote: > Hello, > > > On 06/04/2009 11:49 AM, Pascal Maugeri wrote: > >&g

[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: error

[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 http://lists.openser-project.org/cgi-bin/

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 wrote: > 2009/5/28 Pascal Maugeri : > > FYI, I've changed the configuration to: > > > > tcp_children=8 > > tcp_send_timeout=3 > > tcp_connect_timeout=5 > > > > and it looks we get less oft

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

2009-05-28 Thread Pascal Maugeri
production environment. Regards, Pascal 2009/5/27 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

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

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

2009-05-27 Thread Pascal Maugeri
Hi Using Kamailio 1.5 we periodically get the following errors: Jul 1 09:54:41 localhost /usr/local/sbin/openser[3836]: ERROR:core:tcp_blocking_connect: poll error: flags 18 Jul 1 09:54:41 localhost /usr/local/sbin/openser[3836]: ERROR:core:tcp_blocking_connect: failed to retrieve SO_ERROR (110

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

2009-05-20 Thread Pascal Maugeri
correct ? I have to know that because in such case we will have our client to fill in this list with the the resources. Cheers. Pascal On Wed, May 20, 2009 at 12:08 PM, Pascal Maugeri wrote: > OK so there is no support for rls-services document. This is what I > thought. > > So w

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 clie

[Kamailio-Users] XCAP_CLIENT failing to fetch/parse resource-lists document

2009-05-20 Thread Pascal Maugeri
I see that xcap_client is failing to parse a document from the XCAP server: May 20 12:41:47 sandbox /usr/sbin/kamailio[11280]: ERROR:xcap_client:send_http_get: while performing curl option May 20 12:41:47 sandbox /usr/sbin/kamailio[11280]: ERROR:rls:get_resource_list: while fetching data from xcap

[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 document

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

2009-05-18 Thread Pascal Maugeri
_reply /xcap-root/resource-lists/users/eyebeam/buddies-resource-list.xml 8000 _empty_line_ ... and that's it ? Thanks Pascal On Mon, May 18, 2009 at 12:30 PM, Daniel-Constantin Mierla < mico...@gmail.com> wrote: > Hello, > > On 05/17/2009 10:18 AM, Pascal Maugeri wrote: > >

[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 documentation

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

2009-01-23 Thread Pascal Maugeri
As we're talking about it, what's purpose of active_watchers and watchers DB tables ? Is that so that each time I subscribe to a user presence there is a new entry ? (it doesn't look to work that way). -pascal On Fri, Jan 23, 2009 at 1:23 PM, Iñaki Baz Castillo wrote: >

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

2009-01-23 Thread Pascal Maugeri
On Fri, Jan 23, 2009 at 11:52 AM, Iñaki Baz Castillo wrote: > 2009/1/23 Pascal Maugeri : > > I've much better results forcing an unregister of my user before doing > the > > register. > > > > unregister("location", &q

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

2009-01-23 Thread Pascal Maugeri
ce tables. I'm not sure 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 wrote: > El Jueves, 22 de Enero de 2009, Pascal Maugeri escribió: > > Well not really : if we

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

2009-01-22 Thread Pascal Maugeri
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)

[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] http_query function

2008-11-25 Thread Pascal Maugeri
AFAIK there is no limit fixed by RFCs. Nevertheless the limit is fixed either by browers or servers implementations. e.g. firefox is repported to work with URL > 65K characters but is seems to be a limit in Apache server :-/ Check this link: http://www.boutell.com/newfaq/misc/urllength.html I ex

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 >> >>

[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" 2) then the presence module outputs in log file: INFO:presence:send_notify_request: NOTIFY sip:[EMAIL PROTECTED]<[EMAIL PROTECTED]>via sip:[EMAIL P

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

2008-11-14 Thread Pascal Maugeri
Difficult to say :-/ I would say no because NOTIFY with presence informations are not received afterward. -pascal On Fri, Nov 14, 2008 at 4:58 PM, Klaus Darilion < [EMAIL PROTECTED]> wrote: > > > Pascal Maugeri schrieb: > >> Hi >> >> We get very ofter th

[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]: ERROR:presence:handle_subscrib

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

2008-10-29 Thread Pascal Maugeri
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 <[EMAIL PROTECTED]> Date: Wed, Oct 29, 2008 at 11:17 AM Subject: How to enable local_route feature ? To: Henn

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

2008-10-27 Thread Pascal Maugeri
> > dirty workaround: "spiral" the message to the proxy > > > > regards > > klaus > > > >> regards, > >> Anca > >> > >> > >> Pascal Maugeri wrote: > >>> Right, I already tried append_hf but it looks that the

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

2008-10-27 Thread Pascal Maugeri
I don't see any way to add headers in 1.3 where there is no > local_route. > > regards, > Anca > > > Pascal Maugeri wrote: > >> Right, I already tried append_hf but it looks that the NOTIFY messages >> sent by presence module do not go through the main &q

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

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

2008-10-27 Thread Pascal Maugeri
Hi I need to add a SIP header to outgoing NOTIFY messages, just before it is sent to remote users. Is that possible to do that without using the local_route section (using openser 1.3) ? Regards, Pascal ___ Users mailing list Users@lists.kamailio.org h

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

2008-10-27 Thread Pascal Maugeri
_failure("1"); t_relay(); exit; } } failure_route[1] { xlog("L_INFO", "Marking GW as failed...\n"); ds_mark_dst("p"); ds_next_dst(); t_on_failure("1"); t_relay(); } Any

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

2008-10-27 Thread Pascal Maugeri
> > you have to add a failure-route, where you set the state to probing > (e.g. ds_set_state("p")). If this is set 3 times > (ds_probing_threshhold), the gateway will be longer selected from > ds_select_domain / .._dst and will be queried with an OPTIONS-request. > In ca

[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 PROTE

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

2008-10-23 Thread Pascal Maugeri
for your SIP > trunk if no response is received within a certain amount 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 &g

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

2008-10-23 Thread Pascal Maugeri
Hi I was wondering how to achieve an architecture with two or more active load-balancer nodes (kamailio+dispatcher module). I have read how to setup two dispatcher nodes, one node as a master and the other one as a backup. The backup node doesn't process any traffic until master fails. But how t

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 performanc

[Kamailio-Users] Registrar performance

2008-10-21 Thread Pascal Maugeri
Hi I would like to have some rough estimate of the registrar performance (with DB). If there is no figure available, does it make sense to use call performance benchmark like this one http://www.transnexus.com/White%20Papers/OpenSER_RTPproxy_test.htm and extrapolate to registrar performances ? eg