mysql 数据库创建:
    数据类型选 ascii ,千万不能选 utf8,否则一堆错误

    客户端 odbc 安装:
    yum install unixODBC mysql-connector-odbc -y
    客户端 odbc配置:
    vim /etc/odbc.ini

    注意 option
    [20417]
    Description = mysql
    Driver = MySQL
    Server = 192.168.204.17
    Database = aiivr
    Port = 3306
    USER = root
    Password = 123456
    Socket =
    Option = 67108864
    Stmt =
    CHARSET = ascii

    freeswitch配置:
    autoload_configs/switch.xml


    sip_profiles/internal.xml
    sip_profiles/external.xml