Action button bar missing!

  1. 15 years ago

    Hi,
    I've installed fop2 on a server that is remote to my asterisk box (astlinux based on asterisk 1.4). manager.conf has the read/write permissions set as

    read = system,call,command,agent,user,originate
    write = system,call,command,agent,user,originate
    for the remote user.

    fop2.cfg has user=<name>:<pass>:all

    I'm assuming that the lack of a toolbar is somehow down to a permissions problem, but I can't see where the issue might be. Line status is correctly displayed on the panel so at a basic level communication is OK. Any ideas?
    Thanks
    Patrick

  2. admin

    26 Jul 2009 Administrator

    Hi Patrick,

    the "user" in fop2.cfg should be an extension. And that extension should be set in a button in the button file.

    If there is no match between the login user and an extension in the button file the action bar will not show.

    So.. in fop2.cfg you need something like:

    user=100:1234:all
    buttonfile=mybuttons.cfg

    And in mybuttons.cfg

    [SIP/100]
    extension=100
    context=mycontext
    label=Patrick
    type=extension

    Best regards,

  3. Thanks Nicolas. If I've understood right, I think I am doing what you describe:

    Part of: buttons.cfg

    [SIP/83205]
    type=extension
    context=default
    label=83205 Patrick
    extenvoicemail=8500@default
    mailbox=83205@default

    Part of /usr/local/fop2/fop2.cfg:
    user=83205:83205:all
    user=83206:83206:all
    user=83207:83207:all
    user=83208:83208:all
    user=83209:83209:all
    buttonfile=buttons.cfg

    Any other ideas? I'd love to get this working properly & be able to sign up for a licence...
    Patrick

  4. admin

    27 Jul 2009 Administrator

    Hi Patrick,

    Same idea. You are missing the "extension=83205". It should be:

    [SIP/83205]
    type=extension
    extension=83205
    context=default
    label=Patrick
    extenvoicemail=8500@default
    mailbox=83205@default

    Best regards

  5. That's great, all working now - thanks!

or Sign Up to reply!