fop2 buttons - no affect when changing

I am able to enable/disable buttons from showing on the fop2 panel, but renaming or adding any options to the buttons does not seem to be working. I'll rename a button to "Voice Mail", apply config, no change in fop2. I discovered this when trying to add "Gtalk/voice.google.com" to a trunk per another thread. I add that to the Extra Channel field, hit apply, the field changes back to an empty field. The only error I can see that is pumped out to the http error_log is
File does not exist: /var/www/html/fop2/fop2-variablesGENERAL.txt

I've uncommented out the webdir config in fop2.cfg and restarted, but that had no affect either.

Any ideas where to look? I'd really like to get my Google Voice channel showing inbound/outbound calls.

Thanks,

-Robert

Comments

  • Most probably you are hitting the php max_input_vars limit. Look at php.ini and set

    max_input_vars=5000

    Anyways, this problem is mostly (but not completely) resolved in fop2admin 1.2.13, as it uses edit in place for regular values, but it still uses the full input vars for sorting.

    Best regards,
  • Nope, even raised to 8000 and still the same. I'll try the update.

    max_input_vars 8000 8000
  • Updated and no change.

    However, the issue seems to be only related to the Trunk and the "local" entry created by GoogleVoice add on. I'm first trying to change the label from "Local" to "Google Voice". No change, but changing other trunk labels and ext work fine.
    What's odd is sometime I see the "Google Voice" label show up in fop2 panel, but in fop2admin it says "Local". If I change something and hit submit the fop2 panel goes back to "Local" as well.

    I think there was some kind of disconnect/confusion with the trunk/google voice/fop2 buttons. The customer had 2 different GV accounts added into the system, but only one "local" trunk was showing. I deleted both GV accounts, re-added one account and fop2 now is making the changes to the button and extra channel config.
  • ok.. so , the problem was fixed? or you still have issues?
  • Yes, deleting GV accounts and readding, along with new version allowed me to add the Gtalk/ parameter to the extra channel info on the trunk. So that worked.

    However, (I can start another thread), when I make an outgoing GV calling there still is nothing showing up in the fop2 display like it does when my other trunks...
  • not sure if the gtalk trunk name is fixed, fop2 monitors channels by name, if the name matches, then it will work. I think gtalk adds the dialed number in the channel name, making it kind of impossible to monitor by channel name. Do

    asterisk -rx "core show channels"


    when the call is up, and then compare channel names with the ones used in fop2 (output from /usr/local/fop2/autoconfig-buttons-freepbx.sh)
  • Yeah, I added that extra channel stuff based on your thread response:

    viewtopic.php?p=5108#p5108
    In the next FOP2 version (2.27), google voice trunk will work fine.. I added a workaround so it strips the dialed number and constructs the channel name from there, so adding something like:

    Gtalk/voice.google.com

    To the channel field on the trunk config will work fine.

    Here's output from log (asterisk command truncates)..
    [2013-04-23 16:46:15] VERBOSE[24831] app_dial.c: -- Called <!-- e --><a href="mailto:Gtalk/GMAILEMAILADDRESSHERE/+1XXXXXXXXX@voice.google.com">Gtalk/GMAILEMAILADDRESSHERE/+1XXXXXXXXX ... google.com</a><!-- e -->
    [2013-04-23 16:46:15] VERBOSE[24831] app_dial.c: -- <!-- e --><a href="mailto:Gtalk/+1XXXXXXXXXX@voice.google.com">Gtalk/+1XXXXXXXXXX@voice.google.com</a><!-- e -->-a842 is ringing
    [2013-04-23 16:46:15] VERBOSE[24830] app_dial.c: -- Local/1XXXXXXXXX@googlevoice-GMAILEMAILADDRESSHERE-0000008f;1 is ringing
  • Are you using 2.27 beta?

    /usr/local/fop2/fop2_server -v
  • Are you using 2.27 beta?

    /usr/local/fop2/fop2_server -v

    Whoops, thought I was. I knew I was on latest, didn't know it was a different version/beta for that to work. :oops:
    fop2_server version 2.26

    Where can I get the beta, I didn't see a link for it in the downloads.

    Edit: Nevermind got it.. http://download.fop2.com/fop2-2.27-centos-i386.tgz
Sign In or Register to comment.