Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fbcallrouter startet nicht #14

Closed
vopi61 opened this issue Mar 7, 2023 · 6 comments
Closed

fbcallrouter startet nicht #14

vopi61 opened this issue Mar 7, 2023 · 6 comments

Comments

@vopi61
Copy link

vopi61 commented Mar 7, 2023

Hallo blacksenator (Sorry for writing in german),
habe deine Installationsanleitung Punkt für Punkt befolgt. Leider startet das Programm nicht. Nach Eingabe von: "php fbcallrouter run" kommt immer:

I followed your installation guide step by step. Unfortunately the program does not start. After entering: "php fbcallrouter run" always shows up:

PHP Fatal error: Uncaught Error: Call to a member function GetPhonebookList() on null in /home/vopi/fbcallrouter/vendor/blacksenator/fritzsoap/src/x_contact.php:253

Stack trace:
#0 /home/vopi/fbcallrouter/src/callrouter/phonetools.php(77): blacksenator\fritzsoap\x_contact->getPhonebookList()
#1 /home/vopi/fbcallrouter/src/callrouter/phonetools.php(63): blacksenator\callrouter\phonetools->getPhoneBookList()
#2 /home/vopi/fbcallrouter/src/callrouter/callrouter.php(75): blacksenator\callrouter\phonetools->__construct(Array)
#3 /home/vopi/fbcallrouter/src/functions.php(16): blacksenator\callrouter\callrouter->__construct(Array, Array)
#4 /home/vopi/fbcallrouter/src/RunCommand.php(32): blacksenator\callRouting(Array, Array)
#5 /home/vopi/fbcallrouter/vendor/symfony/console/Command/Command.php(255): blacksenator\RunCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#6 /home/vopi/fbcallrouter/vendor/symfony/console/Application.php(992): Symfony\Component\Consol in /home/vopi/fbcallrouter/vendor/blacksenator/fritzsoap/src/x_contact.php on line 253

kannst du weiterhelfen?

Gruß Stefan

@blacksenator
Copy link
Owner

blacksenator commented Mar 7, 2023

Hallo Stefan,

der Fehler tritt bei der Initialisierung auf. Mit x_contact->getPhonebookList() werden alle aktuell auf der FRITZ!Box verfügbaren Telefonbuch-Indices eingelesen, um zu prüfen, ob z.b. der Index des Spam-Telefonbuchs überhaupt valide ist.
Da es sich um eine SOAP- bzw- TR-064-Routine handelt, vermute ich, dass der verwendete User nicht über die notwendigen Rechte verfügt.
Minimal muss der User berechtigt sein für:

  • Sprachnachrichten, Faxnachrichten, FRITZ!App Fon und Anrufliste

Der von mir "empfohlene" User dslf_config - das habe ich gerade getestet - funktioniert (anders als früher) nicht mehr. Ich passe die README kurzfristig an.

Beste Grüße

Black Senator

@vopi61
Copy link
Author

vopi61 commented Mar 7, 2023

guten Abend,
ich habe in die config.php als user: Boxadmin eingetragen mit dem entsprechenden PW. Außerdem ist callmonitor offen. Spamtelefonbuch ist auch angelegt (2ter Tab also mit 1 eingetragen in config.php), whitelist ist 3ter Tab also mit 2 eingetragen in config.php.

Rechte

@blacksenator
Copy link
Owner

Hmmm, dann wirds schwierig, Dann kann es an allem möglichen liegen.
Du findest meine Adresse im Coding: am besten schreibst Du mich mal PM an und wir verlagern die Konversation dahin.

@vopi61
Copy link
Author

vopi61 commented Mar 7, 2023

weiß nicht wo ich deine mail-adresse finden kann. Was meinst du mit Coding? Sorry :)

@blacksenator
Copy link
Owner

steht u.a. in der fritzsoap.php

@blacksenator
Copy link
Owner

@vopi61 thanks for your patience and testing. We found out that the notes on the PHP version and the version information for Composer were no longer up to date and could cause incompatibilities. Fixed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants