Uploaded image for project: 'ASTPP Community'
  1. ASTPP Community
  2. 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)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: v5.0
    • Fix Version/s: None
    • Labels:
    • Environment:

      Version 5.0 Enterprise Build: 20210730-153339

    • 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]

        Attachments

          Activity

            People

            Assignee:
            neetu.nogia Neetu Nogia
            Reporter:
            brebu.radu@gmail.com Radu Theodor
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: