FOP2 integration with Debian System

  1. 11 years ago

    Hi all,

    I successfully installed FOP2 on a Debian server that has an Asterisk 1.4.39.2 fully functional.
    Since i dont use FreePBX i cant use the scripts to fill the buttons.cfg and that is my main problem.

    I configured my buttons like this:

    [SIP/100]
    type=extension
    extension=100
    context=local_processing
    label=Nicolas
    mailbox=150000@default
    
    [SIP/200]
    type=extension
    extension=200
    context=local_processing
    label=Mary
    mailbox=150001@default
    
    [QUEUE/Fila1]
    type=queue
    label=Fila1
    context=local_processing

    but on the web interface the Queue doesnt show anything.
    Any help?

    Btw, how i configure users and agents?
    There are 4 types: extension, queue, trunk and conference...

    Thanks in advance,

    Luis Neves

  2. admin

    13 Jul 2013 Administrator

    Add an extension=xx to the queue button, and be sure the queue is named *exactly* as in asterisk queues.conf. My suggestion is not to use case at all, just default to lower case or numbers.

    I do not understand your question about users and agents, so I cannot give you an answer. If you want to monitor chan_agent you can use type=extension on the form [Agent/1000]. Users do not exists at all in asterisk "internals" or manager description of states, so I have no idea of what you are talking about... if you want to add users to fop2, add the proper lines in fop2.cfg

    user=200:somepassword:all

    Best regards,

  3. Hi Nicolás,

    Regarding the users and agents, I'll try to explain better. Imagine that you have an scenario where the dialplan is not extensions oriented but it's user's oriented.
    That means, when you make a call for someone, you dont dial to a extension but you dial to a number that is an alias of the person you want to call.
    So when you call John or Peter, you don't know where they are or what phones will ring. But, in the system, that user is associated with some phone, so Asterisk knows where to send the call to.

    Regarding the Queues, yes, the name is exactly like in queues.conf. And about the extension for the queue button, I understand why you want that configuration but what if there is no extension associated with that queue?
    Btw, I don't see any agents on the queue, and when I make a call to the queue, I don't see any activity on the queue button.

    Can you help?

    If I can make FOP2 works like I need (clients demand) I for sure will buy some licenses.

    Best regards,

    Luis Neves

  4. admin

    25 Jul 2013 Administrator

    Hi Nicolás,

    Regarding the users and agents, I'll try to explain better. Imagine that you have an scenario where the dialplan is not extensions oriented but it's user's oriented.
    That means, when you make a call for someone, you dont dial to a extension but you dial to a number that is an alias of the person you want to call.
    So when you call John or Peter, you don't know where they are or what phones will ring. But, in the system, that user is associated with some phone, so Asterisk knows where to send the call to.

    Ok, you meant hotdesking. There are some ways to handle this situation, maybe the easier is for you to replicate the astdb structure and user events that are used in FreePBX when setting device&user mode. Here is a post discussing this in detail:

    View Post 1205

    Regarding the Queues, yes, the name is exactly like in queues.conf. And about the extension for the queue button, I understand why you want that configuration but what if there is no extension associated with that queue?
    Btw, I don't see any agents on the queue, and when I make a call to the queue, I don't see any activity on the queue button.

    It does not matter you have an extension/context assigned to it or not. Just add a bogus one, and be totally sure the name matches the one you have in queues.conf. *absolutely* sure. It is not the same Sales than sales or sALEs. Queue buttons will show activity and logged in agents if configured correctly.

or Sign Up to reply!