in my test, proxy p2 receives initial request from proxy p1, that has
this kind of R-URI and Route header:

INVITE sip:47089231@192.98.102.10:41073;transport=tcp SIP/2.0.
Route: 
<sip:192.98.102.20:5070;transport=tcp;lr;received='sip:192.98.102.10:49127;transport=tcp'>

route header is result of calling lookup in p1 on record:

AOR:: j...@test.fi
Contact:: sip:47089231@192.98.102.10:41073;transport=tcp Q=0.5
Expires:: 114
Callid:: 0ed240f3-dc79-4d65-93ef-3e92d178a892
Cseq:: 12
User-agent:: sipsimple 0.34.0
Received:: sip:192.98.102.10:49127;transport=tcp
Path:: 
<sip:192.98.102.20:5070;transport=tcp;lr;received='sip:192.98.102.10:49127;transport=tcp'>

i would expect that loose_route() would set $du to received parameter
value, but it does not, because i get to syslog:

Apr  8 12:44:54 wheezy1 /usr/sbin/sip-proxy[5723]: INFO: Trying to relay to du 
<<null>> or ru <sip:47089231@192.98.102.10:41073;transport=tcp>

how can i tell p2 to set $du to received uri?  do i need to add another
route header in p1 that contains received uri?

-- juha

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to