[SR-Users] 4.4 topos ignoring Record-Route?
Daniel Tryba
d.tryba at pocos.nl
Mon Aug 22 11:42:55 CEST 2016
On Mon, Aug 22, 2016 at 09:19:52AM +0200, Daniel-Constantin Mierla wrote:
> can you try with git master branch? There were some fixes there which
> were not ported yet (they will get into next 4.4.x release, which will
> be sometime in the next 2 weeks).
Just tried it, makes no difference. The patch to the topos module is
only a few lines (ignoring docu and include stuff).
Taking a look at the database entries during the call for the same
scenario, the record-routes from callee are never set. a_rr contains the
RR for the proxy of the caller (109.235.32.57), s_rr contains the
registrar 185.61.68.106. b_rr is always empty (109.235.32.5[56] are
nowhere to be found).
select * from topos_d \G
*************************** 1. row ***************************
id: 2
rectime: 2016-08-22 11:13:17
s_method: INVITE
s_cseq: 37185
a_callid: 7ee02bf9e97ab0ad at 10.0.3.169
a_uuid: atpsh-57bac150-95b9-2
b_uuid: btpsh-57bac150-95b9-1
a_contact: sip:tryba at 10.0.3.169:5067;transport=tcp;alias=109.235.XX.YYY~5067~2
b_contact:
as_contact: <sip:atpsh-57bac150-95b9-2 at 185.61.68.106>
bs_contact: <sip:btpsh-57bac150-95b9-1 at 185.61.68.106>
a_tag: a90e54420669b32b
b_tag:
a_rr: <sip:109.235.32.57;r2=on;lr>,<sip:109.235.32.57;transport=tcp;r2=on;lr>
b_rr:
s_rr: <sip:185.61.68.106;lr;ftag=a90e54420669b32b;did=a51.c112;vsf=AAAAAF9BSFZRd0JYQB1RQSMcRx5CaXRjby5ubA-->
iflags: 0
a_uri:
b_uri:
r_uri:
a_srcaddr:
b_srcaddr:
a_socket:
b_socket:
*************************** 2. row ***************************
id: 6
rectime: 2016-08-22 11:13:17
s_method: INVITE
s_cseq: 37185
a_callid: 7ee02bf9e97ab0ad at 10.0.3.169
a_uuid: atpsh-57bac150-95b3-4
b_uuid: btpsh-57bac150-95b3-3
a_contact: sip:tryba at 10.0.3.169:5067;transport=tcp;alias=109.235.XX.YYY~5067~2
b_contact: sip:%2b31880100XXX at 109.235.32.48
as_contact: <sip:atpsh-57bac150-95b3-4 at 185.61.68.106>
bs_contact: <sip:btpsh-57bac150-95b3-3 at 185.61.68.106>
a_tag: a90e54420669b32b
b_tag: as1057e8ba
a_rr: <sip:109.235.32.57;r2=on;lr>,<sip:109.235.32.57;transport=tcp;r2=on;lr>
b_rr:
s_rr: <sip:185.61.68.106;lr;ftag=a90e54420669b32b;did=a51.c112;vsf=AAAAAF9BSFZRd0JYQB1RQSMcRx5CaXRjby5ubA--;vst=AAAAABsLCQgJAAEHAQRxQCkDRxlaChtNAUJubA-->
iflags: 1
a_uri:
b_uri:
r_uri:
a_srcaddr:
b_srcaddr:
a_socket:
b_socket:
select * from topos_t\G
*************************** 1. row ***************************
id: 2
rectime: 2016-08-22 11:13:17
s_method: INVITE
s_cseq: 37185
a_callid: 7ee02bf9e97ab0ad at 10.0.3.169
a_uuid: atpsh-57bac150-95b9-2
b_uuid: btpsh-57bac150-95b9-1
direction: 0
x_via: SIP/2.0/UDP 109.235.32.57;branch=z9hG4bK1ed2.74e4ea1d55b7270623bfa1e09a1c087b.0;i=4,SIP/2.0/TCP 10.0.3.169:5067;rport=5067;received=109.235.XX.YYY;branch=z9hG4bK40d03cc06a039e02
x_vbranch: z9hG4bK1ed2.aaaca95f0dd4b05f301cf64ec2084687.0
x_rr: <sip:109.235.32.57;r2=on;lr>,<sip:109.235.32.57;transport=tcp;r2=on;lr>
y_rr:
s_rr: <sip:185.61.68.106;lr;ftag=a90e54420669b32b;did=a51.c112;vsf=AAAAAF9BSFZRd0JYQB1RQSMcRx5CaXRjby5ubA-->
x_uri:
a_contact:
b_contact:
as_contact:
bs_contact:
x_tag: a90e54420669b32b
a_tag:
b_tag:
a_srcaddr:
b_srcaddr:
a_socket:
b_socket:
*************************** 2. row ***************************
id: 6
rectime: 2016-08-22 11:13:17
s_method: INVITE
s_cseq: 37185
a_callid: 7ee02bf9e97ab0ad at 10.0.3.169
a_uuid: atpsh-57bac150-95b3-4
b_uuid: btpsh-57bac150-95b3-3
direction: 0
x_via: SIP/2.0/UDP 109.235.32.57;branch=z9hG4bK1ed2.74e4ea1d55b7270623bfa1e09a1c087b.0;i=4,SIP/2.0/TCP 10.0.3.169:5067;rport=5067;received=109.235.XX.YYY;branch=z9hG4bK40d03cc06a039e02
x_vbranch: z9hG4bK1ed2.aaaca95f0dd4b05f301cf64ec2084687.1
x_rr: <sip:109.235.32.57;r2=on;lr>,<sip:109.235.32.57;transport=tcp;r2=on;lr>
y_rr:
s_rr: <sip:185.61.68.106;lr;ftag=a90e54420669b32b;did=a51.c112;vsf=AAAAAF9BSFZRd0JYQB1RQSMcRx5CaXRjby5ubA--;vst=AAAAABsLCQgJAAEHAQRxQCkDRxlaChtNAUJubA-->
x_uri:
a_contact:
b_contact:
as_contact:
bs_contact:
x_tag: a90e54420669b32b
a_tag:
b_tag:
a_srcaddr:
b_srcaddr:
a_socket:
b_socket:
*************************** 5. row ***************************
id: 18
rectime: 2016-08-22 11:13:23
s_method: ACK
s_cseq: 37185
a_callid: 7ee02bf9e97ab0ad at 10.0.3.169
a_uuid: atpsh-57bac150-95b3-4
b_uuid:
direction: 0
x_via: SIP/2.0/UDP 109.235.32.57;branch=z9hG4bK1ed2.2fa09a9197ea2b0b83dfb58916f805ad.0;i=4,SIP/2.0/TCP 10.0.3.169:5067;rport=5067;received=109.235.XX.YYY;branch=z9hG4bK6abe56e55367de33
x_vbranch: z9hG4bK1ed2.5ed2954acf483e107d2b6edbdc4b5e3c.0
x_rr:
y_rr:
s_rr:
x_uri:
a_contact:
b_contact:
as_contact:
bs_contact:
x_tag: a90e54420669b32b
a_tag:
b_tag:
a_srcaddr:
b_srcaddr:
a_socket:
b_socket:
More information about the sr-users
mailing list