Are they all coming from different IPs?
 
When they call in, look at the Asterisk log (CDR) and see what channel
Asterisk assigns to them.
 
If you need SER+Asterisk consulting we can help.
 
Thanks,
Bjorn

________________________________

From: Dominic [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 11, 2006 10:25 PM
To: [email protected]
Subject: [on-asterisk] Hosted Asterisk: Seperating Users


Hello Everyone,
 
I've gone through the docs many times and I can't figure this one out.
 
Let's say I've a hosted Asterisk platform, with many companies sharing
the same box. Let's say I've got two users, one  in Company A ,and the
other in company B. Let's say both users are exactly alike: they have
the same extension, and username, and password, and everything else
except for CONTEXT.  Their sip.conf entry looks like this:
 
3333]
type=friend 
username=3333
secret=3333
host=dynamic
context=companyA
 
 
[3333]
type=friend
username=3333
secret=3333
host=dynamic
context=companyB
 
 
 
 
Since the contexts differs, I can quite easily seperate the dial plans
and voicemail, no problem there.
 
My problem is: Since the authname/username/password is all the same,
how would asterisk know to register each phone into the correct context?
How do I make sure that the sip phone for the user in companyA registers
into contextA as opposed to contextB?
 
Any ideas?
 
 
Dominic
 
 
 
 
 
 
[

Reply via email to