Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Using two SIP-Domains with asterisk


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
bhaje at gmx.de
Guest





PostPosted: Wed Jan 30, 2008 9:44 am    Post subject: [asterisk-users] Using two SIP-Domains with asterisk Reply with 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?

thanks Bjoern
Back to top
oej at edvina.net
Guest





PostPosted: Wed Jan 30, 2008 11:42 am    Post subject: [asterisk-users] Using two SIP-Domains with asterisk Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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

VoiceMeUp - Corporate & Wholesale VoIP Services