[ASTPPCOM-855] When mod_nibblebill / realtime billing is used and account balance drop lower then minimum - Action Type: warning can not be executed and generate hang up with status:DESTINATION_OUT_OF_ORDER ( Version 5.0 Enterprise Build : 20210730-153339) Created: 22/Dec/21  Updated: 31/Dec/21  Resolved: 31/Dec/21

Status: Closed
Project: ASTPP Community
Component/s: None
Affects Version/s: v5.0
Fix Version/s: None

Type: Bug Priority: Medium
Reporter: Radu Theodor Assignee: Neetu Nogia
Resolution: Done Votes: 0
Labels: new_bug
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Version 5.0 Enterprise Build: 20210730-153339


Attachments: PNG File image-2021-12-24-15-31-40-495.png    
Reproducibility: always
Category: Functional
Edition: Community

 Description   

2021-12-22 14:08:49.181285 98.33% [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.99000 per minute to account 5
2021-12-22 14:08:49.181285 98.33% [INFO] mod_nibblebill.c:565 Beginning new billing on 548c7aaf-56be-4ac2-8408-fc8d34a186e9
2021-12-22 14:08:49.181285 98.33% [DEBUG] mod_nibblebill.c:573 20 seconds passed since last bill time of 2021-12-22 14:08:28
2021-12-22 14:08:49.181285 98.33% [DEBUG] mod_nibblebill.c:590 Billing $0.346500 to 5 (Call: 548c7aaf-56be-4ac2-8408-fc8d34a186e9 / 0.000000 so far)
2021-12-22 14:08:49.181285 98.33% [DEBUG] mod_nibblebill.c:395 Doing update query
[Update accounts SET balance=IF(posttoexternal=1,balance+0.346500,balance-0.346500) WHERE id='5']
2021-12-22 14:08:49.181285 98.33% [DEBUG] mod_nibblebill.c:422 Doing lookup query
[SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='5']
2021-12-22 14:08:49.181285 98.33% [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 5 (balance = 1.702500)
2021-12-22 14:08:49.181285 98.33% [DEBUG] mod_nibblebill.c:645 Balance of 1.702500 fell below low balance amount of 5.000000! (Account 5)
2021-12-22 14:08:49.181285 98.33% [ERR] switch_core_session.c:2770 Invalid Application play
2021-12-22 14:08:49.181285 98.33% [NOTICE] switch_core_session.c:2771 Hangup sofia/default/40727388998@136.244.104.17 [CS_EXECUTE] [DESTINATION_OUT_OF_ORDER]
2021-12-22 14:08:49.181285 98.33% [ERR] mod_nibblebill.c:649 Low balance action didn't execute
2021-12-22 14:08:49.181285 98.33% [DEBUG] switch_ivr_bridge.c:820 sofia/default/40727388998@136.244.104.17 ending bridge by request from write function
2021-12-22 14:08:49.181285 98.33% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/40725593388]
2021-12-22 14:08:49.181285 98.33% [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/40725593388 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]



 Comments   
Comment by Neetu Nogia [ 24/Dec/21 ]

Hello Radu Theodor

Goodday,

Can you please give us a real-time billing configuration screenshot, so we can check accordingly?

Thank you

 

Comment by Radu Theodor [ 24/Dec/21 ]

Comment by Radu Theodor [ 24/Dec/21 ]

It is related to "play the warning message" for "Low Balance Threshold"

 

Thanks!

Comment by Neetu Nogia [ 30/Dec/21 ]

Hello Radu Theodor

Goodday,

We have already checked your concern in the support ticket and updated you over the ticket if anything else can we are closing this ticket because it is not community-related. SUPPORT-3507 

Thank You

Comment by Neetu Nogia [ 31/Dec/21 ]

Hello,

We are closing this ticket.

Feel free to raise a support ticket with us in case if you have any concerns regarding this ticket.

Thank you

Generated at Sat Feb 10 07:20:52 CET 2024 using Jira 8.13.3#813003-sha1:22ebedbb75c99b147c66f14e031dd8a2d214753a.