Name

CHECKSIPDOMAIN — Checks if a domain is local

Synopsis

CHECKSIPDOMAIN(domain|IP)

This function checks if the domain in the argument is configured as a local SIP domain that this Asterisk server is configured to handle. Returns the domain name if it is locally handled, otherwise an empty string. Check the domain configuration option in sip.conf.