sip.conf: allowguest
This setting determines if anonymous callers are permitted to place calls to Asterisk. This defaults to ‘yes’.
You will need to either set the appropriate default context in the [general] section of sip.conf, or you can employ a domain= setting in which you specify the context that you want calls to this domain to be handled in the dialplan (extensions.conf).
In most cases of allowguest=yes you would also want to set ‘nat=yes’ in the [general] section of sip.conf since most Internet users are behind NAT/firewall.
Note: When compiled with OSP support (open settlement protocol, used for inter-carrier voice traffic) then allowguest can also be set to ‘osp’.
Go back to Asterisk