Search:
Asterisk func checksipdomain
Synopsis:
Checks if domain is a local domainDescription:
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)})See also
Created by: murf,Last modification on Sat 14 of Jan, 2006 [05:31 UTC]

Page Changes
