Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

FOP2 Community Forum

C

chrisgg

@chrisgg
Unfollow Follow
About
Posts
24
Topics
6
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Sub Menu not showing for one extension
    C chrisgg
    Support

    Further tests show your preg_match is not working on /etc/freepbx/freepbx.conf and returns nothing.


  • Sub Menu not showing for one extension
    C chrisgg
    Support

    9852:@chrisgg escribió:

    I am also having an issue with the fop2admin page. It is spewing errors like this...

    /var/www/html/fop2/admin/dbconn.php (line 3)
    Undefined index: DBHOST
    /var/www/html/fop2/admin/dbconn.php (line 3)
    Undefined index: DBNAME
    /var/www/html/fop2/admin/dbconn.php (line 3)
    Undefined index: DBHOST

    The system is FreePBX and it has something to do with the parse_conf function. It is not reading the details.


  • Sub Menu not showing for one extension
    C chrisgg
    Support

    I am also having an issue with the fop2admin page. It is spewing errors like this...

    /var/www/html/fop2/admin/dbconn.php (line 3)
    Undefined index: DBHOST
    /var/www/html/fop2/admin/dbconn.php (line 3)
    Undefined index: DBNAME
    /var/www/html/fop2/admin/dbconn.php (line 3)
    Undefined index: DBHOST


  • Sub Menu not showing for one extension
    C chrisgg
    Support

    I am having an odd behaviour on the sub-action button on a single extension. Every single member has the add/remove from each queue and pause/unpause on all extensiont except this one. I only have the "chat" action available for this one extension.

    This extension is setup 100% the same as every other extension. Every other extension I am able to add/remove pause/unpause using the sub action menu except this one extension. Any ideas where I can look to fix this?

    user=1250:******:all:Supervisor


  • Fop2 + Call Stats Pro Custom Pauses
    C chrisgg
    Support

    I changed it to from-queue and from-queue/n still no change. It isn't sending a pause at all. I assumed this was hard-coded in somehow, maybe I was wrong.

    This is all giving me a headache for today, I will look again tomorrow and hopefully you can give some hints as to where to start looking.

    127.0.0.1 -> Action: Command
    127.0.0.1 -> Command: database put DND 201 YES

    127.0.0.1 -> Action: Command
    127.0.0.1 -> Command: database put fop2state SIP/201 "Out to lunch"

    127.0.0.1 -> Action: UserEvent
    127.0.0.1 -> UserEvent: FOP2ASTDB
    127.0.0.1 -> Family: fop2state
    127.0.0.1 -> Channel: SIP/201
    127.0.0.1 -> Value: Out to lunch

    127.0.0.1 <- Response: Follows
    127.0.0.1 <- Privilege: Command
    127.0.0.1 <- Updated database successfully
    127.0.0.1 <- --END COMMAND--
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Response: Follows
    127.0.0.1 <- Privilege: Command
    127.0.0.1 <- Updated database successfully
    127.0.0.1 <- --END COMMAND--
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Response: Success
    127.0.0.1 <- Message: Event Sent
    127.0.0.1 <- Server: 0

    Response: Success
    Message: Event Sent
    Server: 0

    127.0.0.1 <- Event: UserEvent
    127.0.0.1 <- Privilege: user,all
    127.0.0.1 <- UserEvent: FOP2ASTDB
    127.0.0.1 <- Action: UserEvent
    127.0.0.1 <- Family: fop2state
    127.0.0.1 <- Channel: SIP/201
    127.0.0.1 <- Value: Out to lunch
    127.0.0.1 <- Server: 0


  • Fop2 + Call Stats Pro Custom Pauses
    C chrisgg
    Support

    Another update, not sure if this is right, as the buttons show from-internal but my queue show from-queue.

    Chris R (Local/201@from-queue/n) (dynamic) (Not in use) has taken no calls yet

    my autobuttons.cfg generates

    [SIP/201]
    type=extension
    extension=201
    label=Chris R
    mailbox=201@default
    context=from-internal
    queuecontext=from-internal
    extenvoicemail=*201@default
    rtmp=0
    queuechannel=Local/201@from-internal/n|Penalty=0|MemberName=Chris R|StateInterface=SIP/201&Local/201@from-internal/n|Penalty=5|MemberName=Chris R|StateInterface=SIP/201|Queue=1010&Local/201@from-internal/n|Penalty=5|MemberNa$
    customastdb=CF/201


  • Fop2 + Call Stats Pro Custom Pauses
    C chrisgg
    Support

    Update to this, fop2 isnt sending pauses at all to asterisk it seems and all callers are being routed to the agents still.

    All my agents are dynamic and log in to the queues. Can you recommend any tests to see what's wrong?


  • Fop2 + Call Stats Pro Custom Pauses
    C chrisgg
    Support

    We have both of your products, and I included the extensions_custom_asternic_fop2_pauses.conf but nothing shows in the Call Stats Pro 2.0 under agent pauses.

    Do I have to make any other undocumented changes for this to work?

    Edit: Running FreePBX 2.10.0 + Asterisk 1.8.17.0

    extensions_override_freepbx.conf:#include /etc/asterisk/extensions_custom_asternic_fop2_pauses.conf


  • Presence status not updating.
    C chrisgg
    Support

    And of course after 3 hours of fiddling around, I figured it out. sorta.
    It was the event_mask= in fop2.cfg. Can you tell me which name is for the fop2 presence events?

    I have agent,call,command,system,user,dialplan. Is there any downfall to leaving event_mask commented?

    On an unrelated topic, sorry. The chome extension will not let an extension log in if he is part of a context button group. I can login if I am not part of context and just a regular login. Is there any fix for that?


  • Presence status not updating.
    C chrisgg
    Support

    I must also tell you, when I change my status on my window, the icon doesnt change for me either.

    From Available to DND, I have to refresh the browser to see the updated icon. And back to Available.


  • Presence status not updating.
    C chrisgg
    Support

    Nicolas,

    I already have read = all write = all in my manager.conf. Any other ideas?


  • Presence status not updating.
    C chrisgg
    Support

    Hello,

    I searched as best as I could but could not find my solution. We run the latest fop2 and use the presence dropdown to set DND/Available.

    The function is working as intended, the agent gets no calls when set DND, however no one else logged into fop2 can see their status icon change when they set it. The agents have to refresh the page entirely to see the icon change.

    Is there no real time icon change functionality so that everyone knows the other extensions statuses?


  • checkdir passing bad variables
    C chrisgg
    Support

    read = all
    write = all
    writetimeout = 1000
    eventfilter=!Event: RTCPSent
    eventfilter=!Event: RTCPReceived
    eventfilter=!Event: VarSet
    eventfilter=!Event: Cdr
    eventfilter=!Event: ExtensionStatus
    eventfilter=!Event: ChannelUpdate


  • checkdir passing bad variables
    C chrisgg
    Support

    It isn't passing it at all, the only one I see is "fromqueue" to the web client. I have pretty much given up at this point, I am no debugger, and to be honest this isnt critical enough to hire someone to look at it. The logs make no sense to me what so ever. There is no clidnum or clidname being passed anywhere. eventwhencalled is set to yes on all queues.

    I haven't changed anything and it used to work fine, I figured it would of been something simple. However I appreciate all your support, and I hope someone can get something out of your explanations on this in the future by reading our post here.


  • checkdir passing bad variables
    C chrisgg
    Support

    The variable doesn't even exist in the AgentConnect, its set in the AgentCalled though.

    Sorry I guess I really don't know how its being passed since its not in that Event. I don't know, we have a ringall system in place if that makes any difference. So it rings all channels, until someone picks it up.

    Can you explain more on this new option you mentioned? eventwhencalled=vars

    127.0.0.1       <- Event: NewCallerid
    127.0.0.1       <- Privilege: call,all
    127.0.0.1       <- Channel: SIP/xxxxxxx-xxx
    127.0.0.1       <- CallerIDNum: 1235551212
    127.0.0.1       <- CallerIDName: SalesNOT FOUND
    127.0.0.1       <- Uniqueid: 1332788687.31688
    127.0.0.1       <- CID-CallingPres: 0 (Presentation Allowed, Not Screened)
    127.0.0.1       <- Server: 0
    
    127.0.0.1       <- Event: AgentCalled
    127.0.0.1       <- Privilege: agent,all
    127.0.0.1       <- Queue: 1010
    127.0.0.1       <- AgentCalled: Local/275@from-internal/n
    127.0.0.1       <- AgentName: Local/275@from-internal/n
    127.0.0.1       <- ChannelCalling: SIP/xxxxxxxx-xxx
    127.0.0.1       <- DestinationChannel: Local/275@from-internal-9301;1
    127.0.0.1       <- CallerIDNum: 1235551212
    127.0.0.1       <- CallerIDName: SalesNOT FOUND
    127.0.0.1       <- Context: ext-queues
    127.0.0.1       <- Extension: 1010
    127.0.0.1       <- Priority: 19
    127.0.0.1       <- Uniqueid: 1332788687.31688
    127.0.0.1       <- Server: 0
    
    127.0.0.1       <- Event: AgentConnect
    127.0.0.1       <- Privilege: agent,all
    127.0.0.1       <- Queue: 1010
    127.0.0.1       <- Uniqueid: 1332788687.31688
    127.0.0.1       <- Channel: Local/275@from-internal-9301;1
    127.0.0.1       <- Member: Local/275@from-internal/n
    127.0.0.1       <- MemberName: Local/275@from-internal/n
    127.0.0.1       <- Holdtime: 105
    127.0.0.1       <- BridgedChannel: 1332788805.31785
    127.0.0.1       <- Ringtime: 6
    127.0.0.1       <- Server: 0
    
    

  • checkdir passing bad variables
    C chrisgg
    Support

    So I got everything working properly, but something has changed. The variables never get set for the callerid and callername anymore.

    I get this in my logs now when a call runs the checkdir.php.

    /fop2/checkdir.php?poptype=connect&clidnum=undefined&clidname=undefined&exten=275&fromqueue=Sales&UNIQUEID=1332695254.28713
    
    [trix asterisk]# grep 1332695254.28713 queue_log
    1332695277|1332695254.28713|1010|NONE|ENTERQUEUE||"SalesNOT FOUND" <1235551212>
    

    The event_log for the above example (with the phone number changed)

    Is there anything I should be looking for or a setting somewhere that would cause it to be "undefined"

    We use your call-stats, and all the callerID and callerNumbers are there perfectly fine.

    Our checkdir.php is your example pretty much for the variables.

    
    function custom_popup($ALLVAR) {
    
            $clidnum   = $ALLVAR['clidnum'];
            $clidname  = $ALLVAR['clidname'];
            $fromqueue = $ALLVAR['fromqueue'];
            $exten     = $ALLVAR['exten'];
    

  • Not loading checkdir.php
    C chrisgg
    Support

    Thanks for bearing with me, the manager.conf needed read=all and write=all

    Its calling the script now at least. Now to get the thing to actually pop something up.

    Thanks again.


  • Not loading checkdir.php
    C chrisgg
    Support

    I see, so is there any reason its sending links and not ringing events?

    Is this the dircheck.php that sends the ringing events to fop2? Or is the ringing events not configured properly on asterisk?

    It would be nice to know where I should start looking to debug where it is failing.


  • Not loading checkdir.php
    C chrisgg
    Support

    I played around with firebug, however I am not sure what I am looking for.

    Watching the console does not tell me anything that I can go on. I dont speak spanish, so I am not sure what some of these mean. and google translate says something about a tail, so I am sure that isnt right.

    Ejecutando Callback Comando link
    received link command from server with 7785551234 , button number4 in slot 1
    cola 12 quedo con llamados: 0
    Comando link no implementado
    Ejecutando Callback Comando link
    received link command from server with 7785551234 TechSeattle,WA, button number10 in slot 1
    flash send <msg data="1|ping||" />
    Comando link no implementado
    Ejecutando Callback Comando link
    received link command from server with 7785551234 TechSeattle,WA, button number10 in slot 1

    Any hints on how to debug why no popups are working?


  • Not loading checkdir.php
    C chrisgg
    Support

    The phone icon shakes when a call comes in, the caller ID is listed as well without any extension.

    In fop2, when a call comes in the Queue, it displays on the queue like so..

    1. <7885551234> TechAnchorage, AK
                          00:00:36
    

    It puts the queuename next to the caller's city. Not sure if I understood your having the same callerid as the extension thing.

    When a call came in before, I used to see the checkdir.php being called by apache, now it does not show up at all, like it isnt being used. Can you think of any other setting I can check in asterisk or fop2?

    One other issue, when I remove a extension from buttons.cfg it messes fop2 up, it wont show extensions in use, and when a call comes in and someone answers it. The call stays in the queue display like it has not been answered. When I put the extension block I removed back in, the issue resolves.

    I do not use the auto configurated users or buttons, I manually have a buttons.cfg and user list in fop2.cfg

    So my question is there some cache or file I should delete if I make changes to a button.cfg.

  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups