Hello,
another option: you can share location table either via db only mode in
usrloc module or via t_replicate() of registrations.
Anyhow, your updates could be ok, since I don't have the lines in cfg.
General idea, lookup location on the proxy the invite arrived, if not
found forward to the second and check location again. if not found
again, return 404, otherwise process the call.
Cheers,
Daniel
On 08.10.2009 7:20 Uhr, Mythili D wrote:
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(a)192.168.64.77 <mailto: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(a)192.168.64.94 <mailto: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
------------------------------------------------------------------------
_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users(a)lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
--
Daniel-Constantin Mierla
* Kamailio SIP Masterclass, Nov 9-13, 2009, Berlin
*
http://www.asipto.com/index.php/sip-router-masterclass/