sip.conf domain=
With the domain statement you may handle more than one domain on an asterisk server. In section general you may adddomain=<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.
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

Comments