Closed surfacescan closed 7 years ago
@miopa +1 for prioritising this issue. It is confusing to people when they restart their voxbox becuase at the moment it shows unknown number and does not show network indicator so ppl think there is no network on their modems when all is needed is a fessbox restart.
Thanks man
Nice - what was the issue? Have you managed to push the update and test on the deployed boxes?
Because of a mistake in the service file, fessbox started before asterisk. https://github.com/FarmRadioHangar/fessbox/commit/6a12b69c99ace4ab05e69fd69c40c02a4d8e0b80
In theory even this should not matter, but that part of the code is a mess and updates are not working properly in some cases. I'll tackle that issue when I get to refactoring.
I pushed the new service file, it's working (nobody complained :)
When all dongles configured properly they don't always appear properly on restart.
Sometimes it displays "unknown" for the number Sometimes it shows no operator info, sometimes it shows operator info properly.
A good old fashioned
systemctl restart fessbox
fixes the issue:My guess is that fessbox is sending the channel state to the UI too early, before the network info and sim state etc has been properly set/determined.