Asterisk func quote

Synopsis:

Quotes a given string, escaping embedded quotes as necessary

Description:

QUOTE(<string>)


Notes

  • *CLI> show function QUOTE

Return value

Returns the quoted string

Example

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

should set foo to the value "MURPHY".


See also


Synopsis:

Quotes a given string, escaping embedded quotes as necessary

Description:

QUOTE(<string>)


Notes

  • *CLI> show function QUOTE

Return value

Returns the quoted string

Example

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

should set foo to the value "MURPHY".


See also


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