Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Error/Bug
  4. Asterisk bringt "Error while dialing (2). Error: {}"

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.7k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.1k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    3.0k

Asterisk bringt "Error while dialing (2). Error: {}"

Geplant Angeheftet Gesperrt Verschoben Error/Bug
116 Beiträge 10 Kommentatoren 13.9k Aufrufe 11 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • Thomas BraunT Thomas Braun

    @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.

    A Offline
    A Offline
    andiber
    schrieb am zuletzt editiert von
    #23

    @thomas-braun
    Danke für die Info, ich werde es mal versuchen. Jetzt weiß ich wenigstens was dieser Befehl bewirken soll.
    :+1:

    1 Antwort Letzte Antwort
    0
    • Thomas BraunT Thomas Braun

      @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.

      A Offline
      A Offline
      andiber
      schrieb am zuletzt editiert von
      #24

      @thomas-braun So ausprobiert, keine dieser Befehle bewirkte eine Änderung. Asterisk bleibt stumm.

      asterisk.0
      2021-06-06 12:28:30.471 error Error while dialing (2). Error: {}

      Aber trotzdem vielen Dank, hätte ja auch klappen können.

      Thomas BraunT 1 Antwort Letzte Antwort
      0
      • A andiber

        @thomas-braun So ausprobiert, keine dieser Befehle bewirkte eine Änderung. Asterisk bleibt stumm.

        asterisk.0
        2021-06-06 12:28:30.471 error Error while dialing (2). Error: {}

        Aber trotzdem vielen Dank, hätte ja auch klappen können.

        Thomas BraunT Online
        Thomas BraunT Online
        Thomas Braun
        Most Active
        schrieb am zuletzt editiert von
        #25

        @andiber

        Was stand jetzt als Rückmeldung im Terminal?

        Linux-Werkzeugkasten:
        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
        NodeJS Fixer Skript:
        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

        A 1 Antwort Letzte Antwort
        0
        • Thomas BraunT Thomas Braun

          @andiber

          Was stand jetzt als Rückmeldung im Terminal?

          A Offline
          A Offline
          andiber
          schrieb am zuletzt editiert von
          #26

          @thomas-braun Gar nichts, beide Befehle sind ohne Fehlermeldung durchgelaufen, es endete jeweils mit der normalen Eigabeaufforderung.

          Thomas BraunT 1 Antwort Letzte Antwort
          0
          • A andiber

            @thomas-braun Gar nichts, beide Befehle sind ohne Fehlermeldung durchgelaufen, es endete jeweils mit der normalen Eigabeaufforderung.

            Thomas BraunT Online
            Thomas BraunT Online
            Thomas Braun
            Most Active
            schrieb am zuletzt editiert von
            #27

            @andiber

            Dann mal ein

            sudo apt install --reinstall asterisk
            

            Linux-Werkzeugkasten:
            https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
            NodeJS Fixer Skript:
            https://forum.iobroker.net/topic/68035/iob-node-fix-skript
            iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

            V 1 Antwort Letzte Antwort
            0
            • Thomas BraunT Thomas Braun

              @andiber

              Dann mal ein

              sudo apt install --reinstall asterisk
              
              V Offline
              V Offline
              varg
              schrieb am zuletzt editiert von varg
              #28

              @thomas-braun

              Installation anhand dieser Anleitung Git

              Befehle ergeben:

              pi@pio4gb:/ $ sudo dpkg-reconfigure --priority=low asterisk-voicemail
              /usr/sbin/dpkg-reconfigure: asterisk-voicemail is broken or not fully installed
              pi@pio4gb:/ $ sudo dpkg-reconfigure --priority=low asterisk
              /usr/sbin/dpkg-reconfigure: asterisk is broken or not fully installed
              pi@pio4gb:/ $ ^C
              

              Installation sieht immer noch so aus:

              i@pio4gb:/ $ sudo apt 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 0 B/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
              Extracting templates from packages: 100%
              Selecting previously unselected package asterisk-config.
              (Reading database ... 50667 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 15:22:33 CEST; 40ms ago
                   Docs: man:asterisk(8)
                Process: 31195 ExecStart=/usr/sbin/asterisk -g -f -p -U asterisk (code=exited, status=1/FAILURE)
               Main PID: 31195 (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)
              

              Reinstall gibt dies aus:

              pi@pio4gb:/ $ sudo apt install --reinstall asterisk
              Reading package lists... Done
              Building dependency tree
              Reading state information... Done
              0 upgraded, 0 newly installed, 1 reinstalled, 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.
              E: Internal Error, No file name for asterisk:armhf
              pi@pio4gb:/ $
              
              

              im installationsordner unter /etc/asterisk waren früher immer zahlreich dateien vorhanden. Nach den letzten Versuchen tut sich da aber nichts mehr

              Thomas BraunT 1 Antwort Letzte Antwort
              0
              • V varg

                @thomas-braun

                Installation anhand dieser Anleitung Git

                Befehle ergeben:

                pi@pio4gb:/ $ sudo dpkg-reconfigure --priority=low asterisk-voicemail
                /usr/sbin/dpkg-reconfigure: asterisk-voicemail is broken or not fully installed
                pi@pio4gb:/ $ sudo dpkg-reconfigure --priority=low asterisk
                /usr/sbin/dpkg-reconfigure: asterisk is broken or not fully installed
                pi@pio4gb:/ $ ^C
                

                Installation sieht immer noch so aus:

                i@pio4gb:/ $ sudo apt 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 0 B/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
                Extracting templates from packages: 100%
                Selecting previously unselected package asterisk-config.
                (Reading database ... 50667 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 15:22:33 CEST; 40ms ago
                     Docs: man:asterisk(8)
                  Process: 31195 ExecStart=/usr/sbin/asterisk -g -f -p -U asterisk (code=exited, status=1/FAILURE)
                 Main PID: 31195 (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)
                

                Reinstall gibt dies aus:

                pi@pio4gb:/ $ sudo apt install --reinstall asterisk
                Reading package lists... Done
                Building dependency tree
                Reading state information... Done
                0 upgraded, 0 newly installed, 1 reinstalled, 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.
                E: Internal Error, No file name for asterisk:armhf
                pi@pio4gb:/ $
                
                

                im installationsordner unter /etc/asterisk waren früher immer zahlreich dateien vorhanden. Nach den letzten Versuchen tut sich da aber nichts mehr

                Thomas BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                schrieb am zuletzt editiert von
                #29

                @varg sagte in Asterisk bringt "Error while dialing (2). Error: {}":

                Irgendwie ist dein System krumm.

                cd ~
                sudo apt update
                sudo apt dist-upgrade
                

                Linux-Werkzeugkasten:
                https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                NodeJS Fixer Skript:
                https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                V 1 Antwort Letzte Antwort
                0
                • Thomas BraunT Thomas Braun

                  @varg sagte in Asterisk bringt "Error while dialing (2). Error: {}":

                  Irgendwie ist dein System krumm.

                  cd ~
                  sudo apt update
                  sudo apt dist-upgrade
                  
                  V Offline
                  V Offline
                  varg
                  schrieb am zuletzt editiert von
                  #30

                  @thomas-braun said in Asterisk bringt "Error while dialing (2). Error: {}":

                  sudo apt dist-upgrade

                  pi@pio4gb:~ $ sudo apt update
                  Hit:1 http://archive.raspberrypi.org/debian buster InRelease
                  Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
                  Hit:3 https://deb.nodesource.com/node_12.x buster InRelease
                  Fetched 15.0 kB in 1s (13.9 kB/s)
                  Reading package lists... Done
                  Building dependency tree
                  Reading state information... Done
                  All packages are up to date.
                  pi@pio4gb:~ $ sudo apt dist-upgrade
                  Reading package lists... Done
                  Building dependency tree
                  Reading state information... Done
                  Calculating upgrade... 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.
                  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 15:31:53 CEST; 46ms ago
                       Docs: man:asterisk(8)
                    Process: 3229 ExecStart=/usr/sbin/asterisk -g -f -p -U asterisk (code=exited, status=1/FAILURE)
                   Main PID: 3229 (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:~ $
                  
                  
                  Thomas BraunT 1 Antwort Letzte Antwort
                  0
                  • V varg

                    @thomas-braun said in Asterisk bringt "Error while dialing (2). Error: {}":

                    sudo apt dist-upgrade

                    pi@pio4gb:~ $ sudo apt update
                    Hit:1 http://archive.raspberrypi.org/debian buster InRelease
                    Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
                    Hit:3 https://deb.nodesource.com/node_12.x buster InRelease
                    Fetched 15.0 kB in 1s (13.9 kB/s)
                    Reading package lists... Done
                    Building dependency tree
                    Reading state information... Done
                    All packages are up to date.
                    pi@pio4gb:~ $ sudo apt dist-upgrade
                    Reading package lists... Done
                    Building dependency tree
                    Reading state information... Done
                    Calculating upgrade... 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.
                    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 15:31:53 CEST; 46ms ago
                         Docs: man:asterisk(8)
                      Process: 3229 ExecStart=/usr/sbin/asterisk -g -f -p -U asterisk (code=exited, status=1/FAILURE)
                     Main PID: 3229 (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:~ $
                    
                    
                    Thomas BraunT Online
                    Thomas BraunT Online
                    Thomas Braun
                    Most Active
                    schrieb am zuletzt editiert von
                    #31

                    @varg

                    sudo apt remove asterisk asterisk-voicemail --purge
                    

                    Linux-Werkzeugkasten:
                    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                    NodeJS Fixer Skript:
                    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                    V 1 Antwort Letzte Antwort
                    0
                    • Thomas BraunT Thomas Braun

                      @varg

                      sudo apt remove asterisk asterisk-voicemail --purge
                      
                      V Offline
                      V Offline
                      varg
                      schrieb am zuletzt editiert von
                      #32

                      @thomas-braun said in Asterisk bringt "Error while dialing (2). Error: {}":

                      sudo apt remove asterisk asterisk-voicemail --purge

                      pi@pio4gb:~ $ sudo apt remove asterisk asterisk-voicemail --purge
                      Reading package lists... Done
                      Building dependency tree
                      Reading state information... 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.
                      The following packages will be REMOVED:
                        asterisk* asterisk-voicemail*
                      0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
                      2 not fully installed or removed.
                      After this operation, 7,841 kB disk space will be freed.
                      Do you want to continue? [Y/n] Y
                      (Reading database ... 52306 files and directories currently installed.)
                      Removing asterisk-voicemail (1:16.2.1~dfsg-1+deb10u2) ...
                      Removing asterisk (1:16.2.1~dfsg-1+deb10u2) ...
                      Processing triggers for man-db (2.8.5-2) ...
                      Processing triggers for libc-bin (2.28-10+rpi1) ...
                      (Reading database ... 52072 files and directories currently installed.)
                      Purging configuration files for asterisk (1:16.2.1~dfsg-1+deb10u2) ...
                      Processing triggers for systemd (241-7~deb10u7+rpi1) ...
                      pi@pio4gb:~ $
                      
                      
                      Thomas BraunT 1 Antwort Letzte Antwort
                      0
                      • V varg

                        @thomas-braun said in Asterisk bringt "Error while dialing (2). Error: {}":

                        sudo apt remove asterisk asterisk-voicemail --purge

                        pi@pio4gb:~ $ sudo apt remove asterisk asterisk-voicemail --purge
                        Reading package lists... Done
                        Building dependency tree
                        Reading state information... 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.
                        The following packages will be REMOVED:
                          asterisk* asterisk-voicemail*
                        0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
                        2 not fully installed or removed.
                        After this operation, 7,841 kB disk space will be freed.
                        Do you want to continue? [Y/n] Y
                        (Reading database ... 52306 files and directories currently installed.)
                        Removing asterisk-voicemail (1:16.2.1~dfsg-1+deb10u2) ...
                        Removing asterisk (1:16.2.1~dfsg-1+deb10u2) ...
                        Processing triggers for man-db (2.8.5-2) ...
                        Processing triggers for libc-bin (2.28-10+rpi1) ...
                        (Reading database ... 52072 files and directories currently installed.)
                        Purging configuration files for asterisk (1:16.2.1~dfsg-1+deb10u2) ...
                        Processing triggers for systemd (241-7~deb10u7+rpi1) ...
                        pi@pio4gb:~ $
                        
                        
                        Thomas BraunT Online
                        Thomas BraunT Online
                        Thomas Braun
                        Most Active
                        schrieb am zuletzt editiert von
                        #33

                        @varg

                        sudo apt update
                        sudo apt upgrade
                        

                        Wenn sauber dann

                        sudo apt install asterisk
                        

                        Linux-Werkzeugkasten:
                        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                        NodeJS Fixer Skript:
                        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                        V 1 Antwort Letzte Antwort
                        0
                        • Thomas BraunT Thomas Braun

                          @varg

                          sudo apt update
                          sudo apt upgrade
                          

                          Wenn sauber dann

                          sudo apt install asterisk
                          
                          V Offline
                          V Offline
                          varg
                          schrieb am zuletzt editiert von varg
                          #34

                          @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" ?

                          Thomas BraunT 1 Antwort Letzte Antwort
                          0
                          • V varg

                            @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" ?

                            Thomas BraunT Online
                            Thomas BraunT Online
                            Thomas Braun
                            Most Active
                            schrieb am zuletzt editiert von
                            #35

                            @varg

                            Ja, das ist sauber. Versuch jetzt mal

                            sudo apt install asterisk
                            

                            Linux-Werkzeugkasten:
                            https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                            NodeJS Fixer Skript:
                            https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                            iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                            V 1 Antwort Letzte Antwort
                            0
                            • Thomas BraunT Thomas Braun

                              @varg

                              Ja, das ist sauber. Versuch jetzt mal

                              sudo apt install asterisk
                              
                              V Offline
                              V Offline
                              varg
                              schrieb am zuletzt editiert von varg
                              #36

                              @Thomas-Braun

                              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:~ $
                              
                              
                              Thomas BraunT 1 Antwort Letzte Antwort
                              0
                              • V varg

                                @Thomas-Braun

                                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:~ $
                                
                                
                                Thomas BraunT Online
                                Thomas BraunT Online
                                Thomas Braun
                                Most Active
                                schrieb am zuletzt editiert von Thomas Braun
                                #37

                                @varg sagte in Asterisk bringt "Error while dialing (2). Error: {}":

                                Komisch.

                                sudo apt install -f
                                sudo dpkg --configure -a
                                

                                Linux-Werkzeugkasten:
                                https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                NodeJS Fixer Skript:
                                https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                V 1 Antwort Letzte Antwort
                                0
                                • Thomas BraunT Thomas Braun

                                  @varg sagte in Asterisk bringt "Error while dialing (2). Error: {}":

                                  Komisch.

                                  sudo apt install -f
                                  sudo dpkg --configure -a
                                  
                                  V Offline
                                  V Offline
                                  varg
                                  schrieb am zuletzt editiert von
                                  #38

                                  @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:~ $
                                  
                                  
                                  Thomas BraunT 1 Antwort Letzte Antwort
                                  0
                                  • V varg

                                    @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:~ $
                                    
                                    
                                    Thomas BraunT Online
                                    Thomas BraunT Online
                                    Thomas Braun
                                    Most Active
                                    schrieb am zuletzt editiert von
                                    #39

                                    @varg

                                    sudo apt install -f
                                    sudo dpkg --configure -a
                                    
                                    

                                    Linux-Werkzeugkasten:
                                    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                    NodeJS Fixer Skript:
                                    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                    V 2 Antworten Letzte Antwort
                                    0
                                    • Thomas BraunT Thomas Braun

                                      @varg

                                      sudo apt install -f
                                      sudo dpkg --configure -a
                                      
                                      
                                      V Offline
                                      V Offline
                                      varg
                                      schrieb am zuletzt editiert von
                                      #40

                                      @thomas-braun

                                      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:~ $
                                      
                                      
                                      1 Antwort Letzte Antwort
                                      0
                                      • Thomas BraunT Thomas Braun

                                        @varg

                                        sudo apt install -f
                                        sudo dpkg --configure -a
                                        
                                        
                                        V Offline
                                        V Offline
                                        varg
                                        schrieb am zuletzt editiert von varg
                                        #41

                                        @thomas-braun

                                        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

                                        Thomas BraunT 1 Antwort Letzte Antwort
                                        0
                                        • V varg

                                          @thomas-braun

                                          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

                                          Thomas BraunT Online
                                          Thomas BraunT Online
                                          Thomas Braun
                                          Most Active
                                          schrieb am zuletzt editiert von Thomas Braun
                                          #42

                                          @varg

                                          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
                                          

                                          Linux-Werkzeugkasten:
                                          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                          NodeJS Fixer Skript:
                                          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                          V 1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          822

                                          Online

                                          32.4k

                                          Benutzer

                                          81.5k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe