Hi.

Colleagues write how to configure the local responses to requests so that the 
response added the header of the Route in accordance with the record-route 
headers that were in the request ?

Example

SBC --> Kamailio

REGISTER sip:domain.com SIP/2.0
Record-Route: <sip:AAA.AAA.AAA.AAA:6060;lr>
Via: SIP/2.0/UDP 
CCC.CCC.CCC.CCC;branch=z9hG4bKae7f.474bd538e793b8bc912ce7d0c8e0bae8.0
Via: SIP/2.0/UDP S.s.s.s;branch=z9hG4bKae7f.d81efe54000000000000000000000000.0
To: <sip:000143...@domain.com>
From: <sip:000143...@domain.com>;tag=d55866b28e60059575f1fd1facc53fdd-516b
CSeq: 10 REGISTER
Call-ID: f74322050fd19c19f5d0ce763cc7dbdb
Max-Forwards: 70
Content-Length: 0
User-Agent: SBC
Expires: 0

Kamailio --> SBC

SIP/2.0 200 OK
Record-Route: <sip:AAA.AAA.AAA.AAA:6060;lr>
Via: SIP/2.0/UDP 
CCC.CCC.CCC.CCC;branch=z9hG4bKae7f.474bd538e793b8bc912ce7d0c8e0bae8.0
Via: SIP/2.0/UDP S.s.s.s;branch=z9hG4bKae7f.d81efe54000000000000000000000000.0
To: <sip:000143...@domain.com>;tag=550bc1454fc5070bdadb084c686d99a2.ac18
From: <sip:000143...@domain.com>;tag=d55866b28e60059575f1fd1facc53fdd-516b
CSeq: 10 REGISTER
Call-ID: f74322050fd19c19f5d0ce763cc7dbdb
Server: kamailio (5.1.0 (x86_64/linux))
Content-Length: 0




-- 
Evgeniy
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to