Character conversion application module for asterisk
(c)2004 Sven Slezak <sunny@mezzo.net>
Version: 0.8

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.

The syntax for Iconv in extensions.conf is as follows:

Iconv(VARIABLE/destination-charset=TEXT/source-charset)

EXAMPLE:
exten => 1234,1,Iconv(CIDNAME/ISO-8859-1=${CIDNAME}/UTF-8)  ; convert CIDNAME from UTF-8 into ISO-8859-1

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


HOW TO COMPILE?

You need the iconv library and header file included in glibc-headers.
And asterisk of course.
Unpack the package
tar -xzf app_iconv-0.8.tgz

copy app_iconv.c into the apps directory of your asterisk distribution.

Add app_iconv to the targets in asterisk/apps/Makefile like:
APPS += app_iconv.so

Finally in the asterisk directory execute:
make install

Restart asterisk or load the application with: 
load app_iconv.so

you're done. 'show application Iconv' should print the description.
