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. Problem in Queue Member status until poll_interval

Problem in Queue Member status until poll_interval

Scheduled Pinned Locked Moved Support
2 Posts 2 Posters 135 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
    mvzeppelin
    wrote on last edited by
    #1

    Hi,

    I have a problem with exten status in a queue button on the fop2.
    I setup an exten like this:

    [SIP/1019]
    type=extension
    extension=1019
    context=from-inside
    label=Marcus Vinicius
    mailbox=1019
    extenvoicemail=*1131019@from-inside
    

    And I have a queue button like this:

    [QUEUE/pabx]
    type=queue
    label=PABX
    extension=5000
    context=from-inside
    

    When the exten 1019 use a AddQueueMember(), the name of the exten doesn’t appear in the queue Button, in real time. There is no way to know which exten was logged until “poll_interval” has reached:
    http://i283.photobucket.com/albums/kk300/americanet/problem1.png

    In the fop1 there is a way to know that exten was logged, in real time:

    http://i283.photobucket.com/albums/kk300/americanet/ok1.png

    If I restart fop2 or if “poll_interval” has reached, then everything work very well, and I can see the name of the exten logged in the queue:
    http://i283.photobucket.com/albums/kk300/americanet/ok2.png

    Is there a way to solve this problem?

    FOP 2.21

    When the exten loggin in the queue, I can see the debug below:

    127.0.0.1       <- Event: Newexten
    127.0.0.1       <- Privilege: call,all
    127.0.0.1       <- Channel: SIP/1019-b53e6620
    127.0.0.1       <- Context: macro-nx-agent-dynamic-add
    127.0.0.1       <- Extension: s
    127.0.0.1       <- Priority: 5
    127.0.0.1       <- Application: AddQueueMember
    127.0.0.1       <- AppData: pabx|SIP/1019|
    127.0.0.1       <- Uniqueid: 1312550658.408712
    127.0.0.1       <- Server: 0
    
    127.0.0.1       <- Event: QueueMemberAdded
    127.0.0.1       <- Privilege: agent,all
    127.0.0.1       <- Queue: pabx
    127.0.0.1       <- Location: SIP/1019
    127.0.0.1       <- Membership: dynamic
    127.0.0.1       <- Penalty: 0
    127.0.0.1       <- CallsTaken: 0
    127.0.0.1       <- LastCall: 0
    127.0.0.1       <- Status: 2
    127.0.0.1       <- Paused: 0
    127.0.0.1       <- Server: 0
    Use of uninitialized value in string ne at script/fop2_server.pl line 3391.
    
    127.0.0.1       <- Event: Newexten
    127.0.0.1       <- Privilege: call,all
    127.0.0.1       <- Channel: SIP/1019-b53e6620
    127.0.0.1       <- Context: macro-nx-agent-dynamic-add
    127.0.0.1       <- Extension: s
    127.0.0.1       <- Priority: 6
    127.0.0.1       <- Application: GotoIf
    127.0.0.1       <- AppData: 0?jalogado
    127.0.0.1       <- Uniqueid: 1312550658.408712
    127.0.0.1       <- Server: 0
    
    10.10.1.166     => { 'btn': '67@GENERAL', 'cmd': 'queuemembers', 'data': 'PGRpdiBjbGFzcz0nbWVtYmVyYnVzeSBteWNsaWNrJyBpZD0ncW0hUVVFVUUvUEFCWCFTSVAvMTAxOSc+PC9kaXY+PHNwYW4+PC9zcGFuPjxiciBjbGFzcz0nY2xlYXInLz48ZGl2IGNsYXNzPSdtZW1iZXJyZWFkeSBteWNsaWNrJyBpZD0ncW0hUVVFVUUvUEFCWCFTSVAvMTAyMSc+PC9kaXY+PHNwYW4+UmFmYWVsPC9zcGFuPjxiciBjbGFzcz0nY2xlYXInLz4=', 'slot': '' }
    
    10.10.1.166     => { 'btn': '2@GENERAL', 'cmd': 'rename', 'data': '', 'slot': '' }
    
    127.0.0.1       <- Event: Newexten
    127.0.0.1       <- Privilege: call,all
    127.0.0.1       <- Channel: SIP/1019-b53e6620
    127.0.0.1       <- Context: macro-nx-agent-dynamic-add
    127.0.0.1       <- Extension: s
    127.0.0.1       <- Priority: 7
    127.0.0.1       <- Application: GotoIf
    127.0.0.1       <- AppData: 1?ok
    127.0.0.1       <- Uniqueid: 1312550658.408712
    127.0.0.1       <- Server: 0
    
    127.0.0.1       <- Event: Newexten
    127.0.0.1       <- Privilege: call,all
    127.0.0.1       <- Channel: SIP/1019-b53e6620
    127.0.0.1       <- Context: macro-nx-agent-dynamic-add
    127.0.0.1       <- Extension: s
    127.0.0.1       <- Priority: 11
    127.0.0.1       <- Application: Playback
    127.0.0.1       <- AppData: queue/agent-loggedin
    127.0.0.1       <- Uniqueid: 1312550658.408712
    127.0.0.1       <- Server: 0
    

    tks

    --
    Marcus Vinicius

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

      My suggestion is to use the membername parameter to the addqueuemember directive. fop2 can track member names at runtime/event when using local channels and the extension/context of a button matches the extension@context in the local channel.

      Asterisk supports now the membername directive for queue members, fop2 will pick that right up with no issues and no fancy/hackish match..

      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