[Users] strict to loose - Route Header not removed

Walter Schober walter.schober at neotel.at
Wed May 10 08:33:17 CEST 2006


 0(30621) parse_headers: flags=200
 0(30621) is_preloaded: No
 0(30621) grep_sock_info - checking if host==us: 13==3 &&  [111.222.333.132]
== [os0]
 0(30621) grep_sock_info - checking if port 5060 matches port 5060
 0(30621) grep_sock_info - checking if host==us: 13==3 &&  [111.222.333.130]
== [os0]
 0(30621) grep_sock_info - checking if port 5060 matches port 5084
 0(30621) grep_sock_info - checking if host==us: 13==3 &&  [111.222.333.130]
== [os0]
 0(30621) grep_sock_info - checking if port 5060 matches port 5084

Is this the problem? 
 0(30621) check_self: host != me
 0(30621) after_strict: Next hop: 'sip:111.222.333.130:5084;lr' is loose
router
 0(30621) parse_headers: flags=ffffffffffffffff
 0(30621) rewrite_uri: Rewriting Request-URI with
'sip:0720123456 at 111.222.333.129:5060;x-orig=111.222.444.61:5064;x-orig-nat=1
92.168.40.4:5064'
 0(30621) after_strict: The last route URI:
'sip:0720123456 at 111.222.333.129:5060;x-orig=111.222.444.61:5064;x-orig-nat=1
92.168.40.4:5064'
 0(30621) xl_printf: final buffer length 18

Openser 1.0.0.

Br
Walter

-----Original Message-----
From: users-bounces at openser.org [mailto:users-bounces at openser.org] On Behalf
Of Walter Schober
Sent: Wednesday, May 10, 2006 8:25 AM
To: users at openser.org
Subject: [Users] strict to loose - Route Header not removed

Hello!
 
Acc to 3261, 16.4:
the proxy MUST replace the Request-URI in the request with the last
value from the Route header field, and remove that value from the
Route header field.  The proxy MUST then proceed as if it received
this modified request. 
 
The loose_route() function does only the half on my
if (looose_route()) {
  ..
  t_relay()
  ..
}
script. It replaces the RURI with the value of the last Route header,
but then doesn't remove it, causing problems on the last hop.

The strict.txt contains a ACK with comes in strict and leaves loose - 
with the Route header.

Aliases are configured with ip.ip.ip.ip and ip.ip.ip.ip:5060.

Why is the Route header not stripped?

Walter






More information about the sr-users mailing list