Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - qmax

Pages: [1] 2 3 4
1
I'm trying to setup websocket softphone.
Using queuemetrics-15.10.1, asterisk-11.7.0~dfsg-1ubuntu1

In sip.conf:
Code: [Select]
[callcenterW](!)
type=friend
host=dynamic
nat=force_rport,comedia
permit=0.0.0.0/0.0.0.0
context=callcenter
allow=all
callcounter=yes
busylevel=1
qualify=yes
transport=wss
avpf=yes
encryption=yes
srtpcapable=yes
icesupport=yes
videosupport=no

[agent007](callcenterW)
secret=1234567

In http.conf:
Code: [Select]
tlsenable=yes
tlscertfile=/etc/ssl/certs/ast-host.crt
tlsprivatekey=/etc/ssl/private/ast-host.key   

Related config in configuration.properties:
Code: [Select]
default.sipaddress=ast.host
default.websocketurl=wss://ast.host/ws
default.rtcWebBreaker=true ; also tried false

Certificate is issued by self-signed CA with subj CN:ast-host
The CA is imported into browsers.
All https connections work well.

When agent page opened in Chrome(50.0) or Firefox(43.0) new ws-connections constantly appear, and later get timeouted.
No data frames sent.

Console shows:
Code: [Select]
s_websocket_server_url=wss://ast-host:8089/ws
VM73:1 s_sip_outboundproxy_url=(null)
VM73:1 b_rtcweb_breaker_enabled=no
VM73:1 b_click2call_enabled=no
VM73:1 b_early_ims=yes
VM73:1 b_enable_media_stream_cache=yes
VM73:1 o_bandwidth={"audio":"64"}
VM73:1 o_video_size={"minWidth":"640","minHeight":"480","maxWidth":"640","maxHeight":"480"}
VM73:1 SIP stack start: proxy='ns313841.ovh.net:13060', realm='<sip:ast-host>', impi='a001', impu='"Пупкин Вася"<sip:a001@ast-host>'
VM73:1 Connecting to 'wss://ast-host:8089/ws'

In asterisk log:
Code: [Select]
[Jun  4 11:54:01] DEBUG[4064] http.c: HTTP Request URI is /ws
[Jun  4 11:54:01] DEBUG[4064] http.c: match request [ws] with handler [httpstatus] len 0
[Jun  4 11:54:01] DEBUG[4064] http.c: match request [ws] with handler [amanager] len 10
[Jun  4 11:54:01] DEBUG[4064] http.c: match request [ws] with handler [arawman] len 8
[Jun  4 11:54:01] DEBUG[4064] http.c: match request [ws] with handler [manager] len 7
[Jun  4 11:54:01] DEBUG[4064] http.c: match request [ws] with handler [rawman] len 7
[Jun  4 11:54:01] DEBUG[4064] http.c: match request [ws] with handler [static] len 6
[Jun  4 11:54:01] DEBUG[4064] http.c: match request [ws] with handler [amxml] len 6
[Jun  4 11:54:01] DEBUG[4064] http.c: match request [ws] with handler [mxml] len 5
[Jun  4 11:54:01] DEBUG[4064] http.c: match request [ws] with handler [ws] len 4
[Jun  4 11:54:01] VERBOSE[4064] res_http_websocket.c:   == WebSocket connection from '85.118.225.90:46250' for protocol 'sip' accepted using version '13'
[Jun  4 11:57:16] VERBOSE[4064] res_http_websocket.c:   == WebSocket connection from '85.118.225.90:46250' closed

Nothing else happens.
And the peer do not register.

Is there anything wrong in provided configs and logs?
What else to debug?

2
This is REST API, allowing CRUD operations on various objects.
To achieve the goal this way, I have to maintain "master" database, implement some web-application to edit agents there and update QM databases from its backand.
This is quite achievable even without REST API - I could access QM mysql tables directly from my app backend.

My intention is to leave agents creation in queuemetrics web interface with all its features, but then to catch events when an agent is created and perform synchronisation actions in other app.


3
Hi.

We need to synchronize database of QM agents with QM users and database of third party application.
That is:
creating an agent should automatically create related user and a record in another database.
deleting an agent should delete all related records.

Is there any hooks or whatever tricks to achieve this?

4
Running QueueMetrics / Re: more unicode issues, now with ajax
« on: November 16, 2009, 11:59:09 »
Hm.
This particular pages return json-serialized data (with embedded html),
shouldn't it be text/plain ? (or application/json as standards recommend)
or it doesn't matter?

5
Running QueueMetrics / Re: more unicode issues, now with ajax
« on: November 13, 2009, 12:38:32 »
Very Hot Fix:
added
Code: [Select]
<%@page contentType="text/plain; charset=UTF-8"%>
in files:
qm/realtime2_datasource_frame.jsp and qm/wallboard_00_datasource_frame.jsp

I am by no means a JSP programmer, and not sure it is right way to fix the headers.
But it works now.

6
Running QueueMetrics / Re: more unicode issues, now with ajax
« on: November 13, 2009, 12:02:48 »
I guess, the following is better then screenshots.

ajax request/response (after redirecting from tpf?TPF_VERBO=qm_realtime2_ds
):

http://astra:8080/queuemetrics/qm/realtime2_datasource_frame.jsp


GET /queuemetrics/qm/realtime2_datasource_frame.jsp HTTP/1.1
Host: astra:8080
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.11) Gecko/2009060214 Firefox/3.0.11
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: UTF-8,*
Keep-Alive: 300
Connection: keep-alive
Cookie: JSESSIONID=04D8A73784D83B4D05238676E34DA204; ari_auth=a%3A2%3A%7Bi%3A0%3Bs%3A108%3A%22%2FEyKeHgw1TkwqcsuGoz4358U9h%2BGob8EkfqbC2q8uIN3YitVb0rNFBI7l8G4%2F0QcsGQmJslbpEvhkYLnEkHnW0eTFZjAZmSrp5LirgcJcVI%3D%22%3Bi%3A1%3Bs%3A32%3A%22c3286eaf80e6919d8c98d1f64f14ce49%22%3B%7D

