Hi:
I have one question to get help from you! If UA call a user by my SER Proxy, and SER can't find the called user in itself location, it will return 404"not found". But this is not What I want. What I want is to let SER forward the request except REGISTER to upper proxy?? How should I configure SER to get the goal ??? Thanks a lot for your help!
Best Regards
Sun Zongjun
First, you should not do user location lookup for REGISTER requests since the r-uri in these requests contains only proxy address.
Then, instead of next statement:
if (!lookup("location")) { sl_send_reply("404", "Not Found"); break; };
use
if (!lookup("location")) { t_relay_to_udp("proxy_address", "proxy_port"); break; };
in your config file. You should take care to avoid creating loops between proxies.
You can use forward_udp(...) instead of t_relay_to_udp(...) if you want stateless forwarding.
Daniel
On 12/13/04 09:10, szj wrote:
Hi:
I have one question to get help from you! If UA call a user by my SER Proxy, and SER can't find the called user in itself location, it will return 404"not found". But this is not What I want. What I want is to let SER forward the request except REGISTER to upper proxy?? How should I configure SER to get the goal ??? Thanks a lot for your help!
Best Regards
Sun Zongjun
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers