[Devel] t_relay() documentation

Bogdan-Andrei Iancu bogdan at voice-system.ro
Mon Sep 5 15:51:40 CEST 2005


Hi Juha,

the docs will be updated. As the  new release is getting closer, the 
whole doc will be reviewed and synchronized - many other modules are 
still incomplete documented.

regards,
bogdan

Juha Heinanen wrote:

>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
>Devel at openser.org
>http://openser.org/cgi-bin/mailman/listinfo/devel
>
>  
>




More information about the Devel mailing list