Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

FOP2 Community Forum

  1. Home
  2. Support
  3. Displays clients in a conference

Displays clients in a conference

Scheduled Pinned Locked Moved Support
8 Posts 2 Posters 221 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E
    E
    erini
    wrote on last edited by
    #1

    Good afternoon. I use the asterisk 13 and fop2 2.30.05, the problem is that when in the course of the conference room such as 6666 numbers 6000 (Супермаркет) are no longer displayed participants. The asterisk log contain the next messages:
    [2016-03-21 15:59:17] ERROR[12930]: json.c:704 ast_json_vpack: Error building JSON from '{s: s, s: s}': Invalid UTF-8 string.
    [2016-03-21 15:59:20] ERROR[12930]: json.c:704 ast_json_vpack: Error building JSON from '{s: s, s: s}': Invalid UTF-8 string.
    [2016-03-21 15:59:22] ERROR[12930]: json.c:704 ast_json_vpack: Error building JSON from '{s: s, s: s}': Invalid UTF-8 string.
    [2016-03-21 15:59:25] ERROR[12930]: json.c:704 ast_json_vpack: Error building JSON from '{s: s, s: s}': Invalid UTF-8 string.
    [2016-03-21 15:59:27] ERROR[12930]: json.c:704 ast_json_vpack: Error building JSON from '{s: s, s: s}': Invalid UTF-8 string.

    1 Reply Last reply
    0
    • N
      N
      nicolas
      wrote on last edited by
      #2

      Hi,

      The error in Asterisk might be related, but it is not responsibility of FOP2 in any way. Using cyrilic on a member name seems to cause that problem within asterisk. As for FOP2, unfortunately the level 1 debug is not enough, I see AMI responses but not the actions sent nor the actual websocket dialog between the fop2 server and the browser, a debug level 15 would be better. And also, you might want to create a special manager user for FOP2 using event filters as described in the installation guide: http://www.fop2.com/docs/#ConfiguringtheServer

      That way the log will be smaller and more readable and easier to track.

      Best regards,

      1 Reply Last reply
      0
      • E
        E
        erini
        wrote on last edited by
        #3

        I create a special manager user for FOP2 and create log debug level 15. How to solve my problem ? Problem actually with Cyrillic.

        1 Reply Last reply
        0
        • N
          N
          nicolas
          wrote on last edited by
          #4

          The server sends the correct command:

          10.75.0.75:37879 => { "btn": "2@GENERAL", "cmd": "members", "data": "WyB7ICJpc21hcmtlZCI6ICJvZmYiLCAiaXNtdXRlZCI6ICJvbiIsICJpc3RhbGtpbmciOiAib2ZmIiwgImNvbmZlcmVuY2UiOiAiQ09ORkVSRU5DRS82NjY2IiwgImNoYW5uZWwiOiAiMSIsICJuYW1lIjoiNjAwMCDQodGD0L/QtdGA0LzQsNGA0LrQtdGCINCS0LDRgdC40LvRjNC10LLQIiB9IF0=", "slot": "" }

          Decoding that shows correct cyrilic. You might need to see the javascript console to see if you get any particular errors after receiving that command.

          1 Reply Last reply
          0
          • E
            E
            erini
            wrote on last edited by
            #5

            I create screen shot javascript console error. I bought FOP2 panel for the old server. This problem does not allow me to use fop2 panel on the new server.

            1 Reply Last reply
            0
            • N
              N
              nicolas
              wrote on last edited by
              #6

              Unfortunately it is a bug in Asterisk. I cannot fix it in FOP2, the console/error log is a hint of the problem. You can run in the asterisk CLI:

              meetme list 6666 concise

              And you will see that the name is not shown correctly (note the last ? in the name, that is an invalid char):

              1!601!Супермаркет Васильев?!SIP/601-0000000d!!!!!0!00:00:12

              and you will also see the error in the asterisk CLI:

              ERROR[2333]: json.c:704 ast_json_vpack: Error building JSON from '{s: s, s: s}': Invalid UTF-8 string.

              All of that happens WITHOUT fop2 in the middle. It is a problem within Asterisk itself.

              FOP2 inherits the bad formatted utf8 string and pass it along, but it cannot fix it as it is broken from the start.

              Note that the same name can be used for a queue member name, and Asterisk behaves correctly in this regard, with no errors, using the same callerid/name.

              Perhaps that problem was fixed in more recent Asterisk versions... I tested with Asterisk 13.1.0 only.

              1 Reply Last reply
              0
              • E
                E
                erini
                wrote on last edited by
                #7

                I create screen shot fop panel. This is old server with fop2_server version 2.26, asterisk 1.8? freepbx 2.10. Problem with the encoding is present, but client in the conference display. I tested with Asterisk 13.1.0 and fop 2.30.05 problem still exists.
                Executing [s@macro-user-callerid:26] Set("SIP/6000-00000a09", "CALLERID(number)=6000") in new stack
                -- Executing [s@macro-user-callerid:27] Set("SIP/6000-00000a09", "CALLERID(name)=Супермаркет Васильев�") in new stack
                -- Executing [s@macro-user-callerid:28] Set("SIP/6000-00000a09", "CHANNEL(language)=ru") in new stack
                Сan fop2 panel in the future to call the problems encoding?

                1 Reply Last reply
                0
                • N
                  N
                  nicolas
                  wrote on last edited by
                  #8

                  The bug is in Asterisk. It has problems with the encoding and pass that along via the manager event. FOP2 cannot fix encoding issues or invalid strings, as it does not know in advance what the problem might be. I already replied to your ticket about the issue, it is a bug in Asterisk and it must be addressed in Asterisk. FOP2 already supports UTF-8 strings and handles them correctly for conference participants, IF the callerid string is valid in AMI events. If the string is wrong. and you also see errors in the asterisk cli about it, then it will have issues... Decoding the callerid in your example leads to a null character at the end, that breaks the json string. The null comes from Asterisk. That null is NOT shown on other events with the same callerid, like queue member events, so it seems to be a bug particular to conferences.

                  Best regards,

                  1 Reply Last reply
                  0

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better 💗

                  Register Login
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  Powered by NodeBB Contributors
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups