[OpenSER-Users] Relaying to outbound proxy

Iñaki Baz Castillo ibc at aliax.net
Sun Mar 16 03:45:00 CET 2008


El Domingo, 16 de Marzo de 2008, Adrian A escribió:
> I've looked over the RFC and the module and while they describe a slightly
> different scenario (with a load balancer and separate registrars), it seems
> like it should work.
>
> I've added the required parameters to the config:
>
> modparam("registrar", "use_path", 1)
> modparam("registrar", "path_mode", 0)
> modparam("registrar", "path_use_received", 1)
> modparam("path", "use_received", 1)
>
> Then, in my auth section, I store the path:
>
> if (is_method("REGISTER")) {
>             add_path();
>
> This does not seem to do anything however, the proxy still forwards
> directly to the client instead of sending it to the proper outbound proxy.
> I looked in the location table and I see path is set to NULL so unless this
> is stored in some other place, the proxy would not know where to send it
> anyway.
>
> Have you used this? Am I doing something wrong? I could not find on this
> list or anywhere a sample openser config that uses it...

Sorry, I've not used it, but I'm 100% sure that it's what you need.


-- 
Iñaki Baz Castillo




More information about the Users mailing list