HTTP/1.x 200 OK
Server: Apache-Coyote/1.1
Expires: Tue, 01 Jan 2002 00:00:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Type: text/html;charset=ISO-8859-1
Content-Length: 4539
Date: Fri, 13 Nov 2009 10:52:56 GMT

Content fragment (markup stripped):
Code: [Select]
{ "tab_riepilogo": '\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n\n\n\n \n \n \n \n \n \n \n \n \n \n\n
  ???????  ? ?????? ????? ???????? ?? ????? ?? ???????? ????? ? ?????????? ?????? ???????? ?????????
all selected 0 0 0 0 0 0 0 0
\n\n\n
  ?????????????? ???... [\'Spreadsheet\'] [\'CSV\'] [\'XML\']
', "tab_chiamate": '\n\n\n\n\n \n \n \n \n \n \n \n \n \n\n\n
  ???????  ??????????  ????????  ?????????  ????????????  ?????  ??????
\n\n\n
  ?????????????? ???... [\'Spreadsheet\'] [\'CSV\'] [\'XML\']
', "tab_agenti": '\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n\n\n
  ?????  ????????? ????  ???????: ?????. ?????  ?? ?????  ?????? ????????? ?????? ?? ???????
\n\n\n
  ?????????????? ???... [\'Spreadsheet\'] [\'CSV\'] [\'XML\']
', "errormsg": '', "dataOra": '16:52:56' }
These are question marks chars in place of table labels.

7
Running QueueMetrics / Re: creating agents/users from script
« on: November 13, 2009, 11:15:22 »
thanks alot!
that's exactly what i was looking for.

8
Running QueueMetrics / Re: [major bug] unicode issues
« on: November 12, 2009, 13:28:15 »
in 1.5.5
exporting tables in csv/xsl still produces "?" instead of nonlatin letters

default.charsetEncoding=UTF8

however, for excel exporting we'd like to specify another encoding.
is it possible ?

9
Running QueueMetrics / more unicode issues, now with ajax
« on: November 12, 2009, 13:25:45 »
in 1.5.5
ajax pages reloaded in wrong encoding

10
Running QueueMetrics / creating agents/users from script
« on: November 12, 2009, 13:13:33 »
Hello.
We maintain our agents in external database tables
(not asterisk).
I want to automate creating agents from these tables.

Can you please provide SQL to create agents and users directly in mysql database ?

11
Problem solved cleaning browser cookies.

Something was left after previous sessions on queuemetrics-1.5.3
Probably, agents did not logout.

12
Oggi è l'ultimo set queuemetrics-1.5.5
Quando l'agente tenta di entrare nella pagina di errore.
Quote
The following error occurred in the Transaction handler:
"Il verbo '' non e stato trovato tra quelli caricati."
Purtroppo, non capisco italiano e non può capire cosa stava succedendo.
JDBC MySQL o funzionino correttamente.
 
I registri non sono molto più informativo:
Quote
[E92A803154287801EEB74E3AA6D160ED] 200911121621 Tempo totale esecuzione verbo 'qm_agente_live': 39 m
[7FE83467A267AF7957F814EC94FF6034] [ERR] Il verbo '' non ? stato trovato tra quelli caricati.
[7FE83467A267AF7957F814EC94FF6034] 200911121622 Tempo totale esecuzione verbo '': 0 ms
[7FE83467A267AF7957F814EC94FF6034] [ERR] Il verbo '' non ? stato trovato tra quelli caricati.
[7FE83467A267AF7957F814EC94FF6034] 200911121622 Tempo totale esecuzione verbo '': 1 ms
[7FE83467A267AF7957F814EC94FF6034] [ERR] Il verbo '' non ? stato trovato tra quelli caricati.
[7FE83467A267AF7957F814EC94FF6034] 200911121622 Tempo totale esecuzione verbo '': 1 ms

Questo problema appare solo in alcuni luoghi di lavoro.
Vale a dire - per i terminali che si collegano a un server Linux.
Termini di gioco che non capisco.

P.S.
Forse, se solo i messaggi di errore ei log sono in inglese, la situazione bylaby molto più chiara.

13
Running QueueMetrics / Re: license limits on reports
« on: August 20, 2009, 11:06:24 »
"concurrent agents" mean number of agents working at the same time.
it is 20 for our CC.

due to our hiring strategy, the number of different people working in our CC is just unlimited.
currently it is about 140, in 4 year it could grow up to 1000.
unless we will reuse agents numbers.

it is not wise solution to pay for 1000 agents, when we have no more then 20 operators at a time.

14
Running QueueMetrics / Re: license limits on reports
« on: August 20, 2009, 10:26:44 »
Workaround we use is to restrict reporting period for single day,
when no more then 20 operators could appear.

15
Running QueueMetrics / license limits on reports
« on: August 20, 2009, 10:25:12 »
Hello.

Configuration of our callcenter is 1 asterisk server and 20+ operators workstations. (other then 20 are reserved)
Thus, no more then 20 operators could work simultaneously,
thus we purchased a license for 1 server/20 agents.

However, total staff of the callcenter is not permanent.
We hire operators on per-hour wage, thus some operator may work for a while and then no more appear.
Total number of operators that had been working at various periods is about 140 persons.

Now, when attempted to build a report spanning for a period, during which more then 20 operators appeared in total,
QM tells that it is not allowed by license.

Could this issue be solved?

Pages: [1] 2 3 4