NEWS
Asterisk bringt "Error while dialing (2). Error: {}"
-
@bahnuhr
Der eine Eintrag von git kommt auch von mirWas mich stutzig macht ist, dass es wirklich nur sporadisch nicht funktioniert, es gehen immer wieder 5-10 calls ohne Probleme durch, dann schlagen 2-3 fehl, offensichtlich weil die Konvertierung nicht klappt. Auch wenn nicht mehr weiterentwickelt habe ich die Hoffnung, dann jemand eine Idee hat wie man das evtl. einfach fixen kann.
Zumal er ohne Probleme über 12 Monate lief, von jetzt auf gleich (ohne dass ich updates etc gemacht hätte) nicht mehr zuverlässig funktioniert.
Ist es bei dir auch sporadisch oder geht er garnicht?Gibts ne Alternative?
Edit: Hab jetzt noch ein bisschen geforscht und der Fehler scheint bei der Konvertierung des Text in mp3 liegen, also in der Funktion "textToMp3Stream" in der transcode.js. Da das Verhalten bei FFMPEG und SOX identisch ist, gehe ich nicht davon aus, dass es ein Problem mit der Umwandlung des MP3 in GSM gibt, auch die Anrufe sind nicht das Problem, da bei Fehler ja keine Kommunikation mit Asterisk stattfindet.
Die Konvertierung findet mittels des Google Translaters statt. Ggf. liegt da ja der Fehler.
Vielleicht kann @Stuebi als Ersteller des Adapters ja Hilfestellung geben -
@zaggul sagte in Asterisk bringt "Error while dialing (2). Error: {}":
Ist es bei dir auch sporadisch oder geht er garnicht?
Bei mir lief es noch nie !
-
-
bei mir läuft er auch nicht mehr. Hatte zwar bis vor kurzem noch die Fehlermeldung bzgl. Konvertierung durch neustarten wegbekommen, nun jedoch:
asterisk.0 2021-06-04 06:59:45.941 error (1775) Error while dialing (2). Error: {} asterisk.0 2021-06-04 06:58:26.138 error (1775) Error while Converting File: {}
-
@zaggul Ich habe genau das gleiche Problem und würde mich hier gerne mit einhängen. Eventuell nimmt sich ja doch mal wer dieses Fehlers an. Zumal auch wir einiges an Arbeit investiert haben um den Adapter ans Laufen zu bekommen und auch die entsprechenden Skripte zu konfigurieren.
LG Andiber
-
@zaggul
Node-Version: v10.19.0
Nodejs-Version: v10.24.1Ist falsch. NodeJS sauber installieren. Wie es geht steht im Link in meiner Signatur.
-
dürfte aber nicht an der nodejs Version liegen. Ich habe 12.21.0 und der gleiche Fehler.
issue ist erstellt.
@stuebi antwortet aber nicht.Lt. einem anderen thread hat er derzeit andere prioritäten.
mfg
Dieter -
@bahnuhr
Ja, aber eine krumme Installation von node macht eine Fehlersuche nicht einfacher. -
@thomas-braun sagte in Asterisk bringt "Error while dialing (2). Error: {}":
@bahnuhr
Ja, aber eine krumme Installation von node macht eine Fehlersuche nicht einfacher.das stimmt natürlich.
hast du denn eine Idee was dies sein könnte ? -
@bahnuhr Nee ich hab keine kleinen telefonierenden Gallier im Einsatz.
-
folgendes log kann ich zur Fehlersuche beisteuern. Vorher asterisk deinstalliert und den übriggebliebenen Ordner gelöscht. ohne @Stuebi wird das hier aber wohl eher nichts
pi@pio4gb:~ $ sudo apt-get install asterisk Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: asterisk-config asterisk-core-sounds-en asterisk-core-sounds-en-gsm asterisk-modules asterisk-moh-opsound-gsm asterisk-voicemail 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 Suggested packages: asterisk-dahdi asterisk-dev asterisk-doc asterisk-ooh323 asterisk-opus asterisk-vpb libmyodbc odbc-postgresql tdsodbc unixodbc-bin snmp-mibs-downloader The following NEW packages will be installed: asterisk asterisk-config asterisk-core-sounds-en asterisk-core-sounds-en-gsm asterisk-modules asterisk-moh-opsound-gsm asterisk-voicemail 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 0 upgraded, 31 newly installed, 0 to remove and 0 not upgraded. Need to get 4,132 kB/18.6 MB of archives. After this operation, 39.2 MB of additional disk space will be used. Do you want to continue? [Y/n] Y Get:1 http://mirror.de.leaseweb.net/raspbian/raspbian buster/main armhf libpq5 armhf 11.12-0+deb10u1 [154 kB] Get:2 http://ftp.halifax.rwth-aachen.de/raspbian/raspbian buster/main armhf mariadb-common all 1:10.3.27-0+deb10u1 [32.2 kB] Get:3 http://mirror.netcologne.de/raspbian/raspbian buster/main armhf libmariadb3 armhf 1:10.3.27-0+deb10u1 [158 kB] Get:4 http://mirror1.hs-esslingen.de/pub/Mirrors/archive.raspbian.org/raspbian buster/main armhf libsnmp-base all 5.7.3+dfsg-5+deb10u2 [1,595 kB] Get:5 http://mirror.de.leaseweb.net/raspbian/raspbian buster/main armhf libsnmp30 armhf 5.7.3+dfsg-5+deb10u2 [2,193 kB] Fetched 4,132 kB in 1s (2,998 kB/s) Extracting templates from packages: 100% Selecting previously unselected package asterisk-config. (Reading database ... 50669 files and directories currently installed.) Preparing to unpack .../00-asterisk-config_1%3a16.2.1~dfsg-1+deb10u2_all.deb ... Unpacking asterisk-config (1:16.2.1~dfsg-1+deb10u2) ... Selecting previously unselected package asterisk-core-sounds-en-gsm. Preparing to unpack .../01-asterisk-core-sounds-en-gsm_1.6.1-1_all.deb ... Unpacking asterisk-core-sounds-en-gsm (1.6.1-1) ... Selecting previously unselected package asterisk-core-sounds-en. Preparing to unpack .../02-asterisk-core-sounds-en_1.6.1-1_all.deb ... Unpacking asterisk-core-sounds-en (1.6.1-1) ... Selecting previously unselected package libgpgme11:armhf. Preparing to unpack .../03-libgpgme11_1.12.0-6_armhf.deb ... Unpacking libgpgme11:armhf (1.12.0-6) ... Selecting previously unselected package libgmime-3.0-0:armhf. Preparing to unpack .../04-libgmime-3.0-0_3.2.1-1_armhf.deb ... Unpacking libgmime-3.0-0:armhf (3.2.1-1) ... Selecting previously unselected package libical3:armhf. Preparing to unpack .../05-libical3_3.0.4-3_armhf.deb ... Unpacking libical3:armhf (3.0.4-3) ... Selecting previously unselected package libiksemel3:armhf. Preparing to unpack .../06-libiksemel3_1.4-3+b1_armhf.deb ... Unpacking libiksemel3:armhf (1.4-3+b1) ... Selecting previously unselected package liblua5.1-0:armhf. Preparing to unpack .../07-liblua5.1-0_5.1.5-8.1+b1_armhf.deb ... Unpacking liblua5.1-0:armhf (5.1.5-8.1+b1) ... Selecting previously unselected package libneon27-gnutls:armhf. Preparing to unpack .../08-libneon27-gnutls_0.30.2-3_armhf.deb ... Unpacking libneon27-gnutls:armhf (0.30.2-3) ... Selecting previously unselected package libodbc1:armhf. Preparing to unpack .../09-libodbc1_2.3.6-0.1_armhf.deb ... Unpacking libodbc1:armhf (2.3.6-0.1) ... Selecting previously unselected package libpq5:armhf. Preparing to unpack .../10-libpq5_11.12-0+deb10u1_armhf.deb ... Unpacking libpq5:armhf (11.12-0+deb10u1) ... Selecting previously unselected package libradcli4. Preparing to unpack .../11-libradcli4_1.2.6-4_armhf.deb ... Unpacking libradcli4 (1.2.6-4) ... Selecting previously unselected package libresample1. Preparing to unpack .../12-libresample1_0.1.3-4_armhf.deb ... Unpacking libresample1 (0.1.3-4) ... Selecting previously unselected package mysql-common. Preparing to unpack .../13-mysql-common_5.8+1.0.5_all.deb ... Unpacking mysql-common (5.8+1.0.5) ... Selecting previously unselected package mariadb-common. Preparing to unpack .../14-mariadb-common_1%3a10.3.27-0+deb10u1_all.deb ... Unpacking mariadb-common (1:10.3.27-0+deb10u1) ... Selecting previously unselected package libmariadb3:armhf. Preparing to unpack .../15-libmariadb3_1%3a10.3.27-0+deb10u1_armhf.deb ... Unpacking libmariadb3:armhf (1:10.3.27-0+deb10u1) ... Selecting previously unselected package libsnmp-base. Preparing to unpack .../16-libsnmp-base_5.7.3+dfsg-5+deb10u2_all.deb ... Unpacking libsnmp-base (5.7.3+dfsg-5+deb10u2) ... Selecting previously unselected package libsnmp30:armhf. Preparing to unpack .../17-libsnmp30_5.7.3+dfsg-5+deb10u2_armhf.deb ... Unpacking libsnmp30:armhf (5.7.3+dfsg-5+deb10u2) ... Selecting previously unselected package libspandsp2:armhf. Preparing to unpack .../18-libspandsp2_0.0.6+dfsg-2_armhf.deb ... Unpacking libspandsp2:armhf (0.0.6+dfsg-2) ... Selecting previously unselected package libspeexdsp1:armhf. Preparing to unpack .../19-libspeexdsp1_1.2~rc1.2-1+b2_armhf.deb ... Unpacking libspeexdsp1:armhf (1.2~rc1.2-1+b2) ... Selecting previously unselected package libsrtp2-1:armhf. Preparing to unpack .../20-libsrtp2-1_2.2.0-1_armhf.deb ... Unpacking libsrtp2-1:armhf (2.2.0-1) ... Selecting previously unselected package freetds-common. Preparing to unpack .../21-freetds-common_1.00.104-1+deb10u1_all.deb ... Unpacking freetds-common (1.00.104-1+deb10u1) ... Selecting previously unselected package libsybdb5:armhf. Preparing to unpack .../22-libsybdb5_1.00.104-1+deb10u1_armhf.deb ... Unpacking libsybdb5:armhf (1.00.104-1+deb10u1) ... Selecting previously unselected package libunbound8:armhf. Preparing to unpack .../23-libunbound8_1.9.0-2+deb10u2_armhf.deb ... Unpacking libunbound8:armhf (1.9.0-2+deb10u2) ... Selecting previously unselected package asterisk-modules. Preparing to unpack .../24-asterisk-modules_1%3a16.2.1~dfsg-1+deb10u2_armhf.deb ... Unpacking asterisk-modules (1:16.2.1~dfsg-1+deb10u2) ... Selecting previously unselected package libjansson4:armhf. Preparing to unpack .../25-libjansson4_2.12-1_armhf.deb ... Unpacking libjansson4:armhf (2.12-1) ... Selecting previously unselected package liburiparser1:armhf. Preparing to unpack .../26-liburiparser1_0.9.1-1_armhf.deb ... Unpacking liburiparser1:armhf (0.9.1-1) ... Selecting previously unselected package libxslt1.1:armhf. Preparing to unpack .../27-libxslt1.1_1.1.32-2.2~deb10u1_armhf.deb ... Unpacking libxslt1.1:armhf (1.1.32-2.2~deb10u1) ... Selecting previously unselected package asterisk. Preparing to unpack .../28-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 .../29-asterisk-voicemail_1%3a16.2.1~dfsg-1+deb10u2_armhf.deb ... Unpacking asterisk-voicemail (1:16.2.1~dfsg-1+deb10u2) ... Selecting previously unselected package asterisk-moh-opsound-gsm. Preparing to unpack .../30-asterisk-moh-opsound-gsm_2.03-1_all.deb ... Unpacking asterisk-moh-opsound-gsm (2.03-1) ... Setting up mysql-common (5.8+1.0.5) ... update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode Setting up asterisk-core-sounds-en-gsm (1.6.1-1) ... Setting up libsnmp-base (5.7.3+dfsg-5+deb10u2) ... Setting up libsrtp2-1:armhf (2.2.0-1) ... Setting up libpq5:armhf (11.12-0+deb10u1) ... Setting up libgpgme11:armhf (1.12.0-6) ... Setting up libspandsp2:armhf (0.0.6+dfsg-2) ... Setting up libjansson4:armhf (2.12-1) ... Setting up mariadb-common (1:10.3.27-0+deb10u1) ... update-alternatives: using /etc/mysql/mariadb.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode Setting up libunbound8:armhf (1.9.0-2+deb10u2) ... Setting up libradcli4 (1.2.6-4) ... Setting up asterisk-config (1:16.2.1~dfsg-1+deb10u2) ... Setting up libneon27-gnutls:armhf (0.30.2-3) ... Setting up libmariadb3:armhf (1:10.3.27-0+deb10u1) ... Setting up libodbc1:armhf (2.3.6-0.1) ... Setting up asterisk-core-sounds-en (1.6.1-1) ... update-alternatives: using /usr/share/asterisk/sounds/en_US_f_Allison to provide /usr/share/asterisk/sounds/en (asterisk-prompt-en) in auto mode update-alternatives: using /usr/share/asterisk/sounds/en_US_f_Allison to provide /usr/share/asterisk/sounds/en_US (asterisk-prompt-en-us) in auto mode Setting up libiksemel3:armhf (1.4-3+b1) ... Setting up liburiparser1:armhf (0.9.1-1) ... Setting up asterisk-moh-opsound-gsm (2.03-1) ... Setting up libspeexdsp1:armhf (1.2~rc1.2-1+b2) ... Setting up liblua5.1-0:armhf (5.1.5-8.1+b1) ... Setting up libxslt1.1:armhf (1.1.32-2.2~deb10u1) ... Setting up libical3:armhf (3.0.4-3) ... Setting up libresample1 (0.1.3-4) ... Setting up freetds-common (1.00.104-1+deb10u1) ... Setting up libgmime-3.0-0:armhf (3.2.1-1) ... Setting up libsybdb5:armhf (1.00.104-1+deb10u1) ... Setting up libsnmp30:armhf (5.7.3+dfsg-5+deb10u2) ... Setting up asterisk-modules (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 09:46:35 CEST; 49ms ago Docs: man:asterisk(8) Process: 2376 ExecStart=/usr/sbin/asterisk -g -f -p -U asterisk (code=exited, status=1/FAILURE) Main PID: 2376 (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:~ $ ^C pi@pio4gb:~ $ asterisk -rvvvv Unable to open specified master config file '/etc/asterisk/asterisk.conf', using built-in defaults Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?) pi@pio4gb:~ $ ^C pi@pio4gb:~ $ astersik -rvvvvvv -bash: astersik: command not found pi@pio4gb:~ $ sudo asrerisk -rvvvvvvv sudo: asrerisk: command not found pi@pio4gb:~ $ sudo /etc/init.d/asterisk stop [ ok ] Stopping asterisk (via systemctl): asterisk.service. pi@pio4gb:~ $ sudo /etc/init.d/asterisk start [....] Starting asterisk (via systemctl): asterisk.serviceJob for asterisk.service failed because the control process exited with error code. See "systemctl status asterisk.service" and "journalctl -xe" for details. failed! pi@pio4gb:~ $ ps -ef | grep asterisk asterisk 5933 1 67 09:53 ? 00:00:01 /usr/sbin/asterisk -g -f -p -U asterisk asterisk 5934 5933 0 09:53 ? 00:00:00 astcanary /var/run/asterisk/alt.asterisk.canary.tweet.tweet.tweet 5933 pi 5955 1631 0 09:53 pts/0 00:00:00 grep --color=auto asterisk pi@pio4gb:~ $ asterisk -rvvvvv Unable to open specified master config file '/etc/asterisk/asterisk.conf', using built-in defaults Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?) pi@pio4gb:~ $ nslookup translate.googleapis.com -bash: nslookup: command not found pi@pio4gb:~ $ sudo nslookup translate.googleapis.com sudo: nslookup: command not found pi@pio4gb:~ $ ping translate.googleapis.com PING translate.googleapis.com(fra15s46-in-x0a.1e100.net (2a00:1450:4001:808::200a)) 56 data bytes 64 bytes from fra15s46-in-x0a.1e100.net (2a00:1450:4001:808::200a): icmp_seq=1 ttl=117 time=13.5 ms 64 bytes from fra15s46-in-x0a.1e100.net (2a00:1450:4001:808::200a): icmp_seq=2 ttl=117 time=12.4 ms 64 bytes from fra15s46-in-x0a.1e100.net (2a00:1450:4001:808::200a): icmp_seq=3 ttl=117 time=12.4 ms
-
apt policy asterisk-voicemail asterisk
-
ich duck mich schonmal...
pi@pio4gb:~ $ sudo apt-get install -y asterisk-voicemail Reading package lists... Done Building dependency tree Reading state information... Done asterisk-voicemail is already the newest version (1:16.2.1~dfsg-1+deb10u2). asterisk-voicemail set to manually installed. 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 10:23:26 CEST; 56ms ago Docs: man:asterisk(8) Process: 20118 ExecStart=/usr/sbin/asterisk -g -f -p -U asterisk (code=exited, status=1/FAILURE) Main PID: 20118 (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 apt-get 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) ... 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 10:25:31 CEST; 22ms ago Docs: man:asterisk(8) Process: 21225 ExecStart=/usr/sbin/asterisk -g -f -p -U asterisk (code=exited, status=1/FAILURE) Main PID: 21225 (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)
-
@varg Das ist nicht das was ich angefragt hatte.
-
pi@pio4gb:~ $ apt policy asterisk-voicemail asterisk asterisk-voicemail: Installed: 1:16.2.1~dfsg-1+deb10u2 Candidate: 1:16.2.1~dfsg-1+deb10u2 Version table: *** 1:16.2.1~dfsg-1+deb10u2 500 500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages 100 /var/lib/dpkg/status asterisk: Installed: 1:16.2.1~dfsg-1+deb10u2 Candidate: 1:16.2.1~dfsg-1+deb10u2 Version table: *** 1:16.2.1~dfsg-1+deb10u2 500 500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages 100 /var/lib/dpkg/status
Installationsversuch:
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 10:40:21 CEST; 39ms ago Docs: man:asterisk(8) Process: 27969 ExecStart=/usr/sbin/asterisk -g -f -p -U asterisk (code=exited, status=1/FAILURE) Main PID: 27969 (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
-
@varg
Hattest du vorher asterisk mal von wonders installiert?
Bei mir läuft das nämlich 1a sauber durch:echad@chet:/opt/iobroker $ sudo apt install asterisk Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Die folgenden zusätzlichen Pakete werden installiert: asterisk-config asterisk-core-sounds-en asterisk-core-sounds-en-gsm asterisk-modules asterisk-moh-opsound-gsm asterisk-voicemail freetds-common libgmime-3.0-0 libgpgme11 libical3 libiksemel3 libneon27-gnutls libodbc1 libopencore-amrnb0 libopencore-amrwb0 libportaudio2 libpq5 libradcli4 libresample1 libsox-fmt-alsa libsox-fmt-base libsox3 libsybdb5 libunbound8 liburiparser1 sox Vorgeschlagene Pakete: asterisk-dahdi asterisk-dev asterisk-doc asterisk-ooh323 asterisk-opus asterisk-vpb libmyodbc odbc-postgresql tdsodbc unixodbc-bin libsox-fmt-all Die folgenden NEUEN Pakete werden installiert: asterisk asterisk-config asterisk-core-sounds-en asterisk-core-sounds-en-gsm asterisk-modules asterisk-moh-opsound-gsm asterisk-voicemail freetds-common libgmime-3.0-0 libgpgme11 libical3 libiksemel3 libneon27-gnutls libodbc1 libopencore-amrnb0 libopencore-amrwb0 libportaudio2 libpq5 libradcli4 libresample1 libsox-fmt-alsa libsox-fmt-base libsox3 libsybdb5 libunbound8 liburiparser1 sox 0 aktualisiert, 27 neu installiert, 0 zu entfernen und 0 nicht aktualisiert. Es müssen 14,6 MB an Archiven heruntergeladen werden. Nach dieser Operation werden 31,7 MB Plattenplatz zusätzlich benutzt. Möchten Sie fortfahren? [J/n] j ... Adding system user for Asterisk Füge Benutzer »asterisk« der Gruppe »dialout« hinzu ... Benutzer asterisk wird zur Gruppe dialout hinzugefügt. Fertig. Füge Benutzer »asterisk« der Gruppe »audio« hinzu ... Benutzer asterisk wird zur Gruppe audio hinzugefügt. Fertig. Created symlink /etc/systemd/system/multi-user.target.wants/asterisk.service → /lib/systemd/system/asterisk.service. asterisk-voicemail (1:16.2.1~dfsg-1+deb10u2) wird eingerichtet ... Trigger für libc-bin (2.28-10+rpi1) werden verarbeitet ... Trigger für systemd (241-7~deb10u7+rpi1) werden verarbeitet ... Trigger für man-db (2.8.5-2) werden verarbeitet ... Trigger für mime-support (3.62) werden verarbeitet ...
-
sudo dpkg-reconfigure --priority=low asterisk-voicemail
bzw.
sudo dpkg-reconfigure --priority=low asterisk
-
@thomas-braun Kurze Nachfrage eines Unwissenden, die beiden geposteten Befehle führen die zur Lösung des Problems? Leider ist von Dir keine Erklärung hierzu gegeben. Falls es das war, danke ich schonmal vorab ganz herzlich!!!!
-
@andiber
Das weiß ich nicht. Aber es klemmt da irgendwo in der dpkg-Datenbank.
Möglich das man das mit einem reconfigure in den Griff bekommt. -
@thomas-braun
Danke für die Info, ich werde es mal versuchen. Jetzt weiß ich wenigstens was dieser Befehl bewirken soll.