NEWS
Asterisk bringt "Error while dialing (2). Error: {}"
-
-
@thomas-braun said in Asterisk bringt "Error while dialing (2). Error: {}":
sudo apt upgrade
pi@pio4gb:~ $ sudo apt upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages were automatically installed and are no longer required: asterisk-config asterisk-core-sounds-en asterisk-core-sounds-en-gsm asterisk-modules asterisk-moh-opsound-gsm freetds-common libgmime-3.0-0 libgpgme11 libical3 libiksemel3 libjansson4 liblua5.1-0 libmariadb3 libneon27-gnutls libodbc1 libpq5 libradcli4 libresample1 libsnmp-base libsnmp30 libspandsp2 libspeexdsp1 libsrtp2-1 libsybdb5 libunbound8 liburiparser1 libxslt1.1 mariadb-common mysql-common Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. pi@pio4gb:~ $
trotzdem "sudo apt install asterisk" ?
-
-
pi@pio4gb:~ $ sudo apt install asterisk Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: asterisk-voicemail Suggested packages: asterisk-dahdi asterisk-dev asterisk-doc asterisk-ooh323 asterisk-opus asterisk-vpb The following NEW packages will be installed: asterisk asterisk-voicemail 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/3,127 kB of archives. After this operation, 7,841 kB of additional disk space will be used. Do you want to continue? [Y/n] Y Selecting previously unselected package asterisk. (Reading database ... 52068 files and directories currently installed.) Preparing to unpack .../asterisk_1%3a16.2.1~dfsg-1+deb10u2_armhf.deb ... Unpacking asterisk (1:16.2.1~dfsg-1+deb10u2) ... Selecting previously unselected package asterisk-voicemail. Preparing to unpack .../asterisk-voicemail_1%3a16.2.1~dfsg-1+deb10u2_armhf.deb ... Unpacking asterisk-voicemail (1:16.2.1~dfsg-1+deb10u2) ... Setting up asterisk (1:16.2.1~dfsg-1+deb10u2) ... Adding system user for Asterisk Adding user `asterisk' to group `dialout' ... Adding user asterisk to group dialout Done. Adding user `asterisk' to group `audio' ... Adding user asterisk to group audio Done. Created symlink /etc/systemd/system/multi-user.target.wants/asterisk.service → /lib/systemd/system/asterisk.service. Job for asterisk.service failed because the control process exited with error code. See "systemctl status asterisk.service" and "journalctl -xe" for details. invoke-rc.d: initscript asterisk, action "start" failed. ● asterisk.service - Asterisk PBX Loaded: loaded (/lib/systemd/system/asterisk.service; enabled; vendor preset: enabled) Active: activating (auto-restart) (Result: exit-code) since Sun 2021-06-06 15:40:40 CEST; 44ms ago Docs: man:asterisk(8) Process: 5501 ExecStart=/usr/sbin/asterisk -g -f -p -U asterisk (code=exited, status=1/FAILURE) Main PID: 5501 (code=exited, status=1/FAILURE) dpkg: error processing package asterisk (--configure): installed asterisk package post-installation script subprocess returned error exit status 1 dpkg: dependency problems prevent configuration of asterisk-voicemail: asterisk-voicemail depends on asterisk (= 1:16.2.1~dfsg-1+deb10u2); however: Package asterisk is not configured yet. dpkg: error processing package asterisk-voicemail (--configure): dependency problems - leaving unconfigured Processing triggers for systemd (241-7~deb10u7+rpi1) ... Processing triggers for man-db (2.8.5-2) ... Processing triggers for libc-bin (2.28-10+rpi1) ... Errors were encountered while processing: asterisk asterisk-voicemail E: Sub-process /usr/bin/dpkg returned an error code (1) pi@pio4gb:~ $
-
@varg sagte in Asterisk bringt "Error while dialing (2). Error: {}":
Komisch.
sudo apt install -f sudo dpkg --configure -a
-
@thomas-braun said in Asterisk bringt "Error while dialing (2). Error: {}":
sudo dpkg --configure -a
pi@pio4gb:~ $ sudo dpkg --configure -a Setting up asterisk (1:16.2.1~dfsg-1+deb10u2) ... Job for asterisk.service failed because the control process exited with error code. See "systemctl status asterisk.service" and "journalctl -xe" for details. invoke-rc.d: initscript asterisk, action "start" failed. ● asterisk.service - Asterisk PBX Loaded: loaded (/lib/systemd/system/asterisk.service; enabled; vendor preset: enabled) Active: activating (auto-restart) (Result: exit-code) since Sun 2021-06-06 15:44:04 CEST; 49ms ago Docs: man:asterisk(8) Process: 7376 ExecStart=/usr/sbin/asterisk -g -f -p -U asterisk (code=exited, status=1/FAILURE) Main PID: 7376 (code=exited, status=1/FAILURE) Jun 06 15:44:04 pio4gb systemd[1]: Failed to start Asterisk PBX. dpkg: error processing package asterisk (--configure): installed asterisk package post-installation script subprocess returned error exit status 1 dpkg: dependency problems prevent configuration of asterisk-voicemail: asterisk-voicemail depends on asterisk (= 1:16.2.1~dfsg-1+deb10u2); however: Package asterisk is not configured yet. dpkg: error processing package asterisk-voicemail (--configure): dependency problems - leaving unconfigured Processing triggers for libc-bin (2.28-10+rpi1) ... Errors were encountered while processing: asterisk asterisk-voicemail pi@pio4gb:~ $
-
sudo apt install -f sudo dpkg --configure -a
-
pi@pio4gb:~ $ sudo apt install -f Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Setting up asterisk (1:16.2.1~dfsg-1+deb10u2) ... Job for asterisk.service failed because the control process exited with error code. See "systemctl status asterisk.service" and "journalctl -xe" for details. invoke-rc.d: initscript asterisk, action "start" failed. ● asterisk.service - Asterisk PBX Loaded: loaded (/lib/systemd/system/asterisk.service; enabled; vendor preset: enabled) Active: activating (auto-restart) (Result: exit-code) since Sun 2021-06-06 15:45:02 CEST; 21ms ago Docs: man:asterisk(8) Process: 8065 ExecStart=/usr/sbin/asterisk -g -f -p -U asterisk (code=exited, status=1/FAILURE) Main PID: 8065 (code=exited, status=1/FAILURE) dpkg: error processing package asterisk (--configure): installed asterisk package post-installation script subprocess returned error exit status 1 dpkg: dependency problems prevent configuration of asterisk-voicemail: asterisk-voicemail depends on asterisk (= 1:16.2.1~dfsg-1+deb10u2); however: Package asterisk is not configured yet. dpkg: error processing package asterisk-voicemail (--configure): dependency problems - leaving unconfigured Processing triggers for libc-bin (2.28-10+rpi1) ... Errors were encountered while processing: asterisk asterisk-voicemail E: Sub-process /usr/bin/dpkg returned an error code (1) pi@pio4gb:~ $ sudo dpkg --configure -a Setting up asterisk (1:16.2.1~dfsg-1+deb10u2) ... Job for asterisk.service failed because the control process exited with error code. See "systemctl status asterisk.service" and "journalctl -xe" for details. invoke-rc.d: initscript asterisk, action "start" failed. ● asterisk.service - Asterisk PBX Loaded: loaded (/lib/systemd/system/asterisk.service; enabled; vendor preset: enabled) Active: activating (auto-restart) (Result: exit-code) since Sun 2021-06-06 15:45:16 CEST; 49ms ago Docs: man:asterisk(8) Process: 8398 ExecStart=/usr/sbin/asterisk -g -f -p -U asterisk (code=exited, status=1/FAILURE) Main PID: 8398 (code=exited, status=1/FAILURE) dpkg: error processing package asterisk (--configure): installed asterisk package post-installation script subprocess returned error exit status 1 dpkg: dependency problems prevent configuration of asterisk-voicemail: asterisk-voicemail depends on asterisk (= 1:16.2.1~dfsg-1+deb10u2); however: Package asterisk is not configured yet. dpkg: error processing package asterisk-voicemail (--configure): dependency problems - leaving unconfigured Processing triggers for libc-bin (2.28-10+rpi1) ... Errors were encountered while processing: asterisk asterisk-voicemail pi@pio4gb:~ $
-
hatte ganz zuvor mit folgenden Befehlen versucht asterisk komplett zu löschen, vielleicht hats ja auch damit zu tun
sudo apt-get remove asterisk Following command is used to remove the asterisk package along with its dependencies: sudo apt-get remove --auto-remove asterisk This will remove asterisk and all its dependent packages which is no longer needed in the system. Completely removing asterisk with all configuration files: Following command should be used with care as it deletes all the configuration files and data: sudo apt-get purge asterisk or you can use following command also: sudo apt-get purge --auto-remove asterisk
habe noch nen pi4 hier rumliegen, werde mal bei gelegenheit versuchen es da zu installieren
-
Hast du die alle verwendet?
Schau mal was das macht:
sudo sh -x /var/lib/dpkg/info/asterisk.postinst configure 1:16.2.1~dfsg-1+deb10u2
oder auch
sudo dpkg --configure -D 777 asterisk
-
ja alle commands reingeprügelt
pi@pio4gb:~ $ sudo sh -x /var/lib/dpkg/info/asterisk.postinst configure 1:16.2.1~dfsg-1+deb10u2 + set -e + getent passwd asterisk + groups asterisk + grep -w -q -v dialout + groups asterisk + grep -w -q -v audio + find /var/log/asterisk /var/lib/asterisk -type d + read dir + dpkg-statoverride --list /var/log/asterisk + chown asterisk: /var/log/asterisk + read dir + dpkg-statoverride --list /var/log/asterisk/cdr-custom + chown asterisk: /var/log/asterisk/cdr-custom + read dir + dpkg-statoverride --list /var/log/asterisk/cdr-csv + chown asterisk: /var/log/asterisk/cdr-csv + read dir + dpkg-statoverride --list /var/lib/asterisk + chown asterisk: /var/lib/asterisk + read dir + dpkg-statoverride --list /var/lib/asterisk/moh + chown asterisk: /var/lib/asterisk/moh + read dir + dpkg-statoverride --list /var/lib/asterisk/sounds + chown asterisk: /var/lib/asterisk/sounds + read dir + dpkg-statoverride --list /var/lib/asterisk/sounds/custom + chown asterisk: /var/lib/asterisk/sounds/custom + read dir + dpkg-statoverride --list /var/lib/asterisk/priv-callerintros + chown asterisk: /var/lib/asterisk/priv-callerintros + read dir + dpkg-statoverride --list /etc/asterisk + chown asterisk: /etc/asterisk + find /var/spool/asterisk -type d + read dir + dpkg-statoverride --list /var/spool/asterisk + chown asterisk: /var/spool/asterisk + chmod 750 /var/spool/asterisk + read dir + dpkg-statoverride --list /var/spool/asterisk/monitor + chown asterisk: /var/spool/asterisk/monitor + chmod 750 /var/spool/asterisk/monitor + read dir + dpkg-statoverride --list /var/spool/asterisk/tmp + chown asterisk: /var/spool/asterisk/tmp + chmod 750 /var/spool/asterisk/tmp + read dir + dpkg-statoverride --list /var/spool/asterisk/dictate + chown asterisk: /var/spool/asterisk/dictate + chmod 750 /var/spool/asterisk/dictate + read dir + dpkg-statoverride --list /var/spool/asterisk/outgoing + chown asterisk: /var/spool/asterisk/outgoing + chmod 750 /var/spool/asterisk/outgoing + read dir + dpkg-statoverride --list /var/spool/asterisk/meetme + chown asterisk: /var/spool/asterisk/meetme + chmod 750 /var/spool/asterisk/meetme + read dir + dpkg-statoverride --list /var/spool/asterisk/voicemail + chown asterisk: /var/spool/asterisk/voicemail + chmod 750 /var/spool/asterisk/voicemail + read dir + dpkg-statoverride --list /var/spool/asterisk/system + chown asterisk: /var/spool/asterisk/system + chmod 750 /var/spool/asterisk/system + read dir + [ ! -e /usr/local/share/asterisk/sounds ] + set +e + dpkg-query -W -f=${Package}\t${Provides}\n + sed -nr s/(.*)\tasterisk-config-custom|(asterisk-config)(\t.*)?/\1\2/p + ASTERISK_CONFIG=asterisk-config + dpkg-query -W -f=${Conffiles}\n asterisk-config + sed -nr -e s; (/etc/asterisk/.*) [0-9a-f]*;\1;p + read conffile + chown asterisk: /etc/asterisk/acl.conf + read conffile + chown asterisk: /etc/asterisk/adsi.conf + read conffile + chown asterisk: /etc/asterisk/agents.conf + read conffile + chown asterisk: /etc/asterisk/alarmreceiver.conf + read conffile + chown asterisk: /etc/asterisk/alsa.conf + read conffile + chown asterisk: /etc/asterisk/amd.conf + read conffile + chown asterisk: /etc/asterisk/app_mysql.conf + read conffile + chown asterisk: /etc/asterisk/app_skel.conf + read conffile + chown asterisk: /etc/asterisk/ari.conf + read conffile + chown asterisk: /etc/asterisk/ast_debug_tools.conf + read conffile + chown asterisk: /etc/asterisk/asterisk.adsi + read conffile + chown asterisk: /etc/asterisk/asterisk.conf + read conffile + chown asterisk: /etc/asterisk/calendar.conf + read conffile + chown asterisk: /etc/asterisk/ccss.conf + read conffile + chown asterisk: /etc/asterisk/cdr.conf + read conffile + chown asterisk: /etc/asterisk/cdr_adaptive_odbc.conf + read conffile + chown asterisk: /etc/asterisk/cdr_beanstalkd.conf + read conffile + chown asterisk: /etc/asterisk/cdr_custom.conf + read conffile + chown asterisk: /etc/asterisk/cdr_manager.conf + read conffile + chown asterisk: /etc/asterisk/cdr_mysql.conf + read conffile + chown asterisk: /etc/asterisk/cdr_odbc.conf + read conffile + chown asterisk: /etc/asterisk/cdr_pgsql.conf + read conffile + chown asterisk: /etc/asterisk/cdr_sqlite3_custom.conf + read conffile + chown asterisk: /etc/asterisk/cdr_syslog.conf + read conffile + chown asterisk: /etc/asterisk/cdr_tds.conf + read conffile + chown asterisk: /etc/asterisk/cel.conf + read conffile + chown asterisk: /etc/asterisk/cel_beanstalkd.conf + read conffile + chown asterisk: /etc/asterisk/cel_custom.conf + read conffile + chown asterisk: /etc/asterisk/cel_odbc.conf + read conffile + chown asterisk: /etc/asterisk/cel_pgsql.conf + read conffile + chown asterisk: /etc/asterisk/cel_sqlite3_custom.conf + read conffile + chown asterisk: /etc/asterisk/cel_tds.conf + read conffile + chown asterisk: /etc/asterisk/chan_dahdi.conf + read conffile + chown asterisk: /etc/asterisk/chan_mobile.conf + read conffile + chown asterisk: /etc/asterisk/cli.conf + read conffile + chown asterisk: /etc/asterisk/cli_aliases.conf + read conffile + chown asterisk: /etc/asterisk/cli_permissions.conf + read conffile + chown asterisk: /etc/asterisk/codecs.conf + read conffile + chown asterisk: /etc/asterisk/confbridge.conf + read conffile + chown asterisk: /etc/asterisk/config_test.conf + read conffile + chown asterisk: /etc/asterisk/console.conf + read conffile + chown asterisk: /etc/asterisk/dbsep.conf + read conffile + chown asterisk: /etc/asterisk/dnsmgr.conf + read conffile + chown asterisk: /etc/asterisk/dsp.conf + read conffile + chown asterisk: /etc/asterisk/enum.conf + read conffile + chown asterisk: /etc/asterisk/extconfig.conf + read conffile + chown asterisk: /etc/asterisk/extensions.ael + read conffile + chown asterisk: /etc/asterisk/extensions.conf + read conffile + chown asterisk: /etc/asterisk/extensions.lua + read conffile + chown asterisk: /etc/asterisk/extensions_minivm.conf + read conffile + chown asterisk: /etc/asterisk/features.conf + read conffile + chown asterisk: /etc/asterisk/festival.conf + read conffile + chown asterisk: /etc/asterisk/followme.conf + read conffile + chown asterisk: /etc/asterisk/func_odbc.conf + read conffile + chown asterisk: /etc/asterisk/hep.conf + read conffile + chown asterisk: /etc/asterisk/http.conf + read conffile + chown asterisk: /etc/asterisk/iax.conf + read conffile + chown asterisk: /etc/asterisk/iaxprov.conf + read conffile + chown asterisk: /etc/asterisk/indications.conf + read conffile + chown asterisk: /etc/asterisk/logger.conf + read conffile + chown asterisk: /etc/asterisk/manager.conf + read conffile + chown asterisk: /etc/asterisk/manager.d/README.conf + read conffile + chown asterisk: /etc/asterisk/meetme.conf + read conffile + chown asterisk: /etc/asterisk/minivm.conf + read conffile + chown asterisk: /etc/asterisk/misdn.conf + read conffile + chown asterisk: /etc/asterisk/modules.conf + read conffile + chown asterisk: /etc/asterisk/motif.conf + read conffile + chown asterisk: /etc/asterisk/musiconhold.conf + read conffile + chown asterisk: /etc/asterisk/muted.conf + read conffile + chown asterisk: /etc/asterisk/ooh323.conf + read conffile + chown asterisk: /etc/asterisk/osp.conf + read conffile + chown asterisk: /etc/asterisk/oss.conf + read conffile + chown asterisk: /etc/asterisk/phone.conf + read conffile + chown asterisk: /etc/asterisk/phoneprov.conf + read conffile + chown asterisk: /etc/asterisk/pjproject.conf + read conffile + chown asterisk: /etc/asterisk/pjsip.conf + read conffile + chown asterisk: /etc/asterisk/pjsip_notify.conf + read conffile + chown asterisk: /etc/asterisk/pjsip_wizard.conf + read conffile + chown asterisk: /etc/asterisk/queuerules.conf + read conffile + chown asterisk: /etc/asterisk/queues.conf + read conffile + chown asterisk: /etc/asterisk/res_config_mysql.conf + read conffile + chown asterisk: /etc/asterisk/res_config_sqlite.conf + read conffile + chown asterisk: /etc/asterisk/res_config_sqlite3.conf + read conffile + chown asterisk: /etc/asterisk/res_corosync.conf + read conffile + chown asterisk: /etc/asterisk/res_curl.conf + read conffile + chown asterisk: /etc/asterisk/res_fax.conf + read conffile + chown asterisk: /etc/asterisk/res_ldap.conf + read conffile + chown asterisk: /etc/asterisk/res_odbc.conf + read conffile + chown asterisk: /etc/asterisk/res_parking.conf + read conffile + chown asterisk: /etc/asterisk/res_pgsql.conf + read conffile + chown asterisk: /etc/asterisk/res_pktccops.conf + read conffile + chown asterisk: /etc/asterisk/res_snmp.conf + read conffile + chown asterisk: /etc/asterisk/res_stun_monitor.conf + read conffile + chown asterisk: /etc/asterisk/resolver_unbound.conf + read conffile + chown asterisk: /etc/asterisk/rtp.conf + read conffile + chown asterisk: /etc/asterisk/say.conf + read conffile + chown asterisk: /etc/asterisk/sip.conf + read conffile + chown asterisk: /etc/asterisk/sip_notify.conf + read conffile + chown asterisk: /etc/asterisk/sla.conf + read conffile + chown asterisk: /etc/asterisk/smdi.conf + read conffile + chown asterisk: /etc/asterisk/sorcery.conf + read conffile + chown asterisk: /etc/asterisk/ss7.timers + read conffile + chown asterisk: /etc/asterisk/stasis.conf + read conffile + chown asterisk: /etc/asterisk/statsd.conf + read conffile + chown asterisk: /etc/asterisk/telcordia-1.adsi + read conffile + chown asterisk: /etc/asterisk/test_sorcery.conf + read conffile + chown asterisk: /etc/asterisk/udptl.conf + read conffile + chown asterisk: /etc/asterisk/users.conf + read conffile + chown asterisk: /etc/asterisk/voicemail.conf + read conffile + chown asterisk: /etc/asterisk/vpb.conf + read conffile + chown asterisk: /etc/asterisk/xmpp.conf + read conffile + + read STAT dpkg-statoverride --quiet --list /etc/asterisk/* + set -e + [ configure = configure ] + deb-systemd-helper unmask asterisk.service /usr/bin/deb-systemd-helper was not called from dpkg. Exiting. + true + deb-systemd-helper --quiet was-enabled asterisk.service /usr/bin/deb-systemd-helper was not called from dpkg. Exiting. + deb-systemd-helper update-state asterisk.service /usr/bin/deb-systemd-helper was not called from dpkg. Exiting. + true + [ configure = configure ] + [ -x /etc/init.d/asterisk ] + update-rc.d asterisk defaults + [ -n 1:16.2.1~dfsg-1+deb10u2 ] + _dh_action=restart + invoke-rc.d asterisk restart Job for asterisk.service failed because the control process exited with error code. See "systemctl status asterisk.service" and "journalctl -xe" for details. invoke-rc.d: initscript asterisk, action "restart" failed. ● asterisk.service - Asterisk PBX Loaded: loaded (/lib/systemd/system/asterisk.service; enabled; vendor preset: enabled) Active: activating (auto-restart) (Result: exit-code) since Sun 2021-06-06 15:58:51 CEST; 48ms ago Docs: man:asterisk(8) Process: 14893 ExecStart=/usr/sbin/asterisk -g -f -p -U asterisk (code=exited, status=1/FAILURE) Main PID: 14893 (code=exited, status=1/FAILURE) + exit 1 pi@pio4gb:~ $
pi@pio4gb:~ $ sudo dpkg --configure -D 777 asterisk D000001: ensure_diversions: new, (re)loading D000001: process queue pkg asterisk:armhf queue.len 0 progress 1, try 1 D000040: checking dependencies of asterisk:armhf (- <none>) D000400: checking group ... D000400: checking possibility -> adduser D000400: checking non-provided pkg adduser:all D000400: is installed, ok and found D000400: found 3 D000400: found 3 matched 0 possfixbytrig - D000400: checking group ... D000400: checking possibility -> asterisk-config D000400: checking non-provided pkg asterisk-config:all D000400: is installed, ok and found D000400: found 3 D000400: found 3 matched 0 possfixbytrig - D000400: checking group ... D000400: checking possibility -> asterisk-core-sounds-en D000400: checking non-provided pkg asterisk-core-sounds-en:all D000400: is installed, ok and found D000400: found 3 D000400: found 3 matched 0 possfixbytrig - D000400: checking group ... D000400: checking possibility -> asterisk-modules D000400: checking non-provided pkg asterisk-modules:armhf D000400: is installed, ok and found D000400: found 3 D000400: found 3 matched 0 possfixbytrig - D000400: checking group ... D000400: checking possibility -> lsb-base D000400: checking non-provided pkg lsb-base:all D000400: is installed, ok and found D000400: found 3 D000400: found 3 matched 0 possfixbytrig - D000400: checking group ... D000400: checking possibility -> libc6 D000400: checking non-provided pkg libc6:armhf D000400: is installed, ok and found D000400: found 3 D000400: found 3 matched 0 possfixbytrig - D000400: checking group ... D000400: checking possibility -> libcap2 D000400: checking non-provided pkg libcap2:armhf D000400: is installed, ok and found D000400: found 3 D000400: found 3 matched 0 possfixbytrig - D000400: checking group ... D000400: checking possibility -> libedit2 D000400: checking non-provided pkg libedit2:armhf D000400: is installed, ok and found D000400: found 3 D000400: found 3 matched 0 possfixbytrig - D000400: checking group ... D000400: checking possibility -> libgcc1 D000400: checking non-provided pkg libgcc1:armhf D000400: is installed, ok and found D000400: found 3 D000400: found 3 matched 0 possfixbytrig - D000400: checking group ... D000400: checking possibility -> libjansson4 D000400: checking non-provided pkg libjansson4:armhf D000400: is installed, ok and found D000400: found 3 D000400: found 3 matched 0 possfixbytrig - D000400: checking group ... D000400: checking possibility -> libpopt0 D000400: checking non-provided pkg libpopt0:armhf D000400: is installed, ok and found D000400: found 3 D000400: found 3 matched 0 possfixbytrig - D000400: checking group ... D000400: checking possibility -> libsqlite3-0 D000400: checking non-provided pkg libsqlite3-0:armhf D000400: is installed, ok and found D000400: found 3 D000400: found 3 matched 0 possfixbytrig - D000400: checking group ... D000400: checking possibility -> libssl1.1 D000400: checking non-provided pkg libssl1.1:armhf D000400: is installed, ok and found D000400: found 3 D000400: found 3 matched 0 possfixbytrig - D000400: checking group ... D000400: checking possibility -> libsystemd0 D000400: checking non-provided pkg libsystemd0:armhf D000400: is installed, ok and found D000400: found 3 D000400: found 3 matched 0 possfixbytrig - D000400: checking group ... D000400: checking possibility -> liburiparser1 D000400: checking non-provided pkg liburiparser1:armhf D000400: is installed, ok and found D000400: found 3 D000400: found 3 matched 0 possfixbytrig - D000400: checking group ... D000400: checking possibility -> libuuid1 D000400: checking non-provided pkg libuuid1:armhf D000400: is installed, ok and found D000400: found 3 D000400: found 3 matched 0 possfixbytrig - D000400: checking group ... D000400: checking possibility -> libxml2 D000400: checking non-provided pkg libxml2:armhf D000400: is installed, ok and found D000400: found 3 D000400: found 3 matched 0 possfixbytrig - D000400: checking group ... D000400: checking possibility -> libxslt1.1 D000400: checking non-provided pkg libxslt1.1:armhf D000400: is installed, ok and found D000400: found 3 D000400: found 3 matched 0 possfixbytrig - D000040: ok 2 msgs >><< D000040: checking Breaks D000400: checking virtbroken asterisk-1fb7f5c06d7a2052e38d021b3d8ca151 Setting up asterisk (1:16.2.1~dfsg-1+deb10u2) ... D000002: fork/exec /var/lib/dpkg/info/asterisk.postinst ( configure ) Job for asterisk.service failed because the control process exited with error code. See "systemctl status asterisk.service" and "journalctl -xe" for details. invoke-rc.d: initscript asterisk, action "start" failed. ● asterisk.service - Asterisk PBX Loaded: loaded (/lib/systemd/system/asterisk.service; enabled; vendor preset: enabled) Active: activating (auto-restart) (Result: exit-code) since Sun 2021-06-06 15:59:56 CEST; 23ms ago Docs: man:asterisk(8) Process: 15558 ExecStart=/usr/sbin/asterisk -g -f -p -U asterisk (code=exited, status=1/FAILURE) Main PID: 15558 (code=exited, status=1/FAILURE) dpkg: error processing package asterisk (--configure): installed asterisk package post-installation script subprocess returned error exit status 1 D000001: ensure_diversions: same, skipping D000040: checking dependencies of libc-bin:armhf (- <none>) D000400: checking group ... D000400: checking possibility -> libc6 D000400: checking non-provided pkg libc6:armhf D000400: is installed, ok and found D000400: found 3 D000400: found 3 matched 0 possfixbytrig - D000400: checking group ... D000400: checking possibility -> libc6 D000400: checking non-provided pkg libc6:armhf D000400: is installed, ok and found D000400: found 3 D000400: found 3 matched 0 possfixbytrig - D000040: ok 2 msgs >><< Processing triggers for libc-bin (2.28-10+rpi1) ... D000002: fork/exec /var/lib/dpkg/info/libc-bin.postinst ( triggered ldconfig ) D000001: ensure_diversions: same, skipping Errors were encountered while processing: asterisk pi@pio4gb:~ $
-
ls -l /var/lib/dpkg/info | grep -i asterisk
-
-
pi@pio4gb:~ $ ls -l /var/lib/dpkg/info | grep -i asterisk -rw-r--r-- 1 root root 69 Aug 27 2020 asterisk.conffiles -rw-r--r-- 1 root root 3137 Aug 27 2020 asterisk-config.conffiles -rw-r--r-- 1 root root 13720 Jun 6 15:22 asterisk-config.list -rw-r--r-- 1 root root 14680 Aug 27 2020 asterisk-config.md5sums -rwxr-xr-x 1 root root 1325 Aug 27 2020 asterisk-config.postinst -rwxr-xr-x 1 root root 1409 Aug 27 2020 asterisk-config.preinst -rw-r--r-- 1 root root 35380 Jun 6 15:22 asterisk-core-sounds-en-gsm.list -rw-r--r-- 1 root root 53716 Dec 20 2018 asterisk-core-sounds-en-gsm.md5sums -rwxr-xr-x 1 root root 352 Dec 20 2018 asterisk-core-sounds-en-gsm.preinst -rw-r--r-- 1 root root 347 Jun 6 15:22 asterisk-core-sounds-en.list -rw-r--r-- 1 root root 439 Dec 20 2018 asterisk-core-sounds-en.md5sums -rwxr-xr-x 1 root root 1050 Dec 20 2018 asterisk-core-sounds-en.postinst -rwxr-xr-x 1 root root 245 Dec 20 2018 asterisk-core-sounds-en.prerm -rw-r--r-- 1 root root 10731 Jun 6 15:40 asterisk.list -rw-r--r-- 1 root root 15583 Aug 27 2020 asterisk.md5sums -rw-r--r-- 1 root root 14460 Jun 6 15:22 asterisk-modules.list -rw-r--r-- 1 root root 24919 Aug 27 2020 asterisk-modules.md5sums -rw-r--r-- 1 root root 480 Jun 6 15:22 asterisk-moh-opsound-gsm.list -rw-r--r-- 1 root root 593 Jun 28 2010 asterisk-moh-opsound-gsm.md5sums -rwxr-xr-x 1 root root 4642 Aug 27 2020 asterisk.postinst -rwxr-xr-x 1 root root 731 Aug 27 2020 asterisk.postrm -rwxr-xr-x 1 root root 321 Aug 27 2020 asterisk.prerm -rw-r--r-- 1 root root 25 Aug 27 2020 asterisk.shlibs -rw-r--r-- 1 root root 67 Aug 27 2020 asterisk.triggers -rw-r--r-- 1 root root 358 Jun 6 15:40 asterisk-voicemail.list -rw-r--r-- 1 root root 402 Aug 27 2020 asterisk-voicemail.md5sums pi@pio4gb:~ $
pi@pio4gb:~ $ sudo mv /var/lib/dpkg/info/asterisk* /tmp pi@pio4gb:~ $
pi@pio4gb:~ $ sudo apt update Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease Hit:2 http://archive.raspberrypi.org/debian buster InRelease Hit:3 https://deb.nodesource.com/node_12.x buster InRelease Reading package lists... Done Building dependency tree Reading state information... Done All packages are up to date. pi@pio4gb:~ $ sudo apt install asterisk Reading package lists... Done Building dependency tree Reading state information... Done asterisk is already the newest version (1:16.2.1~dfsg-1+deb10u2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] Y Setting up asterisk (1:16.2.1~dfsg-1+deb10u2) ... Setting up asterisk-voicemail (1:16.2.1~dfsg-1+deb10u2) ...
Installationsverzeichnis /etc/asterisk/ scheint immernoch tot
-
@varg
Mehr nicht?
Da sollte eigentlich mehr kommen.
Bitte ggf. auch das login prompt posten, dann kann man sehen ob alles durch ist. -
habe alles was putty hergibt kopiert, mehr war hier nicht zu sehen.
...und vielen Dank für Deine Unterstützung
-
habe mal aus neugier auf einem anderen gerät iobroker komplett neu aufgesetzt und asterisk installiert:
das Problem bleibt bestehen:
@Thomas-Braun die installationsroutine verlief auf dem neuen system fehlerfrei
asterisk.0 2021-06-06 22:47:53.763 error (1084) Error while Converting File: {} asterisk.0 2021-06-06 22:47:53.229 silly (1084) States user redis pmessage asterisk.0.*/asterisk.0.dialin.callerid:{"val":"","ack":true,"ts":1623012473225,"q":0,"from":"system.adapter.asterisk.0","user":"system.user.admin","lc":1623012039437 asterisk.0 2021-06-06 22:47:53.223 silly (1084) States user redis pmessage asterisk.0.*/asterisk.0.dialin.dtmf:{"val":"","ack":true,"ts":1623012473173,"q":0,"from":"system.adapter.asterisk.0","user":"system.user.admin","lc":1623012039466} asterisk.0 2021-06-06 22:47:53.164 info (1084) Connected to Asterisk Manager asterisk.0 2021-06-06 22:47:53.154 info (1084) Starting Adapter asterisk.0 in version 1.0.6 with transcoder ffmpeg and language DE asterisk.0 2021-06-06 22:47:53.142 silly (1084) States system redis pmessage system.adapter.asterisk.0.logLevel/system.adapter.asterisk.0.logLevel:{"val":"silly","ack":true,"ts":1623012473124,"q":0,"from":"system.adapter.asterisk.0","lc":162 asterisk.0 2021-06-06 22:47:53.092 info (1084) starting. Version 1.0.6 in /opt/iobroker/node_modules/iobroker.asterisk, node: v14.17.0, js-controller: 3.2.16 host.piholeblack 2021-06-06 22:47:51.619 info instance system.adapter.asterisk.0 started with pid 1084 host.piholeblack 2021-06-06 22:47:49.157 info instance system.adapter.asterisk.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) asterisk.0 2021-06-06 22:47:48.587 info (1067) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason asterisk.0 2021-06-06 22:47:48.585 info (1067) terminating asterisk.0 2021-06-06 22:47:48.582 info (1067) Closing Asterisk Adapter host.piholeblack 2021-06-06 22:47:48.582 info stopInstance system.adapter.asterisk.0 send kill signal
-
Bin eben auf den Thread gestoßen und hab auch gleich mal nen Testanruf angestoßen - gleicher Fehler.
Kann jetzt natürlich nicht sagen seit wann. Ich erhalte die Anrufe nur bei Auslösung der Rauchmelder oder bei Einbruchmeldung - also nicht alle Tage.
Sicher dass es nicht an der Node-Version liegt? Ich wüsste sonst auch nicht, was ich noch so verändert hätte...
Ich schaue nächste Woche sonst mal ob ich noch ein ganz altes Backup finde...
-
habe den Fehler auf node 12 und 14
-
Hallo zusammen,
ich vermute Google hat etwas an der verwendeten Text-To-Speech API verändert, sodass nur noch eine bestimmte Anzahl Wandlungen in einem Zeitraum möglich sind (wenn überhaupt noch)...
Ich habe es jetzt so gelöst, dass im Skript "umzu" mit lokalem PicoTTS wav-Dateien erzeugt und mit sox zur gsm konvertiert werden.Problem ist, dass beim Starten des Adapters der Dial-In-Text an Google geschickt wird und natürlich nicht gewandelt wird...
Als Konsequenz daraus startet dann der Adapter nicht korrekt (kein DTMF mehr möglich)
Um dies quick and dirty zu beheben habe ich in der asterisk.js die Zeilen 757 und 788 auskommentiert...
Der Teil dazwischen wurde sonst nicht ausgeführt...757: /* convertDialInFile(parameter, () => { */ ..... 788: /* }); */
Wäre natürlich toll, wenn jemand den Adapter so umbauen könnte, dass eine andere TTS-Engine genutzt wird...