ambo

Member

Last active 14 years ago

  1. 14 years ago
    Wed Apr 7 04:19:35 2010
    ambo started the conversation FreePBX + FOP2 Adding ext to queue.

    Hey All,

    Found an issue which has a long winded explanation but in short:

    When adding a user to a queue using FOP2 - the user is added as a SIP user - not Local - hence things like DND are not obeyed etc.

    I don't think i can explain it very well but anyways here goes.

    When using FreePBX to define agents in a queue etc or when users login using the Feature Codes (QueueNumber* to login etc) then the extension is added to as a local path for the queue. This is done as all queue calls are routed through the local path by FreePBX for multiple reasons.

    When using FOP to add and agent it obey's native asterisk agent setup and adds them as a SIP extension (can bee seen in below log files). Thus when FreePBX routes the call to a queue - rather than taking the local path to the users extension - thus checking DND etc etc - it goes directly to it using SIP.

    I know this is not exaclty a bug persue on either end (FreePBX nor FOP2) - just thought i would mention it and see if anyone had any ideas on making the required changes to FOP2 to make it add them as Local rather than SIP.

    For some more detail - this popped up when Chris Lewis kept getting calls 1st - regardless of having DND enabled. I checked his call stats - and he had answered the least amount of calls as he was in paused mode in the queue for a while I assume doing other work. This wasn't the cause - as it is in round robin mode - so it will do a round robin regardless of how many calls you have taken (I assume).

    Logging into the asterisk CLI - I checked out the queues some more - and saw that he was showing as a SIP user - not a Local user. From reading other info prior - I knew that this would cause DND to be disobeyed - hence him getting a call all the time.

    SIP means a remote party - which is what FOP does as its logging you in via the webpage - hence it add the user as SIP not Local ... and causes some issues. See example below.

    I have submitted a forum post to the FOP forum for the developer to provide some feedback.

    Log Files Below.

    This part is all OK - and appears as it should with everyone being Local.

    ==================================================================================================

    asterisk2*CLI> show queue
    7501 has 0 calls (max 10) in 'rrmemory' strategy (11s holdtime), W:0, C:2, A:2, SL:100.0% within 60s
    Members:
    Local/570@from-queue/n (Not in use) has taken no calls yet
    Local/562@from-queue/n (paused) (Not in use) has taken no calls yet
    Local/514@from-queue/n (Not in use) has taken 1 calls (last was 1665 secs ago)
    Local/579@from-queue/n (Not in use) has taken 1 calls (last was 107 secs ago)
    Local/577@from-queue/n (In use) has taken no calls yet
    No Callers

    ===================================================================================================

    This part shows that I have added 507 to the 7501 queue using FOP - so it appears as SIP. Thus DND was ignored and his phone rang when a call was dropped into the queue (all other agents were on the phone at the time).

    ===================================================================================================

    7501 has 0 calls (max 10) in 'rrmemory' strategy (0s holdtime), W:0, C:1, A:2, SL:100.0% within 60s
    Members:
    Local/570@from-queue/n (In use) has taken no calls yet
    Local/562@from-queue/n (paused) (Not in use) has taken no calls yet
    SIP/507 (dynamic) (Not in use) has taken no calls yet
    Local/514@from-queue/n (Not in use) has taken 1 calls (last was 1300 secs ago)
    Local/579@from-queue/n (Not in use) has taken no calls yet
    Local/577@from-queue/n (Not in use) has taken no calls yet
    No Callers

    Regards,
    Ambo

  2. Tue Apr 6 06:07:44 2010
    ambo posted in DND issues.

    Similar thing that i cannot get going.

    DND activated all OK using *78 - FOP shows user as DND and phone rejects calls.
    DND deactivated all OK using *79 - FOP shows user and Available now and accepts calls.

    Using the Toggle - *76 - it will not work.

    The reason this does not work is within the extensions_override_freepbx.conf - it has a dialplan for *78 and *79 which will override the default freepbx/asterisk ones - however you also need a dialplan in there for *76 which i lack the brain power to work out.

    Anyone that can provide a dialplan for *76 DND toggle so that it works with FOP would be awesome !

  3. Tue Apr 6 04:45:15 2010
    ambo started the conversation Button 15 character limit ?.

    Is there a limit of 15 characters on the buttons ?

    We have users with long names - and if their surname makes it over 15 characters - then we only see their first name on the button.

    Is there a way around this or is it hardcoded into fop2.10 ?

  4. Tue Apr 6 03:18:50 2010
    ambo posted in Do Not Disturb.

    OK

    Seems this is a bug with our Nortel i2004 phones which are connecting using UNISTIM. Testing with an Aastra 480i which connects using SIP works fine.

    I would assume however that regardless of being a UNISTIM or SIP connected phone - they should all follow the same freepbx/asterisk dial marco's yes ?

    Also - has anyone managed to get a working toggle dial plan working instead of the activate/deactivate so that a users can use an assigned softkey on the SIP phones to turn DND on or off ??

  5. Tue Apr 6 02:14:55 2010
    ambo started the conversation Do Not Disturb.

    Hey All,

    We are using full version of FOP2 with Asterisk 1.4.21.1 with FreePBX 2.7.0.1 (using FOP2 release 2.10) and wish to get the DND status displaying in the FOP panel so we can see if a user has DND enabled or not.

    We have copied the "extensions_override_freepbx.conf" to "/etc/asterisk" and also ensured that the "FOP2Callbacks.pm" file exists in "/usr/local/fop2" (ones that came with install) - i assume this is all we need to do ? not sure exactly how to go about this.

    I did read this post which mentioned changing the commas to pipes - however that was believed to be needed on Asterisk 1.6 only.
    [url:7ojxp0vx]http://www.fop2.com/forum/View Post 332&p=1176&hilit=do+not+disturb#p1176[/url:7ojxp0vx]

    :evil:

  6. Wed Mar 31 11:06:55 2010
    ambo posted in FOP2.10 issues.

    WAIT !!!

    My bad - it did work when creating a group without spaces.

    Awesome !!! - love your work and glad that FOP2 isn't broken on my server after all !!!

    It's one of the best asterisk plugins for sure !!

    Cheers

  7. Wed Mar 31 11:04:10 2010
    ambo posted in FOP2.10 issues.

    Just tried that - thought you were onto something - but unfortunately no go.

    I just setup a new Virtual Machine with PBX in a flash 1.4 - asterisk 1.6 and FreePBX 2.7 - updated freepbx to lastest with Module updates (as per server at clients) - installed FOP2 as per instructions [url:1183qnfw]http://www.elastixconnection.com/index.php?option=com_content&task=view&id=66&Itemid=89[/url:1183qnfw].

    FOP2 working all OK - only have 2 extensions, 2 queues and 1 trunk.

    Login with either user - i can see everything.
    Create group with only queues assigned to it, assign group to user 101 - login with user 101 - still see everything.
    Create group without spaces, with only queues assigned to it, assign group to user 101 - login with user 101 - still see everything.

    On older test system using FreePBX CORE version 2.7.0.3 instead of latest 2.7.0.4 - it seems to work all OK - i can only see what the group has assigned ... VERY weird as the freePBX core shouldn't change anything to do with FOP2 ??

  8. Wed Mar 31 05:44:01 2010
    ambo posted in FOP2.10 issues.

    Should i start again using teh default freepbx_engine file that comes with CORE 2.7.0.4 and only modify the files listed in the PIAF forum post that relate to the link for "Panel" ?

    Not sure how to fix this issue as i may be missing something - might remove all traces of FOP2 again tomorrow and start fresh again - although i did that today without success :(

  9. Wed Mar 31 05:14:35 2010
    ambo started the conversation FOP2.10 issues.

    Hey All,

    We have been using the FOP2 beta all OK prior to the release of 2.1 (i assume that its named 2.1 as its now release ?) all ok with FreePBX 2.7. Original install was done by following [url:23h0punv]http://pbxinaflash.com/forum/showthread.php?t=6890[/url:23h0punv]. We have a fully licensed version of FOP2.

    We updated FreePBX today (using the built in update section in modules) and now it seems to have broken some of the functionality.

    Editing of FOP users and groups is being done using the FreePBX module.

    When a user is a member of a fop group - logging in as that user they still see all buttons. Basically we have a group called "Call Center User" which has all queue's ticked along with the extensions (users) that are members of the call center. When going to the fop2 user section -> selecting the required user - i have then ticked the "Call Center User" group box, submitted and applied the settings. Double checking the user page afterwards shows that the box is still ticked as expected for the "Call Center User" group. Logging into the fop panel now as that user - they still see all the buttons.

    Now i thought that updating freepbx had broken something - so i removed /usr/local/fop2 and /var/www/html/fop2 - downloaded the new tarbel released on the 31st (even though it shouldnt have changed) - run through the install process [url:23h0punv]http://www.fop2.com/documentation-installation-4.php[/url:23h0punv] - rebooted the box. Fop2 running but still same issue seeing all buttons.

    Now it might be important to note that when following through the original install instructions on PIAF forum post above - we have to edit the /var/lib/asterisk/bin/freepbx_engine file with the one listed in the forum post. I have tried using the newly created one (which was applied with the freepbx updates) - Asterisk and FOP2 start OK - but groups button issue. Using the one from the forum post works also - (can use amportal stop and amportal start to stop and start fop2) but still button issue.

    HELP ! :)

    EDIT:

    Using a test system (that was built at the same time along side the devel/prod system) everything works as expected with the group members only seeing what they should. There are a few FreePBX module differences with the main ones being:
    Test System has:

    • FreePBX Core 2.7.0.0
    • FreePBX ARI Framework 2.7.0.3

    Dev/Live/Future Prod System has:

    • FreePBX Core 2.7.0.1
    • FreePBX ARI Framework 2.7.0.4

    It seems it would be the newer FreePBX modules that have broken the groups permissions working ??

  10. Tue Mar 30 04:09:12 2010
    ambo started the conversation Remove a Trunk button.

    Hey all,

    Using the lastest beta that will be released April 1st - with a valid license purchase recently.

    Using FreePBX - and obvioulsy the freepbx module to manage the Panel etc.

    Once we installed fop2 and the freepbx plugin - all just seemed to work. We have all the Extensions listed (albeit showing unistim extension online when they actually arent) and queues and trunks seem OK.

    I run the auto config scripts once after install - which i assume created all the lovelly buttons i now see. I have a few quesitons.

    1. Changing the label of a trunk/queue - this can be done using the freepbx plugin by going to the "fop2 buttons" page and simply editing the label field. Is this the correct way to do such a thing ?
    2. How can we remove a button from displaying. In essence we do not wish to display the default zap/g0 trunk as it will not be used. I could remove it from the Asterisk setup all together - however just removing it from the Panel would be the ideal solution - how do i go about this. Do i have to create a buttons.cfg file and put in every single button i wish to see ? or can i just put in say the trunks section - which will override the trunks currently seen ? (hope that makes sence :))
    3. As above with number 2 - when creating a buttons.cfg - are the buttons contained in this file the ONLY ones that will be seen - or are the appropriate sections overridden ?

    Thanks
    Ambo.