What are the datatypes available in asterisk server dial plan?
how to check the date type?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Asterisk dial plan language is weakly-typed (has no ‘types’ as such). All values are strings, but can be treated as numbers in some context (e.g. arithmetic expressions). The only way to check ‘the type’ is to use a regular expression to check the value.
There are some functions like HASH or SORT which seem to operate on some complex data types, but these are not main features of the language, but rather helpers for specific use cases.