All installation and configuration problems and questions
Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
by dhijrwn » Tue May 04, 2021 6:56 am
So I have 2 asterisk server that im testing with webphone. When I tried to set the ip address of my the phone from my.domain.com to my1.domain.com. it shows this error. meaning it cannot find the respective certification from the server. So what I did i to change the value of dtlscertfile and dtlsprivatekey to /etc/../../../my1.domain.com/cert.pem and .../privkey.pem.
[May 4 07:43:02] ERROR[30684]: rtp_engine.c:2135 ast_rtp_dtls_cfg_parse: dtlscertfile file /etc/certbot/live/my.domain.com/cert.pem does not exist or is not readable
[May 4 07:43:02] ERROR[30684]: rtp_engine.c:2142 ast_rtp_dtls_cfg_parse: dtlsprivatekey file /etc/certbot/live/my.domain.com/privkey.pem does not exist or is not readable
webRTC template
/***
...
***/
dtlscertfile=/etc/certbot/live/my.domain.com/cert.pem
dtlsprivatekey=/etc/certbot/live/my.domain.com/privkey.pem
Now how can I make this dynamic?
Should I create 2 webRTC template? that will point to asteriskA server then another to asteriskB Server.
Then how can I phone alias this because it must match the dtlscertfile and dtlsprivatekey from the template when they are connected to different server for phone balancing.
Cluster setup i7-9700 cpu @ 3.00ghz 32GB ram 1xDB WEB ARCH 11xTEL 4core
ViciBox v.9.0.3 ISO VERSION:2.14-853a BUILD: 220328-1420
SVN: 3595 DB Schema: 1657 | Asterisk 13.29.2-vici
Zoiper 5 | VICIPhone| No Digium/Sangoma Hardware
-
dhijrwn
-
- Posts: 149
- Joined: Tue Jan 07, 2020 6:12 am
by carpenox » Tue May 04, 2021 1:45 pm
yes you need diff templates for each
Alma Linux 9.4 | SVN Version: 3889 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
-
carpenox
-
- Posts: 2420
- Joined: Wed Apr 08, 2020 2:02 am
- Location: St Petersburg, FL
-
by dhijrwn » Wed May 05, 2021 7:35 am
carpenox wrote:yes you need diff templates for each
Oh I see assigning different webrtc template for each server, Thank you very much.
Cluster setup i7-9700 cpu @ 3.00ghz 32GB ram 1xDB WEB ARCH 11xTEL 4core
ViciBox v.9.0.3 ISO VERSION:2.14-853a BUILD: 220328-1420
SVN: 3595 DB Schema: 1657 | Asterisk 13.29.2-vici
Zoiper 5 | VICIPhone| No Digium/Sangoma Hardware
-
dhijrwn
-
- Posts: 149
- Joined: Tue Jan 07, 2020 6:12 am
Return to Support
Who is online
Users browsing this forum: No registered users and 118 guests