[Kamailio-Users] Connecting two or more proxies

Mythili D mythiliram.d at gmail.com
Thu Oct 8 07:20:44 CEST 2009


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 at 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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20091008/1b8cedf6/attachment.htm>


More information about the sr-users mailing list