Synopsis:
Checks if domain is a local domain
Description:
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 in sip.conf
Notes
- *CLI> show function CHECKSIPDOMAIN
Return value
Returns the resulting string.
Example
exten => s,1,Set(foo=${CHECKSIPDOMAIN(123.34.56.78)})