Asterisk sip domain

sip.conf domain=

With the domain statement you may handle more than one domain on an asterisk server. In section general you may add

domain=<mydomain>,<context>

Calls to <mydomain> will go to context [<context>], overriding (!) the general and peer default context.
You may have several domain= lines in your sip.conf.

REGISTER to non-local domains will be automatically denied if a domain list is configured, so if your phones register to e.g. 192.168.0.1, make sure you have a domain line for that too!

Note: If you have registered with a remote service (and obtained e.g. a DID that way) the incoming call will be sent to your extension@ip, not to extension@domain. It appears that in the case of an IP Asterisk applies the default context (or does it do so for any incoming call that does not match one of the specified domains?)


Back to Asterisk config sip.conf
Created by: klenkes, Last modification: Wed 27 of Jan, 2010 (13:40 UTC) by fiddur


Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - support@voip-info.org

Page Changes | Comments

 

Featured -

Search: