Hi Suvendu,
yes, it works, but what about the autorization ? In your case any softphone can register wich your proxy.
In real world it is a bad idea. I tired to forward the REGISTER request only it the client is correctly authorized.
-- cut --- if (is_method("REGISTER")) { xlog("L_INFO", "REGISTER <$rm> r-uri <$ru>\n");
if (!www_authorize("voip.globaltel.sk", "subscriber")) { www_challenge("voip.globaltel.sk", "1"); return; } if (!save("location")) { sl_reply_error(); return; } # t_relay_to_udp("10.1.1.115", "5060"); t_replicate_udp("10.1.1.115", "5060"); return; } else { --- cut ---
To the server 10.1.1.115 is send REGOSTER REQ with full Digest informations. The 10.1.1.115 reject this with "401 unanuthorized".
Can any one tell me how to redistibute REGISTER REQ (successfull) accross network? I can't share SER database or have *(realtime). I have to do it only using SIP signaling.
best regards hudecof
Suvendu Sethi wrote:
Hi Jose,
IP phone also allows you to configure for multiple VoIP controller servers but what I wanted was configuring 1 channel for multiple servers.
It works fine now with the code which I pasted earlier.
Cheers, Suvendu
--- Voipers Portugal voipers@gmail.com wrote:
Not sure about that IP phone, but a Softphone allows you to add multiple server, so you can register with as many as you wish (and the softphone supports).
Jose Simoes
On 1/17/06, Suvendu Sethi suvenduji@yahoo.co.in wrote:
Hi All,
Is it possible to register 1 IP phone with
multiple
VoIP controllers?
I want to configure 1 port on Cisco 7940 phone to register with SER proxy server and then forward
the
registration request to 2 other Aspect VoIP controllers for registration.
I am running SER 0.8.14 on linux.
I tried the following option but it is registering with only 1 VoIP controller.
if (method=="REGISTER") { save("location"); rewritehost("10.248.13.77"); forward(10,248,13,77,5060); rewritehost("10.248.13.66"); forward(10,248,13,66,5060); break; };
Can you help me on this please?
Many thanks in advane.
Cheers, Suvenduji
Send instant messages to your online friends
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Send instant messages to your online friends http://in.messenger.yahoo.com
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers