tomas_
-
Posts
785 -
Joined
-
Last visited
-
Days Won
20
Content Type
Profiles
Forums
Resource Library: Monster UI Apps for KAZOO
Events
Downloads
Posts posted by tomas_
-
-
I see, thanks for your answer. Guess we'll embed this into the preflow script we already use.
-
Hi, did you found out anything about disabling call waiting in the backend?
Br - Tomas -
I have never seen this before. Where is it located? And which version of Kazoo / MonsterUI?
Br Tomas
-
Late reply, again. Stumbled upon this issue when trying to connect to WSS websocket in another subject. Turned out that I've been trying to use the wrong certificate files, at least this time.
Note to self (and others with same issue); Use the correct certs, and make the haproxy.pem like this if you're using Let's Encrypt / Certbot:cat fullchain.pem privkey.pem | tee haproxy.pem
This time I got it working with the config from Kazoo docs, don't know if your settings will work also, @RuhNet (it probably will);
https://docs.2600hz.com/supported/applications/blackhole/doc/#wss-considerations -
Yes, I'm quite sure I added both FS servers before making the change in System Config CouchDB
-
It was just the default:
-
Hi!
I've just set up a new cluster with Kazoo 4.3 and encountered this issue also. I noticed that the /tmp folder of Freeswitch server was filling up with a lot of call recordings (mp3 files), and found the "Received HTTP error 0 trying to save" error in Freeswitch logs. Also "Error Storing File" in Kazoo console log.
Also the recordings isn't found when trying to get them from recordings API.
It started when adding another Kazoo / Ecallmgr server, before that there was no issue at all. And it's only when Freeswitch tries to save the media to the new, second Kazoo / Ecallmgr server, it works perfect to the first one.Somehow I noticed the "proxy_store_acls" setting in system_config/media (Bigcouch /_utils/document.html?system_config/media), and when adding the IP addresses for both Freeswitch servers there it seems that the problem is gone!
Needs some more testing to be sure, but all it seems like every recording is saved properly.I haven't seen this in any docs or guides anywhere.
Br - Tomas
-
Ah, no - Forgot to change the config.js.
I'm a bit confused with all ports... Now I've enabled wss in config.js:socket: 'wss:mydomain.com:5443'
And which ports should I use in the haproxy.cfg?
This is my setup now (7777 in listen section and 5443 in backend)Is this correct?
When trying this i get Layer4 connection problem, info: "Connection refused"Also tried to set 5443 in listen and 5555 in backend, then I get Layer7 wrong status, code: 400, info: "Bad Request" instead...
-
Strange, still doesn't work.
Noticed you're using *:7777 and I have *:5443. But it doesn't work with 7777 either :/ -
Doesn't work, it complains when restarting:
Unable to use proxy 'kapps-blackhole' with wrong mode, required: http, has: tcp. You may want to use 'mode http'.
This is my config file:
-
Thanks for reply!
Still can't get it to work. Where should I have "mode tcp"? Below "listen kazoo-websockets" or "backend kapps-blackhole"? -
Thanks!
I still having troubles getting the HAProxy to work. Even if I know it's not in your app you might have some ideas?
Can it be the haproxy.pem file that isn't correct? Not sure exactly which files from letsencrypt/certbot that should be included?
I'm getting errors in the HAProxy log:Health check for server kapps-blackhole/ourdomain.com failed, reason: Layer7 wrong status, code: 400, info: "Bad Request", check duration: 0ms, status: 0/2 DOWN. kazoo-websockets~ kapps-blackhole/<NOSRV> 12/-1/-1/-1/12 503 212 - - SC-- 1/0/0/0/0 0/0 "GET / HTTP/1.1"
I've added this in haproxy.cfg:
-
Yes, it's working now. I had HTTPS on MonsterUI but not the websockets - I should have known :)
However it isn't showing any errors in the console.
Thank you, great app!! -
Yes, I actually did a fresh install also.
Tried both in Firefox and Chrome (MacOS).Everything seems fine, devices, onging calls etc. It's just the live updates that doesn't work, if I reload browser it updates just fine.
That's why i suspect the Websockets doesn't work properly. -
Thanks for a quick answer.
Only thing that is visible in the browser console is "Subscribing to Websockets..."
All ports are open from my IP, and I can connect with telnet on port 5555.
Blackhole app is running. -
Hi!
Long time, haven't tested this until now.
I can't get the realtime info to work, guess it's something with the websockets?
I'm getting "Subscribing to Websockets..." in the web console log, and when I try to change parameters in the config.js i sometimes getting error from the browser. When using the correct parameters ("socket: 'ws:myserver.com:5555'") the error messages disappears but it stil isn't updating the switchboard in realtime.Br - Tomas
-
Sweet, glad I could help! :)
-
Can you ping the realm and get the IP address to the server?
However it seems like the phone tries to register to sip:user_vZEW43@192.168.2.17 in the kamailio log ... I think it should be the realm instead of the IP address. -
You are setting the realm when creating the account:
You can see the realm when editing a device, as in my previous post.
In the phone you set username to user_XXXXX@realm - like user_oqienein@realm.yourdomain.com
Of course the realm must use a proper DNS to point to your server. -
-
Is the realm on the account 192.168.2.17?
You need to use the realm on the account in the registration. If the realm is customer1.yourdomain.com you need to use user_vZEW43@customer1.yourdomain.com -
Thanks. But it didn't solve my problem :(
-
Hi!
Did you got this sorted?
I think I have the same problem (https://forums.2600hz.com/forums/topic/13148-ringback-p-early-media-rfc-5009)Br Tomas
-
Thanks!
Yes, it seems to work if i set use_local_resources to false, then Kazoo seems to route the call internally and not through the carriers.
I tried the sup command, and it's actually sup stepswitch_maintenance process_number ;)
Thanks anyway, really useful!
Disable Call waiting
in Product Discussion
Posted · Edited by tomas_ (see edit history)
Hi @MattForrest!
We have a PHP script which is setup to run as preflow on the account, invoked by Pivot (made in Callflows app).
This script can for intance handle presences (connected to calendar services, with a voice saying that a user is in a meeting and when he/she will be back, etc).
I guess it would not be that hard to add functionality to check if any of the user's devices is in use and then disconnect the call with a busy tone / response.
More info here:
https://docs.2600hz.com/dev/applications/callflow/doc/preflow/
https://docs.2600hz.com/dev/applications/pivot/doc/
https://docs.2600hz.com/dev/applications/pivot/doc/kazoo/hangups/