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. Feedback
  3. Auto Agent Login

Auto Agent Login

Scheduled Pinned Locked Moved Feedback
2 Posts 2 Posters 143 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
    ashtrexma
    wrote on last edited by
    #1

    Hi Nicolas,

    Well, I have a feature in mind and I think it will be an advantage if you add to FOP2:

    If we can assign agents to queues from the admin module, where the administrator can assign the agent to one or multiple Queues, and also giving the feature of putting a penalty for each queue the agent will be assigned for. and this can be placed on fop2 buttons tab, or under FOP2 users tab or even it would be create if we add another tab under the name Manage agent & queues or Queue Mapping.

    Then after that, when the Agent/User login to FOP2 he will be added to the assigned queues with the selected penalty.

    I think if we have such feature in FOP2 it will give an added value for FOP2 and all users who used or will use FOP2.

    Good Luck.

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

      You can do already do it by using some custom tweaks in FOP2Callsbacks.pm.

      We already do this kind of integration for users of Asternic Call Center Stats Pro, where you have a way to assign queues to agents, and fop2 will read that configuration to auto add users to queues upon login.

      This might help you out getting started on your own implementation:

      FOP2Callbacks.pm

      ...
          } elsif($command eq "auth") {
      
              my $exten = "";
              if($parameters[2] == 1) {
                  $exten = $parameters[0];
              }
              $return = "Action: Originate\r\n";
              $return .= "Channel: Local/".$exten;
              $return .= "\@custom-fop2-autologin\r\n";
              $return .= "Application: Noop\r\n";
              $return .= "\r\n";
      
              push @allreturn, $return;
      
              return @allreturn;
      
      } elsif .....
      

      extensions_custom.conf

      [custom-fop2-autologin]
      exten => _X.,1,Verbose(Auto Login ${EXTEN})
      exten => _X.,n,Set(NAME=${DB(AMPUSER/${EXTEN}/cidname)})
      exten => _X.,n,Set(DEVI=${DB(DEVICE/${EXTEN}/dial)})
      exten => _X.,n,Gosub(custom-query-queues,${EXTEN},1)
      exten => _X.,n,Verbose(${AGENTQUEUES})
      exten => _X.,n,Set(i=1)
      exten => _X.,n,While($[${i}<=${FIELDQTY(AGENTQUEUES,\,)}])
      exten => _X.,n,Set(CURRENT_QUEUE=${CUT(AGENTQUEUES,\,,${i})})
      exten => _X.,n,Verbose(${CURRENT_QUEUE})
      exten => _X.,n,AddQueueMember(${CURRENT_QUEUE},Local/${EXTEN}@from-internal/n,,,${NAME},${DEVI})
      exten => _X.,n,Set(i=$[${i}+1])
      exten => _X.,n,EndWhile
      exten => _X.,n,Hangup
      

      The example is not complete but you might get the idea.

      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