Re: [asterisk-users] After updating to 16 "Some non-required modules failed to load"
On Tue, Oct 23, 2018 at 5:07 PM Jonathan H wrote: > Thanks Richard - any idea if these matter? And how to stop the errors: > > cdr_sqlite3_custom declined to load. > cel_sqlite3_custom declined to load > pbx_ael declined to load > > Standard 16.0 build, just updated a 15.4; nothing fiddled with in > menuselect. > You are likely lacking a config file for them. Or if you don't need them don't load them. Declined modules just sit in memory and are not initialized. Richard -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Astricon is coming up October 9-11! Signup is available at: https://www.asterisk.org/community/astricon-user-conference Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] After updating to 16 "Some non-required modules failed to load"
Thanks Richard - any idea if these matter? And how to stop the errors: cdr_sqlite3_custom declined to load. cel_sqlite3_custom declined to load pbx_ael declined to load Standard 16.0 build, just updated a 15.4; nothing fiddled with in menuselect. On Tue, 23 Oct 2018 at 23:02, Richard Mudgett wrote: > > > On Tue, Oct 23, 2018 at 1:35 PM Dan Cropp wrote: > >> The res_pjsip_transport_websocket failing to load seems to be a conflict >> with the chan_sip.so loading. >> >> When I make the chan_sip.so not load, res_pjsip_transport_websocket.so >> does load. >> >> We have customers who need chan_sip and chan_pjsip, so we need to load >> both. Is there a way to make the res_pjsip_transport_websocket load after >> the chan_sip? >> > > res_pjsip_transport_websocket.so will fail to load if chan_sip is > configured to handle > websockets. Only one channel driver can provide websocket services at a > time. > Either disable support in chan_sip's sip.conf (websocket_enabled = no) or > don't load > the res_pjsip_transport_websocket.so module. > > From sip.conf.sample: > ;websocket_enabled = true ; Set to false to prevent chan_sip from > listening to websockets. This > ; is needed when using chan_sip and > res_pjsip_transport_websockets on > ; the same system. > > Richard > > -- > _ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > Astricon is coming up October 9-11! Signup is available at: > https://www.asterisk.org/community/astricon-user-conference > > Check out the new Asterisk community forum at: > https://community.asterisk.org/ > > New to Asterisk? Start here: > https://wiki.asterisk.org/wiki/display/AST/Getting+Started > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: >http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Astricon is coming up October 9-11! Signup is available at: https://www.asterisk.org/community/astricon-user-conference Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] After updating to 16 "Some non-required modules failed to load"
On Tue, Oct 23, 2018 at 1:35 PM Dan Cropp wrote: > The res_pjsip_transport_websocket failing to load seems to be a conflict > with the chan_sip.so loading. > > When I make the chan_sip.so not load, res_pjsip_transport_websocket.so > does load. > > We have customers who need chan_sip and chan_pjsip, so we need to load > both. Is there a way to make the res_pjsip_transport_websocket load after > the chan_sip? > res_pjsip_transport_websocket.so will fail to load if chan_sip is configured to handle websockets. Only one channel driver can provide websocket services at a time. Either disable support in chan_sip's sip.conf (websocket_enabled = no) or don't load the res_pjsip_transport_websocket.so module. >From sip.conf.sample: ;websocket_enabled = true ; Set to false to prevent chan_sip from listening to websockets. This ; is needed when using chan_sip and res_pjsip_transport_websockets on ; the same system. Richard -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Astricon is coming up October 9-11! Signup is available at: https://www.asterisk.org/community/astricon-user-conference Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] After updating to 16 "Some non-required modules failed to load"
The res_pjsip_transport_websocket failing to load seems to be a conflict with the chan_sip.so loading. When I make the chan_sip.so not load, res_pjsip_transport_websocket.so does load. We have customers who need chan_sip and chan_pjsip, so we need to load both. Is there a way to make the res_pjsip_transport_websocket load after the chan_sip? -Original Message- From: asterisk-users On Behalf Of Jonathan H Sent: Thursday, October 18, 2018 6:21 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] After updating to 16 "Some non-required modules failed to load" I just noticed this upon startup since updating from 15.6.1 to 16.0.0 - do any of these matter? [Oct 18 12:12:18] WARNING[4489]: loader.c:2228 load_modules: Some non-required modules failed to load. [Oct 18 12:12:18] ERROR[4489]: loader.c:2243 load_modules: res_pjsip_transport_websocket declined to load. [Oct 18 12:12:18] ERROR[4489]: loader.c:2243 load_modules: cdr_sqlite3_custom declined to load. [Oct 18 12:12:18] ERROR[4489]: loader.c:2243 load_modules: cel_sqlite3_custom declined to load. [Oct 18 12:12:18] ERROR[4489]: loader.c:2243 load_modules: pbx_ael declined to load. I do also notice a fair few of these in the log (note the typo on "statement", not that it matters unless searching logs) Oct 18 10:06:58] WARNING[2888] db.c: Couldn't execute statment: SQL logic error [Oct 18 10:06:58] WARNING[2888] db.c: Couldn't execute statment: SQL logic error [Oct 18 11:06:58] WARNING[2888] db.c: Couldn't execute statment: SQL logic error [Oct 18 11:06:58] WARNING[2888] db.c: Couldn't execute statment: SQL logic error Incidentally, if there are any old modules hanging around from 15.6.1, you get a segfault. 777:Oct 17 13:03:34 televox-live-2 kernel: [6.056590] asterisk[718]: segfault at 1 ip 55fc8dbe2689 sp 7fff72499f90 error 4 in asterisk[55fc8da2b000+2ea000] I have to remove the following before it would start: format_mp3.so app_macro.so cdr_syslog.so format_jpeg.so -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Astricon is coming up October 9-11! Signup is available at: https://www.asterisk.org/community/astricon-user-conference Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Astricon is coming up October 9-11! Signup is available at: https://www.asterisk.org/community/astricon-user-conference Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] AMI not listening on secondary IP address?
On Tuesday 23 October 2018 at 12:51:56, Doug Lytle wrote: > >>> No, it's not a firewall problem; I've currently allowed connections to > >>> 5038 > > Antony, > > Do you have any deny/permit section in the manager.conf that would need to > be adjusted? No, and since I posted this, I've found the problem. netstat -lptn shows me that Asterisk is listening on port 5038 What it doesn't tell me is that I have ipvs (ldirectord) listening on port 5038 and forwarding connections on to back-end servers. If I change Asterisk's manager.conf to listen on port 5039, I can connect to every address I expect to. Sorry for the unnecessary question about a rather complex setup... Regards, Antony. -- A user interface is like a joke. If you have to explain it, it means it doesn't work. Please reply to the list; please *don't* CC me. -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Astricon is coming up October 9-11! Signup is available at: https://www.asterisk.org/community/astricon-user-conference Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] AMI not listening on secondary IP address?
>>> No, it's not a firewall problem; I've currently allowed connections to 5038 Antony, Do you have any deny/permit section in the manager.conf that would need to be adjusted? Doug -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Astricon is coming up October 9-11! Signup is available at: https://www.asterisk.org/community/astricon-user-conference Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] AMI not listening on secondary IP address?
Hi. I have three servers running corosync and pacemaker, to maintain a floating address between them. This is working fine, and I can, for example, SSH to the floating address and get to whichever server has the address at the time. I am trying to connect to the same server (using the same address) for AMI, and it just isn't working, even though I can connect to the primary address of the machine, and I have AMI configured to listen on all interfaces / addresses. Here's my setup (I'm only talking about the single machine which owns the floating address at the moment here; the other two don't matter for this discussion): # ip address list (output abbreviated for clarity, and real IPs mildly obscured) eth0: mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether fe:ff:00:00:8b:9c brd ff:ff:ff:ff:ff:ff inet 289.216.64.218/28 brd 289.216.64.223 scope global eth0 valid_lft forever preferred_lft forever inet 289.216.64.221/28 brd 289.216.64.223 scope global secondary eth0 valid_lft forever preferred_lft forever # cat /etc/asterisk/manager.conf [general] enabled = yes port = 5038 bindaddr = 0.0.0.0 # netstat -lptn Proto Local Address Foreign Address State PID/Program name tcp 0.0.0.0:50380.0.0.0:* LISTEN 29490/asterisk So, it all looks like Asterisk is listening on port 5038 for connections from anywhere, to any local address. But (all the tests below are carried out *from* the same machine I'm trying to connect to, just to eliminate external networking problems as the cause, but if I do the same thing from a remote machine, I get the same results): # telnet localhost 5038 Trying 127.0.0.1... Connected to localhost.localdomain. Escape character is '^]'. Asterisk Call Manager/2.9.0 # telnet 289.216.64.218 5038 Trying 289.216.64.218... Connected to 289.216.64.218. Escape character is '^]'. Asterisk Call Manager/2.9.0 # telnet 289.216.64.221 5038 Trying 289.216.64.221... telnet: Unable to connect to remote host: Connection refused No, it's not a firewall problem; I've currently allowed connections to 5038 from anywhere, in order to debug this problem. Just to prove that the secondary address does work: # ssh 289.216.64.221 The authenticity of host '289.216.64.221 (289.216.64.221)' can't be established. ECDSA key fingerprint is SHA256:1R0SmFqRn5Jukh3GxvXq8/7bvsPq1MPvdGw6GXfUngs. Are you sure you want to continue connecting (yes/no)? Anyone got any ideas? Antony. -- "Remember: the S in IoT stands for Security." - Jan-Piet Mens Please reply to the list; please *don't* CC me. -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Astricon is coming up October 9-11! Signup is available at: https://www.asterisk.org/community/astricon-user-conference Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users