Asterisk func isnull

Synopsis:

NULL Test: Returns 1 if NULL or 0 otherwise

Description:

ISNULL(<data>)



Notes

  • *CLI> show function ISNULL

Return value

Returns 1 if NULL or 0 otherwise.

Example

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


See also


Synopsis:

NULL Test: Returns 1 if NULL or 0 otherwise

Description:

ISNULL(<data>)



Notes

  • *CLI> show function ISNULL

Return value

Returns 1 if NULL or 0 otherwise.

Example

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


See also


Created by: murf, Last modification: Fri 05 of Nov, 2010 (09:23 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+