philiplucasmail

Member

Last active 10 years ago

  1. 10 years ago
    Fri Oct 17 09:45:37 2014

    Hi,
    I am not able to get this working either:

    if($ALLVAR['poptype']=="ringing") {
        file_put_contents('/tmp/fop2_test.txt', print_r($ALLVAR, 1));
    } else {
        file_put_contents('/tmp/fop2_test2.txt', print_r($ALLVAR, 1));
    }

    (sample of checkdir.php file)

    fop2_test.txt gets created but not fop2_test2.txt

    I have set Event When Called to Yes within the queue config.

    Is there anything else that may be missing? I am trying to pass the unique call id to a web service, I assume when a popup is triggered on connect of a call it will pass a variable like uniqueid within $ALLVAR ?

    Thanks.

  2. 11 years ago
    Fri Oct 4 03:38:11 2013
    philiplucasmail started the conversation Sort queuemembers by order entered queue.

    Hi,
    I would like to request the ability to have queuemembers sorted by the order they joined the queue. At the moment queue members are sorted alphabetically but our queues have ring strategy of linear.

    Would be great if the fop2 server sorts the queuemembers in the default order that is outputting when you run the following CLI command on asterisk:

    queue show 2598

    This will make the queuemembers sorted in the order they joined the queue.

    After raising this to Nicolas he said to request the feature of an unsorted list of queue agents as a feature for the next release, and hope for the best (both from yourselves adding the option, and that asterisk will return agents in the order you need via AMI if required).

    Thanks.