[SR-Users] Response VIA Header

2018-11-29 Thread Soltanici Ilie
Hi, We have a Kamailio Instance running on Public IP Address, one of our ISP cannot send ACK back to us because we are sending 100 Trying - without "received" parameter. Is there any way in Kamailio to force a "received" parameter in the via header for 100 Trying Message? SIP/2.0 100 trying --

[SR-Users] Response VIA Header

2018-11-29 Thread Soltanici Ilie
Hi, version: kamailio 5.1.6 (x86_64/linux) 7d1964 Also, i'm using force_rport(); in routing configuration file, but 'received' parameter anyway is missing :( Thank You. ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.

Re: [SR-Users] Response VIA Header

2018-11-29 Thread Daniel Tryba
On Thu, Nov 29, 2018 at 02:32:02PM +0300, Soltanici Ilie wrote: > We have a Kamailio Instance running on Public IP Address, one of our ISP > cannot send ACK back to us because we are sending 100 Trying - without > "received" parameter. > Is there any way in Kamailio to force a "received" paramete

Re: [SR-Users] Response VIA Header

2018-11-29 Thread Daniel-Constantin Mierla
Hello, ACK should be after 200 or a greater response code. Is only 100 without received, or also other 1xx or >200 responses sent out by Kamailio? Cheers, Daniel On 29.11.18 18:24, Soltanici Ilie wrote: > Hi, > > version: kamailio 5.1.6 (x86_64/linux) 7d1964 > > Also, i'm using force_rport(); in

Re: [SR-Users] Response VIA Header

2018-11-30 Thread Soltanici Ilie
Hi, In the ACK received after 200 OK the parameter 'receiving' is missing as well. What I observed is that to some ISP Kamailio is sending back 'received' parameter, but for some of them - is not sending. See below an invite where Kamailio is setting back 'received' parameter in via response:

Re: [SR-Users] Response VIA Header

2018-11-30 Thread Daniel-Constantin Mierla
Hello, rport in top Via of the incoming request indicates that the sender whats received parameter in the response. If not, it should not be added. However, if source ip is different that the Via IP of the incoming request and you use force_rport() in kamailio.cfg, then kamailio should add the re

Re: [SR-Users] Response VIA Header

2019-01-09 Thread Soltanici Ilie
Hi Daniel, Thank You for the explanation - but unfortunately, our ISP still insisting to send them back received parameter into VIA header when replying with 100. I would like to do these changes with this ISP only. So, I tried: if ($si=="10.1.1.100") { send_reply("100", "Trying (Code:$cfg(line