looks like lookup() and t_relay() documentation is not correct.
lookup() doesn't mention what effect "received" value of the contact has
and t_relay() doesn't say anything about relaying to destination uri.

-- juha

1.4.3. lookup(domain)

The functions extracts username from Request-URI and tries to find all
contacts for the username in usrloc. If there are no such contacts, -1
will be returned. If there are such contacts, Request-URI will be
overwritten with the contact that has the highest q value and optionally
the rest will be appended to the message (depending on append_branches
parameter value). 

1.4.2. t_relay()

Relay a message statefully to destination indicated in current URI. (If
the original URI was rewritten by UsrLoc, RR, strip/prefix, etc., the
new URI will be taken). Returns a negative value on failure--you may
still want to send a negative reply upstream statelessly not to leave
upstream UAC in lurch. 

_______________________________________________
Devel mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/devel

Reply via email to