Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter tr-064-community v1.0.x

    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

    Test Adapter tr-064-community v1.0.x

    This topic has been deleted. Only users with topic management privileges can see it.
    • conectas
      conectas @apollon77 last edited by

      @apollon77

      Knallt beim Start.. Änderungen waren nicht .. 😉

      2019-12-12 17:31:01.655  - info: host.raspberrypi "system.adapter.tr-064-community.0" enabled
      2019-12-12 17:31:01.687  - info: host.raspberrypi instance system.adapter.tr-064-community.0 started with pid 6419
      2019-12-12 17:31:05.579  - info: tr-064-community.0 (6419) starting. Version 1.2.0 in /opt/iobroker/node_modules/iobroker.tr-064-community, node: v10.17.0
      2019-12-12 17:31:10.633  - error: tr-064-community.0 (6419) uncaught exception: Converting circular structure to JSON
      2019-12-12 17:31:10.636  - error: tr-064-community.0 (6419) TypeError: Converting circular structure to JSON
          at JSON.stringify (<anonymous>)
          at /opt/iobroker/node_modules/iobroker.tr-064-community/main.js:948:62
          at Timeout.doIt [as _onTimeout] (/opt/iobroker/node_modules/iobroker.tr-064-community/lib/phonebook.js:114:25)
          at ontimeout (timers.js:436:11)
          at tryOnTimeout (timers.js:300:5)
          at listOnTimeout (timers.js:263:5)
          at Timer.processTimers (timers.js:223:10)
      2019-12-12 17:31:10.650  - info: tr-064-community.0 (6419) terminating
      2019-12-12 17:31:10.653  - info: tr-064-community.0 (6419) Terminated (NO_ERROR): Without reason
      2019-12-12 17:31:11.209  - error: host.raspberrypi Caught by controller[0]: TypeError: Converting circular structure to JSON
      2019-12-12 17:31:11.213  - error: host.raspberrypi Caught by controller[0]:     at JSON.stringify (<anonymous>)
      2019-12-12 17:31:11.214  - error: host.raspberrypi Caught by controller[0]:     at /opt/iobroker/node_modules/iobroker.tr-064-community/main.js:948:62
      2019-12-12 17:31:11.215  - error: host.raspberrypi Caught by controller[0]:     at Timeout.doIt [as _onTimeout] (/opt/iobroker/node_modules/iobroker.tr-064-community/lib/phonebook.js:114:25)
      2019-12-12 17:31:11.216  - error: host.raspberrypi Caught by controller[0]:     at ontimeout (timers.js:436:11)
      2019-12-12 17:31:11.217  - error: host.raspberrypi Caught by controller[0]:     at tryOnTimeout (timers.js:300:5)
      2019-12-12 17:31:11.218  - error: host.raspberrypi Caught by controller[0]:     at listOnTimeout (timers.js:263:5)
      2019-12-12 17:31:11.219  - error: host.raspberrypi Caught by controller[0]:     at Timer.processTimers (timers.js:223:10)
      2019-12-12 17:31:11.221  - info: host.raspberrypi instance system.adapter.tr-064-community.0 terminated with code 0 (NO_ERROR)
      2019-12-12 17:31:11.222  - info: host.raspberrypi Restart adapter system.adapter.tr-064-community.0 because enabled
      2019-12-12 17:31:41.251  - info: host.raspberrypi instance system.adapter.tr-064-community.0 started with pid 7583
      2019-12-12 17:31:44.853  - info: tr-064-community.0 (7583) starting. Version 1.2.0 in /opt/iobroker/node_modules/iobroker.tr-064-community, node: v10.17.0
      2019-12-12 17:31:49.924  - error: tr-064-community.0 (7583) uncaught exception: Converting circular structure to JSON
      2019-12-12 17:31:49.927  - error: tr-064-community.0 (7583) TypeError: Converting circular structure to JSON
          at JSON.stringify (<anonymous>)
          at /opt/iobroker/node_modules/iobroker.tr-064-community/main.js:948:62
          at Timeout.doIt [as _onTimeout] (/opt/iobroker/node_modules/iobroker.tr-064-community/lib/phonebook.js:114:25)
          at ontimeout (timers.js:436:11)
          at tryOnTimeout (timers.js:300:5)
          at listOnTimeout (timers.js:263:5)
          at Timer.processTimers (timers.js:223:10)
      2019-12-12 17:31:49.940  - info: tr-064-community.0 (7583) terminating
      2019-12-12 17:31:49.943  - info: tr-064-community.0 (7583) Terminated (NO_ERROR): Without reason
      2019-12-12 17:31:50.490  - error: host.raspberrypi Caught by controller[0]: TypeError: Converting circular structure to JSON
      2019-12-12 17:31:50.492  - error: host.raspberrypi Caught by controller[0]:     at JSON.stringify (<anonymous>)
      2019-12-12 17:31:50.493  - error: host.raspberrypi Caught by controller[0]:     at /opt/iobroker/node_modules/iobroker.tr-064-community/main.js:948:62
      2019-12-12 17:31:50.494  - error: host.raspberrypi Caught by controller[0]:     at Timeout.doIt [as _onTimeout] (/opt/iobroker/node_modules/iobroker.tr-064-community/lib/phonebook.js:114:25)
      2019-12-12 17:31:50.494  - error: host.raspberrypi Caught by controller[0]:     at ontimeout (timers.js:436:11)
      2019-12-12 17:31:50.495  - error: host.raspberrypi Caught by controller[0]:     at tryOnTimeout (timers.js:300:5)
      2019-12-12 17:31:50.495  - error: host.raspberrypi Caught by controller[0]:     at listOnTimeout (timers.js:263:5)
      2019-12-12 17:31:50.495  - error: host.raspberrypi Caught by controller[0]:     at Timer.processTimers (timers.js:223:10)
      2019-12-12 17:31:50.496  - info: host.raspberrypi instance system.adapter.tr-064-community.0 terminated with code 0 (NO_ERROR)
      2019-12-12 17:31:50.496  - info: host.raspberrypi Restart adapter system.adapter.tr-064-community.0 because enabled
      
      
      apollon77 1 Reply Last reply Reply Quote 0
      • apollon77
        apollon77 @conectas last edited by

        @conectas sicher das. Du vom GitHub neu drüber installiert hast? Hm ...

        Homoran conectas 2 Replies Last reply Reply Quote 0
        • Homoran
          Homoran Global Moderator Administrators @apollon77 last edited by

          @apollon77
          Vielleicht hilft upload

          1 Reply Last reply Reply Quote 0
          • apollon77
            apollon77 last edited by

            Ne ich hab Blödsinn gemacht.

            Man kann die Zeile

            /opt/iobroker/node_modules/iobroker.tr-064-community/main.js:948

            Einfach mit // auskommentierrn.

            Handy lässt mich gerade nicht editieren 😞

            conectas 1 Reply Last reply Reply Quote 0
            • conectas
              conectas @apollon77 last edited by conectas

              @apollon77

              Die Version geht jetzt wieder .. komplett neu Installiert.


              Irgendwie bin ich zu Blöd um hier im Forum zu begreifen, wann hier wo was hingeschrieben wird.
              (Firefox macht auch irgendwie komische Fenster)
              .. bekomme ich aber schon irgendwann raus 😉

              1 Reply Last reply Reply Quote 0
              • conectas
                conectas @apollon77 last edited by

                @apollon77 sagte in Test Adapter tr-064-community v1.0.x:

                /opt/iobroker/node_modules/iobroker.tr-064-community/

                pollingTimer = setTimeout(updateAll, 2000);

                ??

                apollon77 1 Reply Last reply Reply Quote 0
                • apollon77
                  apollon77 @conectas last edited by apollon77

                  @conectas na wenn’s wieder tut mit debug dann kommentiert nix aus 😉

                  Müsste ein Adapter.log.debug

                  conectas 1 Reply Last reply Reply Quote 0
                  • conectas
                    conectas @apollon77 last edited by

                    @apollon77 sagte in Test Adapter tr-064-community v1.0.x:

                    Adapter.log.debug

                    949 //adapter.log.debug('Final Phonebook: ' + JSON.stringify(phonebook));

                    Haste DU bereits raus gemacht 😉

                    1 Reply Last reply Reply Quote 0
                    • apollon77
                      apollon77 last edited by

                      Also dann neue logs bitte und Fälle neu checken.

                      conectas 3 Replies Last reply Reply Quote 0
                      • conectas
                        conectas @apollon77 last edited by conectas

                        Fall 01: 2mal hintereinander gleicher OUT (0171) auf IN (628yxz6)

                        jetzt wird nix (selbst) tr-064-community.0.callmonitor.inbound.json nicht neu geschrieben

                        2019-12-12 19:58:38.454  - debug: tr-064-community.0 (15488) callmonitor raw data: "12.12.19 19:58:38;RING;2;0171xyz;628xyz6;SIP0;\r\n"
                        2019-12-12 19:58:38.456  - debug: tr-064-community.0 (15488) callmonitor handle inbound message: {"caller":"0171xyz","callee":"628xyz6"}
                        2019-12-12 19:58:38.457  - debug: tr-064-community.0 (15488) Set State callmonitor.inbound.timestamp: "12.12.19 19:58:38" / ack=true
                        2019-12-12 19:58:38.460  - debug: tr-064-community.0 (15488) Search number 0049171xyz in phonebook: {"name":"NNAme Stefan","normalizedName":"NNAmestefan","number":"0049171yxz","id":"634","phonebookId":"0"}
                        2019-12-12 19:58:38.463  - debug: tr-064-community.0 (15488) Search number 004930628xyz6 in phonebook: {"name":"NNAme Kerstin","normalizedName":"NNAmekerstin","number":"004930628xyz6","id":"631","phonebookId":"0"}
                        2019-12-12 19:58:38.465  - debug: tr-064-community.0 (15488) Set State callmonitor.toPauseState: "ring" / ack=true
                        2019-12-12 19:58:38.467  - debug: tr-064-community.0 (15488) callMonitor.set: type=inbound caller=0171xyz callee=628xyz6 callerName=NNAme Stefan calleeName=NNAme Kerstin
                        2019-12-12 19:58:38.671  - debug: tr-064-community.0 (15488) Set State callmonitor.ringing: true / ack=true
                        2019-12-12 19:58:38.841  - debug: tr-064-community.0 (15488) setting 0 enable=false
                        2019-12-12 19:58:38.843  - debug: tr-064-community.0 (15488) setting 1 enable=false
                        2019-12-12 19:58:38.843  - debug: tr-064-community.0 (15488) setting 2 enable=false
                        2019-12-12 19:58:38.844  - debug: tr-064-community.0 (15488) setting 3 enable=false
                        2019-12-12 19:58:38.844  - debug: tr-064-community.0 (15488) setting 4 enable=false
                        2019-12-12 19:58:38.845  - debug: tr-064-community.0 (15488) setting 5 enable=true
                        2019-12-12 19:58:38.845  - debug: tr-064-community.0 (15488) setting 6 enable=true
                        2019-12-12 19:58:38.846  - debug: tr-064-community.0 (15488) setting 7 enable=true
                        2019-12-12 19:58:38.846  - debug: tr-064-community.0 (15488) setting 8 enable=true
                        2019-12-12 19:58:38.847  - debug: tr-064-community.0 (15488) setting 9 enable=true
                        2019-12-12 19:58:45.625  - debug: tr-064-community.0 (15488) callmonitor raw data: "12.12.19 19:58:45;CONNECT;2;4;0171xyz;\r\n"
                        2019-12-12 19:58:45.627  - debug: tr-064-community.0 (15488) callmonitor handle connect message: {"caller":"0171xyz","callee":"628xyz6","_type":"inbound","callerName":"NNAme Stefan","calleeName":"NNAme Kerstin","extension":"4"}
                        2019-12-12 19:58:45.628  - debug: tr-064-community.0 (15488) Set State callmonitor.connect.timestamp: "12.12.19 19:58:45" / ack=true
                        2019-12-12 19:58:45.629  - debug: tr-064-community.0 (15488) Set State callmonitor.toPauseState: "connect" / ack=true
                        2019-12-12 19:58:45.630  - debug: tr-064-community.0 (15488) Set State callmonitor.toPauseState-4: "connect" / ack=true
                        2019-12-12 19:58:45.631  - debug: tr-064-community.0 (15488) callMonitor.set: type=connect caller=0171xyz callee=628xyz6 callerName=NNAme Stefan calleeName=NNAme Kerstin
                        2019-12-12 19:58:45.833  - debug: tr-064-community.0 (15488) Set State callmonitor.ringing: false / ack=true
                        2019-12-12 19:58:48.464  - debug: tr-064-community.0 (15488) callmonitor raw data: "12.12.19 19:58:48;DISCONNECT;2;3;\r\n"
                        2019-12-12 19:58:48.466  - debug: tr-064-community.0 (15488) callmonitor handle lastCall message: {"caller":"0171xyz","callee":"628xyz6","_type":"connect","callerName":"NNAme Stefan","calleeName":"NNAme Kerstin","extension":"4","type":"disconnect","duration":3}
                        2019-12-12 19:58:48.468  - debug: tr-064-community.0 (15488) Set State callmonitor.lastCall.type: "disconnect" / ack=true
                        2019-12-12 19:58:48.470  - debug: tr-064-community.0 (15488) Set State callmonitor.lastCall.duration: 3 / ack=true
                        2019-12-12 19:58:48.472  - debug: tr-064-community.0 (15488) Set State callmonitor.lastCall.timestamp: "12.12.19 19:58:48" / ack=true
                        2019-12-12 19:58:48.474  - debug: tr-064-community.0 (15488) Set State callmonitor.lastCall.json: "{\"caller\":\"0171xyz\",\"callee\":\"628xyz6\",\"_type\":\"lastCall\",\"callerName\":\"NNAme Stefan\",\"calleeName\":\"NNAme Kerstin\",\"extension\":\"4\",\"type\":\"disconnect\",\"duration\":3}" / ack=true
                        2019-12-12 19:58:48.476  - debug: tr-064-community.0 (15488) Set State callmonitor.toPauseState: "end" / ack=true
                        2019-12-12 19:58:48.478  - debug: tr-064-community.0 (15488) Set State callmonitor.toPauseState-4: "end" / ack=true
                        2019-12-12 19:58:48.479  - debug: tr-064-community.0 (15488) callMonitor.set: type=lastCall caller=0171xyz callee=628xyz6 callerName=NNAme Stefan calleeName=NNAme Kerstin
                        2019-12-12 19:58:48.851  - debug: tr-064-community.0 (15488) in updateAll
                        2019-12-12 19:58:48.853  - debug: tr-064-community.0 (15488) updateDevices
                        2019-12-12 19:58:48.854  - debug: tr-064-community.0 (15488) forEachConfiguredDevice
                        2019-12-12 19:58:51.289  - debug: tr-064-community.0 (15488) setting 0 enable=false
                        2019-12-12 19:58:51.290  - debug: tr-064-community.0 (15488) setting 1 enable=false
                        2019-12-12 19:58:51.291  - debug: tr-064-community.0 (15488) setting 2 enable=false
                        2019-12-12 19:58:51.291  - debug: tr-064-community.0 (15488) setting 3 enable=false
                        2019-12-12 19:58:51.292  - debug: tr-064-community.0 (15488) setting 4 enable=false
                        2019-12-12 19:58:51.292  - debug: tr-064-community.0 (15488) setting 5 enable=true
                        2019-12-12 19:58:51.292  - debug: tr-064-community.0 (15488) setting 6 enable=true
                        2019-12-12 19:58:51.293  - debug: tr-064-community.0 (15488) setting 7 enable=true
                        2019-12-12 19:58:51.293  - debug: tr-064-community.0 (15488) setting 8 enable=true
                        2019-12-12 19:58:51.295  - debug: tr-064-community.0 (15488) setting 9 enable=true
                        
                        
                        1 Reply Last reply Reply Quote 0
                        • conectas
                          conectas @apollon77 last edited by conectas

                          Fall2:

                          abwechselt:

                          OUT 0171 zu 628xy6
                          danach
                          OUT 0171 zu 628xy7

                          tr-064-community.0.callmonitor.inbound.caller
                          tr-064-community.0.callmonitor.inbound.callerName

                          werden nicht aktualisiert...

                          2019-12-12 20:07:10.493  - debug: tr-064-community.0 (15488) in updateAll
                          2019-12-12 20:07:10.495  - debug: tr-064-community.0 (15488) updateDevices
                          2019-12-12 20:07:10.496  - debug: tr-064-community.0 (15488) forEachConfiguredDevice
                          2019-12-12 20:07:12.959  - debug: tr-064-community.0 (15488) callmonitor raw data: "12.12.19 20:07:12;RING;2;0171xyz;628yxz6;SIP0;\r\n"
                          2019-12-12 20:07:12.960  - debug: tr-064-community.0 (15488) callmonitor handle inbound message: {"caller":"0171xyz","callee":"628yxz6"}
                          2019-12-12 20:07:12.961  - debug: tr-064-community.0 (15488) Set State callmonitor.inbound.callee: "628yxz6" / ack=true
                          2019-12-12 20:07:12.962  - debug: tr-064-community.0 (15488) Set State callmonitor.inbound.timestamp: "12.12.19 20:07:12" / ack=true
                          2019-12-12 20:07:12.963  - debug: tr-064-community.0 (15488) Search number 0049171xyz in phonebook: {"name":"NName Stefan","normalizedName":"NNamestefan","number":"0049171xyz","id":"634","phonebookId":"0"}
                          2019-12-12 20:07:12.964  - debug: tr-064-community.0 (15488) Search number 004930628yxz6 in phonebook: {"name":"NName Kerstin","normalizedName":"NNamekerstin","number":"004930628yxz6","id":"631","phonebookId":"0"}
                          2019-12-12 20:07:12.964  - debug: tr-064-community.0 (15488) Set State callmonitor.inbound.calleeName: "NName Kerstin" / ack=true
                          2019-12-12 20:07:12.965  - debug: tr-064-community.0 (15488) Set State callmonitor.inbound.json: "{\"caller\":\"0171xyz\",\"callee\":\"628yxz6\",\"_type\":\"inbound\",\"callerName\":\"NName Stefan\",\"calleeName\":\"NName Kerstin\"}" / ack=true
                          2019-12-12 20:07:12.966  - debug: tr-064-community.0 (15488) Set State callmonitor.toPauseState: "ring" / ack=true
                          2019-12-12 20:07:12.967  - debug: tr-064-community.0 (15488) callMonitor.set: type=inbound caller=0171xyz callee=628yxz6 callerName=NName Stefan calleeName=NName Kerstin
                          2019-12-12 20:07:13.168  - debug: tr-064-community.0 (15488) Set State callmonitor.ringing: true / ack=true
                          2019-12-12 20:07:13.225  - debug: tr-064-community.0 (15488) setting 0 enable=false
                          2019-12-12 20:07:13.226  - debug: tr-064-community.0 (15488) setting 1 enable=false
                          2019-12-12 20:07:13.227  - debug: tr-064-community.0 (15488) setting 2 enable=false
                          2019-12-12 20:07:13.228  - debug: tr-064-community.0 (15488) setting 3 enable=false
                          2019-12-12 20:07:13.229  - debug: tr-064-community.0 (15488) setting 4 enable=false
                          2019-12-12 20:07:13.229  - debug: tr-064-community.0 (15488) setting 5 enable=true
                          2019-12-12 20:07:13.230  - debug: tr-064-community.0 (15488) setting 6 enable=true
                          2019-12-12 20:07:13.230  - debug: tr-064-community.0 (15488) setting 7 enable=true
                          2019-12-12 20:07:13.231  - debug: tr-064-community.0 (15488) setting 8 enable=true
                          2019-12-12 20:07:13.231  - debug: tr-064-community.0 (15488) setting 9 enable=true
                          2019-12-12 20:07:19.126  - debug: tr-064-community.0 (15488) callmonitor raw data: "12.12.19 20:07:19;CONNECT;2;4;0171xyz;\r\n"
                          2019-12-12 20:07:19.127  - debug: tr-064-community.0 (15488) callmonitor handle connect message: {"caller":"0171xyz","callee":"628yxz6","_type":"inbound","callerName":"NName Stefan","calleeName":"NName Kerstin","extension":"4"}
                          2019-12-12 20:07:19.128  - debug: tr-064-community.0 (15488) Set State callmonitor.connect.callee: "628yxz6" / ack=true
                          2019-12-12 20:07:19.129  - debug: tr-064-community.0 (15488) Set State callmonitor.connect.calleeName: "NName Kerstin" / ack=true
                          2019-12-12 20:07:19.130  - debug: tr-064-community.0 (15488) Set State callmonitor.connect.timestamp: "12.12.19 20:07:19" / ack=true
                          2019-12-12 20:07:19.131  - debug: tr-064-community.0 (15488) Set State callmonitor.connect.json: "{\"caller\":\"0171xyz\",\"callee\":\"628yxz6\",\"_type\":\"connect\",\"callerName\":\"NName Stefan\",\"calleeName\":\"NName Kerstin\",\"extension\":\"4\"}" / ack=true
                          2019-12-12 20:07:19.135  - debug: tr-064-community.0 (15488) Set State callmonitor.toPauseState: "connect" / ack=true
                          2019-12-12 20:07:19.136  - debug: tr-064-community.0 (15488) Set State callmonitor.toPauseState-4: "connect" / ack=true
                          2019-12-12 20:07:19.137  - debug: tr-064-community.0 (15488) callMonitor.set: type=connect caller=0171xyz callee=628yxz6 callerName=NName Stefan calleeName=NName Kerstin
                          2019-12-12 20:07:19.339  - debug: tr-064-community.0 (15488) Set State callmonitor.ringing: false / ack=true
                          2019-12-12 20:07:20.343  - debug: tr-064-community.0 (15488) callmonitor raw data: "12.12.19 20:07:20;DISCONNECT;2;2;\r\n"
                          2019-12-12 20:07:20.344  - debug: tr-064-community.0 (15488) callmonitor handle lastCall message: {"caller":"0171xyz","callee":"628yxz6","_type":"connect","callerName":"NName Stefan","calleeName":"NName Kerstin","extension":"4","type":"disconnect","duration":2}
                          2019-12-12 20:07:20.345  - debug: tr-064-community.0 (15488) Set State callmonitor.lastCall.callee: "628yxz6" / ack=true
                          2019-12-12 20:07:20.346  - debug: tr-064-community.0 (15488) Set State callmonitor.lastCall.calleeName: "NName Kerstin" / ack=true
                          2019-12-12 20:07:20.347  - debug: tr-064-community.0 (15488) Set State callmonitor.lastCall.duration: 2 / ack=true
                          2019-12-12 20:07:20.348  - debug: tr-064-community.0 (15488) Set State callmonitor.lastCall.timestamp: "12.12.19 20:07:20" / ack=true
                          2019-12-12 20:07:20.350  - debug: tr-064-community.0 (15488) Set State callmonitor.lastCall.json: "{\"caller\":\"0171xyz\",\"callee\":\"628yxz6\",\"_type\":\"lastCall\",\"callerName\":\"NName Stefan\",\"calleeName\":\"NName Kerstin\",\"extension\":\"4\",\"type\":\"disconnect\",\"duration\":2}" / ack=true
                          2019-12-12 20:07:20.351  - debug: tr-064-community.0 (15488) Set State callmonitor.toPauseState: "end" / ack=true
                          2019-12-12 20:07:20.352  - debug: tr-064-community.0 (15488) Set State callmonitor.toPauseState-4: "end" / ack=true
                          2019-12-12 20:07:20.353  - debug: tr-064-community.0 (15488) callMonitor.set: type=lastCall caller=0171xyz callee=628yxz6 callerName=NName Stefan calleeName=NName Kerstin
                          2019-12-12 20:07:23.232  - debug: tr-064-community.0 (15488) in updateAll
                          2019-12-12 20:07:23.234  - debug: tr-064-community.0 (15488) updateDevices
                          2019-12-12 20:07:23.235  - debug: tr-064-community.0 (15488) forEachConfiguredDevice
                          
                          
                          1 Reply Last reply Reply Quote 0
                          • conectas
                            conectas @apollon77 last edited by

                            @apollon77 sagte in Test Adapter tr-064-community v1.0.x:

                            Also dann neue logs bitte und Fälle neu checken.

                            Ich würde bei Tests dieses Script mitlaufen lassen.. oder bringt das in deinen Logs dann zu viel durcheinander?

                            // ------------------------------------------------
                            let tr064 = "tr-064-community.0.callmonitor.";
                            
                            var callerNumber    // Anrufernummer
                            var callerName      // Name des Anrufers
                            var calleeNumber    // angerufene Nummer
                            var calleeName      // angerufener Name
                            var callAllDataJson = { "caller": "caller Nr", "callee": "callee Nr", "_type": "_type inbound", "callerName": "Caller Name", "calleeName": "Callee Name" };
                            
                            on({ id: "tr-064-community.0.callmonitor.toPauseState", change: "any" }, function (obj) {
                                console.log('---> Ringing?: ');
                            
                                let sToPauseState = getState(tr064 + "toPauseState").val;
                                if ("ring" == sToPauseState) {
                            
                                    callerNumber = getState(tr064 + "inbound.caller").val;          // Anrufernummer
                                    callerName = getState(tr064 + "inbound.callerName").val;        // Name des Anrufers
                            
                                    calleeNumber = getState(tr064 + "inbound.callee").val;          // angerufene Nummer
                                    calleeName = getState(tr064 + "inbound.calleeName").val;        // angerufener Name
                            
                                    callAllDataJson = getState(tr064 + "inbound.json").val;          // json
                            
                                    console.log('---> Ringing? - callerNumber: ' + callerNumber);
                                    console.log('---> Ringing? - callerName: ' + callerName);
                                    console.log('---> Ringing? - calleeNumber: ' + calleeNumber);
                                    console.log('---> Ringing? - calleeName: ' + calleeName);
                                    console.log('---> Ringing? - callAllDataJson: ' + String(callAllDataJson));
                            
                                } else if ("end" == sToPauseState) {
                                    setState(tr064 + "inbound.caller", '');
                                    setState(tr064 + "inbound.callerName", '');
                                    setState(tr064 + "inbound.callee", '');
                                    setState(tr064 + "inbound.calleeName", '');
                                    setState(tr064 + "inbound.json", '');
                                }
                            
                            
                            });
                            
                            1 Reply Last reply Reply Quote 0
                            • apollon77
                              apollon77 last edited by

                              Oooook ... ich hab mal erste DInge verändert. Bitte nochmal neu versuchen vom GitHub, bitte checkt aber auch ob der ganze Rest (also auch IP.Devices und so) noch so tut wie es soll.

                              Und bitte extra Skripte weglassen. Danke

                              conectas 1 Reply Last reply Reply Quote 0
                              • conectas
                                conectas @apollon77 last edited by conectas

                                Knallt...

                                2019-12-12 21:24:14.636  - info: host.raspberrypi "system.adapter.tr-064-community.0" enabled
                                2019-12-12 21:24:14.666  - info: host.raspberrypi instance system.adapter.tr-064-community.0 started with pid 18626
                                2019-12-12 21:24:17.602  - debug: tr-064-community.0 (18626) Redis Objects: Use Redis connection: 127.0.0.1:9001
                                2019-12-12 21:24:17.671  - debug: tr-064-community.0 (18626) Objects client ready ... initialize now
                                2019-12-12 21:24:17.680  - debug: tr-064-community.0 (18626) Objects create PubSub Client
                                2019-12-12 21:24:17.683  - debug: tr-064-community.0 (18626) Objects client initialize lua scripts
                                2019-12-12 21:24:17.712  - debug: tr-064-community.0 (18626) objectDB connected
                                2019-12-12 21:24:17.718  - debug: tr-064-community.0 (18626) Redis States: Use Redis connection: 127.0.0.1:9000
                                2019-12-12 21:24:17.725  - debug: tr-064-community.0 (18626) Objects connected to redis: 127.0.0.1:9001
                                2019-12-12 21:24:17.735  - debug: tr-064-community.0 (18626) States create PubSub Client
                                2019-12-12 21:24:17.738  - debug: tr-064-community.0 (18626) statesDB connected
                                2019-12-12 21:24:17.805  - debug: tr-064-community.0 (18626) States connected to redis: 127.0.0.1:9000
                                2019-12-12 21:24:18.366  - info: tr-064-community.0 (18626) starting. Version 1.2.0 in /opt/iobroker/node_modules/iobroker.tr-064-community, node: v10.17.0
                                2019-12-12 21:24:21.236  - error: tr-064-community.0 (18626) uncaught exception: st is not defined
                                2019-12-12 21:24:21.241  - error: tr-064-community.0 (18626) ReferenceError: st is not defined
                                    at createObjects (/opt/iobroker/node_modules/iobroker.tr-064-community/main.js:102:59)
                                    at /opt/iobroker/node_modules/iobroker.tr-064-community/main.js:940:9
                                    at /opt/iobroker/node_modules/iobroker.tr-064-community/lib/soef.js:1610:28
                                    at /opt/iobroker/node_modules/tr-O64/lib/Service.js:267:17
                                    at Parser.<anonymous> (/opt/iobroker/node_modules/xml2js/lib/parser.js:306:18)
                                    at Parser.emit (events.js:198:13)
                                    at SAXParser.onclosetag (/opt/iobroker/node_modules/xml2js/lib/parser.js:264:26)
                                    at emit (/opt/iobroker/node_modules/sax/lib/sax.js:624:35)
                                    at emitNode (/opt/iobroker/node_modules/sax/lib/sax.js:629:5)
                                    at closeTag (/opt/iobroker/node_modules/sax/lib/sax.js:889:7)
                                2019-12-12 21:24:21.300  - info: tr-064-community.0 (18626) terminating
                                2019-12-12 21:24:21.303  - info: tr-064-community.0 (18626) Terminated (NO_ERROR): Without reason
                                2019-12-12 21:24:21.861  - error: host.raspberrypi Caught by controller[0]: ReferenceError: st is not defined
                                2019-12-12 21:24:21.864  - error: host.raspberrypi Caught by controller[0]:     at createObjects (/opt/iobroker/node_modules/iobroker.tr-064-community/main.js:102:59)
                                2019-12-12 21:24:21.865  - error: host.raspberrypi Caught by controller[0]:     at /opt/iobroker/node_modules/iobroker.tr-064-community/main.js:940:9
                                2019-12-12 21:24:21.866  - error: host.raspberrypi Caught by controller[0]:     at /opt/iobroker/node_modules/iobroker.tr-064-community/lib/soef.js:1610:28
                                2019-12-12 21:24:21.866  - error: host.raspberrypi Caught by controller[0]:     at /opt/iobroker/node_modules/tr-O64/lib/Service.js:267:17
                                2019-12-12 21:24:21.867  - error: host.raspberrypi Caught by controller[0]:     at Parser.<anonymous> (/opt/iobroker/node_modules/xml2js/lib/parser.js:306:18)
                                2019-12-12 21:24:21.867  - error: host.raspberrypi Caught by controller[0]:     at Parser.emit (events.js:198:13)
                                2019-12-12 21:24:21.868  - error: host.raspberrypi Caught by controller[0]:     at SAXParser.onclosetag (/opt/iobroker/node_modules/xml2js/lib/parser.js:264:26)
                                2019-12-12 21:24:21.868  - error: host.raspberrypi Caught by controller[0]:     at emit (/opt/iobroker/node_modules/sax/lib/sax.js:624:35)
                                2019-12-12 21:24:21.869  - error: host.raspberrypi Caught by controller[0]:     at emitNode (/opt/iobroker/node_modules/sax/lib/sax.js:629:5)
                                2019-12-12 21:24:21.869  - error: host.raspberrypi Caught by controller[0]:     at closeTag (/opt/iobroker/node_modules/sax/lib/sax.js:889:7)
                                2019-12-12 21:24:21.870  - info: host.raspberrypi instance system.adapter.tr-064-community.0 terminated with code 0 (NO_ERROR)
                                2019-12-12 21:24:21.870  - info: host.raspberrypi Restart adapter system.adapter.tr-064-community.0 because enabled
                                
                                
                                1 Reply Last reply Reply Quote 0
                                • apollon77
                                  apollon77 last edited by

                                  gggrrrr ... fixed on GitHub. Sorry

                                  conectas 1 Reply Last reply Reply Quote 0
                                  • conectas
                                    conectas @apollon77 last edited by

                                    @apollon77

                                    außer toPauseState werden im callmonitor nix angelegt.. 2x getestet

                                    apollon77 1 Reply Last reply Reply Quote 0
                                    • apollon77
                                      apollon77 @conectas last edited by

                                      @conectas Hast Du wieder ein Log?

                                      conectas 1 Reply Last reply Reply Quote 0
                                      • conectas
                                        conectas @apollon77 last edited by

                                        @apollon77

                                        vom Start .. da steht dann man ganzes Telefonbuch drin 😉

                                        (habe auch Telefon .. falls de nicht tippen magst)

                                        apollon77 1 Reply Last reply Reply Quote 0
                                        • apollon77
                                          apollon77 @conectas last edited by

                                          @conectas In dem Fall interessiert mich ja eher der "call" teil ... Ansonsten per email an iobroker@fischer-ka.de schicken

                                          conectas 1 Reply Last reply Reply Quote 0
                                          • conectas
                                            conectas @apollon77 last edited by

                                            @apollon77

                                            2019-12-12 21:46:45.420  - debug: tr-064-community.0 (23433) callmonitor raw data: "12.12.19 21:46:45;CALL;1;4;254xy;628xy7;SIP3;\r\n"
                                            2019-12-12 21:46:45.422  - debug: tr-064-community.0 (23433) callmonitor handle outbound message: {"caller":"254xy","callee":"628xy7","extension":"4"}
                                            2019-12-12 21:46:45.428  - debug: tr-064-community.0 (23433) Search number 004930254xy in phonebook: {"name":"NNAme Stefan","normalizedName":"NNAmestefan","number":"004930254xy","id":"634","phonebookId":"0"}
                                            2019-12-12 21:46:45.430  - debug: tr-064-community.0 (23433) Search number 004930628xy7 in phonebook: {"name":"NNAme Stefan","normalizedName":"NNAmestefan","number":"004930628xy7","id":"634","phonebookId":"0"}
                                            2019-12-12 21:46:45.431  - debug: tr-064-community.0 (23433) callMonitor.set: type=outbound caller=254xy callee=628xy7 callerName=NNAme Stefan calleeName=NNAme Stefan
                                            2019-12-12 21:46:45.790  - debug: tr-064-community.0 (23433) callmonitor raw data: "12.12.19 21:46:45;RING;2;030254xy;628xy7;SIP1;\r\n"
                                            2019-12-12 21:46:45.792  - debug: tr-064-community.0 (23433) callmonitor handle inbound message: {"caller":"030254xy","callee":"628xy7"}
                                            2019-12-12 21:46:45.794  - debug: tr-064-community.0 (23433) Search number 004930254xy in phonebook: {"name":"NNAme Stefan","normalizedName":"NNAmestefan","number":"004930254xy","id":"634","phonebookId":"0"}
                                            2019-12-12 21:46:45.796  - debug: tr-064-community.0 (23433) Search number 004930628xy7 in phonebook: {"name":"NNAme Stefan","normalizedName":"NNAmestefan","number":"004930628xy7","id":"634","phonebookId":"0"}
                                            2019-12-12 21:46:45.799  - debug: tr-064-community.0 (23433) callMonitor.set: type=inbound caller=030254xy callee=628xy7 callerName=NNAme Stefan calleeName=NNAme Stefan
                                            2019-12-12 21:46:47.697  - debug: tr-064-community.0 (23433) in updateAll
                                            2019-12-12 21:46:47.699  - debug: tr-064-community.0 (23433) updateDevices
                                            2019-12-12 21:46:47.701  - debug: tr-064-community.0 (23433) forEachConfiguredDevice
                                            2019-12-12 21:46:47.779  - debug: tr-064-community.0 (23433) callmonitor raw data: "12.12.19 21:46:47;CONNECT;2;11;030254xy;\r\n"
                                            2019-12-12 21:46:47.781  - debug: tr-064-community.0 (23433) callmonitor handle connect message: {"caller":"030254xy","callee":"628xy7","_type":"inbound","callerName":"NNAme Stefan","calleeName":"NNAme Stefan","extension":"11"}
                                            2019-12-12 21:46:47.790  - debug: tr-064-community.0 (23433) callMonitor.set: type=connect caller=030254xy callee=628xy7 callerName=NNAme Stefan calleeName=NNAme Stefan
                                            2019-12-12 21:46:47.906  - debug: tr-064-community.0 (23433) callmonitor raw data: "12.12.19 21:46:47;CONNECT;1;4;628xy7;\r\n"
                                            2019-12-12 21:46:47.907  - debug: tr-064-community.0 (23433) callmonitor handle connect message: {"caller":"254xy","callee":"628xy7","extension":"4","_type":"outbound","callerName":"NNAme Stefan","calleeName":"NNAme Stefan"}
                                            2019-12-12 21:46:47.911  - debug: tr-064-community.0 (23433) callMonitor.set: type=connect caller=254xy callee=628xy7 callerName=NNAme Stefan calleeName=NNAme Stefan
                                            2019-12-12 21:46:50.443  - debug: tr-064-community.0 (23433) setting 0 enable=false
                                            2019-12-12 21:46:50.444  - debug: tr-064-community.0 (23433) setting 1 enable=false
                                            2019-12-12 21:46:50.444  - debug: tr-064-community.0 (23433) setting 2 enable=false
                                            2019-12-12 21:46:50.445  - debug: tr-064-community.0 (23433) setting 3 enable=false
                                            2019-12-12 21:46:50.445  - debug: tr-064-community.0 (23433) setting 4 enable=false
                                            2019-12-12 21:46:50.446  - debug: tr-064-community.0 (23433) setting 5 enable=true
                                            2019-12-12 21:46:50.446  - debug: tr-064-community.0 (23433) setting 6 enable=true
                                            2019-12-12 21:46:50.446  - debug: tr-064-community.0 (23433) setting 7 enable=true
                                            2019-12-12 21:46:50.447  - debug: tr-064-community.0 (23433) setting 8 enable=true
                                            2019-12-12 21:46:50.448  - debug: tr-064-community.0 (23433) setting 9 enable=true
                                            2019-12-12 21:46:52.331  - debug: tr-064-community.0 (23433) callmonitor raw data: "12.12.19 21:46:52;DISCONNECT;1;5;\r\n"
                                            2019-12-12 21:46:52.341  - debug: tr-064-community.0 (23433) callmonitor handle lastCall message: {"caller":"254xy","callee":"628xy7","extension":"4","_type":"connect","callerName":"NNAme Stefan","calleeName":"NNAme Stefan","type":"disconnect","duration":5}
                                            2019-12-12 21:46:52.347  - debug: tr-064-community.0 (23433) callMonitor.set: type=lastCall caller=254xy callee=628xy7 callerName=NNAme Stefan calleeName=NNAme Stefan
                                            2019-12-12 21:46:52.374  - debug: tr-064-community.0 (23433) callmonitor raw data: "12.12.19 21:46:52;DISCONNECT;2;5;\r\n"
                                            2019-12-12 21:46:52.375  - debug: tr-064-community.0 (23433) callmonitor handle lastCall message: {"caller":"030254xy","callee":"628xy7","_type":"connect","callerName":"NNAme Stefan","calleeName":"NNAme Stefan","extension":"11","type":"disconnect","duration":5}
                                            2019-12-12 21:46:52.380  - debug: tr-064-community.0 (23433) callMonitor.set: type=lastCall caller=030254xy callee=628xy7 callerName=NNAme Stefan calleeName=NNAme Stefan
                                            
                                            
                                            conectas 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            747
                                            Online

                                            31.7k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            community tr-064
                                            88
                                            727
                                            163682
                                            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