• Odbc mariadb не подключается?

    @kiba
    Это может быть проблема с зависимостями в третьей ветке драйвера:
    $ ldd /path/to/libmaodbc.so | grep "not found"
            libssl.so.1.0.0 => not found
            libcrypto.so.1.0.0 => not found


    Надо брать либу со второй: https://downloads.mariadb.com/Connectors/odbc/conn...
    Ответ написан
    Комментировать
  • Как перевести свой диалплан на extention.ael?

    @kiba
    Как-то так, наверное:
    _03[1-9]XXXXXXX => {
            Set(fname=${STRFTIME(${EPOCH},,/%Y-%m-%d/%H_%M)}-${CALLERID(number)}-to-${EXTEN});
            MixMonitor(/files/records/${fname}.wav);
            Dial(SIP/Int/${EXTEN},120,tT);
            HangUp;
    }
    s => {
    // Incoming calls are always placed in a context in the dialplan, either one you specify in the channel configuration file, or the default context. If no other match exist for the call within the context, the s extension is activated.
    }


    паттерн _03[1-9]XXXXXXX вынести наружу из экстеншена s
    Ответ написан
    Комментировать