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. FOP2 ADDMEMBER/REMOVEMEMBER issue

FOP2 ADDMEMBER/REMOVEMEMBER issue

Scheduled Pinned Locked Moved Support
8 Posts 2 Posters 181 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.
  • M
    M
    macros
    wrote on last edited by
    #1

    HI,

    Every time I add member to a queue in a FOP2 I get following messages in queue_log file:

    1404293734|MANAGER|5101|Local/2101@from-queue/n|ADDMEMBER|
    1404293738|MANAGER|5101|Local/2101@from-queue/n|REMOVEMEMBER|
    

    But when i add member through feature code *455101 i get following messages:

    1404293806|1404293803.0|5101|Local/2101@from-queue/n|ADDMEMBER|
    1404293806|MANAGER|5101|Andrey Dudnikov|ADDMEMBER|
    1404293819|1404293817.1|5101|Local/2101@from-queue/n|REMOVEMEMBER|
    1404293819|MANAGER|5101|Andrey Dudnikov|REMOVEMEMBER|
    

    As you can see when I use feature code Asterisk use MemberName in ADDMEMBER/REMOVEMEMBER messages, and I can find this in a Asternic CC Stats Pro by the agent name. But when I use FOP2 GUI I should find it by Agent/[number] in Asternic CC Stats Pro.
    Is there a way to change queue_log messages to use MemberName when I add agent through FOP2 GUI?

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

      What fop2 version are you using? FOP2 has the membername feature added since a long time ago, I asume you either have manual and incomplete configurations, or a really old version?

      /usr/local/fop2/fop2_server -v

      To set the member names, among other settings for add/remove members, you have to add the queuechannel directive to your button configuration (if you do that by hand, autoconfiguration scripts for freepbx will do that automatically):

      queuechannel=Local/101@from-queue/n|Penalty=0|MemberName=Reception|StateInterface=SIP/101

      1 Reply Last reply
      0
      • M
        M
        macros
        wrote on last edited by
        #3

        /usr/local/fop2/fop2_server -v

        fop2_server version 2.27

        I'm using it with Asterisk 11 and FreePBX 2.11. Buttons were configured with autoconfiguration, and in table fop2buttons there is MemberName filled up with name, but any way in messages there is just Local/2101@from-queue/n not the name.

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

          Asteirsk does not log member names for add/remove and pause events in its default configuration. It is not a fop2 problem. Look at the log_membername_as_agent parameter for queues.conf, or use tailqueuelogFreePBX28 that finds the events with Local/xxx and replace that with their names in the mysql database.

          This is for the asterisk wiki:

          Added new option log_member_name_as_agent, which will cause the membername to be logged in the agent field for ADDMEMBER and REMOVEMEMBER queue events if a state_interface has been set.

          1 Reply Last reply
          0
          • M
            M
            macros
            wrote on last edited by
            #5

            I can assure you that there are no any log_member_name_as_agent or log_membername_as_agent parameter at my configuration. I'm using Asterisk 11.7.0 and FreePBX 2.11.0.38.

            [root@CCPBX parselog]# 
            [root@CCPBX parselog]# grep -r member_name /etc/asterisk/
            [root@CCPBX parselog]# grep -r membername /etc/asterisk/
            [root@CCPBX parselog]# 
            

            I've tried out tailqueuelogFreePBX28 and now Asterisk queue log messages doubles:

            1404895589|1404895587.0|5101|Local/2101@from-queue/n|ADDMEMBER|
            Check agent Andrey Dudnikov
            Exists in cache Andrey Dudnikov = 2
            1404895589|MANAGER|5101|Andrey Dudnikov|ADDMEMBER|
            Check agent Andrey Dudnikov
            Exists in cache Andrey Dudnikov = 2
            
            1404895762|1404895759.1|5101|Local/2101@from-queue/n|REMOVEMEMBER|
            Check agent Andrey Dudnikov
            Exists in cache Andrey Dudnikov = 2
            1404895762|MANAGER|5101|Andrey Dudnikov|REMOVEMEMBER|
            Check agent Andrey Dudnikov
            Exists in cache Andrey Dudnikov = 2
            
            1 Reply Last reply
            0
            • N
              N
              nicolas
              wrote on last edited by
              #6

              tailqueuelog does not alter your queue_log file at all. If you have double entries in queue_log, they are produced by asterisk or some other application, but NOT tailqueuelog, that passively monitors that file.

              1 Reply Last reply
              0
              • M
                M
                macros
                wrote on last edited by
                #7

                I just need some help in FOP2 and Asternic CC Stats Pro that I bought.

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

                  A better line of support would be the live help at www.fop2.com, so you can describe your issue and we can narrow down quicker with questions. Broad or general questions/problems are almost impossible to answer, the chat let us quickly get to the point, unlike email or forums that are slower.

                  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