If I'm not mistaken, Asterisk supports SIP domains as of 1.2.0. I think that the [context] now works as [domainhere] when this option is enabled with a global flag.
---Mike > Hi, > > I am using asterisk as PSTN gateway for users registered with OpenSER. > Everything is working well for a single domain, but I will have problems > with this when I add extra domains. > > I will have multiple domains using the OpenSER server, all using the > same set of Asterisk servers for PSTN. My problem is that when > [EMAIL PROTECTED] gets sent to Asterisk, they are authenticated as just > "user" (i.e. the domain portion is stripped off) and they get registered > under the [user] sip name in Asterisk. > > Now, when I add the second domain, and [EMAIL PROTECTED] goes to Asterisk, > they also will appear to Asterisk to be [user] > > I think what I need to do is rewrite the From: URI to be user_domain1 > and user_domain2 and then set them up in Asterisk as [user_domain1] and > [user_domain2] so that they are unique > > So, my questions are: is this the correct/only way to do this, and if > so, what do I need to do to achieve this? > > Many thanks. _______________________________________________ Users mailing list [email protected] http://openser.org/cgi-bin/mailman/listinfo/users
