I’m so close I could cry. I can’t get the phone numbers and conf info to display (and I can’t find an error)
I have my PBX in on my local network and the jitsi server is on Digital Ocean. I have a third server doing email at 1.2.3.4.
on the jitsi server, extension 444 registers and talks happily on siptest - no problem.
I’ve followed the directions and added the two lines:
dialInNumbersUrl: ‘https://mail.mailserver.com/jitsiNumberList.php’,
dialInConfCodeUrl: ‘https://jitsi-api.jitsi.net/conferenceMapper’,
On 1.2.3.4 I have (I believe) CORS enabled in nginx and the two files residing. I added CORS to
/etc/nginx/sites-enabled/00-default-ssl.conf as I don’t know what I’m doing and my nginx.conf file is virtually empty
I added
add_header ‘Access-Control-Allow-Origin’ ‘https://meet.myjitsiserver.com’;
and restarted nginx (no errors).
When I type https://mail.mailserver.com/jitsiNumberList.php in a browser I get the file shown in a window. When I inspect headers I see in ‘Response Headers’
- Access-Control-Allow-Origin: https://meet.myjitsiserver.com
- Connection: keep-alive
- Content-Encoding: gzip
- Content-Type: application/json
- Date: Tue, 15 Sep 2020 19:12:27 GMT
- Server: nginx
- Transfer-Encoding: chunked
- Vary: Accept-Encoding
So that seems to be working. But no display/no info when I copy to clipboard (other than meet.myjitsiserver.com/siptest (or whatever room I’m in).
My /etc/nginx/sites-enabled/00-default-ssl.conf file reads
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name _;
root /var/www/html;
index index.php index.html;
include /etc/nginx/templates/misc.tmpl;
include /etc/nginx/templates/ssl.tmpl;
include /etc/nginx/templates/iredadmin.tmpl;
include /etc/nginx/templates/roundcube.tmpl;
include /etc/nginx/templates/sogo.tmpl;
include /etc/nginx/templates/netdata.tmpl;
include /etc/nginx/templates/php-catchall.tmpl;
include /etc/nginx/templates/stub_status.tmpl;
add_header 'Access-Control-Allow-Origin' 'https://meet.myjitsiserver.com';
What should I look at? What can I change?
The extension should have been the hard part .
Andrew