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. Plugins
  3. Presence Pause how it works?

Presence Pause how it works?

Scheduled Pinned Locked Moved Plugins
10 Posts 2 Posters 599 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.
  • A
    A
    AlexRS
    wrote on last edited by
    #1

    Hi! Im trying to use Presence Pause plugin. When I change presence in precense box - nothing changes exept icon and astdb. Agent is not paused. Please explain how it works.

    1 Reply Last reply
    0
    • A
      A
      AlexRS
      wrote on last edited by
      #2

      some answers are there http://members.asternic.biz/knowledge_base/howto-how-to-pause-queue-members-with-a-reason-from-fop2
      Is it possible to set pause when presence is not eq 'available'? For example, when operator set 'Meeting' in presence box, extension is pausing and pause reason (Meeting) adds to asternic ccstats. When he returns from meeting, he sets 'availables' in p.box and the pause will be removed.
      As I anderstand, it must works like this, but id doesnt... Extension is not pausing.

      My second question is how can I translate to my lang reason of pause and penalty in lang files? I want to make them the same as in precence box. The question - is it possible in 'lang' files?

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

        Plugin will send the pause command to a fixed set of possible queue members:

        SIP/xxxx
        Agent/xxxx
        Local/xxxx@from-queue/n

        If you have any other kind of queue member, you will have to alter the plugin code (presencepause.pl) and do the change to match the queue member device as you have it in your system.

        Best regards,

        1 Reply Last reply
        0
        • A
          A
          AlexRS
          wrote on last edited by
          #4

          No, I have only dynamically added SIP extensions to queue. Pause from FOP2 works perfect..

          1 Reply Last reply
          0
          • A
            A
            AlexRS
            wrote on last edited by
            #5

            In presencepause.pl

            $return .= "Interface: Local/$exten\@from-queue/n\r\n";
            

            But in my case context is not '@from-queue'. Changes it to my context gets it work.

            Thanks!

            PS. may be get context from config? Because may be different contexts for different extensions.

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

              Good Idea. I will see if I can make it configurable for a next version/release.

              1 Reply Last reply
              0
              • A
                A
                AlexRS
                wrote on last edited by
                #7

                Thanks!

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

                  I have updated the presence pause plugin, channel is now configurable. You can use a queue member channel like:

                  Local/#{EXTEN}@some-context/n&SIP/#{EXTEN}

                  if you want to attempt pause on more than one channel you can use multiple entries with & to concatenate them.

                  You should use the #{EXTEN} variable to replace with the extension number.

                  Best regards,

                  1 Reply Last reply
                  0
                  • A
                    A
                    AlexRS
                    wrote on last edited by
                    #9

                    Thanks!

                    1 Reply Last reply
                    0
                    • A
                      A
                      AlexRS
                      wrote on last edited by
                      #10

                      Thanks twice!=)

                      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