Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Asterisk bringt "Error while dialing (2). Error: {}"

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

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

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @varg last edited by

      @varg Das ist nicht das was ich angefragt hatte.

      V 1 Reply Last reply Reply Quote 0
      • V
        varg @Thomas Braun last edited by varg

        @thomas-braun

        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
        
        
        Thomas Braun 2 Replies Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @varg last edited by

          @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 ...
          
          1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @varg last edited by Thomas Braun

            @varg

            sudo dpkg-reconfigure --priority=low asterisk-voicemail
            

            bzw.

            sudo dpkg-reconfigure --priority=low asterisk
            
            A 1 Reply Last reply Reply Quote 0
            • A
              andiber @Thomas Braun last edited by

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

              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @andiber last edited by

                @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 2 Replies Last reply Reply Quote 0
                • A
                  andiber @Thomas Braun last edited by

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

                  1 Reply Last reply Reply Quote 0
                  • A
                    andiber @Thomas Braun last edited by

                    @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 Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @andiber last edited by

                      @andiber

                      Was stand jetzt als Rückmeldung im Terminal?

                      A 1 Reply Last reply Reply Quote 0
                      • A
                        andiber @Thomas Braun last edited by

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

                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @andiber last edited by

                          @andiber

                          Dann mal ein

                          sudo apt install --reinstall asterisk
                          
                          V 1 Reply Last reply Reply Quote 0
                          • V
                            varg @Thomas Braun last edited by 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 Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @varg last edited by

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

                              Irgendwie ist dein System krumm.

                              cd ~
                              sudo apt update
                              sudo apt dist-upgrade
                              
                              V 1 Reply Last reply Reply Quote 0
                              • V
                                varg @Thomas Braun last edited by

                                @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 Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @varg last edited by

                                  @varg

                                  sudo apt remove asterisk asterisk-voicemail --purge
                                  
                                  V 1 Reply Last reply Reply Quote 0
                                  • V
                                    varg @Thomas Braun last edited by

                                    @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 Braun 1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @varg last edited by

                                      @varg

                                      sudo apt update
                                      sudo apt upgrade
                                      

                                      Wenn sauber dann

                                      sudo apt install asterisk
                                      
                                      V 1 Reply Last reply Reply Quote 0
                                      • V
                                        varg @Thomas Braun last edited by 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 Braun 1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @varg last edited by

                                          @varg

                                          Ja, das ist sauber. Versuch jetzt mal

                                          sudo apt install asterisk
                                          
                                          V 1 Reply Last reply Reply Quote 0
                                          • V
                                            varg @Thomas Braun last edited by 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 Braun 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            848
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            10
                                            116
                                            9042
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo