Action button bar missing!

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

Comments

  • 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,
  • 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
  • Hi Patrick,

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

    [SIP/83205]
    type=extension
    [color=#BF0000:7temn5n1]extension=83205[/color:7temn5n1]
    context=default
    label=Patrick
    extenvoicemail=8500@default
    mailbox=83205@default

    Best regards
  • That's great, all working now - thanks!
Sign In or Register to comment.