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

Call registries do not show call logs of users #2847

Closed
1 of 6 tasks
voipmanvn opened this issue Dec 24, 2024 · 1 comment
Closed
1 of 6 tasks

Call registries do not show call logs of users #2847

voipmanvn opened this issue Dec 24, 2024 · 1 comment

Comments

@voipmanvn
Copy link

voipmanvn commented Dec 24, 2024

Description

I have installed Tempest version of IVOZprovider.
calls are working fine, can see some live calls. call registries do not have any entry.

I checked mysql database, and can see some records there.


  • IvozProvider version:
    ivozprovider tempest version.
  • Related sections:
    • SIP & Telephony
    • vPBX Functionalities
    • Billing & Invoicing
    • Web Interface
    • API
    • Other

Troubleshooting

mysql data
select * from kam_users_cdrs;
+----+---------------------+---------------------+----------+-----------+--------+----------------+-----------+---------+----------+--------------------------------------------------+------------+--------------------------------------------------+---------+-----------+--------+----------+--------------+--------+
| id | start_time          | end_time            | duration | direction | caller | callee         | diversion | referee | referrer | callid                                           | callidHash | xcallid                                          | brandId | companyId | userId | friendId | responseCode | parsed |
+----+---------------------+---------------------+----------+-----------+--------+----------------+-----------+---------+----------+--------------------------------------------------+------------+--------------------------------------------------+---------+-----------+--------+----------+--------------+--------+
|  1 | 2024-12-20 07:56:21 | 2024-12-20 07:56:27 |    5.418 | outbound  | 101    | 102            | NULL      | NULL    | NULL     | 9a674dcb03aa99bc60f3334d6dc74f31@0:0:0:0:0:0:0:0 | 65aa0235   | NULL                                             |       1 |         1 |      1 |     NULL | 200          |      0 |
|  2 | 2024-12-20 07:56:21 | 2024-12-20 07:56:27 |    6.013 | inbound   | 101    | 102            | NULL      | NULL    | NULL     | 30f69f34-1956-4719-b3d5-df28f743918a  

log show some warning and one error with

Dec 24 08:12:30 debian-s-2vcpu-2gb-amd-nyc3-01 php.onError[90659]: php.INFO: User Deprecated: Since symfony/security-guard 5.3: The "Symfony\Component\Security\Guard\Token\PreAuthenticationGuardToken" class is deprecated, use the new authenticator system instead. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since symfony/security-guard 5.3: The \"Symfony\\Component\\Security\\Guard\\Token\\PreAuthenticationGuardToken\" class is deprecated, use the new authenticator system instead. at /opt/irontec/ivozprovider/library/vendor/symfony/security-guard/Token/PreAuthenticationGuardToken.php:16)"} []
Dec 24 08:12:30 debian-s-2vcpu-2gb-amd-nyc3-01 php.onError[90659]: php.INFO: User Deprecated: Since symfony/security-guard 5.3: The "Symfony\Component\Security\Guard\Token\GuardTokenInterface" class is deprecated, use the new authenticator system instead. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since symfony/security-guard 5.3: The \"Symfony\\Component\\Security\\Guard\\Token\\GuardTokenInterface\" class is deprecated, use the new authenticator system instead. at /opt/irontec/ivozprovider/library/vendor/symfony/security-guard/Token/GuardTokenInterface.php:16)"} []
Dec 24 08:12:30 debian-s-2vcpu-2gb-amd-nyc3-01 php.onError[90659]: php.INFO: User Deprecated: Since symfony/security-core 5.4: Not setting the 5th argument of "Symfony\Component\Security\Core\Authorization\AuthorizationChecker::__construct" to "false" is deprecated. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since symfony/security-core 5.4: Not setting the 5th argument of \"Symfony\\Component\\Security\\Core\\Authorization\\AuthorizationChecker::__construct\" to \"false\" is deprecated. at /opt/irontec/ivozprovider/library/vendor/symfony/security-core/Authorization/AuthorizationChecker.php:50)"} []
Dec 24 08:12:30 debian-s-2vcpu-2gb-amd-nyc3-01 php.onError[90659]: php.INFO: User Deprecated: Since api-platform/core 2.5: The "api_platform.operation_method_resolver" service is deprecated since API Platform 2.5. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.5: The \"api_platform.operation_method_resolver\" service is deprecated since API Platform 2.5. at /opt/irontec/ivozprovider/web/rest/client/var/cache/prod/ContainerOF40AY5/getApiPlatform_OperationMethodResolverService.php:22)"} []
Dec 24 08:12:30 debian-s-2vcpu-2gb-amd-nyc3-01 php.onError[90659]: php.INFO: User Deprecated: The "ApiPlatform\Core\Bridge\Symfony\Routing\OperationMethodResolver" class is deprecated since API Platform 2.5, use the "method" attribute instead. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The \"ApiPlatform\\Core\\Bridge\\Symfony\\Routing\\OperationMethodResolver\" class is deprecated since API Platform 2.5, use the \"method\" attribute instead. at /opt/irontec/ivozprovider/library/vendor/api-platform/core/src/Bridge/Symfony/Routing/OperationMethodResolver.php:38)"} []
Dec 24 08:12:30 debian-s-2vcpu-2gb-amd-nyc3-01 php.onError[90659]: php.INFO: User Deprecated: Passing an instance of ApiPlatform\Core\Api\OperationMethodResolverInterface to ApiPlatform\Core\Hydra\Serializer\DocumentationNormalizer::__construct() is deprecated since version 2.5 and will be removed in 3.0. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Passing an instance of ApiPlatform\\Core\\Api\\OperationMethodResolverInterface to ApiPlatform\\Core\\Hydra\\Serializer\\DocumentationNormalizer::__construct() is deprecated since version 2.5 and will be removed in 3.0. at /opt/irontec/ivozprovider/library/vendor/api-platform/core/src/Hydra/Serializer/DocumentationNormalizer.php:56)"} []
Dec 24 08:12:30 debian-s-2vcpu-2gb-amd-nyc3-01 php.onError[90659]: app.ERROR:  [] []
Dec 24 08:12:30 debian-s-2vcpu-2gb-amd-nyc3-01 php.onError[90659]: security.INFO: An AuthenticationException was thrown; redirecting to authentication entry point. {"exception":"[object] (Lexik\\Bundle\\JWTAuthenticationBundle\\Exception\\ExpiredTokenException(code: 0):  at /opt/irontec/ivozprovider/library/vendor/lexik/jwt-authentication-bundle/Security/Guard/JWTTokenAuthenticator.php:114)"} []

Additional Information

I have built distribution system in Debian 12.
repo setting

cd /etc/apt/sources.list.d
echo deb http://packages.irontec.com/debian tempest main extra > ivozprovider.list
echo deb http://packages.irontec.com/debian tayler main > klear.list

Thanks,

@Kaian
Copy link
Member

Kaian commented Jan 7, 2025

Hi!

As mentioned in the users-group, there is a service in charge of migrating entries of that table to the UsersCdrs table, that is used to show the contents of Call Registries.

Ensure your service (and its timer) is running by running:

systemctl status ivozprovider-users-cdrs.service
systemctl status ivozprovider-users-cdrs.timer

this timer is enabled while instaling ivozprovider package, so it should be enabled and running once every minute

Best regards

@Kaian Kaian closed this as completed Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants