Viewing 5 posts - 1 through 5 (of 5 total)
  • Migrated from old forum
    Participant
    Post count: 327
    #5663 |

    I think there may be a bug in how VDP does queues. I have a simple queue box with just the queue number selected. when the queue lists extensions (in the static agents field) to dial in the ‘normal’ mode of:

    101,0
    110,0
    111,0

    Then the queue becomes recursive somehow and the asterisk log fills up quickly with messages as below (over and over again) until you restart asterisk

    — Goto (from-queue,h,1)
    — Executing [h@from-queue:2] Goto(“Local/111@from-queue-a348;2”, “,1”) in new stack
    — Executing [h@from-queue:1] Set(“Local/110@from-queue-1941;2”, “QAGENT=h”) in new stack
    — Goto (from-queue,h,1)
    — Executing [h@from-queue:1] Set(“Local/111@from-queue-a348;2”, “QAGENT=h”) in new stack
    — Executing [h@from-queue:2] Goto(“Local/110@from-queue-1941;2”, “,1”) in new stack
    — Executing [h@from-queue:2] Goto(“Local/111@from-queue-a348;2”, “,1”) in new stack
    — Executing [h@from-queue:1] Set(“Local/101@from-queue-a0ea;2”, “QAGENT=h”) in new stack
    — Goto (from-queue,h,1)

    If I define the queue extensions (in the static agents field) with the S prefix like below:

    S101,0
    S110,0
    S111,0

    Then the queue works normally EXCEPT that the followme doesn’t work, most likely because i have specified just the S)ip device be called. If i dial 101, followme works.

    Note that i’m running elastix 2.0 (asterisk 1.6, freepbx 2.7) if that makes a difference.

    Migrated from old forum
    Participant
    Post count: 327
    #5665 |

    skyrun,

    I don’t think this is VDP bug. Please check queues_additional.conf file in etc/Asterisk folder. This file is generated by Elastix. So, if you type 101 in static agent field Elastix will deploy the following line in queues_additional.conf: member=Local/101@from-queue/n,0 and if you type S101 you will get line: member=SIP/101,0.
    That’s way your queue becomes recursive.

    Raman

    Migrated from old forum
    Participant
    Post count: 327
    #5667 |

    I’m not following you. what you say is true as far as what freepbx and elastix puts into the queues_additional.conf file, but i don’t understand how that helps me use queues that support followme and don’t crash asterisk with VDP on a freebpx system.

    as i state in my original note, the only way that i can get queues to work on VDP is to put create the queues in freepbx with extensions starting with S (S101, etc). if you don’t put on the S, the system simply crashes in a few hours as it fills up the log. and if you DO use the S you don’t get follow me from asterisk.

    so what i would like to know is: what is the recommended way to create and use queues that support followme in VDP? can the queues be created in freepbx or is there some other way you suggest? do you have to put the S on or crash your system? (seems this should be documented if that’s the case)

    Migrated from old forum
    Participant
    Post count: 327
    #5668 |

    Skyrun,

    I’m not so experienced with Queues and FollowMe, however I would like to help.
    Have you tried to add Queue agent with AddQueueMember block in Visual Dialplan? In this way maybe you can workaround the issue with FollowMe application (I just guessing).

    Raman

    Migrated from old forum
    Participant
    Post count: 327
    #5669 |

    Free PBX (elastix) has its own implementation of queues and you should follow free pbx process of sending a call to a queue.
    Simply use the goto block in VDP to send the call to the queue instead of queue block (which works good for plain Asterisk but has some conflict with free pbx queue structure).
    Here is how I work with queues (elastix and vdp):
    1. create queue in elastix and manage queue in elastix (like you usually do without vdp)
    2. create call flow logic in vdp but do not change/manage queue in VDP, do not use queue block in vdp, and when you want to send the call to the queue use the goto block in vdp and send the call to ext-queues context and for extension number use the number of the queue created in elastix.

    This works fine for me and completely follows free pbx process of working with queue.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.