[OpenSER-Devel] t_relay("$var(relay_destination)", "0x01")

Daniel-Constantin Mierla daniel at voice-system.ro
Sun Feb 17 22:52:31 CET 2008



On 02/17/08 03:25, Juha Heinanen wrote:
> Daniel-Constantin Mierla writes:
>
>  > you can set the $du to  $var(relay_destination), instead of giving it as 
>  > first parameter to t_relay(), and the request will be sent there.
>
> daniel,
>
> nice to know, i'll use that.  i didn't find any reference to that
> functionality in tm/README and same thing now when i checked in
> rr/README.
>   
A note will be good there, however, $du affects forward() as well. 
Perhaps a page about routing priorities should be written somewhere.
> regarding the first t_relay param, i don't think that it is a good
> idea to resolve the host during module initialization, because any
> changes in dns regarding that name will require openser restart.
>   
Yes, if it is dns name. The workaround now is $du, option for future is 
to introduce a new flag for the second parameter.

Daniel

> -- juha
>
>   



More information about the Devel mailing list