©2007 Sven Slezak <sunny at mezzo.net>
Iconv is an Asterisk function 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.
The syntax for Iconv in extensions.conf/extensions.ael is as follows:
Iconv(source-charset|destination-charset|TEXT)
exten => 1234,2,Set(CIDNAME=${Iconv(UTF-8|ISO-8859-1|${CIDNAME})})
exten => 1234,3,SetCIDName(${CIDNAME})
to list the character sets supported by your iconv library type
>iconv -lon your shell prompt
tar -xzf func_iconv-release.tgzIn the func_iconv directory:
make installRestart Asterisk or load the application module with:
load func_iconv.sodone!
show application Iconvshould print the description.
Mac version included in Asterisk PBX for Mac OS X
2.0rc1 - new version for Asterisk 1.4
\ | / - :-) - / | \