Hi all,
Why Kamailio are not removing full Route header in case if he is receiving comma separated Route? For example: Receiving such Message:
SUBSCRIBE sip:101@192.168.1.1 SIP/2.0 Route: sip:192.168.1.1;r2=on;lr=on;ftag=fb0076047b3da3e4;nat=yes, sip:172.16.30.10;sbc=topoh-NFlx.VXxPVXv8rfM83X1KnhF83LINVLO8VcJ6VL79zkEYH5U83hdKVhyKFi-5zX-5njs67kyYSllNx** Event: dialog User-Agent: Cisco/SPA504G-7.6.2 Content-Length: 0 after applying loose_route function, kamailio is forwarding this message:
SUBSCRIBE sip:101@192.168.1.1 SIP/2.0 Route: Event: dialog User-Agent: Cisco/SPA504G-7.6.2 Content-Length: 0
Other devices are sending 2 Route Headers in separate rows - and everything is working properly.
Is this a bug or it should be like this per RFC? Thank You.
using Kamailio 5.0.3.