Re: [SR-Users] Kamailio second contact header

2015-06-05 Thread Ali Taher
Hi Daniel, Below solution works very well. Thanks :) Ali From: Daniel-Constantin Mierla [mailto:mico...@gmail.com] Sent: Friday, June 05, 2015 12:49 PM To: Ali Taher; 'Kamailio (SER) - Users Mailing List' Subject: Re: [SR-Users] Kamailio second contact header Hello, t

Re: [SR-Users] Kamailio second contact header

2015-06-05 Thread Daniel-Constantin Mierla
t; How could I shift the URIs ? > > > > Thanks, > > Ali > > > > *From:*Daniel-Constantin Mierla [mailto:mico...@gmail.com] > *Sent:* Friday, June 05, 2015 10:04 AM > *To:* Ali Taher; 'Kamailio (SER) - Users Mailing List' > *Subject:* Re: [SR-Users] K

Re: [SR-Users] Kamailio second contact header

2015-06-05 Thread Daniel-Constantin Mierla
Hello, can you try with latest master branch? I pushed some code to clean up dropping last branch. If all ok, I will backport. Cheers, Daniel On 05/06/15 09:26, Ali Taher wrote: > > Hi Daniel, > > > > Here is the log I got : > > 2015-06-05T10:04:35.864338+03:00 ubuntu > /usr/local/sbin/kamail

Re: [SR-Users] Kamailio second contact header

2015-06-05 Thread Ali Taher
riday, June 05, 2015 10:04 AM To: Ali Taher; 'Kamailio (SER) - Users Mailing List' Subject: Re: [SR-Users] Kamailio second contact header Hello, the last address from next_gw() becaomes the last r-uri and that is added as first contact. You will have to shift the URIs. Maybe the si

Re: [SR-Users] Kamailio second contact header

2015-06-05 Thread Ali Taher
Hi Daniel, Here is the log I got : 2015-06-05T10:04:35.864338+03:00 ubuntu /usr/local/sbin/kamailio[25115]: INFO:

Re: [SR-Users] Kamailio second contact header

2015-06-05 Thread Daniel-Constantin Mierla
> In this case I’m getting in contact headers the following gateways : 3,1,2 > > > > Regards, > > Ali > > *From:*Ali Taher [mailto:ata...@vanrise.com] > *Sent:* Thursday, June 04, 2015 5:44 PM > *To:* mico...@gmail.com; 'Kamailio (SER) - Users Mailing List&

Re: [SR-Users] Kamailio second contact header

2015-06-04 Thread Daniel-Constantin Mierla
> > Thanks, > > Ali > > > > *From:*Daniel-Constantin Mierla [mailto:mico...@gmail.com] > *Sent:* Thursday, June 04, 2015 5:28 PM > *To:* Ali Taher; 'Kamailio (SER) - Users Mailing List' > *Subject:* Re: [SR-Users] Kamailio second contact header > &g

Re: [SR-Users] Kamailio second contact header

2015-06-04 Thread Ali Taher
g gateways : 3,1,2 Regards, Ali From: Ali Taher [mailto:ata...@vanrise.com] Sent: Thursday, June 04, 2015 5:44 PM To: mico...@gmail.com; 'Kamailio (SER) - Users Mailing List' Cc: 'Ali Taher~Vanrise Technical Support' Subject: RE: [SR-Users] Kamailio second contact header

Re: [SR-Users] Kamailio second contact header

2015-06-04 Thread Ali Taher
y, June 04, 2015 5:28 PM To: Ali Taher; 'Kamailio (SER) - Users Mailing List' Subject: Re: [SR-Users] Kamailio second contact header Hello, next_gw() is also setting the r-uri, so for the last successful next_gw() you should not call anymore append_branch(). Try to remove the last br

Re: [SR-Users] Kamailio second contact header

2015-06-04 Thread Daniel-Constantin Mierla
; Ali > > > > *From:*sr-users [mailto:sr-users-boun...@lists.sip-router.org] *On > Behalf Of *Daniel-Constantin Mierla > *Sent:* Thursday, June 04, 2015 4:41 PM > *To:* Kamailio (SER) - Users Mailing List > *Subject:* Re: [SR-Users] Kamailio second contact header &g

Re: [SR-Users] Kamailio second contact header

2015-06-04 Thread Ali Taher
: Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users] Kamailio second contact header Hello, the r-uri is added as a Contact address for 3xx replies -- I don't remember if this is some RFC requirement or just an implementation of the sl function for 3xx replies (well, I haven't imple

Re: [SR-Users] Kamailio second contact header

2015-06-04 Thread Daniel-Constantin Mierla
Hello, the r-uri is added as a Contact address for 3xx replies -- I don't remember if this is some RFC requirement or just an implementation of the sl function for 3xx replies (well, I haven't implemented those function either). The active branches of the request are added as contact header to th