Re: [SR-Users] Fwd: presence module issue with NOTIFY messsage.

2014-10-14 Thread Thanh Truong
Hi Daniel, Can I upgrade from my kamailio 4.1 to this? I have install from git version. Can you help me to do that ? which step i need to do ? Do i need to remove the current version ? thanks, Thanks, ThanhTruong. On Tue, Oct 14, 2014 at 8:44 PM, Daniel-Constantin Mierla wrote: > Hello, >

Re: [SR-Users] Fwd: presence module issue with NOTIFY messsage.

2014-10-14 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > You should start a dedicated topic on sr-dev, so the others can have an > opinion, especially the initial developer of that function (iirc, Juha). > Deciding in this thread is a bit hidden from the eyes of those that > could be interested in the function. yes

Re: [SR-Users] Fwd: presence module issue with NOTIFY messsage.

2014-10-14 Thread Daniel-Constantin Mierla
You should start a dedicated topic on sr-dev, so the others can have an opinion, especially the initial developer of that function (iirc, Juha). Deciding in this thread is a bit hidden from the eyes of those that could be interested in the function. Cheers, Daniel On 14/10/14 16:08, Ovidiu Sa

Re: [SR-Users] Fwd: presence module issue with NOTIFY messsage.

2014-10-14 Thread Ovidiu Sas
Should we deprecate add_contact_alias()? Add a warning message. -ovidiu On Tue, Oct 14, 2014 at 9:44 AM, Daniel-Constantin Mierla wrote: > Hello, > > short update on this topic - the master and 4.2 branches include a patch > that should make presence work with set_contact_alias(). > > It would b

Re: [SR-Users] Fwd: presence module issue with NOTIFY messsage.

2014-10-14 Thread Daniel-Constantin Mierla
Hello, short update on this topic - the master and 4.2 branches include a patch that should make presence work with set_contact_alias(). It would be safer to use set_contact_alias(), especially if you have UA that checks R-URI for incoming requests. Cheers, Daniel On 13/10/14 04:42, Thanh

Re: [SR-Users] Fwd: presence module issue with NOTIFY messsage.

2014-10-12 Thread Thanh Truong
Hi All, I have added : fix_natted_contact() and it fix this issue. Thank all for help. Thanks, ThanhTruong. On Fri, Oct 10, 2014 at 8:39 PM, Ovidiu Sas wrote: > I would prefer to have add_contact_alias deprecated and then dropped (less > confusing this way). > > -ovidiu > > On Fri, Oct 10,

Re: [SR-Users] Fwd: presence module issue with NOTIFY messsage.

2014-10-10 Thread Ovidiu Sas
I would prefer to have add_contact_alias deprecated and then dropped (less confusing this way). -ovidiu On Fri, Oct 10, 2014 at 9:31 AM, Daniel-Constantin Mierla wrote: > > On 10/10/14 14:54, Ovidiu Sas wrote: > > I don't think this is documented anywhere and it's challenging for someone > not

Re: [SR-Users] Fwd: presence module issue with NOTIFY messsage.

2014-10-10 Thread Daniel-Constantin Mierla
On 10/10/14 14:54, Ovidiu Sas wrote: I don't think this is documented anywhere and it's challenging for someone not familiar with kamailio to deal with it. Maybe we should open a bug report to make presence *_contact_alias friendly. add_contact_alias() is not going to be (very easy) friendly, b

Re: [SR-Users] Fwd: presence module issue with NOTIFY messsage.

2014-10-10 Thread Ovidiu Sas
I don't think this is documented anywhere and it's challenging for someone not familiar with kamailio to deal with it. Maybe we should open a bug report to make presence *_contact_alias friendly. -ovidiu On Fri, Oct 10, 2014 at 5:16 AM, Daniel-Constantin Mierla wrote: > Hello, > > if the prese

Re: [SR-Users] Fwd: presence module issue with NOTIFY messsage.

2014-10-10 Thread Daniel-Constantin Mierla
Hello, if the presence server is first hop after a nat router, then use fix_natted_contact() for SUBSCRIBE requests instead of add/set_contact_alias(). Cheers, Daniel On 05/10/14 06:52, Thanh Truong wrote: Hi all, I have install kamailio 4.2 latest version with presence module. But I cant