[sr-dev] [kamailio/kamailio] Wrong Record-Route and Via header fields when TCP is used (#2033)

leonid-xorcom notifications at github.com
Wed Aug 21 16:15:05 CEST 2019


I just tried the current master (commit: 4efe19f64d8).
I see that the request is not sent out by Kamailio at all.
tcpdump and syslog:  http://updates.xorcom.com/~xorcom/tcp-4efe19f64d8.tar.gz
Ref. OPTIONS request (packet 67 in the tcpdump-4efe19f64d8.cap, line 2869 in syslog-4efe19f64d8) 
The expected path: Asterisk (10.28.80.47) -> Kamailio(10.28.80.47)--Kamailio(192.168.9.103)->SIPPhone(192.168.0.178)
In reality, the message is accepted by Kamailio at 10.28.80.47 and not set out.
Like in v. 5.2, the messages are forwarded correctly if I remove the 'listen' parameters.

Kamailio configuration:
```
tcp_connection_match=1
mhomed=1
listen=udp:10.28.80.1:5060
listen=udp:192.168.9.103:5060
listen=tcp:10.28.80.1:5060
listen=tcp:192.168.9.103:5060
```
IP configuration:
```
2: ens32: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 00:0c:29:ad:af:e9 brd ff:ff:ff:ff:ff:ff
    inet 192.168.9.103/20 brd 192.168.15.255 scope global dynamic ens32
3: lxdbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether fe:16:11:59:92:19 brd ff:ff:ff:ff:ff:ff
    inet 10.28.80.1/24 scope global lxdbr0
```
```
# ip r
default via 192.168.0.1 dev ens32 proto dhcp src 192.168.9.103 metric 100 
10.28.80.0/24 dev lxdbr0 proto kernel scope link src 10.28.80.1 
192.168.0.0/20 dev ens32 proto kernel scope link src 192.168.9.103 
192.168.0.1 dev ens32 proto dhcp scope link src 192.168.9.103 metric 100 
```





-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2033#issuecomment-523476197
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20190821/daeb386d/attachment.html>


More information about the sr-dev mailing list