It's true Asterisk can use different contexts, but that doesn't solve my problem because I use Ser + Asterisk and Ser is used for routing SIP messages between SIP UAs, not Asterisk. In my architecture, Asterisk is only used for advanced services like voicemail or call conferencing and for gateway, not to route messages between UAs.
Ricardo.
openser@comcast.net wrote:
The way to do that is intergrate Ser with Asterisk and in Asterisk you can build context and keep the same numbers for different context like a pbx.
-------------- Original message -------------- From: Ricardo Carvalho <rcarvalho@iric.up.pt> > Hi, > > Is there a way to coexist multiple domains in Ser, distinguishing users > even if they have the same username in subscriber table but different > domains? > > I'll explain better, I have subscriber table with: > > | username | domain | e-mail | > ------------------------------------------------ > | user_A | domain_A | user_A@domain_A | > ------------------------------------------------ > | user_A | domain_B | user_A@domain_B | > > and in domain table there are both domains domain_A and domain_B. > > But when someone calls user_A, (with or without writing their domain), both > phones ring (if both users have their phones > registered), when I w! ant onl y one to ring because they are different users!! > Is there a way in Ser to do this right? > > Regards, > > Ricardo. > > > _______________________________________________ > Serusers mailing list > Serusers@lists.iptel.org > http://lists.iptel.org/mailman/listinfo/serusers