[SR-Users] Route header in local reply

Евгений Голей goley_ev_sp at mail.ru
Mon May 7 19:29:16 CEST 2018


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:000143949 at domain.com>
From: <sip:000143949 at 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:000143949 at domain.com>;tag=550bc1454fc5070bdadb084c686d99a2.ac18
From: <sip:000143949 at domain.com>;tag=d55866b28e60059575f1fd1facc53fdd-516b
CSeq: 10 REGISTER
Call-ID: f74322050fd19c19f5d0ce763cc7dbdb
Server: kamailio (5.1.0 (x86_64/linux))
Content-Length: 0




-- 
Evgeniy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180507/b5cedfab/attachment.html>


More information about the sr-users mailing list