CHECKSIPDOMAIN(Domain
)
sip.conf
). Gibt den Domain-Namen oder einen leeren
String zurück.exten => 123,1,Set(foo=${CHECKSIPDOMAIN(123.45.67.89)})
————————| 1.2 |————————| 1.4 |————————| 1.6 |————————
-= Info about function 'CHECKSIPDOMAIN' =-
[Syntax]
CHECKSIPDOMAIN(<domain|IP>)
[Synopsis]
Checks if domain is a local domain
[Description]
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