Asterisk func checksipdomain


Checks if domain is a local domain



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


  • *CLI> show function CHECKSIPDOMAIN

Return value

Returns the resulting string.


exten => s,1,Set(foo=${CHECKSIPDOMAIN(})

See also

Created by: murf, Last modification: Fri 05 of Nov, 2010 (09:20 UTC) by admin
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+