You need to enable multi-domain support on kamailio.
Please set use_domain parameter in all used modules.

modparam("alias_db|auth_db|usrloc|uri_db", "use_domain", 1)

Now, If 1001@test.example.com dial 1002 only 1002@test.example.com will ring

Cheers,

Gustavo
On Tue, Aug 26, 2008 at 10:37 PM, voipmo <voipmo@yahoo.com> wrote:

I have been running asterisk servers for a few years now to host multiple
organizations.  I have been working on setting up OpenSER so that we can
have failover and load balancing.  My question is how do I keep my different
organizations separate?

I currently have the following registrations:
1001@test.example.com
1002@test.example.com

1001@another.example.com

The problem is that if 1002@test.example.com dials 1001 it rings both
domains 1001 phones.

Am I going about this the right way?  Is there a better method?  How might I
prevent calls between domains?
--
View this message in context: http://www.nabble.com/multiple-extensions-domains-tp19173400p19173400.html
Sent from the OpenSER Users Mailing List mailing list archive at Nabble.com.


_______________________________________________
Users mailing list
Users@lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users



--
Gustavo Mistrinelli