PlaySMS+Kannel unable to access Kannel admin commands and "Send from file"

Ok guys. Some of my problems was solved :smile:
During finding a solution have been updated: Kannel to 1.4.4, PlaySMS to 1.3.

  1. The problem was in the charset of the *.CSV file content’s. PlaySMS works fine only with UTF-8.

  2. The problem is that I’m using Cyrilic for sending message. But “function core_detect_unicode” in “fn_core.php” contain regexp cheking “(’/([\xC0-\xDF].)|([\xE0-\xEF]…)|([\xF0-\xFF]…)/m” which do not fecth Cyrilic. The solution for me was to add another regexp check to this function:

" function core_detect_unicode($text) {
$unicode = 0;
$textgsm = core_string_to_gsm($text);

    $match = preg_match_all('/([\\xC0-\\xDF].)|([\\xE0-\\xEF]..)|([\\xF0-\\xFF]...)/m', $textgsm, $matches);
    if ($match !== FALSE) {
            if ($match == 0) {
                    $unicode = 0;
            } else {
                    $unicode = 1;
            }
    } else {
            $match = preg_match('[\x{0400}-\x{04FF}]/m', $textgsm, $matches);
    if ($match !== FALSE) {
            if ($match == 0) {
                    $unicode = 0;
            } else {
                    $unicode = 1;
            }
    } else {
            //TODO broken regexp in this case, warn user
    }
    return $unicode; "

For correct message transmit to Kannel I add parameters to URL. They are "&coding=2&charset=UTF-8"
And it works correct with Cyrilic :relaxed:
@anton sorry for my corrections of function’s code, I’m not so good in coding and in php.
Issue under item 1 is still open. By the way in “View log” page i see “playSMS daemon is NOT runnig”.
Any help is appreciated