siax

Member

Last active 13 years ago

  1. 13 years ago
    Tue Sep 20 09:32:46 2011

    I just updated to 2.22 as FOP2 wasn't loading in Chrome anymore and all went fine for about an hour. Now after the login, the page with all buttons is shown for one second and then only a blank white page remains.

    Internet Explorer 9 works (as good as IE9 can)
    Firefox 6 works as well

    though it's interesting to see, that DND icons are green in IE and Chrome, but red in Firefox... :?

    EDIT: clearing Chrome's cache helped here.

  2. Thu Aug 18 10:31:58 2011
    siax posted in Strange Label issue.

    Sorry, I did a mistake... the issue is slightly different and it has nothing to do with the spaces...

    I actually did not really created a test user John Doe, but used an existing test user, who's last name was only one letter.

    please check my edited post above. Not the whole last name is being removed. It's the last LETTER only. Tested with different users, different name lengths

  3. Tue Aug 16 15:54:48 2011
    siax posted in Strange Label issue.

    FreePBX has been updated from 2.7 to 2.8 via the Upgrade Tool, no manual changes...

    I'm using User & Device mode, if that is of any help...

    thanks for your help!

  4. Tue Aug 16 13:13:56 2011
    siax posted in Strange Label issue.

    ok I try to explain again...

    Asterisk 1.6 and FreePBX 2.8.1.4 on Centos (AsteriskNOW)
    FOP2.21 beta (language set to German), fop2admin 1.2.6
    Test user: 1234 <John Doe>
    Test queue: 4567 Test

    if 1234 <John Doe> logs into one of our queues via FreePBX feature code 4567*
    CLI> queue show
    4567 has 1 calls...
    Members:
    Local/1234@from-queue/n (dynamic) (In use) has taken no calls yet

    if 1234 <John Doe> is being added to a queue via cli "queue add member Local/1234@from-queue/n to 4567"
    CLI> queue show
    4567 has 1 calls...
    Members:
    Local/1234@from-queue/n (dynamic) (In use) has taken no calls yet

    if I go to FOP2 (not fop2admin!!!) and click on the user button status icon and select "add to Test" to put 1234 <John Doe> into the "Test" queue
    --> at this point John Doe's FOP2 Button changes to "John Do" immediately, also he is being added as "John Do" to the Test queue
    CLI> queue show
    4567 has 1 calls...
    Members:
    John Do (Local/1234@from-queue/n) (dynamic) (In use) has taken no calls yet

    edit: issue was a little different

  5. Sun Aug 14 21:10:47 2011
    siax posted in Strange Label issue.

    I had this issue and could solve it (temporarily) by removing the Local/XXX queue member entries (with wrong name) from my queues.

    We have Device & User mode and the users are named "First_Name(Space)Last_name"

    When re-adding the agent via FOP2.21 beta to his queues, the last letter is removed from his name, when I hit "queue show" in CLI the again. As a result on the next FOP2 login, the labels are again wrong.

    why does FOP2 put the name into the queue member list anyway?

    when users log into queues via feature code or when I add them via cli they are added without name and all FOP2 labels remain fine.

    edit: slightly different issue

  6. Thu May 26 12:29:15 2011
    siax posted in User & Devices Mode.

    you are right in Queue channel it is actually Local/xxxx@from-queue

    I entered the same (Local/xxxx@from-queue) in Originate Channel and pickup is now working correctly.

    But do I get you right, that I actually should have from-queue in Queue channel only and from-internal in Originate Channel fields?

    is there anything to enter into Channel, ChanSpy Options and External Transfer? These fields are blank in my Fop2 Buttons in FreePBX 2.8.1.4

  7. Thu May 26 08:37:11 2011
    siax posted in User & Devices Mode.

    I checked the FreePBX admin page "FOP2 Buttons" and it acutally shows the Queue Channels as
    Local/xxxx@from-internal, should I enter the same for Originate Channel?

    don't worry, I'm going to check it myself ;-)

  8. Thu May 26 08:33:23 2011
    siax posted in User & Devices Mode.

    I have the same issue, but I am still using the autoconfig-buttons-freepbx.sh for button configuration. Can this be adapted here as well?

  9. Thu May 19 06:56:22 2011
    siax posted in DND status indication.

    you are genius, thanks a lot!

    I did the changes in the dnd macros and it works excellent!
    As I see for call forwarding similar changes need to be done.

    [app-dnd-on]
    include => app-dnd-on-custom
    exten => *78,1,Answer
    exten => *78,n,Wait(1)
    exten => *78,n,Macro(user-callerid,)
    ; added for fop2
    exten => *78,n,Set(DB(DND/${AMPUSER})=YES)
    ; next line deactivated and changed for device and user mode 
    ; exten => *78,n,Set(CHAN=${CUT(CHANNEL,-,1)})
    exten => *78,n,Set(CHAN=USER/${AMPUSER})
    exten => *78,n,Set(DB(fop2state/${CHAN})=Do not Disturb)
    exten => *78,n,UserEvent(FOP2ASTDB,Family: fop2state,Channel: ${CHAN},Value: Do not Disturb)
    ; end fop2 addition
    exten => *78,n,Set(DB(DND/${AMPUSER})=YES)
    exten => *78,n,Set(STATE=BUSY)
    exten => *78,n,Gosub(app-dnd-on,sstate,1)
    exten => *78,n,Playback(do-not-disturb&activated)
    exten => *78,n,Macro(hangupcall,)
    exten => sstate,1,Set(DEVSTATE(Custom:DND${AMPUSER})=${STATE})
    exten => sstate,n,Set(DEVICES=${DB(AMPUSER/${AMPUSER}/device)})
    exten => sstate,n,GotoIf($["${DEVICES}" = "" ]?return)
    exten => sstate,n,Set(LOOPCNT=${FIELDQTY(DEVICES,&)})
    exten => sstate,n,Set(ITER=1)
    exten => sstate,n(begin),Set(DEVSTATE(Custom:DEVDND${CUT(DEVICES,&,${ITER})})=${STATE})
    exten => sstate,n,Set(ITER=$[${ITER} + 1])
    exten => sstate,n,GotoIf($[${ITER} <= ${LOOPCNT}]?begin)
    exten => sstate,n(return),Return()
    
    [app-dnd-off]
    include => app-dnd-off-custom
    exten => *79,1,Answer
    exten => *79,n,Wait(1)
    exten => *79,n,Macro(user-callerid,)
    ; added for fop2
    ; next line deactivated and changed for device and user mode 
    ;exten => *79,n,Set(CHAN=${CUT(CHANNEL,-,1)})
    exten => *79,n,Set(CHAN=USER/${AMPUSER})
    exten => *79,n,dbDel(fop2state/${CHAN})
    exten => *79,n,UserEvent(FOP2ASTDB,Family: fop2state,Channel: ${CHAN},Value: )
    ; end fop2 addition
    exten => *79,n,dbDel(DND/${AMPUSER})
    exten => *79,n,Set(STATE=NOT_INUSE)
    exten => *79,n,Gosub(app-dnd-off,sstate,1)
    exten => *79,n,Playback(do-not-disturb&de-activated)
    exten => *79,n,Macro(hangupcall,)
    exten => sstate,1,Set(DEVSTATE(Custom:DND${AMPUSER})=${STATE})
    exten => sstate,n,Set(DEVICES=${DB(AMPUSER/${AMPUSER}/device)})
    exten => sstate,n,GotoIf($["${DEVICES}" = "" ]?return)
    exten => sstate,n,Set(LOOPCNT=${FIELDQTY(DEVICES,&)})
    exten => sstate,n,Set(ITER=1)
    exten => sstate,n(begin),Set(DEVSTATE(Custom:DEVDND${CUT(DEVICES,&,${ITER})})=${STATE})
    exten => sstate,n,Set(ITER=$[${ITER} + 1])
    exten => sstate,n,GotoIf($[${ITER} <= ${LOOPCNT}]?begin)
    exten => sstate,n(return),Return()
    
    [app-dnd-toggle]
    include => app-dnd-toggle-custom
    exten => *76,1,Answer
    exten => *76,n,Wait(1)
    exten => *76,n,Macro(user-callerid,)
    exten => *76,n,GotoIf($["${DB(DND/${AMPUSER})}" = ""]?activate:deactivate)
    exten => *76,n(activate),Set(DB(DND/${AMPUSER})=YES)
    ; next line deactivated and changed for device and user mode 
    ;exten => *76,n,Set(CHAN=${CUT(CHANNEL,-,1)})
    exten => *76,n,Set(CHAN=USER/${AMPUSER})
    exten => *76,n,Set(DB(fop2state/${CHAN})=Do not Disturb)
    exten => *76,n,UserEvent(FOP2ASTDB,Family: fop2state,Channel: ${CHAN},Value: Do not Disturb)
    exten => *76,n,Set(STATE=BUSY)
    exten => *76,n,Gosub(app-dnd-toggle,sstate,1)
    exten => *76,n,Playback(do-not-disturb&activated)
    exten => *76,n,Macro(hangupcall,)
    exten => *76,n(deactivate),dbDel(DND/${AMPUSER})
    ; next line deactivated and changed for device and user mode 
    ; exten => *76,n,Set(CHAN=${CUT(CHANNEL,-,1)})
    exten => *76,n,Set(CHAN=USER/${AMPUSER})
    exten => *76,n,dbDel(fop2state/${CHAN})
    exten => *76,n,UserEvent(FOP2ASTDB,Family: fop2state,Channel: ${CHAN},Value: )
    exten => *76,n,Set(STATE=NOT_INUSE)
    exten => *76,n,Gosub(app-dnd-toggle,sstate,1)
    exten => *76,n,Playback(do-not-disturb&de-activated)
    exten => *76,n,Macro(hangupcall,)
    exten => sstate,1,Set(DEVSTATE(Custom:DND${AMPUSER})=${STATE})
    exten => sstate,n,Set(DEVICES=${DB(AMPUSER/${AMPUSER}/device)})
    exten => sstate,n,GotoIf($["${DEVICES}" = "" ]?return)
    exten => sstate,n,Set(LOOPCNT=${FIELDQTY(DEVICES,&)})
    exten => sstate,n,Set(ITER=1)
    exten => sstate,n(begin),Set(DEVSTATE(Custom:DEVDND${CUT(DEVICES,&,${ITER})})=${STATE})
    exten => sstate,n,Set(ITER=$[${ITER} + 1])
    exten => sstate,n,GotoIf($[${ITER} <= ${LOOPCNT}]?begin)
    exten => sstate,n(return),Return()

    you just won a new customer!

  10. Wed May 18 17:48:46 2011
    siax posted in DND status indication.

    This seems to make sense. I will try it out and give feedback tomorrow.

    Thanks again!

View more