From Prashant kumar, 3 Years ago, written in FreeSWITCH.
- go back
Embed
Viewing differences between and Inbound-DID-local call getting balance deduct
  1. freeswitch@gibfibre>
  2. freeswitch@gibfibre>
  3. 2021-09-22 10:53:06.694784 [INFO] switch_stun.c:897 External ip address detected using STUN: 46.101.114.158
  4. 2021-09-22 10:53:06.854783 [INFO] switch_stun.c:897 External ip address detected using STUN: 46.101.114.158
  5. 2021-09-22 10:53:06.894796 [NOTICE] switch_loadable_module.c:1263 Deleting Application 'nibblebill'
  6. 2021-09-22 10:53:06.894796 [DEBUG] switch_loadable_module.c:1265 Write lock interface 'nibblebill' to wait for existing references.
  7. 2021-09-22 10:53:06.894796 [NOTICE] switch_loadable_module.c:1318 Deleting API Function 'nibblebill'
  8. 2021-09-22 10:53:06.894796 [DEBUG] switch_loadable_module.c:1320 Write lock interface 'nibblebill' to wait for existing references.
  9. 2021-09-22 10:53:06.894796 [CONSOLE] switch_loadable_module.c:2396 Stopping: mod_nibblebill
  10. 2021-09-22 10:53:06.914786 [INFO] switch_time.c:1430 Timezone reloaded 1750 definitions
  11. 2021-09-22 10:53:06.914786 [DEBUG] switch_event.c:2187 Event Binding deleted for mod_nibblebill:SESSION_HEARTBEAT
  12. 2021-09-22 10:53:06.914786 [CONSOLE] switch_loadable_module.c:2416 mod_nibblebill unloaded.
  13. 2021-09-22 10:53:06.914786 [INFO] mod_nibblebill.c:224 odbc_dsn is ASTPP:astppuser:AY22*VQJl6jpKmYpeMCX
  14. 2021-09-22 10:53:06.914786 [DEBUG] mod_nibblebill.c:284 dsn is "ASTPP:astppuser:AY22*VQJl6jpKmYpeMCX"
  15. 2021-09-22 10:53:06.914786 [CONSOLE] switch_loadable_module.c:1803 Successfully Loaded [mod_nibblebill]
  16. 2021-09-22 10:53:06.914786 [NOTICE] switch_loadable_module.c:350 Adding Application 'nibblebill'
  17. 2021-09-22 10:53:06.914786 [NOTICE] switch_loadable_module.c:412 Adding API Function 'nibblebill'
  18. 2021-09-22 10:53:12.494801 [NOTICE] switch_channel.c:1118 New Channel sofia/default/7177422211@18.220.27.122 [491cbcb1-cdfd-4c20-9b5d-2319d2dd6254]
  19. 2021-09-22 10:53:12.494801 [DEBUG] switch_core_state_machine.c:585 (sofia/default/7177422211@18.220.27.122) Running State Change CS_NEW (Cur 1 Tot 314)
  20. 2021-09-22 10:53:12.494801 [DEBUG] sofia.c:10280 sofia/default/7177422211@18.220.27.122 receiving invite from 46.101.114.158:5060 version: 1.10.5 -release-17-25569c1631 64bit
  21. 2021-09-22 10:53:12.494801 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 46.101.114.158:0.
  22. 2021-09-22 10:53:12.494801 [DEBUG] sofia.c:10403 IP 46.101.114.158 Approved by acl "default[]". Access Granted.
  23. 2021-09-22 10:53:12.494801 [DEBUG] sofia.c:7326 Channel sofia/default/7177422211@18.220.27.122 entering state [received][100]
  24. 2021-09-22 10:53:12.494801 [DEBUG] sofia.c:7336 Remote SDP:
  25. v=0
  26. o=FreeSWITCH 1632285925 1632285926 IN IP4 18.220.27.122
  27. s=FreeSWITCH
  28. c=IN IP4 18.220.27.122
  29. t=0 0
  30. m=audio 22066 RTP/AVP 8 101
  31. a=rtpmap:8 PCMA/8000
  32. a=rtpmap:101 telephone-event/8000
  33. a=fmtp:101 0-16
  34. a=ptime:20
  35.  
  36. 2021-09-22 10:53:12.494801 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  37. 2021-09-22 10:53:12.494801 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  38. 2021-09-22 10:53:12.494801 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  39. 2021-09-22 10:53:12.494801 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
  40. 2021-09-22 10:53:12.494801 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/7177422211@18.220.27.122 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  41. 2021-09-22 10:53:12.494801 [DEBUG] switch_core_codec.c:111 sofia/default/7177422211@18.220.27.122 Original read codec set to PCMA:8
  42. 2021-09-22 10:53:12.494801 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
  43. 2021-09-22 10:53:12.494801 [DEBUG] switch_core_media.c:5911 sofia/default/7177422211@18.220.27.122 Set 2833 dtmf send payload to 101 recv payload to 101
  44. 2021-09-22 10:53:12.494801 [DEBUG] sofia.c:7760 (sofia/default/7177422211@18.220.27.122) State Change CS_NEW -> CS_INIT
  45. 2021-09-22 10:53:12.494801 [DEBUG] switch_core_state_machine.c:604 (sofia/default/7177422211@18.220.27.122) State NEW
  46. 2021-09-22 10:53:12.494801 [DEBUG] switch_core_state_machine.c:585 (sofia/default/7177422211@18.220.27.122) Running State Change CS_INIT (Cur 1 Tot 314)
  47. 2021-09-22 10:53:12.494801 [DEBUG] switch_core_state_machine.c:628 (sofia/default/7177422211@18.220.27.122) State INIT
  48. 2021-09-22 10:53:12.494801 [DEBUG] mod_sofia.c:93 sofia/default/7177422211@18.220.27.122 SOFIA INIT
  49. 2021-09-22 10:53:12.494801 [DEBUG] switch_core_state_machine.c:40 sofia/default/7177422211@18.220.27.122 Standard INIT
  50. 2021-09-22 10:53:12.494801 [DEBUG] switch_core_state_machine.c:48 (sofia/default/7177422211@18.220.27.122) State Change CS_INIT -> CS_ROUTING
  51. 2021-09-22 10:53:12.494801 [DEBUG] switch_core_state_machine.c:628 (sofia/default/7177422211@18.220.27.122) State INIT going to sleep
  52. 2021-09-22 10:53:12.494801 [DEBUG] switch_core_state_machine.c:585 (sofia/default/7177422211@18.220.27.122) Running State Change CS_ROUTING (Cur 1 Tot 314)
  53. 2021-09-22 10:53:12.494801 [DEBUG] switch_channel.c:2332 (sofia/default/7177422211@18.220.27.122) Callstate Change DOWN -> RINGING
  54. 2021-09-22 10:53:12.514788 [DEBUG] switch_core_state_machine.c:644 (sofia/default/7177422211@18.220.27.122) State ROUTING
  55. 2021-09-22 10:53:12.514788 [DEBUG] mod_sofia.c:154 sofia/default/7177422211@18.220.27.122 SOFIA ROUTING
  56. 2021-09-22 10:53:12.514788 [DEBUG] switch_core_state_machine.c:236 sofia/default/7177422211@18.220.27.122 Standard ROUTING
  57. 2021-09-22 10:53:12.514788 [INFO] mod_dialplan_xml.c:637 Processing 7177422211 <7177422211>->990740 in context default
  58. 2021-09-22 10:53:12.514788 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  59. 2021-09-22 10:53:12.514788 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  60. 2021-09-22 10:53:12.514788 [INFO] switch_cpp.cpp:1447 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  61. 2021-09-22 10:53:12.514788 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 990740
  62. 2021-09-22 10:53:12.514788 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '990740' limit 1
  63. 2021-09-22 10:53:12.534790 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '990740' AND status=0 limit 1
  64. 2021-09-22 10:53:12.534790 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '990740' and status=0 LIMIT 1
  65. 2021-09-22 10:53:12.534790 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FAXER] Custom Caller ID
  66. 2021-09-22 10:53:12.534790 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number  : 7177422211 / <null>
  67. 2021-09-22 10:53:12.534790 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="990740" LIMIT 1
  68. 2021-09-22 10:53:12.534790 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : inbound
  69. 2021-09-22 10:53:12.534790 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 3348757062]
  70. 2021-09-22 10:53:12.534790 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =990740
  71. 2021-09-22 10:53:12.534790 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3348757062" AND deleted = 0 limit 1
  72. 2021-09-22 10:53:12.554785 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="990740" AND (accountid = 0 OR status = 1) LIMIT 1
  73. 2021-09-22 10:53:12.554785 [NOTICE] switch_cpp.cpp:1447 [ASTPP] Localization Id: 1
  74. 2021-09-22 10:53:12.554785 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 1 AND status=0 limit 1
  75. 2021-09-22 10:53:12.554785 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  76. 2021-09-22 10:53:12.554785 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 11
  77. 2021-09-22 10:53:12.554785 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE P.is_terminated = 0 AND (patterns = '^990740.*' OR patterns = '^99074.*' OR patterns = '^9907.*' OR patterns = '^990.*' OR patterns = '^99.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 11 ORDER BY LENGTH(PKGPTR.patterns) DESC
  78. 2021-09-22 10:53:12.554785 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="990740" AND A.accountid = '11' limit 1
  79. 2021-09-22 10:53:12.574794 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 990740
  80. 2021-09-22 10:53:12.574794 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="990740" LIMIT 1
  81. 2021-09-22 10:53:12.574794 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call Direction : inbound
  82. 2021-09-22 10:53:12.574794 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '990740' OR number = '99074' OR number = '9907' OR number = '990' OR number = '99' OR number = '9' OR number ='--') OR (number = '990740*' OR number = '99074*' OR number = '9907*' OR number = '990*' OR number = '99*' OR number = '9*' OR number ='--') OR (number = '<null>' OR number = '<null' OR number = '<nul' OR number = '<nu' OR number = '<n' OR number = '<' OR number ='--') OR (number = '<null>*' OR number = '<null*' OR number = '<nul*' OR number = '<nu*' OR number = '<n*' OR number = '<*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  83. 2021-09-22 10:53:12.574794 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1
  84. 2021-09-22 10:53:12.574794 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '990740' OR routing_prefix = '99074' OR routing_prefix = '9907' OR routing_prefix = '990' OR routing_prefix = '99' OR routing_prefix = '9' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  85. 2021-09-22 10:53:12.574794 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information ===================
  86. 2021-09-22 10:53:12.574794 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 11
  87. 2021-09-22 10:53:12.574794 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 3348757062
  88. 2021-09-22 10:53:12.574794 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 5
  89. 2021-09-22 10:53:12.574794 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  90. 2021-09-22 10:53:12.574794 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 10
  91. 2021-09-22 10:53:12.574794 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0
  92. 2021-09-22 10:53:12.574794 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
  93. 2021-09-22 10:53:12.574794 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 10 AND status = 0
  94. 2021-09-22 10:53:12.574794 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :inbound
  95. 2021-09-22 10:53:12.574794 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="990740" LIMIT 1
  96. 2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP]  Call Direction : inbound
  97. 2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
  98. 2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 57
  99. 2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
  100. 2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 0
  101. 2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.00000
  102. 2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] Comment : 990740
  103. 2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 85
  104. 2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 11
  105. 2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
  106. 2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your5 balance Accountid 11 !!!
  107. 2021-09-22 10:53:12.594803 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 10000000
  108. 2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] NIBBLE ID 11
  109. 2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] NIBBLE RATE 0.00000
  110. 2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] NIBBLE CONNECT COST 0.00000
  111. 2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] NIBBLE INITIAL INC 0
  112. 2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] NIBBLE INC 0
  113. 2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Max Length Duration : 10000000 minutes
  114. 2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] INB_FREE:TRUE
  115. 2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] free_inbound:0
  116. 2021-09-22 10:53:12.594803 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 11 AND status=0 LIMIT 1
  117. 2021-09-22 10:53:12.594803 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "11" AND deleted = 0 limit 1
  118. 2021-09-22 10:53:12.594803 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 10 AND status = 0
  119. 2021-09-22 10:53:12.594803 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :outbound
  120. 2021-09-22 10:53:12.594803 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 10 AND status = 0
  121. 2021-09-22 10:53:12.594803 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^990740.*' OR pattern = '^99074.*' OR pattern = '^9907.*' OR pattern = '^990.*' OR pattern = '^99.*' OR pattern = '^9.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 10 OR accountid=11)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  122. 2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP]  Call Direction : outbound
  123. 2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
  124. 2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 259775
  125. 2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
  126. 2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 0
  127. 2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 1.20000
  128. 2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] Comment :
  129. 2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 40
  130. 2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 11
  131. 2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk ID:
  132. 2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] Routing type:
  133. 2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
  134. 2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your5 balance Accountid 11 !!!
  135. 2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Actual CustomerInfo XML:11
  136. 2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Userinfo XML:11
  137. 2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Actual CustomerInfo XML : 11
  138. 2021-09-22 10:53:12.594803 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 11 limit 1
  139. 2021-09-22 10:53:12.594803 [WARNING] switch_cpp.cpp:1447 [ASTPP] [user_domain] User Domain : gibfibre.astppbilling.org
  140. 2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP]  Maxlength : 10000000
  141. 2021-09-22 10:53:12.594803 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  142. 2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] [XML] Customer Recording Flag : 1
  143. 2021-09-22 10:53:12.594803 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] Call Direction : inbound
  144. 2021-09-22 10:53:12.594803 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET get_record_info] Query :SELECT sip_device_routing.is_recording FROM sip_devices AS sip_devices, accounts AS accounts ,sip_device_routing AS sip_device_routing  WHERE sip_devices.accountid = accounts.id AND sip_devices.id = sip_device_routing.sip_device_id AND sip_devices.username = "8964328186" AND accounts.status = 0
  145. 2021-09-22 10:53:12.594803 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 11 limit 1
  146. 2021-09-22 10:53:12.594803 [WARNING] switch_cpp.cpp:1447 [ASTPP] [XML] User Domain : gibfibre.astppbilling.org
  147. 2021-09-22 10:53:12.594803 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 11  and status = 0 limit 1
  148. 2021-09-22 10:53:12.614793 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [XML] Custom Function Name :: custom_inbound_0
  149. 2021-09-22 10:53:12.614793 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="8964328186"  AND domains.domain="gibfibre.astppbilling.org" limit 1
  150. 2021-09-22 10:53:12.614793 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 186 limit 1
  151. 2021-09-22 10:53:12.614793 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
  152. 2021-09-22 10:53:12.614793 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
  153. 2021-09-22 10:53:12.634788 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [NOTIFY] START:
  154. 2021-09-22 10:53:12.634788 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="8964328186"  AND domains.domain="gibfibre.astppbilling.org" limit 1
  155. 2021-09-22 10:53:12.634788 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX_SIP_ROUTING] SIP ID : 186
  156. 2021-09-22 10:53:12.634788 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 186 limit 1
  157. 2021-09-22 10:53:12.634788 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
  158. 2021-09-22 10:53:12.634788 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
  159. 2021-09-22 10:53:12.634788 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX_SIP_ROUTING] Call Forwarding Flag : 1
  160. 2021-09-22 10:53:12.634788 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX_SIP_ROUTING] SIP Call Forwarding Disable
  161. 2021-09-22 10:53:12.634788 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [NOTIFY] START:
  162. 2021-09-22 10:53:12.634788 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="8964328186"  AND domains.domain="gibfibre.astppbilling.org" limit 1
  163. 2021-09-22 10:53:12.634788 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 186 limit 1
  164. 2021-09-22 10:53:12.634788 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  165. <document type="freeswitch/xml">
  166. <section name="dialplan" description="ASTPP Dialplan">
  167. <context name="default">
  168. <extension name="990740">
  169. <condition field="destination_number" expression="990740">
  170. <action application="set" data="effective_destination_number=990740"/>
  171. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  172. <action application="set" data="bridge_pre_execute_bleg_data=+600000000 normal_clearing"/>
  173. <action application="set" data="nibble_account=11"/>
  174. <action application="set" data="nibble_rate=0.00000"/>
  175. <action application="set" data="nibble_increment=0"/>
  176. <action application="set" data="nibble_minimum=0.00000"/>
  177. <action application="nibblebill" data="heartbeat 10"/>
  178. <action application="set" data="callstart=2021-09-22 10:53:12"/>
  179. <action application="set" data="hangup_after_bridge=true"/>
  180. <action application="set" data="continue_on_fail=TRUE"/>
  181. <action application="set" data="account_id=11"/>
  182. <action application="set" data="parent_id=0"/>
  183. <action application="set" data="entity_id=0"/>
  184. <action application="set" data="call_processed=internal"/>
  185. <action application="set" data="call_direction=inbound"/>
  186. <action application="set" data="accountname=default"/>
  187. <action application="set" data="filename1=astpp.pbx.lua"/>
  188. <action application="set" data="origination_rates_did=ID:57|CODE:^990740.*|DESTINATION:990740|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:85|ACCID:11"/>
  189. <action application="set" data="origination_rates=ID:259775|CODE:^99.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.20000|INC:1|INITIALBLOCK:1|RATEGROUP:10|MARKUP:0|CI:40|ACCID:11"/>
  190. <action application="set" data="original_caller_id_name=7177422211"/>
  191. <action application="set" data="effective_caller_id_name=7177422211"/>
  192. <action application="set" data="receiver_accid=11"/>
  193. <action application="export" data="domain_name=gibfibre.astppbilling.org"/>
  194. <action application="export" data="sip_to_host=gibfibre.astppbilling.org"/>
  195. <action application="export" data="presence_data=x|||Pk_call_DID_hold(3348757062)|||||||||DID|||18.220.27.122"/>
  196. <action application="export" data="call_type=0"/>
  197. <action application="set" data="calltype=DID-LOCAL"/>
  198. <action application="db" data="insert/pickup_any_group_${callgroup}/8964328186/${uuid}"/>
  199. <action application="set" data="dialed_extension=transfer_call"/>
  200. <action application="export" data="dialed_extension=transfer_call"/>
  201. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  202. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  203. <action application="set" data="hangup_after_bridge=true"/>
  204. <action application="export" data="did_user_domain=gibfibre.astppbilling.org"/>
  205. <action application="set" data="sip_h_X-call-type=did"/>
  206. <action application="set" data="sip_h_X-did-call-type=DID-LOCAL"/>
  207. <action application="db" data="insert/pickup_any_group_${callgroup}/8964328186/${uuid}"/>
  208. <action application="set" data="dialed_extension=transfer_call"/>
  209. <action application="export" data="dialed_extension=transfer_call"/>
  210. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  211. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  212. <action application="set" data="transfer_ringback=$${hold_music}"/>
  213. <action application="set" data="hangup_after_bridge=true"/>
  214. <action application="bridge" data="{sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=11}[leg_timeout=1000000 ] sofia/${sofia_profile_name}/8964328186@gibfibre.astppbilling.org:5060"/>
  215. <action application="set" data="on_busy_flag=1"/>
  216. <action application="set" data="on_busy_destination="/>
  217. <action application="set" data="no_answer_flag=1"/>
  218. <action application="set" data="no_answer_destination="/>
  219. <action application="set" data="not_register_flag=1"/>
  220. <action application="set" data="not_register_destination="/>
  221. <action application="set" data="opensips_flag=0"/>
  222. <action application="set" data="variable_sip_to_host=gibfibre.astppbilling.org"/>
  223. <action application="set" data="opensips_domain=46.101.1.8"/>
  224. <action application="set" data="leg_timeout=1000000"/>
  225. <action application="set" data="userinfo_id=11"/>
  226. <action application="set" data="sip_destination_number=8964328186"/>
  227. <action application="set" data="did_number=8964328186"/>
  228. <action application="set" data="user_domain=gibfibre.astppbilling.org"/>
  229. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
  230. <action application="set" data="on_busy_flag=1"/>
  231. <action application="set" data="on_busy_destination="/>
  232. <action application="set" data="no_answer_flag=1"/>
  233. <action application="set" data="no_answer_destination="/>
  234. <action application="set" data="not_register_flag=1"/>
  235. <action application="set" data="not_register_destination="/>
  236. <action application="set" data="opensips_flag=0"/>
  237. <action application="set" data="variable_sip_to_host=gibfibre.astppbilling.org"/>
  238. <action application="set" data="opensips_domain=46.101.1.8"/>
  239. <action application="set" data="leg_timeout=1000000"/>
  240. <action application="set" data="userinfo_id=11"/>
  241. <action application="set" data="sip_destination_number=8964328186"/>
  242. <action application="set" data="destination_number=990740"/>
  243. <action application="set" data="did_number=990740"/>
  244. <action application="set" data="user_domain=gibfibre.astppbilling.org"/>
  245. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
  246. <condition field="${cond(${user_data 8964328186@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
  247. <action application="answer"/>
  248. <action application="export" data="voicemail_alternate_greet_id=990740"/>
  249. <action application="voicemail" data="default $${domain_name} 8964328186"/>
  250. <anti-action application="hangup" data="${originate_disposition}"/>
  251. </condition>
  252. </condition>
  253. </extension>
  254. </context>
  255. </section>
  256. </document>
  257. Dialplan: sofia/default/7177422211@18.220.27.122 parsing [default->990740] continue=false
  258. Dialplan: sofia/default/7177422211@18.220.27.122 Regex (PASS) [990740] destination_number(990740) =~ /990740/ break=on-false
  259. Dialplan: sofia/default/7177422211@18.220.27.122 Action set(effective_destination_number=990740)
  260. Dialplan: sofia/default/7177422211@18.220.27.122 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  261. Dialplan: sofia/default/7177422211@18.220.27.122 Action set(bridge_pre_execute_bleg_data=+600000000 normal_clearing)
  262. Dialplan: sofia/default/7177422211@18.220.27.122 Action set(nibble_account=11)
  263. Dialplan: sofia/default/7177422211@18.220.27.122 Action set(nibble_rate=0.00000)
  264. Dialplan: sofia/default/7177422211@18.220.27.122 Action set(nibble_increment=0)
  265. Dialplan: sofia/default/7177422211@18.220.27.122 Action set(nibble_minimum=0.00000)
  266. Dialplan: sofia/default/7177422211@18.220.27.122 Action nibblebill(heartbeat 10)
  267. Dialplan: sofia/default/7177422211@18.220.27.122 Action set(callstart=2021-09-22 10:53:12)
  268. Dialplan: sofia/default/7177422211@18.220.27.122 Action set(hangup_after_bridge=true)
  269. Dialplan: sofia/default/7177422211@18.220.27.122 Action set(continue_on_fail=TRUE)
  270. Dialplan: sofia/default/7177422211@18.220.27.122 Action set(account_id=11)
  271. Dialplan: sofia/default/7177422211@18.220.27.122 Action set(parent_id=0)
  272. Dialplan: sofia/default/7177422211@18.220.27.122 Action set(entity_id=0)
  273. Dialplan: sofia/default/7177422211@18.220.27.122 Action set(call_processed=internal)
  274. Dialplan: sofia/default/7177422211@18.220.27.122 Action set(call_direction=inbound)
  275. Dialplan: sofia/default/7177422211@18.220.27.122 Action set(accountname=default)
  276. Dialplan: sofia/default/7177422211@18.220.27.122 Action set(filename1=astpp.pbx.lua)
  277. Dialplan: sofia/default/7177422211@18.220.27.122 Action set(origination_rates_did=ID:57|CODE:^990740.*|DESTINATION:990740|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:85|ACCID:11)
  278. Dialplan: sofia/default/7177422211@18.220.27.122 Action set(origination_rates=ID:259775|CODE:^99.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.20000|INC:1|INITIALBLOCK:1|RATEGROUP:10|MARKUP:0|CI:40|ACCID:11)
  279. Dialplan: sofia/default/7177422211@18.220.27.122 Action set(original_caller_id_name=7177422211)
  280. Dialplan: sofia/default/7177422211@18.220.27.122 Action set(effective_caller_id_name=7177422211)
  281. Dialplan: sofia/default/7177422211@18.220.27.122 Action set(receiver_accid=11)
  282. Dialplan: sofia/default/7177422211@18.220.27.122 Action export(domain_name=gibfibre.astppbilling.org)
  283. Dialplan: sofia/default/7177422211@18.220.27.122 Action export(sip_to_host=gibfibre.astppbilling.org)
  284. Dialplan: sofia/default/7177422211@18.220.27.122 Action export(presence_data=x|||Pk_call_DID_hold(3348757062)|||||||||DID|||18.220.27.122)
  285. Dialplan: sofia/default/7177422211@18.220.27.122 Action export(call_type=0)
  286. Dialplan: sofia/default/7177422211@18.220.27.122 Action set(calltype=DID-LOCAL)
  287. Dialplan: sofia/default/7177422211@18.220.27.122 Action db(insert/pickup_any_group_${callgroup}/8964328186/${uuid})
  288. Dialplan: sofia/default/7177422211@18.220.27.122 Action set(dialed_extension=transfer_call)
  289. Dialplan: sofia/default/7177422211@18.220.27.122 Action export(dialed_extension=transfer_call)
  290. Dialplan: sofia/default/7177422211@18.220.27.122 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  291. Dialplan: sofia/default/7177422211@18.220.27.122 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  292. Dialplan: sofia/default/7177422211@18.220.27.122 Action set(hangup_after_bridge=true)
  293. Dialplan: sofia/default/7177422211@18.220.27.122 Action export(did_user_domain=gibfibre.astppbilling.org)
  294. Dialplan: sofia/default/7177422211@18.220.27.122 Action set(sip_h_X-call-type=did)
  295. Dialplan: sofia/default/7177422211@18.220.27.122 Action set(sip_h_X-did-call-type=DID-LOCAL)
  296. Dialplan: sofia/default/7177422211@18.220.27.122 Action db(insert/pickup_any_group_${callgroup}/8964328186/${uuid})
  297. Dialplan: sofia/default/7177422211@18.220.27.122 Action set(dialed_extension=transfer_call)
  298. Dialplan: sofia/default/7177422211@18.220.27.122 Action export(dialed_extension=transfer_call)
  299. Dialplan: sofia/default/7177422211@18.220.27.122 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  300. Dialplan: sofia/default/7177422211@18.220.27.122 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  301. Dialplan: sofia/default/7177422211@18.220.27.122 Action set(transfer_ringback=$${hold_music})
  302. Dialplan: sofia/default/7177422211@18.220.27.122 Action set(hangup_after_bridge=true)
  303. Dialplan: sofia/default/7177422211@18.220.27.122 Action bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=11}[leg_timeout=1000000 ] sofia/${sofia_profile_name}/8964328186@gibfibre.astppbilling.org:5060)
  304. Dialplan: sofia/default/7177422211@18.220.27.122 Action set(on_busy_flag=1)
  305. Dialplan: sofia/default/7177422211@18.220.27.122 Action set(on_busy_destination=)
  306. Dialplan: sofia/default/7177422211@18.220.27.122 Action set(no_answer_flag=1)
  307. Dialplan: sofia/default/7177422211@18.220.27.122 Action set(no_answer_destination=)
  308. Dialplan: sofia/default/7177422211@18.220.27.122 Action set(not_register_flag=1)
  309. Dialplan: sofia/default/7177422211@18.220.27.122 Action set(not_register_destination=)
  310. Dialplan: sofia/default/7177422211@18.220.27.122 Action set(opensips_flag=0)
  311. Dialplan: sofia/default/7177422211@18.220.27.122 Action set(variable_sip_to_host=gibfibre.astppbilling.org)
  312. Dialplan: sofia/default/7177422211@18.220.27.122 Action set(opensips_domain=46.101.1.8)
  313. Dialplan: sofia/default/7177422211@18.220.27.122 Action set(leg_timeout=1000000)
  314. Dialplan: sofia/default/7177422211@18.220.27.122 Action set(userinfo_id=11)
  315. Dialplan: sofia/default/7177422211@18.220.27.122 Action set(sip_destination_number=8964328186)
  316. Dialplan: sofia/default/7177422211@18.220.27.122 Action set(did_number=8964328186)
  317. Dialplan: sofia/default/7177422211@18.220.27.122 Action set(user_domain=gibfibre.astppbilling.org)
  318. Dialplan: sofia/default/7177422211@18.220.27.122 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  319. Dialplan: sofia/default/7177422211@18.220.27.122 Action set(on_busy_flag=1)
  320. Dialplan: sofia/default/7177422211@18.220.27.122 Action set(on_busy_destination=)
  321. Dialplan: sofia/default/7177422211@18.220.27.122 Action set(no_answer_flag=1)
  322. Dialplan: sofia/default/7177422211@18.220.27.122 Action set(no_answer_destination=)
  323. Dialplan: sofia/default/7177422211@18.220.27.122 Action set(not_register_flag=1)
  324. Dialplan: sofia/default/7177422211@18.220.27.122 Action set(not_register_destination=)
  325. Dialplan: sofia/default/7177422211@18.220.27.122 Action set(opensips_flag=0)
  326. Dialplan: sofia/default/7177422211@18.220.27.122 Action set(variable_sip_to_host=gibfibre.astppbilling.org)
  327. Dialplan: sofia/default/7177422211@18.220.27.122 Action set(opensips_domain=46.101.1.8)
  328. Dialplan: sofia/default/7177422211@18.220.27.122 Action set(leg_timeout=1000000)
  329. Dialplan: sofia/default/7177422211@18.220.27.122 Action set(userinfo_id=11)
  330. Dialplan: sofia/default/7177422211@18.220.27.122 Action set(sip_destination_number=8964328186)
  331. Dialplan: sofia/default/7177422211@18.220.27.122 Action set(destination_number=990740)
  332. Dialplan: sofia/default/7177422211@18.220.27.122 Action set(did_number=990740)
  333. Dialplan: sofia/default/7177422211@18.220.27.122 Action set(user_domain=gibfibre.astppbilling.org)
  334. Dialplan: sofia/default/7177422211@18.220.27.122 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  335. |--- Dialplan: Processing recursive conditions level:1 [990740_recur_1] require-nested=TRUE
  336. |--- Dialplan: sofia/default/7177422211@18.220.27.122 Regex (FAIL) [990740_recur_1] ${cond(${user_data 8964328186@${domain_name} param vm-enabled} == true ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false
  337. |--- Dialplan: sofia/default/7177422211@18.220.27.122 ANTI-Action hangup(${originate_disposition})
  338. 2021-09-22 10:53:12.654793 [DEBUG] switch_core_state_machine.c:287 (sofia/default/7177422211@18.220.27.122) State Change CS_ROUTING -> CS_EXECUTE
  339. 2021-09-22 10:53:12.654793 [DEBUG] switch_core_state_machine.c:644 (sofia/default/7177422211@18.220.27.122) State ROUTING going to sleep
  340. 2021-09-22 10:53:12.654793 [DEBUG] switch_core_state_machine.c:585 (sofia/default/7177422211@18.220.27.122) Running State Change CS_EXECUTE (Cur 1 Tot 314)
  341. 2021-09-22 10:53:12.654793 [DEBUG] switch_core_state_machine.c:651 (sofia/default/7177422211@18.220.27.122) State EXECUTE
  342. 2021-09-22 10:53:12.654793 [DEBUG] mod_sofia.c:209 sofia/default/7177422211@18.220.27.122 SOFIA EXECUTE
  343. 2021-09-22 10:53:12.654793 [DEBUG] switch_core_state_machine.c:329 sofia/default/7177422211@18.220.27.122 Standard EXECUTE
  344. EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 set(effective_destination_number=990740)
  345. 2021-09-22 10:53:12.654793 [DEBUG] mod_dptools.c:1672 SET sofia/default/7177422211@18.220.27.122 [effective_destination_number]=[990740]
  346. EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 set(bridge_pre_execute_bleg_app=sched_hangup)
  347. 2021-09-22 10:53:12.654793 [DEBUG] mod_dptools.c:1672 SET sofia/default/7177422211@18.220.27.122 [bridge_pre_execute_bleg_app]=[sched_hangup]
  348. EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 set(bridge_pre_execute_bleg_data=+600000000 normal_clearing)
  349. 2021-09-22 10:53:12.654793 [DEBUG] mod_dptools.c:1672 SET sofia/default/7177422211@18.220.27.122 [bridge_pre_execute_bleg_data]=[+600000000 normal_clearing]
  350. EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 set(nibble_account=11)
  351. 2021-09-22 10:53:12.654793 [DEBUG] mod_dptools.c:1672 SET sofia/default/7177422211@18.220.27.122 [nibble_account]=[11]
  352. EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 set(nibble_rate=0.00000)
  353. 2021-09-22 10:53:12.654793 [DEBUG] mod_dptools.c:1672 SET sofia/default/7177422211@18.220.27.122 [nibble_rate]=[0.00000]
  354. EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 set(nibble_increment=0)
  355. 2021-09-22 10:53:12.654793 [DEBUG] mod_dptools.c:1672 SET sofia/default/7177422211@18.220.27.122 [nibble_increment]=[0]
  356. EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 set(nibble_minimum=0.00000)
  357. 2021-09-22 10:53:12.654793 [DEBUG] mod_dptools.c:1672 SET sofia/default/7177422211@18.220.27.122 [nibble_minimum]=[0.00000]
  358. EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 nibblebill(heartbeat 10)
  359. 2021-09-22 10:53:12.654793 [WARNING] switch_core_session.c:1666 sofia/default/7177422211@18.220.27.122 using scheduler due to bypass media or media is not established.
  360. 2021-09-22 10:53:12.654793 [DEBUG] switch_scheduler.c:252 Added task 65 switch_core_session_sched_heartbeat (491cbcb1-cdfd-4c20-9b5d-2319d2dd6254) to run at 1632308002
  361. EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 set(callstart=2021-09-22 10:53:12)
  362. 2021-09-22 10:53:12.654793 [DEBUG] mod_dptools.c:1672 SET sofia/default/7177422211@18.220.27.122 [callstart]=[2021-09-22 10:53:12]
  363. EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 set(hangup_after_bridge=true)
  364. 2021-09-22 10:53:12.654793 [DEBUG] mod_dptools.c:1672 SET sofia/default/7177422211@18.220.27.122 [hangup_after_bridge]=[true]
  365. EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 set(continue_on_fail=TRUE)
  366. 2021-09-22 10:53:12.654793 [DEBUG] mod_dptools.c:1672 SET sofia/default/7177422211@18.220.27.122 [continue_on_fail]=[TRUE]
  367. EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 set(account_id=11)
  368. 2021-09-22 10:53:12.654793 [DEBUG] mod_dptools.c:1672 SET sofia/default/7177422211@18.220.27.122 [account_id]=[11]
  369. EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 set(parent_id=0)
  370. 2021-09-22 10:53:12.654793 [DEBUG] mod_dptools.c:1672 SET sofia/default/7177422211@18.220.27.122 [parent_id]=[0]
  371. EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 set(entity_id=0)
  372. 2021-09-22 10:53:12.654793 [DEBUG] mod_dptools.c:1672 SET sofia/default/7177422211@18.220.27.122 [entity_id]=[0]
  373. EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 set(call_processed=internal)
  374. 2021-09-22 10:53:12.654793 [DEBUG] mod_dptools.c:1672 SET sofia/default/7177422211@18.220.27.122 [call_processed]=[internal]
  375. EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 set(call_direction=inbound)
  376. 2021-09-22 10:53:12.654793 [DEBUG] mod_dptools.c:1672 SET sofia/default/7177422211@18.220.27.122 [call_direction]=[inbound]
  377. EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 set(accountname=default)
  378. 2021-09-22 10:53:12.654793 [DEBUG] mod_dptools.c:1672 SET sofia/default/7177422211@18.220.27.122 [accountname]=[default]
  379. EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 set(filename1=astpp.pbx.lua)
  380. 2021-09-22 10:53:12.674787 [DEBUG] mod_dptools.c:1672 SET sofia/default/7177422211@18.220.27.122 [filename1]=[astpp.pbx.lua]
  381. EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 set(origination_rates_did=ID:57|CODE:^990740.*|DESTINATION:990740|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:85|ACCID:11)
  382. 2021-09-22 10:53:12.674787 [DEBUG] mod_dptools.c:1672 SET sofia/default/7177422211@18.220.27.122 [origination_rates_did]=[ID:57|CODE:^990740.*|DESTINATION:990740|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:85|ACCID:11]
  383. EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 set(origination_rates=ID:259775|CODE:^99.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.20000|INC:1|INITIALBLOCK:1|RATEGROUP:10|MARKUP:0|CI:40|ACCID:11)
  384. 2021-09-22 10:53:12.674787 [DEBUG] mod_dptools.c:1672 SET sofia/default/7177422211@18.220.27.122 [origination_rates]=[ID:259775|CODE:^99.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.20000|INC:1|INITIALBLOCK:1|RATEGROUP:10|MARKUP:0|CI:40|ACCID:11]
  385. EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 set(original_caller_id_name=7177422211)
  386. 2021-09-22 10:53:12.674787 [DEBUG] mod_dptools.c:1672 SET sofia/default/7177422211@18.220.27.122 [original_caller_id_name]=[7177422211]
  387. EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 set(effective_caller_id_name=7177422211)
  388. 2021-09-22 10:53:12.674787 [DEBUG] mod_dptools.c:1672 SET sofia/default/7177422211@18.220.27.122 [effective_caller_id_name]=[7177422211]
  389. EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 set(receiver_accid=11)
  390. 2021-09-22 10:53:12.674787 [DEBUG] mod_dptools.c:1672 SET sofia/default/7177422211@18.220.27.122 [receiver_accid]=[11]
  391. EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 export(domain_name=gibfibre.astppbilling.org)
  392. 2021-09-22 10:53:12.674787 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [domain_name]=[gibfibre.astppbilling.org]
  393. EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 export(sip_to_host=gibfibre.astppbilling.org)
  394. 2021-09-22 10:53:12.674787 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [sip_to_host]=[gibfibre.astppbilling.org]
  395. EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 export(presence_data=x|||Pk_call_DID_hold(3348757062)|||||||||DID|||18.220.27.122)
  396. 2021-09-22 10:53:12.674787 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||Pk_call_DID_hold(3348757062)|||||||||DID|||18.220.27.122]
  397. EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 export(call_type=0)
  398. 2021-09-22 10:53:12.674787 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [call_type]=[0]
  399. EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 set(calltype=DID-LOCAL)
  400. 2021-09-22 10:53:12.674787 [DEBUG] mod_dptools.c:1672 SET sofia/default/7177422211@18.220.27.122 [calltype]=[DID-LOCAL]
  401. EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 db(insert/pickup_any_group_/8964328186/491cbcb1-cdfd-4c20-9b5d-2319d2dd6254)
  402. EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 set(dialed_extension=transfer_call)
  403. 2021-09-22 10:53:12.674787 [DEBUG] mod_dptools.c:1672 SET sofia/default/7177422211@18.220.27.122 [dialed_extension]=[transfer_call]
  404. EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 export(dialed_extension=transfer_call)
  405. 2021-09-22 10:53:12.674787 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  406. EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  407. 2021-09-22 10:53:12.674787 [INFO] switch_ivr_async.c:4457 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  408. EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  409. 2021-09-22 10:53:12.674787 [INFO] switch_ivr_async.c:4457 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  410. EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 set(hangup_after_bridge=true)
  411. 2021-09-22 10:53:12.674787 [DEBUG] mod_dptools.c:1672 SET sofia/default/7177422211@18.220.27.122 [hangup_after_bridge]=[true]
  412. EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 export(did_user_domain=gibfibre.astppbilling.org)
  413. 2021-09-22 10:53:12.674787 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [did_user_domain]=[gibfibre.astppbilling.org]
  414. EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 set(sip_h_X-call-type=did)
  415. 2021-09-22 10:53:12.674787 [DEBUG] mod_dptools.c:1672 SET sofia/default/7177422211@18.220.27.122 [sip_h_X-call-type]=[did]
  416. EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 set(sip_h_X-did-call-type=DID-LOCAL)
  417. 2021-09-22 10:53:12.674787 [DEBUG] mod_dptools.c:1672 SET sofia/default/7177422211@18.220.27.122 [sip_h_X-did-call-type]=[DID-LOCAL]
  418. EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 db(insert/pickup_any_group_/8964328186/491cbcb1-cdfd-4c20-9b5d-2319d2dd6254)
  419. EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 set(dialed_extension=transfer_call)
  420. 2021-09-22 10:53:12.674787 [DEBUG] mod_dptools.c:1672 SET sofia/default/7177422211@18.220.27.122 [dialed_extension]=[transfer_call]
  421. EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 export(dialed_extension=transfer_call)
  422. 2021-09-22 10:53:12.674787 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  423. EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  424. 2021-09-22 10:53:12.674787 [INFO] switch_ivr_async.c:4457 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  425. EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  426. 2021-09-22 10:53:12.674787 [INFO] switch_ivr_async.c:4457 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  427. EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 set(transfer_ringback=local_stream://moh)
  428. 2021-09-22 10:53:12.674787 [DEBUG] mod_dptools.c:1672 SET sofia/default/7177422211@18.220.27.122 [transfer_ringback]=[local_stream://moh]
  429. EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 set(hangup_after_bridge=true)
  430. 2021-09-22 10:53:12.674787 [DEBUG] mod_dptools.c:1672 SET sofia/default/7177422211@18.220.27.122 [hangup_after_bridge]=[true]
  431. EXECUTE [depth=0] sofia/default/7177422211@18.220.27.122 bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=11}[leg_timeout=1000000 ] sofia/default/8964328186@gibfibre.astppbilling.org:5060)
  432. 2021-09-22 10:53:12.674787 [DEBUG] switch_channel.c:1264 sofia/default/7177422211@18.220.27.122 EXPORTING[export_vars] [domain_name]=[gibfibre.astppbilling.org] to event
  433. 2021-09-22 10:53:12.674787 [DEBUG] switch_channel.c:1264 sofia/default/7177422211@18.220.27.122 EXPORTING[export_vars] [sip_to_host]=[gibfibre.astppbilling.org] to event
  434. 2021-09-22 10:53:12.674787 [DEBUG] switch_channel.c:1264 sofia/default/7177422211@18.220.27.122 EXPORTING[export_vars] [presence_data]=[x|||Pk_call_DID_hold(3348757062)|||||||||DID|||18.220.27.122] to event
  435. 2021-09-22 10:53:12.674787 [DEBUG] switch_channel.c:1264 sofia/default/7177422211@18.220.27.122 EXPORTING[export_vars] [call_type]=[0] to event
  436. 2021-09-22 10:53:12.674787 [DEBUG] switch_channel.c:1264 sofia/default/7177422211@18.220.27.122 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  437. 2021-09-22 10:53:12.674787 [DEBUG] switch_channel.c:1264 sofia/default/7177422211@18.220.27.122 EXPORTING[export_vars] [did_user_domain]=[gibfibre.astppbilling.org] to event
  438. 2021-09-22 10:53:12.674787 [DEBUG] switch_channel.c:1264 sofia/default/7177422211@18.220.27.122 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  439. 2021-09-22 10:53:12.674787 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables
  440. 2021-09-22 10:53:12.674787 [DEBUG] switch_ivr_originate.c:2804 Parsing session specific variables
  441. 2021-09-22 10:53:12.674787 [NOTICE] switch_channel.c:1118 New Channel sofia/default/8964328186@gibfibre.astppbilling.org:5060 [31df61d5-f02a-4a68-8b5d-86a40bb6a468]
  442. 2021-09-22 10:53:12.674787 [DEBUG] mod_sofia.c:5089 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) State Change CS_NEW -> CS_INIT
  443. 2021-09-22 10:53:12.674787 [DEBUG] switch_ivr_originate.c:3111 sofia/default/8964328186@gibfibre.astppbilling.org:5060 Setting leg timeout to 1000000
  444. 2021-09-22 10:53:12.674787 [DEBUG] switch_core_state_machine.c:585 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) Running State Change CS_INIT (Cur 2 Tot 315)
  445. 2021-09-22 10:53:12.674787 [DEBUG] switch_core_state_machine.c:628 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) State INIT
  446. 2021-09-22 10:53:12.674787 [DEBUG] mod_sofia.c:93 sofia/default/8964328186@gibfibre.astppbilling.org:5060 SOFIA INIT
  447. 2021-09-22 10:53:12.674787 [DEBUG] sofia_glue.c:1618 sofia/default/8964328186@gibfibre.astppbilling.org:5060 sending invite version: 1.10.5 -release-17-25569c1631 64bit
  448. Local SDP:
  449. v=0
  450. o=FreeSWITCH 1632278794 1632278795 IN IP4 46.101.114.158
  451. s=FreeSWITCH
  452. c=IN IP4 46.101.114.158
  453. t=0 0
  454. m=audio 29198 RTP/AVP 8 101
  455. a=rtpmap:8 PCMA/8000
  456. a=rtpmap:101 telephone-event/8000
  457. a=fmtp:101 0-16
  458. a=ptime:20
  459. a=sendrecv
  460.  
  461. 2021-09-22 10:53:12.674787 [DEBUG] switch_core_state_machine.c:40 sofia/default/8964328186@gibfibre.astppbilling.org:5060 Standard INIT
  462. 2021-09-22 10:53:12.674787 [DEBUG] switch_core_state_machine.c:48 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) State Change CS_INIT -> CS_ROUTING
  463. 2021-09-22 10:53:12.674787 [DEBUG] switch_core_state_machine.c:628 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) State INIT going to sleep
  464. 2021-09-22 10:53:12.674787 [DEBUG] switch_core_state_machine.c:585 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) Running State Change CS_ROUTING (Cur 2 Tot 315)
  465. 2021-09-22 10:53:12.674787 [DEBUG] sofia.c:7326 Channel sofia/default/8964328186@gibfibre.astppbilling.org:5060 entering state [calling][0]
  466. 2021-09-22 10:53:12.674787 [DEBUG] switch_core_state_machine.c:644 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) State ROUTING
  467. 2021-09-22 10:53:12.674787 [DEBUG] mod_sofia.c:154 sofia/default/8964328186@gibfibre.astppbilling.org:5060 SOFIA ROUTING
  468. 2021-09-22 10:53:12.674787 [DEBUG] switch_ivr_originate.c:67 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  469. 2021-09-22 10:53:12.674787 [DEBUG] switch_core_state_machine.c:644 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) State ROUTING going to sleep
  470. 2021-09-22 10:53:12.674787 [DEBUG] switch_core_state_machine.c:585 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 315)
  471. 2021-09-22 10:53:12.674787 [DEBUG] switch_core_state_machine.c:663 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) State CONSUME_MEDIA
  472. 2021-09-22 10:53:12.674787 [DEBUG] switch_core_state_machine.c:663 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) State CONSUME_MEDIA going to sleep
  473. 2021-09-22 10:53:13.134802 [DEBUG] sofia.c:7326 Channel sofia/default/8964328186@gibfibre.astppbilling.org:5060 entering state [proceeding][180]
  474. 2021-09-22 10:53:13.134802 [NOTICE] sofia.c:7437 Ring-Ready sofia/default/8964328186@gibfibre.astppbilling.org:5060!
  475. 2021-09-22 10:53:13.134802 [DEBUG] switch_channel.c:3437 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) Callstate Change DOWN -> RINGING
  476. 2021-09-22 10:53:13.134802 [NOTICE] mod_sofia.c:2498 Ring-Ready sofia/default/7177422211@18.220.27.122!
  477. 2021-09-22 10:53:13.134802 [DEBUG] sofia.c:7326 Channel sofia/default/7177422211@18.220.27.122 entering state [early][180]
  478. 2021-09-22 10:53:13.134802 [NOTICE] switch_ivr_originate.c:556 Ring Ready sofia/default/7177422211@18.220.27.122!
  479. 2021-09-22 10:53:21.054801 [DEBUG] sofia.c:7326 Channel sofia/default/8964328186@gibfibre.astppbilling.org:5060 entering state [completing][200]
  480. 2021-09-22 10:53:21.054801 [DEBUG] sofia.c:7336 Remote SDP:
  481. v=0
  482. o=Z 0 2 IN IP4 117.247.91.162
  483. s=Z
  484. c=IN IP4 117.247.91.162
  485. t=0 0
  486. m=audio 8002 RTP/AVP 8 3 110 0 97 101
  487. a=rtpmap:110 speex/8000
  488. a=rtpmap:97 iLBC/8000
  489. a=fmtp:97 mode=30
  490. a=rtpmap:101 telephone-event/8000
  491. a=fmtp:101 0-16
  492.  
  493. 2021-09-22 10:53:21.054801 [DEBUG] sofia.c:7326 Channel sofia/default/8964328186@gibfibre.astppbilling.org:5060 entering state [ready][200]
  494. 2021-09-22 10:53:21.054801 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  495. 2021-09-22 10:53:21.054801 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  496. 2021-09-22 10:53:21.054801 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  497. 2021-09-22 10:53:21.054801 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  498. 2021-09-22 10:53:21.054801 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  499. 2021-09-22 10:53:21.054801 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [iLBC:97:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  500. 2021-09-22 10:53:21.054801 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
  501. 2021-09-22 10:53:21.054801 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/8964328186@gibfibre.astppbilling.org:5060 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  502. 2021-09-22 10:53:21.054801 [DEBUG] switch_core_codec.c:111 sofia/default/8964328186@gibfibre.astppbilling.org:5060 Original read codec set to PCMA:8
  503. 2021-09-22 10:53:21.054801 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
  504. 2021-09-22 10:53:21.054801 [DEBUG] switch_core_media.c:5911 sofia/default/8964328186@gibfibre.astppbilling.org:5060 Set 2833 dtmf send payload to 101 recv payload to 101
  505. 2021-09-22 10:53:21.054801 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/8964328186@gibfibre.astppbilling.org:5060] 46.101.114.158 port 29198 -> 117.247.91.162 port 8002 codec: 8 ms: 20
  506. 2021-09-22 10:53:21.054801 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
  507. 2021-09-22 10:53:21.054801 [DEBUG] switch_core_media.c:8977 sofia/default/8964328186@gibfibre.astppbilling.org:5060 Set 2833 dtmf send payload to 101
  508. 2021-09-22 10:53:21.054801 [DEBUG] switch_core_media.c:8984 sofia/default/8964328186@gibfibre.astppbilling.org:5060 Set 2833 dtmf receive payload to 101
  509. 2021-09-22 10:53:21.054801 [DEBUG] switch_core_media.c:9007 sofia/default/8964328186@gibfibre.astppbilling.org:5060 Set rtp dtmf delay to 40
  510. 2021-09-22 10:53:21.054801 [NOTICE] sofia.c:8504 Channel [sofia/default/8964328186@gibfibre.astppbilling.org:5060] has been answered
  511. 2021-09-22 10:53:21.054801 [DEBUG] switch_channel.c:3865 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) Callstate Change RINGING -> ACTIVE
  512. 2021-09-22 10:53:21.074801 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/7177422211@18.220.27.122] 46.101.114.158 port 26484 -> 18.220.27.122 port 22066 codec: 8 ms: 20
  513. 2021-09-22 10:53:21.074801 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
  514. 2021-09-22 10:53:21.074801 [DEBUG] switch_core_media.c:8977 sofia/default/7177422211@18.220.27.122 Set 2833 dtmf send payload to 101
  515. 2021-09-22 10:53:21.074801 [DEBUG] switch_core_media.c:8984 sofia/default/7177422211@18.220.27.122 Set 2833 dtmf receive payload to 101
  516. 2021-09-22 10:53:21.074801 [DEBUG] switch_core_media.c:9007 sofia/default/7177422211@18.220.27.122 Set rtp dtmf delay to 40
  517. 2021-09-22 10:53:21.074801 [DEBUG] mod_sofia.c:898 Local SDP sofia/default/7177422211@18.220.27.122:
  518. v=0
  519. o=FreeSWITCH 1632281517 1632281518 IN IP4 46.101.114.158
  520. s=FreeSWITCH
  521. c=IN IP4 46.101.114.158
  522. t=0 0
  523. m=audio 26484 RTP/AVP 8 101
  524. a=rtpmap:8 PCMA/8000
  525. a=rtpmap:101 telephone-event/8000
  526. a=fmtp:101 0-16
  527. a=ptime:20
  528. a=sendrecv
  529.  
  530. 2021-09-22 10:53:21.074801 [DEBUG] sofia.c:7326 Channel sofia/default/7177422211@18.220.27.122 entering state [completed][200]
  531. 2021-09-22 10:53:21.074801 [NOTICE] switch_ivr_originate.c:3794 Channel [sofia/default/7177422211@18.220.27.122] has been answered
  532. 2021-09-22 10:53:21.074801 [DEBUG] switch_channel.c:3865 (sofia/default/7177422211@18.220.27.122) Callstate Change RINGING -> ACTIVE
  533. 2021-09-22 10:53:21.074801 [DEBUG] switch_ivr_originate.c:3852 Originate Resulted in Success: [sofia/default/8964328186@gibfibre.astppbilling.org:5060]
  534. 2021-09-22 10:53:21.074801 [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  535. 2021-09-22 10:53:21.074801 [DEBUG] switch_core_state_machine.c:585 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 315)
  536. 2021-09-22 10:53:21.074801 [DEBUG] switch_core_state_machine.c:654 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) State EXCHANGE_MEDIA
  537. 2021-09-22 10:53:21.074801 [DEBUG] mod_sofia.c:656 SOFIA EXCHANGE_MEDIA
  538. 2021-09-22 10:53:21.094813 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed.
  539. 2021-09-22 10:53:21.194828 [DEBUG] sofia.c:7326 Channel sofia/default/7177422211@18.220.27.122 entering state [ready][200]
  540. 2021-09-22 10:53:21.254802 [DEBUG] switch_ivr_bridge.c:655 sofia/default/8964328186@gibfibre.astppbilling.org:5060 Bridge execute app sched_hangup(+600000000 normal_clearing)
  541. 2021-09-22 10:53:21.274802 [DEBUG] switch_ivr.c:632 sofia/default/8964328186@gibfibre.astppbilling.org:5060 Command Execute [depth=0] sched_hangup(+600000000 normal_clearing)
  542. EXECUTE [depth=0] sofia/default/8964328186@gibfibre.astppbilling.org:5060 sched_hangup(+600000000 normal_clearing)
  543. 2021-09-22 10:53:21.274802 [DEBUG] switch_scheduler.c:252 Added task 66 switch_ivr_schedule_hangup (31df61d5-f02a-4a68-8b5d-86a40bb6a468) to run at 2232308001
  544. 2021-09-22 10:53:22.034818 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed.
  545. 2021-09-22 10:53:22.274810 [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
  546. 2021-09-22 10:53:22.274810 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.00000 per minute to account 11
  547. 2021-09-22 10:53:22.274810 [INFO] mod_nibblebill.c:565 Beginning new billing on 491cbcb1-cdfd-4c20-9b5d-2319d2dd6254
  548. 2021-09-22 10:53:22.274810 [DEBUG] mod_nibblebill.c:573 1 seconds passed since last bill time of 2021-09-22 10:53:21
  549. 2021-09-22 10:53:22.274810 [DEBUG] mod_nibblebill.c:590 Billing $0.000000 to 11 (Call: 491cbcb1-cdfd-4c20-9b5d-2319d2dd6254 / 0.000000 so far)
  550. 2021-09-22 10:53:22.274810 [DEBUG] mod_nibblebill.c:395 Doing update query
  551. [Update accounts SET balance=IF(posttoexternal=1,balance+0.000000,balance-0.000000) WHERE id='11']
  552. 2021-09-22 10:53:22.274810 [DEBUG] mod_nibblebill.c:422 Doing lookup query
  553. [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='11']
  554. 2021-09-22 10:53:22.274810 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 11 (balance = 5.000000)
  555. 2021-09-22 10:53:32.274812 [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
  556. 2021-09-22 10:53:32.274812 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.00000 per minute to account 11
  557. 2021-09-22 10:53:32.274812 [DEBUG] mod_nibblebill.c:573 11 seconds passed since last bill time of 2021-09-22 10:53:21
  558. 2021-09-22 10:53:32.274812 [DEBUG] mod_nibblebill.c:590 Billing $0.000000 to 11 (Call: 491cbcb1-cdfd-4c20-9b5d-2319d2dd6254 / 0.000000 so far)
  559. 2021-09-22 10:53:32.274812 [DEBUG] mod_nibblebill.c:395 Doing update query
  560. [Update accounts SET balance=IF(posttoexternal=1,balance+0.000000,balance-0.000000) WHERE id='11']
  561. 2021-09-22 10:53:32.274812 [DEBUG] mod_nibblebill.c:422 Doing lookup query
  562. [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='11']
  563. 2021-09-22 10:53:32.274812 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 11 (balance = 5.000000)
  564. 2021-09-22 10:53:42.274827 [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
  565. 2021-09-22 10:53:42.274827 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.00000 per minute to account 11
  566. 2021-09-22 10:53:42.274827 [DEBUG] mod_nibblebill.c:573 21 seconds passed since last bill time of 2021-09-22 10:53:21
  567. 2021-09-22 10:53:42.274827 [DEBUG] mod_nibblebill.c:590 Billing $0.000000 to 11 (Call: 491cbcb1-cdfd-4c20-9b5d-2319d2dd6254 / 0.000000 so far)
  568. 2021-09-22 10:53:42.274827 [DEBUG] mod_nibblebill.c:395 Doing update query
  569. [Update accounts SET balance=IF(posttoexternal=1,balance+0.000000,balance-0.000000) WHERE id='11']
  570. 2021-09-22 10:53:42.274827 [DEBUG] mod_nibblebill.c:422 Doing lookup query
  571. [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='11']
  572. 2021-09-22 10:53:42.274827 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 11 (balance = 5.000000)
  573. 2021-09-22 10:53:52.274849 [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
  574. 2021-09-22 10:53:52.274849 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.00000 per minute to account 11
  575. 2021-09-22 10:53:52.274849 [DEBUG] mod_nibblebill.c:573 31 seconds passed since last bill time of 2021-09-22 10:53:21
  576. 2021-09-22 10:53:52.274849 [DEBUG] mod_nibblebill.c:590 Billing $0.000000 to 11 (Call: 491cbcb1-cdfd-4c20-9b5d-2319d2dd6254 / 0.000000 so far)
  577. 2021-09-22 10:53:52.274849 [DEBUG] mod_nibblebill.c:395 Doing update query
  578. [Update accounts SET balance=IF(posttoexternal=1,balance+0.000000,balance-0.000000) WHERE id='11']
  579. 2021-09-22 10:53:52.294793 [DEBUG] mod_nibblebill.c:422 Doing lookup query
  580. [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='11']
  581. 2021-09-22 10:53:52.294793 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 11 (balance = 5.000000)
  582. 2021-09-22 10:54:02.274790 [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
  583. 2021-09-22 10:54:02.274790 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.00000 per minute to account 11
  584. 2021-09-22 10:54:02.274790 [DEBUG] mod_nibblebill.c:573 41 seconds passed since last bill time of 2021-09-22 10:53:21
  585. 2021-09-22 10:54:02.274790 [DEBUG] mod_nibblebill.c:590 Billing $0.000000 to 11 (Call: 491cbcb1-cdfd-4c20-9b5d-2319d2dd6254 / 0.000000 so far)
  586. 2021-09-22 10:54:02.274790 [DEBUG] mod_nibblebill.c:395 Doing update query
  587. [Update accounts SET balance=IF(posttoexternal=1,balance+0.000000,balance-0.000000) WHERE id='11']
  588. 2021-09-22 10:54:02.294790 [DEBUG] mod_nibblebill.c:422 Doing lookup query
  589. [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='11']
  590. 2021-09-22 10:54:02.294790 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 11 (balance = 5.000000)
  591. 2021-09-22 10:54:12.294800 [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
  592. 2021-09-22 10:54:12.294800 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.00000 per minute to account 11
  593. 2021-09-22 10:54:12.294800 [DEBUG] mod_nibblebill.c:573 51 seconds passed since last bill time of 2021-09-22 10:53:21
  594. 2021-09-22 10:54:12.294800 [DEBUG] mod_nibblebill.c:590 Billing $0.000000 to 11 (Call: 491cbcb1-cdfd-4c20-9b5d-2319d2dd6254 / 0.000000 so far)
  595. 2021-09-22 10:54:12.294800 [DEBUG] mod_nibblebill.c:395 Doing update query
  596. [Update accounts SET balance=IF(posttoexternal=1,balance+0.000000,balance-0.000000) WHERE id='11']
  597. 2021-09-22 10:54:12.294800 [DEBUG] mod_nibblebill.c:422 Doing lookup query
  598. [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='11']
  599. 2021-09-22 10:54:12.294800 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 11 (balance = 5.000000)
  600. 2021-09-22 10:54:22.294814 [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
  601. 2021-09-22 10:54:22.294814 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.00000 per minute to account 11
  602. 2021-09-22 10:54:22.294814 [DEBUG] mod_nibblebill.c:573 61 seconds passed since last bill time of 2021-09-22 10:53:21
  603. 2021-09-22 10:54:22.294814 [DEBUG] mod_nibblebill.c:590 Billing $0.000000 to 11 (Call: 491cbcb1-cdfd-4c20-9b5d-2319d2dd6254 / 0.000000 so far)
  604. 2021-09-22 10:54:22.294814 [DEBUG] mod_nibblebill.c:395 Doing update query
  605. [Update accounts SET balance=IF(posttoexternal=1,balance+0.000000,balance-0.000000) WHERE id='11']
  606. 2021-09-22 10:54:22.294814 [DEBUG] mod_nibblebill.c:422 Doing lookup query
  607. [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='11']
  608. 2021-09-22 10:54:22.294814 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 11 (balance = 5.000000)
  609. 2021-09-22 10:54:31.634811 [NOTICE] sofia.c:1089 Hangup sofia/default/8964328186@gibfibre.astppbilling.org:5060 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  610. 2021-09-22 10:54:31.634811 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/8964328186@gibfibre.astppbilling.org:5060]
  611. 2021-09-22 10:54:31.634811 [DEBUG] switch_core_state_machine.c:654 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) State EXCHANGE_MEDIA going to sleep
  612. 2021-09-22 10:54:31.634811 [DEBUG] switch_core_state_machine.c:585 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) Running State Change CS_HANGUP (Cur 2 Tot 315)
  613. 2021-09-22 10:54:31.634811 [DEBUG] switch_core_state_machine.c:848 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) Callstate Change ACTIVE -> HANGUP
  614. 2021-09-22 10:54:31.634811 [DEBUG] switch_core_state_machine.c:850 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) State HANGUP
  615. 2021-09-22 10:54:31.634811 [DEBUG] mod_sofia.c:453 Channel sofia/default/8964328186@gibfibre.astppbilling.org:5060 hanging up, cause: NORMAL_CLEARING
  616. 2021-09-22 10:54:31.634811 [DEBUG] switch_core_state_machine.c:60 sofia/default/8964328186@gibfibre.astppbilling.org:5060 Standard HANGUP, cause: NORMAL_CLEARING
  617. 2021-09-22 10:54:31.634811 [DEBUG] switch_core_state_machine.c:850 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) State HANGUP going to sleep
  618. 2021-09-22 10:54:31.634811 [DEBUG] switch_core_state_machine.c:620 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) State Change CS_HANGUP -> CS_REPORTING
  619. 2021-09-22 10:54:31.634811 [DEBUG] switch_core_state_machine.c:585 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) Running State Change CS_REPORTING (Cur 2 Tot 315)
  620. 2021-09-22 10:54:31.634811 [DEBUG] switch_core_state_machine.c:936 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) State REPORTING
  621. 2021-09-22 10:54:31.634811 [INFO] mod_json_cdr.c:271 Process [31df61d5-f02a-4a68-8b5d-86a40bb6a468.cdr.json]
  622. 2021-09-22 10:54:31.634811 [DEBUG] switch_ivr_bridge.c:820 sofia/default/8964328186@gibfibre.astppbilling.org:5060 ending bridge by request from write function
  623. 2021-09-22 10:54:31.634811 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/7177422211@18.220.27.122]
  624. 2021-09-22 10:54:31.634811 [DEBUG] switch_ivr_bridge.c:1892 sofia/default/8964328186@gibfibre.astppbilling.org:5060 skip receive message [UNBRIDGE] (channel is hungup already)
  625. 2021-09-22 10:54:31.634811 [NOTICE] switch_ivr_bridge.c:1944 Hangup sofia/default/7177422211@18.220.27.122 [CS_EXECUTE] [NORMAL_CLEARING]
  626. 2021-09-22 10:54:31.634811 [DEBUG] switch_core_session.c:2905 sofia/default/7177422211@18.220.27.122 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  627. 2021-09-22 10:54:31.634811 [DEBUG] switch_core_state_machine.c:651 (sofia/default/7177422211@18.220.27.122) State EXECUTE going to sleep
  628. 2021-09-22 10:54:31.634811 [DEBUG] switch_core_state_machine.c:585 (sofia/default/7177422211@18.220.27.122) Running State Change CS_HANGUP (Cur 2 Tot 315)
  629. 2021-09-22 10:54:31.634811 [DEBUG] switch_core_state_machine.c:848 (sofia/default/7177422211@18.220.27.122) Callstate Change ACTIVE -> HANGUP
  630. 2021-09-22 10:54:31.634811 [DEBUG] switch_core_state_machine.c:850 (sofia/default/7177422211@18.220.27.122) State HANGUP
  631. 2021-09-22 10:54:31.634811 [DEBUG] mod_sofia.c:447 sofia/default/7177422211@18.220.27.122 Overriding SIP cause 480 with 200 from the other leg
  632. 2021-09-22 10:54:31.634811 [DEBUG] mod_sofia.c:453 Channel sofia/default/7177422211@18.220.27.122 hanging up, cause: NORMAL_CLEARING
  633. 2021-09-22 10:54:31.634811 [DEBUG] mod_sofia.c:507 Sending BYE to sofia/default/7177422211@18.220.27.122
  634. 2021-09-22 10:54:31.634811 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.00000 per minute to account 11
  635. 2021-09-22 10:54:31.634811 [DEBUG] mod_nibblebill.c:573 70 seconds passed since last bill time of 2021-09-22 10:53:21
  636. 2021-09-22 10:54:31.634811 [DEBUG] mod_nibblebill.c:590 Billing $0.000000 to 11 (Call: 491cbcb1-cdfd-4c20-9b5d-2319d2dd6254 / 0.000000 so far)
  637. 2021-09-22 10:54:31.634811 [DEBUG] mod_nibblebill.c:395 Doing update query
  638. [Update accounts SET balance=IF(posttoexternal=1,balance+0.000000,balance-0.000000) WHERE id='11']
  639. 2021-09-22 10:54:31.634811 [DEBUG] mod_nibblebill.c:395 Doing update query
  640. [Update accounts SET balance=IF(posttoexternal=1,balance+0.000000,balance-0.000000) WHERE id='11']
  641. 2021-09-22 10:54:31.634811 [DEBUG] mod_nibblebill.c:422 Doing lookup query
  642. [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='11']
  643. 2021-09-22 10:54:31.634811 [DEBUG] switch_core_state_machine.c:174 sofia/default/8964328186@gibfibre.astppbilling.org:5060 Standard REPORTING, cause: NORMAL_CLEARING
  644. 2021-09-22 10:54:31.634811 [DEBUG] switch_core_state_machine.c:936 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) State REPORTING going to sleep
  645. 2021-09-22 10:54:31.634811 [DEBUG] switch_core_state_machine.c:611 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) State Change CS_REPORTING -> CS_DESTROY
  646. 2021-09-22 10:54:31.634811 [DEBUG] switch_core_session.c:1726 Session 315 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) Locked, Waiting on external entities
  647. 2021-09-22 10:54:31.634811 [NOTICE] switch_core_session.c:1744 Session 315 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) Ended
  648. 2021-09-22 10:54:31.634811 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/8964328186@gibfibre.astppbilling.org:5060 [CS_DESTROY]
  649. 2021-09-22 10:54:31.634811 [DEBUG] switch_core_state_machine.c:739 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) Running State Change CS_DESTROY (Cur 1 Tot 315)
  650. 2021-09-22 10:54:31.634811 [DEBUG] switch_core_state_machine.c:749 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) State DESTROY
  651. 2021-09-22 10:54:31.634811 [DEBUG] mod_sofia.c:364 sofia/default/8964328186@gibfibre.astppbilling.org:5060 SOFIA DESTROY
  652. 2021-09-22 10:54:31.634811 [DEBUG] switch_core_state_machine.c:181 sofia/default/8964328186@gibfibre.astppbilling.org:5060 Standard DESTROY
  653. 2021-09-22 10:54:31.634811 [DEBUG] switch_core_state_machine.c:749 (sofia/default/8964328186@gibfibre.astppbilling.org:5060) State DESTROY going to sleep
  654. 2021-09-22 10:54:31.654787 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 11 (balance = 5.000000)
  655. 2021-09-22 10:54:31.654787 [DEBUG] switch_core_state_machine.c:60 sofia/default/7177422211@18.220.27.122 Standard HANGUP, cause: NORMAL_CLEARING
  656. 2021-09-22 10:54:31.654787 [DEBUG] switch_core_state_machine.c:850 (sofia/default/7177422211@18.220.27.122) State HANGUP going to sleep
  657. 2021-09-22 10:54:31.654787 [DEBUG] switch_core_state_machine.c:620 (sofia/default/7177422211@18.220.27.122) State Change CS_HANGUP -> CS_REPORTING
  658. 2021-09-22 10:54:31.654787 [DEBUG] switch_core_state_machine.c:585 (sofia/default/7177422211@18.220.27.122) Running State Change CS_REPORTING (Cur 1 Tot 315)
  659. 2021-09-22 10:54:31.654787 [DEBUG] switch_core_state_machine.c:936 (sofia/default/7177422211@18.220.27.122) State REPORTING
  660. 2021-09-22 10:54:31.654787 [INFO] mod_json_cdr.c:271 Process [491cbcb1-cdfd-4c20-9b5d-2319d2dd6254.cdr.json]
  661. 2021-09-22 10:54:31.674788 [DEBUG] switch_core_state_machine.c:174 sofia/default/7177422211@18.220.27.122 Standard REPORTING, cause: NORMAL_CLEARING
  662. 2021-09-22 10:54:31.674788 [DEBUG] switch_core_state_machine.c:936 (sofia/default/7177422211@18.220.27.122) State REPORTING going to sleep
  663. 2021-09-22 10:54:31.674788 [DEBUG] switch_core_state_machine.c:611 (sofia/default/7177422211@18.220.27.122) State Change CS_REPORTING -> CS_DESTROY
  664. 2021-09-22 10:54:31.674788 [DEBUG] switch_core_session.c:1726 Session 314 (sofia/default/7177422211@18.220.27.122) Locked, Waiting on external entities
  665. 2021-09-22 10:54:31.674788 [NOTICE] switch_core_session.c:1744 Session 314 (sofia/default/7177422211@18.220.27.122) Ended
  666. 2021-09-22 10:54:31.674788 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/7177422211@18.220.27.122 [CS_DESTROY]
  667. 2021-09-22 10:54:31.674788 [DEBUG] switch_core_state_machine.c:739 (sofia/default/7177422211@18.220.27.122) Running State Change CS_DESTROY (Cur 0 Tot 315)
  668. 2021-09-22 10:54:31.674788 [DEBUG] switch_core_state_machine.c:749 (sofia/default/7177422211@18.220.27.122) State DESTROY
  669. 2021-09-22 10:54:31.674788 [DEBUG] mod_sofia.c:364 sofia/default/7177422211@18.220.27.122 SOFIA DESTROY
  670. 2021-09-22 10:54:31.674788 [DEBUG] switch_core_state_machine.c:181 sofia/default/7177422211@18.220.27.122 Standard DESTROY
  671. 2021-09-22 10:54:31.674788 [DEBUG] switch_core_state_machine.c:749 (sofia/default/7177422211@18.220.27.122) State DESTROY going to sleep
  672. 2021-09-22 10:54:31.794786 [DEBUG] switch_scheduler.c:147 Deleting task 65 switch_core_session_sched_heartbeat (491cbcb1-cdfd-4c20-9b5d-2319d2dd6254)
  673. 2021-09-22 10:54:31.794786 [DEBUG] switch_scheduler.c:147 Deleting task 66 switch_ivr_schedule_hangup (31df61d5-f02a-4a68-8b5d-86a40bb6a468)
  674. freeswitch@gibfibre>
  675.