Member
Last active 6 years ago
Nicolas,
I already have read = all write = all in my manager.conf. Any other ideas?
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?
read = all
write = all
writetimeout = 1000
eventfilter=!Event: RTCPSent
eventfilter=!Event: RTCPReceived
eventfilter=!Event: VarSet
eventfilter=!Event: Cdr
eventfilter=!Event: ExtensionStatus
eventfilter=!Event: ChannelUpdate
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.
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
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'];
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.
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.
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?
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.