I am now trying to "add users" but i don't understand why username requires domain name and the implication down the road.
if i issue the command: openserctl add 2002 spa3k user2@mysipserver.com
I get the response: "domain unknown: use usernames with domain or set default domain in SIP_DOMAIN"
why does it expect my username to be 2002@mysipserver.com?
does this therefore mean the UAs will have to have their username field set to username@domain instead of just username. What's the relevance of capturing the email address?
Hi!
Some basic: SIP URIs are similar to email addresses (mailto URIs). they consist of a userpart and a domain. Just imagine the email address "mailto:klaus". That want work. Using only usernames without domains it will be impossible to call users outside you domain.
As SIP was built with the idea to contact any SIP user in the world (not only the SIP users REGISTERed to your SIP proxy), there is a need for the domain.
Also I recommend to enable the multi domain mode: modparam("auth_db|usrloc", "use_domain", 1)
then it is possible to hast different domains on your SIP proxy. (Just like apache is hosting virtual domains/home pages).
regards klaus
B Boc wrote:
I am now trying to "add users" but i don't understand why username requires domain name and the implication down the road.
if i issue the command: openserctl add 2002 spa3k user2@mysipserver.com
I get the response: "domain unknown: use usernames with domain or set default domain in SIP_DOMAIN"
why does it expect my username to be 2002@mysipserver.com?
does this therefore mean the UAs will have to have their username field set to username@domain instead of just username. What's the relevance of capturing the email address?
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users