Asterisk cmd Iconv

Iconv


Synopsis

Iconv is an asterisk application for character conversion.
If you retrieve text from an external data source it might
be necesarry to convert the source characters into a different
character set.

Description

Iconv(varname/destination-charset=text/source-charset)


example: (convert CIDNAME from UTF-8 into ISO-8859-1)

exten => 1234,1,Iconv(CIDNAME/ISO-8859-1=${CIDNAME}/UTF-8)


to list the character sets supported by your iconv library type
>iconv -l
on your shell prompt

Return values

Always returns 0.

Version info

  • Iconv() is not part of the standard Asterisk distribution

See also

Iconv


Synopsis

Iconv is an asterisk application for character conversion.
If you retrieve text from an external data source it might
be necesarry to convert the source characters into a different
character set.

Description

Iconv(varname/destination-charset=text/source-charset)


example: (convert CIDNAME from UTF-8 into ISO-8859-1)

exten => 1234,1,Iconv(CIDNAME/ISO-8859-1=${CIDNAME}/UTF-8)


to list the character sets supported by your iconv library type
>iconv -l
on your shell prompt

Return values

Always returns 0.

Version info

  • Iconv() is not part of the standard Asterisk distribution

See also

Created by: szunny, Last modification: Sun 12 of Dec, 2004 (14:19 UTC) by oej
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+