[Users] t_relay handling of r-URI, d-URI and Route URIs
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Thu Dec 7 12:46:45 CET 2006
Hi Klaus,
t_relay(), or any other relay/fwd function, uses (in this order) :
1) the OBP forced form script (as parameter to function)
2) the d-URI (if set from script or by any other function)
3) the RURI
correct, loose_route() sets the d-URI field.
appending a hdr from the script will not be visible for the parser, so
loose_route() will not see it.
use d-uri (push a value via avp_pushto() ) to force a dynamic OBP.
regards,
bogdan
Klaus Darilion wrote:
> Hi!
>
> Can someone please tell me how t_relay exactly works? What URI will be
> used for forwarding if d-URI is set and Route headers are present? Or
> does loose_route set the d-URI?
>
> What if I add a route header with append_hf - will it be used for
> t_relay?
>
> regards
> klaus
>
>
More information about the Users
mailing list