Hi Good morning. I'm going to connect two proxies. I'm having two servers with openser installed. One user (UAC) will register with one server  in one system which is not having openser and the other user (UAS) will register with second server in other syatem which is not having openser. I want to connect the two proxies through cfg file. Hoiw to give the connection.
 
 
My IP's are
UAC registered with 1000@192.168.64.77 at other system (192.168.64.85)
 
192.168.64.77 is one proxy.
 
192.168.64.94 is secind proxy.
 
UAS registerd with 10@192.168.64.94 at other system (192.168.64.128)
 
Now the person at 85 registered with 77 is going to call the person at 128 registered with 94.
 
 
I have configuered my cfg's in this way:
 
In 77 cfg file, i configuered

if(is_method("INVITE") && !src_ip=="192.168.64.77")

{

          rewritehost("192.168.64.77");

}

 

In 99 cfg file, i configuered

if(is_method("INVITE") && !src_ip=="192.168.64.94")

{

rewritehost("192.168.64.94");

}

Is there any other way to connect.

Please help me as soon as possible.

 

Thanks & Regards,

Mythili.K