VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
bhaje at gmx.de Guest
|
Posted: Wed Jan 30, 2008 9:44 am Post subject: [asterisk-users] Using two SIP-Domains with asterisk |
|
|
Hi,
is it possible to use asterisk to serve two SIP-domains with different
users?
It does work to define two domains with 'domain=' in sip.conf, but that
allows all sip-users to register with both domains.
I want to define users for a one domain only and not allow them to use
the second.
Lets say I have domains domainA.org and domainB.org and a sip-user
user1. User1 should be able to register as user1 at domainA.org but not as
user1 at domainB.org.
In addition I want to be able to define a second (different) user with
the same username but another domain.
How can I do that? Is it possible at all?
thanks Bjoern |
|
Back to top |
|
|
oej at edvina.net Guest
|
Posted: Wed Jan 30, 2008 11:42 am Post subject: [asterisk-users] Using two SIP-Domains with asterisk |
|
|
30 jan 2008 kl. 15.44 skrev Bjoern Haje:
Quote: | Hi,
is it possible to use asterisk to serve two SIP-domains with different
users?
It does work to define two domains with 'domain=' in sip.conf, but
that
allows all sip-users to register with both domains.
I want to define users for a one domain only and not allow them to use
the second.
Lets say I have domains domainA.org and domainB.org and a sip-user
user1. User1 should be able to register as user1 at domainA.org but not
as
user1 at domainB.org.
In addition I want to be able to define a second (different) user with
the same username but another domain.
How can I do that? Is it possible at all?
|
Everything is possible if you change the code, but at this moment we
only
have one address space in chan_sip - regardless of domain. So you need
unique user names for all users. Normally this is not a huge issue, as
you need
to separate user names and extensions, so that the user names are random
strings or something that will never match anything useful except the
user's
name in Asterisk.
This is something I planned for codename pineapple - to be able to
separate
Asterisk per domain.
/O |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|