Realms in Asterisk

How can a system (Asterisk) accept realms? I mean, for example we have two SIP accounts: and . For Asterisk by default, these two accounts are the same since the user is exampleuser for the system. I want the domain to be also included in the username, so for example to accept only users with a certain domain.

How can this be achieved? Guides or books referring to this topic are well accepted :) .

0

2 Answers

Set it up like:

...
domain=test.com
domain=anothertest.com
domainsasrealm=yes ; Use domains list as realms
; You can serve multiple Realms specifying several
; 'domain=...' directives (see below).
; In this case Realm will be based on request 'From'/'To' header
; and should match one of domain names.
; Otherwise default 'realm=...' will be used.

Regards

1

Here is one guide : Configuring and Using SIP Domains in Asterisk.

Please try everything that looks pertinent and comment on it in your post, so we can know what you did or did not

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like