From Prashant kumar, 2 Years ago, written in FreeSWITCH.
- go back
Embed
Viewing differences between and Untitled
  1. freeswitch@ip-172-31-14-218>
  2. 2022-04-28 13:32:11.814329 94.13% [WARNING] sofia_reg.c:3223 Can't find user [9815051999@3.7.66.233] from 117.247.91.162
  3. You must define a domain called '3.7.66.233' in your directory and add a user with the id="9815051999" attribute
  4. and you must configure your device to use the proper domain in its authentication credentials.
  5. 2022-04-28 13:32:11.814329 94.13% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [9815051999@3.7.66.233] from ip 117.247.91.162
  6. 2022-04-28 13:32:15.354355 94.17% [NOTICE] switch_channel.c:1123 New Channel sofia/default/5450239527@w07version60.astppbilling.org:5074 [5763f78d-0b21-4ff7-aa99-ea950bcf2cef]
  7. 2022-04-28 13:32:15.354355 94.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5450239527@w07version60.astppbilling.org:5074) Running State Change CS_NEW (Cur 1 Tot 25)
  8. 2022-04-28 13:32:15.354355 94.17% [INFO] sofia.c:10462 sofia/default/5450239527@w07version60.astppbilling.org:5074 receiving invite from 117.247.91.162:51071 version: 1.10.7 -release-19-883d2cb662 64bit call-id: YjRlYjI5YTQ2OTM4NDYyOTg2MzE5Y2QxNmU4OGE2NDc.
  9. 2022-04-28 13:32:15.354355 94.17% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 117.247.91.162:0.
  10. 2022-04-28 13:32:15.354355 94.17% [DEBUG] sofia.c:2419 detaching session 5763f78d-0b21-4ff7-aa99-ea950bcf2cef
  11. 2022-04-28 13:32:15.354355 94.17% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [77004040040@w07version60.astppbilling.org] from ip 117.247.91.162
  12. 2022-04-28 13:32:15.354355 94.17% [DEBUG] switch_core_state_machine.c:600 (sofia/default/5450239527@w07version60.astppbilling.org:5074) State NEW
  13. 2022-04-28 13:32:15.454329 94.17% [DEBUG] sofia.c:2532 Re-attaching to session 5763f78d-0b21-4ff7-aa99-ea950bcf2cef
  14. 2022-04-28 13:32:15.474322 94.17% [INFO] sofia.c:10462 sofia/default/5450239527@w07version60.astppbilling.org:5074 receiving invite from 117.247.91.162:51071 version: 1.10.7 -release-19-883d2cb662 64bit call-id: YjRlYjI5YTQ2OTM4NDYyOTg2MzE5Y2QxNmU4OGE2NDc.
  15. 2022-04-28 13:32:15.474322 94.17% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 117.247.91.162:0.
  16. 2022-04-28 13:32:15.474322 94.17% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
  17. 2022-04-28 13:32:15.474322 94.17% [DEBUG] sofia.c:7499 Channel sofia/default/5450239527@w07version60.astppbilling.org:5074 entering state [received][100]
  18. 2022-04-28 13:32:15.474322 94.17% [DEBUG] sofia.c:7509 Remote SDP:
  19. v=0
  20. o=3cxVCE 382485135 311328555 IN IP4 192.168.1.13
  21. s=3cxVCE Audio Call
  22. c=IN IP4 192.168.1.13
  23. t=0 0
  24. m=audio 40024 RTP/AVP 0 8 3 101
  25. a=rtpmap:0 PCMU/8000
  26. a=rtpmap:8 PCMA/8000
  27. a=rtpmap:3 GSM/8000
  28. a=rtpmap:101 telephone-event/8000
  29. a=fmtp:101 0-15
  30. a=ptime:20
  31. m=video 40022 RTP/AVP 34
  32. c=IN IP4 192.168.1.13
  33. a=rtpmap:34 H263/90000
  34. a=fmtp:34 QCIF=1;CIF=1;SQCIF=1;CIF4=1
  35.  
  36. 2022-04-28 13:32:15.474322 94.17% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  37. 2022-04-28 13:32:15.474322 94.17% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  38. 2022-04-28 13:32:15.474322 94.17% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  39. 2022-04-28 13:32:15.474322 94.17% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  40. 2022-04-28 13:32:15.474322 94.17% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  41. 2022-04-28 13:32:15.474322 94.17% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  42. 2022-04-28 13:32:15.474322 94.17% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  43. 2022-04-28 13:32:15.474322 94.17% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  44. 2022-04-28 13:32:15.474322 94.17% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  45. 2022-04-28 13:32:15.474322 94.17% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/5450239527@w07version60.astppbilling.org:5074 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  46. 2022-04-28 13:32:15.474322 94.17% [DEBUG] switch_core_codec.c:111 sofia/default/5450239527@w07version60.astppbilling.org:5074 Original read codec set to PCMU:0
  47. 2022-04-28 13:32:15.474322 94.17% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  48. 2022-04-28 13:32:15.474322 94.17% [DEBUG] switch_core_media.c:5973 sofia/default/5450239527@w07version60.astppbilling.org:5074 Set 2833 dtmf send payload to 101 recv payload to 101
  49. 2022-04-28 13:32:15.474322 94.17% [DEBUG] switch_core_media.c:6301 No matches with FTMP, fallback to ignoring FMTP
  50. 2022-04-28 13:32:15.474322 94.17% [DEBUG] switch_core_media.c:6309 No matches with inherit_codec, fallback to ignoring PT
  51. 2022-04-28 13:32:15.474322 94.17% [DEBUG] sofia.c:7933 (sofia/default/5450239527@w07version60.astppbilling.org:5074) State Change CS_NEW -> CS_INIT
  52. 2022-04-28 13:32:15.474322 94.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5450239527@w07version60.astppbilling.org:5074) Running State Change CS_INIT (Cur 1 Tot 25)
  53. 2022-04-28 13:32:15.474322 94.17% [DEBUG] switch_core_state_machine.c:624 (sofia/default/5450239527@w07version60.astppbilling.org:5074) State INIT
  54. 2022-04-28 13:32:15.474322 94.17% [DEBUG] mod_sofia.c:97 sofia/default/5450239527@w07version60.astppbilling.org:5074 SOFIA INIT
  55. 2022-04-28 13:32:15.474322 94.17% [DEBUG] switch_core_state_machine.c:40 sofia/default/5450239527@w07version60.astppbilling.org:5074 Standard INIT
  56. 2022-04-28 13:32:15.474322 94.17% [DEBUG] switch_core_state_machine.c:48 (sofia/default/5450239527@w07version60.astppbilling.org:5074) State Change CS_INIT -> CS_ROUTING
  57. 2022-04-28 13:32:15.474322 94.17% [DEBUG] switch_core_state_machine.c:624 (sofia/default/5450239527@w07version60.astppbilling.org:5074) State INIT going to sleep
  58. 2022-04-28 13:32:15.474322 94.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5450239527@w07version60.astppbilling.org:5074) Running State Change CS_ROUTING (Cur 1 Tot 25)
  59. 2022-04-28 13:32:15.474322 94.17% [DEBUG] switch_channel.c:2380 (sofia/default/5450239527@w07version60.astppbilling.org:5074) Callstate Change DOWN -> RINGING
  60. 2022-04-28 13:32:15.474322 94.17% [DEBUG] switch_core_state_machine.c:640 (sofia/default/5450239527@w07version60.astppbilling.org:5074) State ROUTING
  61. 2022-04-28 13:32:15.474322 94.17% [DEBUG] mod_sofia.c:158 sofia/default/5450239527@w07version60.astppbilling.org:5074 SOFIA ROUTING
  62. 2022-04-28 13:32:15.474322 94.17% [DEBUG] switch_core_state_machine.c:230 sofia/default/5450239527@w07version60.astppbilling.org:5074 Standard ROUTING
  63. 2022-04-28 13:32:15.474322 94.17% [INFO] mod_dialplan_xml.c:639 Processing 5450239527 <5450239527>->77004040040 in context default
  64. 2022-04-28 13:32:15.474322 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code')
  65. 2022-04-28 13:32:15.474322 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  66. 2022-04-28 13:32:15.494292 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 77004040040
  67. 2022-04-28 13:32:15.494292 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '77004040040' AND status=0 limit 1
  68. 2022-04-28 13:32:15.494292 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER5450239527
  69. 2022-04-28 13:32:15.494292 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  70. 2022-04-28 13:32:15.494292 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '77004040040' limit 1
  71. 2022-04-28 13:32:15.494292 94.17% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  72. 2022-04-28 13:32:15.494292 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 5450239527 / 5450239527
  73. 2022-04-28 13:32:15.494292 94.17% [DEBUG] switch_cpp.cpp:1465 [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, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="77004040040" LIMIT 1
  74. 2022-04-28 13:32:15.494292 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  75. 2022-04-28 13:32:15.494292 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="77004040040" limit 1
  76. 2022-04-28 13:32:15.494292 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  77. 2022-04-28 13:32:15.494292 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9915055083]
  78. 2022-04-28 13:32:15.494292 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9915055083" AND deleted = 0 limit 1
  79. 2022-04-28 13:32:15.494292 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^77004040040.*' OR blocked_patterns = '^7700404004.*' OR blocked_patterns = '^770040400.*' OR blocked_patterns = '^77004040.*' OR blocked_patterns = '^7700404.*' OR blocked_patterns = '^770040.*' OR blocked_patterns = '^77004.*' OR blocked_patterns = '^7700.*' OR blocked_patterns = '^770.*' OR blocked_patterns = '^77.*' OR blocked_patterns = '^7.*' OR blocked_patterns ='--') AND accountid = 6 limit 1
  80. 2022-04-28 13:32:15.494292 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="77004040040" AND (accountid = 0 OR status = 1) LIMIT 1
  81. 2022-04-28 13:32:15.494292 94.17% [DEBUG] switch_cpp.cpp:1465 [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 = '^77004040040.*' OR patterns = '^7700404004.*' OR patterns = '^770040400.*' OR patterns = '^77004040.*' OR patterns = '^7700404.*' OR patterns = '^770040.*' OR patterns = '^77004.*' OR patterns = '^7700.*' OR patterns = '^770.*' OR patterns = '^77.*' OR patterns = '^7.*' OR patterns ='--') AND accountid = 6 ORDER BY LENGTH(PKGPTR.patterns) DESC
  82. 2022-04-28 13:32:15.494292 94.17% [DEBUG] switch_cpp.cpp:1465 [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 ="77004040040" AND A.accountid = '6' limit 1
  83. 2022-04-28 13:32:15.494292 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 77004040040
  84. 2022-04-28 13:32:15.494292 94.17% [DEBUG] switch_cpp.cpp:1465 [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, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="77004040040" LIMIT 1
  85. 2022-04-28 13:32:15.494292 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  86. 2022-04-28 13:32:15.494292 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="77004040040" limit 1
  87. 2022-04-28 13:32:15.494292 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  88. 2022-04-28 13:32:15.494292 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '77004040040' OR number = '7700404004' OR number = '770040400' OR number = '77004040' OR number = '7700404' OR number = '770040' OR number = '77004' OR number = '7700' OR number = '770' OR number = '77' OR number = '7' OR number ='--') OR (number = '77004040040*' OR number = '7700404004*' OR number = '770040400*' OR number = '77004040*' OR number = '7700404*' OR number = '770040*' OR number = '77004*' OR number = '7700*' OR number = '770*' OR number = '77*' OR number = '7*' OR number ='--') OR (number = '5450239527' OR number = '545023952' OR number = '54502395' OR number = '5450239' OR number = '545023' OR number = '54502' OR number = '5450' OR number = '545' OR number = '54' OR number = '5' OR number ='--') OR (number = '5450239527*' OR number = '545023952*' OR number = '54502395*' OR number = '5450239*' OR number = '545023*' OR number = '54502*' OR number = '5450*' OR number = '545*' OR number = '54*' OR number = '5*' OR number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  89. 2022-04-28 13:32:15.514295 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  90. 2022-04-28 13:32:15.514295 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '77004040040' OR routing_prefix = '7700404004' OR routing_prefix = '770040400' OR routing_prefix = '77004040' OR routing_prefix = '7700404' OR routing_prefix = '770040' OR routing_prefix = '77004' OR routing_prefix = '7700' OR routing_prefix = '770' OR routing_prefix = '77' OR routing_prefix = '7' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  91. 2022-04-28 13:32:15.514295 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  92. 2022-04-28 13:32:15.514295 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 6
  93. 2022-04-28 13:32:15.514295 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9915055083
  94. 2022-04-28 13:32:15.514295 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 19940.7
  95. 2022-04-28 13:32:15.514295 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  96. 2022-04-28 13:32:15.514295 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  97. 2022-04-28 13:32:15.514295 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  98. 2022-04-28 13:32:15.514295 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  99. 2022-04-28 13:32:15.514295 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  100. 2022-04-28 13:32:15.514295 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  101. 2022-04-28 13:32:15.514295 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  102. 2022-04-28 13:32:15.514295 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^77004040040.*' OR pattern = '^7700404004.*' OR pattern = '^770040400.*' OR pattern = '^77004040.*' OR pattern = '^7700404.*' OR pattern = '^770040.*' OR pattern = '^77004.*' OR pattern = '^7700.*' OR pattern = '^770.*' OR pattern = '^77.*' OR pattern = '^7.*' OR pattern ='--') AND (caller_id_pattern = '^5450239527.*' OR caller_id_pattern = '^545023952.*' OR caller_id_pattern = '^54502395.*' OR caller_id_pattern = '^5450239.*' OR caller_id_pattern = '^545023.*' OR caller_id_pattern = '^54502.*' OR caller_id_pattern = '^5450.*' OR caller_id_pattern = '^545.*' OR caller_id_pattern = '^54.*' OR caller_id_pattern = '^5.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 1 OR accountid=6)  ORDER BY accountid DESC,LENGTH(pattern),LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  103. 2022-04-28 13:32:15.514295 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  104. 2022-04-28 13:32:15.514295 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  105. 2022-04-28 13:32:15.514295 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 6
  106. 2022-04-28 13:32:15.514295 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  107. 2022-04-28 13:32:15.514295 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  108. 2022-04-28 13:32:15.514295 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.30000
  109. 2022-04-28 13:32:15.514295 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Bhopal
  110. 2022-04-28 13:32:15.514295 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 23
  111. 2022-04-28 13:32:15.514295 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 6
  112. 2022-04-28 13:32:15.514295 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  113. 2022-04-28 13:32:15.514295 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  114. 2022-04-28 13:32:15.514295 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  115. 2022-04-28 13:32:15.514295 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your19940.7 balance Accountid 6 !!!
  116. 2022-04-28 13:32:15.514295 94.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 1000 mins!
  117. 2022-04-28 13:32:15.514295 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 1000 minutes
  118. 2022-04-28 13:32:15.514295 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
  119. 2022-04-28 13:32:15.514295 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=1 ORDER by id asc
  120. 2022-04-28 13:32:15.514295 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.sip_cid_type,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^77004040040.*' OR pattern = '^7700404004.*' OR pattern = '^770040400.*' OR pattern = '^77004040.*' OR pattern = '^7700404.*' OR pattern = '^770040.*' OR pattern = '^77004.*' OR pattern = '^7700.*' OR pattern = '^770.*' OR pattern = '^77.*' OR pattern = '^7.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (1) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC
  121. 2022-04-28 13:32:15.514295 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  122. 2022-04-28 13:32:15.514295 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 2
  123. 2022-04-28 13:32:15.514295 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^77.*
  124. 2022-04-28 13:32:15.514295 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : QA Sender Your Trucking
  125. 2022-04-28 13:32:15.514295 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  126. 2022-04-28 13:32:15.514295 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  127. 2022-04-28 13:32:15.514295 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^77.*
  128. 2022-04-28 13:32:15.514295 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  129. 2022-04-28 13:32:15.514295 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  130. 2022-04-28 13:32:15.514295 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 1
  131. 2022-04-28 13:32:15.514295 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : YourProvider
  132. 2022-04-28 13:32:15.514295 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  133. 2022-04-28 13:32:15.514295 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  134. 2022-04-28 13:32:15.514295 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  135. 2022-04-28 13:32:15.514295 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  136. 2022-04-28 13:32:15.514295 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  137. 2022-04-28 13:32:15.514295 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 6 AND status=0 LIMIT 1
  138. 2022-04-28 13:32:15.514295 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 1000
  139. 2022-04-28 13:32:15.514295 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  140. 2022-04-28 13:32:15.514295 94.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  141. 2022-04-28 13:32:15.514295 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  142. 2022-04-28 13:32:15.514295 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 3) AND status=0 limit 1
  143. 2022-04-28 13:32:15.514295 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 1) AND status=0 limit 1
  144. 2022-04-28 13:32:15.514295 94.17% [DEBUG] switch_cpp.cpp:1465 [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, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="77004040040" LIMIT 1
  145. 2022-04-28 13:32:15.514295 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  146. 2022-04-28 13:32:15.514295 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  147. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  148. <document type="freeswitch/xml">
  149. <section name="dialplan" description="ASTPP Dialplan">
  150. <context name="default">
  151. <extension name="77004040040">
  152. <condition field="destination_number" expression="77004040040">
  153. <action application="set" data="effective_destination_number=77004040040"/>
  154. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  155. <action application="set" data="bridge_pre_execute_bleg_data=+60000 normal_clearing"/>
  156. <action application="set" data="callstart=2022-04-28 13:32:15"/>
  157. <action application="set" data="hangup_after_bridge=true"/>
  158. <action application="set" data="continue_on_fail=TRUE"/>
  159. <action application="set" data="account_id=6"/>
  160. <action application="set" data="parent_id=0"/>
  161. <action application="set" data="entity_id=0"/>
  162. <action application="set" data="call_processed=internal"/>
  163. <action application="set" data="call_direction=outbound"/>
  164. <action application="set" data="accountname=default"/>
  165. <action application="set" data="filename1=astpp.pbx.lua"/>
  166. <action application="set" data="origination_rates=ID:6|CODE:^77.*|DESTINATION:Bhopal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.30000|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:23|ACCID:6"/>
  167. <action application="set" data="original_caller_id_name=5450239527"/>
  168. <action application="set" data="original_caller_id_number=5450239527"/>
  169.  
  170. <action application="set" data="effective_caller_id_name=5450239527"/>
  171. <action application="set" data="effective_caller_id_number=5450239527"/>
  172. <action application="set" data="calltype=STANDARD"/>
  173. <action application="set" data="termination_rates=ID:2|CODE:^77.*|DESTINATION:QA Sender Your Trucking|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.15000|INC:60|INITIALBLOCK:60|TRUNK:1|PROVIDER:3"/>
  174. <action application="set" data="trunk_id=1"/>
  175. <action application="set" data="provider_id=3"/>
  176. <action application="set" data="rate_flag=0"/>
  177. <action application="set" data="force_trunk_flag=0"/>
  178. <action application="export" data="presence_data=trunk_id=1"/>
  179. <action application="set" data="intcall=0"/>
  180. <action application="export" data="presence_id=77004040040"/>
  181. <action application="export" data="presence_data=x|||Call Testing(9915055083)|||^77.* // Bhopal // 0.30000 |||YourTrunk // ^77.* // QA Sender Your Trucking // 0.15000 // trunk_id=1|||STD|||117.247.91.162"/>
  182. <action application="set" data="percentage_trunk_id=1"/>
  183. <action application="set" data="percentage_rate_group_id=1"/>
  184. <action application="set" data="percentage_old_trunk_id=0"/>
  185. <action application="set" data="percentage_force_outbound_routes=0"/>
  186. <action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
  187. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/77004040040"/>
  188. </condition>
  189. </extension>
  190. </context>
  191. </section>
  192. </document>
  193. Dialplan: sofia/default/5450239527@w07version60.astppbilling.org:5074 parsing [default->77004040040] continue=false
  194. Dialplan: sofia/default/5450239527@w07version60.astppbilling.org:5074 Regex (PASS) [77004040040] destination_number(77004040040) =~ /77004040040/ break=on-false
  195. Dialplan: sofia/default/5450239527@w07version60.astppbilling.org:5074 Action set(effective_destination_number=77004040040)
  196. Dialplan: sofia/default/5450239527@w07version60.astppbilling.org:5074 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  197. Dialplan: sofia/default/5450239527@w07version60.astppbilling.org:5074 Action set(bridge_pre_execute_bleg_data=+60000 normal_clearing)
  198. Dialplan: sofia/default/5450239527@w07version60.astppbilling.org:5074 Action set(callstart=2022-04-28 13:32:15)
  199. Dialplan: sofia/default/5450239527@w07version60.astppbilling.org:5074 Action set(hangup_after_bridge=true)
  200. Dialplan: sofia/default/5450239527@w07version60.astppbilling.org:5074 Action set(continue_on_fail=TRUE)
  201. Dialplan: sofia/default/5450239527@w07version60.astppbilling.org:5074 Action set(account_id=6)
  202. Dialplan: sofia/default/5450239527@w07version60.astppbilling.org:5074 Action set(parent_id=0)
  203. Dialplan: sofia/default/5450239527@w07version60.astppbilling.org:5074 Action set(entity_id=0)
  204. Dialplan: sofia/default/5450239527@w07version60.astppbilling.org:5074 Action set(call_processed=internal)
  205. Dialplan: sofia/default/5450239527@w07version60.astppbilling.org:5074 Action set(call_direction=outbound)
  206. Dialplan: sofia/default/5450239527@w07version60.astppbilling.org:5074 Action set(accountname=default)
  207. Dialplan: sofia/default/5450239527@w07version60.astppbilling.org:5074 Action set(filename1=astpp.pbx.lua)
  208. Dialplan: sofia/default/5450239527@w07version60.astppbilling.org:5074 Action set(origination_rates=ID:6|CODE:^77.*|DESTINATION:Bhopal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.30000|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:23|ACCID:6)
  209. Dialplan: sofia/default/5450239527@w07version60.astppbilling.org:5074 Action set(original_caller_id_name=5450239527)
  210. Dialplan: sofia/default/5450239527@w07version60.astppbilling.org:5074 Action set(original_caller_id_number=5450239527)
  211. Dialplan: sofia/default/5450239527@w07version60.astppbilling.org:5074 Action set(effective_caller_id_name=5450239527)
  212. Dialplan: sofia/default/5450239527@w07version60.astppbilling.org:5074 Action set(effective_caller_id_number=5450239527)
  213. Dialplan: sofia/default/5450239527@w07version60.astppbilling.org:5074 Action set(calltype=STANDARD)
  214. Dialplan: sofia/default/5450239527@w07version60.astppbilling.org:5074 Action set(termination_rates=ID:2|CODE:^77.*|DESTINATION:QA Sender Your Trucking|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.15000|INC:60|INITIALBLOCK:60|TRUNK:1|PROVIDER:3)
  215. Dialplan: sofia/default/5450239527@w07version60.astppbilling.org:5074 Action set(trunk_id=1)
  216. Dialplan: sofia/default/5450239527@w07version60.astppbilling.org:5074 Action set(provider_id=3)
  217. Dialplan: sofia/default/5450239527@w07version60.astppbilling.org:5074 Action set(rate_flag=0)
  218. Dialplan: sofia/default/5450239527@w07version60.astppbilling.org:5074 Action set(force_trunk_flag=0)
  219. Dialplan: sofia/default/5450239527@w07version60.astppbilling.org:5074 Action export(presence_data=trunk_id=1)
  220. Dialplan: sofia/default/5450239527@w07version60.astppbilling.org:5074 Action set(intcall=0)
  221. Dialplan: sofia/default/5450239527@w07version60.astppbilling.org:5074 Action export(presence_id=77004040040)
  222. Dialplan: sofia/default/5450239527@w07version60.astppbilling.org:5074 Action export(presence_data=x|||Call Testing(9915055083)|||^77.* // Bhopal // 0.30000 |||YourTrunk // ^77.* // QA Sender Your Trucking // 0.15000 // trunk_id=1|||STD|||117.247.91.162)
  223. Dialplan: sofia/default/5450239527@w07version60.astppbilling.org:5074 Action set(percentage_trunk_id=1)
  224. Dialplan: sofia/default/5450239527@w07version60.astppbilling.org:5074 Action set(percentage_rate_group_id=1)
  225. Dialplan: sofia/default/5450239527@w07version60.astppbilling.org:5074 Action set(percentage_old_trunk_id=0)
  226. Dialplan: sofia/default/5450239527@w07version60.astppbilling.org:5074 Action set(percentage_force_outbound_routes=0)
  227. Dialplan: sofia/default/5450239527@w07version60.astppbilling.org:5074 Action set(execute_on_answer=lua astpp_percentage.lua)
  228. Dialplan: sofia/default/5450239527@w07version60.astppbilling.org:5074 Action bridge({sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/77004040040)
  229. 2022-04-28 13:32:15.534297 94.17% [DEBUG] switch_core_state_machine.c:281 (sofia/default/5450239527@w07version60.astppbilling.org:5074) State Change CS_ROUTING -> CS_EXECUTE
  230. 2022-04-28 13:32:15.534297 94.17% [DEBUG] switch_core_state_machine.c:640 (sofia/default/5450239527@w07version60.astppbilling.org:5074) State ROUTING going to sleep
  231. 2022-04-28 13:32:15.534297 94.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5450239527@w07version60.astppbilling.org:5074) Running State Change CS_EXECUTE (Cur 1 Tot 25)
  232. 2022-04-28 13:32:15.534297 94.17% [DEBUG] switch_core_state_machine.c:647 (sofia/default/5450239527@w07version60.astppbilling.org:5074) State EXECUTE
  233. 2022-04-28 13:32:15.534297 94.17% [DEBUG] mod_sofia.c:213 sofia/default/5450239527@w07version60.astppbilling.org:5074 SOFIA EXECUTE
  234. 2022-04-28 13:32:15.534297 94.17% [DEBUG] switch_core_state_machine.c:323 sofia/default/5450239527@w07version60.astppbilling.org:5074 Standard EXECUTE
  235. EXECUTE [depth=0] sofia/default/5450239527@w07version60.astppbilling.org:5074 set(effective_destination_number=77004040040)
  236. 2022-04-28 13:32:15.534297 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/5450239527@w07version60.astppbilling.org:5074 [effective_destination_number]=[77004040040]
  237. EXECUTE [depth=0] sofia/default/5450239527@w07version60.astppbilling.org:5074 set(bridge_pre_execute_bleg_app=sched_hangup)
  238. 2022-04-28 13:32:15.534297 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/5450239527@w07version60.astppbilling.org:5074 [bridge_pre_execute_bleg_app]=[sched_hangup]
  239. EXECUTE [depth=0] sofia/default/5450239527@w07version60.astppbilling.org:5074 set(bridge_pre_execute_bleg_data=+60000 normal_clearing)
  240. 2022-04-28 13:32:15.534297 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/5450239527@w07version60.astppbilling.org:5074 [bridge_pre_execute_bleg_data]=[+60000 normal_clearing]
  241. EXECUTE [depth=0] sofia/default/5450239527@w07version60.astppbilling.org:5074 set(callstart=2022-04-28 13:32:15)
  242. 2022-04-28 13:32:15.534297 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/5450239527@w07version60.astppbilling.org:5074 [callstart]=[2022-04-28 13:32:15]
  243. EXECUTE [depth=0] sofia/default/5450239527@w07version60.astppbilling.org:5074 set(hangup_after_bridge=true)
  244. 2022-04-28 13:32:15.534297 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/5450239527@w07version60.astppbilling.org:5074 [hangup_after_bridge]=[true]
  245. EXECUTE [depth=0] sofia/default/5450239527@w07version60.astppbilling.org:5074 set(continue_on_fail=TRUE)
  246. 2022-04-28 13:32:15.534297 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/5450239527@w07version60.astppbilling.org:5074 [continue_on_fail]=[TRUE]
  247. EXECUTE [depth=0] sofia/default/5450239527@w07version60.astppbilling.org:5074 set(account_id=6)
  248. 2022-04-28 13:32:15.534297 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/5450239527@w07version60.astppbilling.org:5074 [account_id]=[6]
  249. EXECUTE [depth=0] sofia/default/5450239527@w07version60.astppbilling.org:5074 set(parent_id=0)
  250. 2022-04-28 13:32:15.534297 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/5450239527@w07version60.astppbilling.org:5074 [parent_id]=[0]
  251. EXECUTE [depth=0] sofia/default/5450239527@w07version60.astppbilling.org:5074 set(entity_id=0)
  252. 2022-04-28 13:32:15.534297 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/5450239527@w07version60.astppbilling.org:5074 [entity_id]=[0]
  253. EXECUTE [depth=0] sofia/default/5450239527@w07version60.astppbilling.org:5074 set(call_processed=internal)
  254. 2022-04-28 13:32:15.534297 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/5450239527@w07version60.astppbilling.org:5074 [call_processed]=[internal]
  255. EXECUTE [depth=0] sofia/default/5450239527@w07version60.astppbilling.org:5074 set(call_direction=outbound)
  256. 2022-04-28 13:32:15.534297 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/5450239527@w07version60.astppbilling.org:5074 [call_direction]=[outbound]
  257. EXECUTE [depth=0] sofia/default/5450239527@w07version60.astppbilling.org:5074 set(accountname=default)
  258. 2022-04-28 13:32:15.534297 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/5450239527@w07version60.astppbilling.org:5074 [accountname]=[default]
  259. EXECUTE [depth=0] sofia/default/5450239527@w07version60.astppbilling.org:5074 set(filename1=astpp.pbx.lua)
  260. 2022-04-28 13:32:15.534297 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/5450239527@w07version60.astppbilling.org:5074 [filename1]=[astpp.pbx.lua]
  261. EXECUTE [depth=0] sofia/default/5450239527@w07version60.astppbilling.org:5074 set(origination_rates=ID:6|CODE:^77.*|DESTINATION:Bhopal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.30000|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:23|ACCID:6)
  262. 2022-04-28 13:32:15.534297 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/5450239527@w07version60.astppbilling.org:5074 [origination_rates]=[ID:6|CODE:^77.*|DESTINATION:Bhopal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.30000|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:23|ACCID:6]
  263. EXECUTE [depth=0] sofia/default/5450239527@w07version60.astppbilling.org:5074 set(original_caller_id_name=5450239527)
  264. 2022-04-28 13:32:15.534297 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/5450239527@w07version60.astppbilling.org:5074 [original_caller_id_name]=[5450239527]
  265. EXECUTE [depth=0] sofia/default/5450239527@w07version60.astppbilling.org:5074 set(original_caller_id_number=5450239527)
  266. 2022-04-28 13:32:15.534297 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/5450239527@w07version60.astppbilling.org:5074 [original_caller_id_number]=[5450239527]
  267. EXECUTE [depth=0] sofia/default/5450239527@w07version60.astppbilling.org:5074 set(effective_caller_id_name=5450239527)
  268. 2022-04-28 13:32:15.534297 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/5450239527@w07version60.astppbilling.org:5074 [effective_caller_id_name]=[5450239527]
  269. EXECUTE [depth=0] sofia/default/5450239527@w07version60.astppbilling.org:5074 set(effective_caller_id_number=5450239527)
  270. 2022-04-28 13:32:15.534297 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/5450239527@w07version60.astppbilling.org:5074 [effective_caller_id_number]=[5450239527]
  271. EXECUTE [depth=0] sofia/default/5450239527@w07version60.astppbilling.org:5074 set(calltype=STANDARD)
  272. 2022-04-28 13:32:15.534297 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/5450239527@w07version60.astppbilling.org:5074 [calltype]=[STANDARD]
  273. EXECUTE [depth=0] sofia/default/5450239527@w07version60.astppbilling.org:5074 set(termination_rates=ID:2|CODE:^77.*|DESTINATION:QA Sender Your Trucking|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.15000|INC:60|INITIALBLOCK:60|TRUNK:1|PROVIDER:3)
  274. 2022-04-28 13:32:15.534297 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/5450239527@w07version60.astppbilling.org:5074 [termination_rates]=[ID:2|CODE:^77.*|DESTINATION:QA Sender Your Trucking|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.15000|INC:60|INITIALBLOCK:60|TRUNK:1|PROVIDER:3]
  275. EXECUTE [depth=0] sofia/default/5450239527@w07version60.astppbilling.org:5074 set(trunk_id=1)
  276. 2022-04-28 13:32:15.534297 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/5450239527@w07version60.astppbilling.org:5074 [trunk_id]=[1]
  277. EXECUTE [depth=0] sofia/default/5450239527@w07version60.astppbilling.org:5074 set(provider_id=3)
  278. 2022-04-28 13:32:15.534297 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/5450239527@w07version60.astppbilling.org:5074 [provider_id]=[3]
  279. EXECUTE [depth=0] sofia/default/5450239527@w07version60.astppbilling.org:5074 set(rate_flag=0)
  280. 2022-04-28 13:32:15.534297 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/5450239527@w07version60.astppbilling.org:5074 [rate_flag]=[0]
  281. EXECUTE [depth=0] sofia/default/5450239527@w07version60.astppbilling.org:5074 set(force_trunk_flag=0)
  282. 2022-04-28 13:32:15.534297 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/5450239527@w07version60.astppbilling.org:5074 [force_trunk_flag]=[0]
  283. EXECUTE [depth=0] sofia/default/5450239527@w07version60.astppbilling.org:5074 export(presence_data=trunk_id=1)
  284. 2022-04-28 13:32:15.534297 94.17% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=1]
  285. EXECUTE [depth=0] sofia/default/5450239527@w07version60.astppbilling.org:5074 set(intcall=0)
  286. 2022-04-28 13:32:15.534297 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/5450239527@w07version60.astppbilling.org:5074 [intcall]=[0]
  287. EXECUTE [depth=0] sofia/default/5450239527@w07version60.astppbilling.org:5074 export(presence_id=77004040040)
  288. 2022-04-28 13:32:15.534297 94.17% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[77004040040]
  289. EXECUTE [depth=0] sofia/default/5450239527@w07version60.astppbilling.org:5074 export(presence_data=x|||Call Testing(9915055083)|||^77.* // Bhopal // 0.30000 |||YourTrunk // ^77.* // QA Sender Your Trucking // 0.15000 // trunk_id=1|||STD|||117.247.91.162)
  290. 2022-04-28 13:32:15.534297 94.17% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Call Testing(9915055083)|||^77.* // Bhopal // 0.30000 |||YourTrunk // ^77.* // QA Sender Your Trucking // 0.15000 // trunk_id=1|||STD|||117.247.91.162]
  291. EXECUTE [depth=0] sofia/default/5450239527@w07version60.astppbilling.org:5074 set(percentage_trunk_id=1)
  292. 2022-04-28 13:32:15.534297 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/5450239527@w07version60.astppbilling.org:5074 [percentage_trunk_id]=[1]
  293. EXECUTE [depth=0] sofia/default/5450239527@w07version60.astppbilling.org:5074 set(percentage_rate_group_id=1)
  294. 2022-04-28 13:32:15.534297 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/5450239527@w07version60.astppbilling.org:5074 [percentage_rate_group_id]=[1]
  295. EXECUTE [depth=0] sofia/default/5450239527@w07version60.astppbilling.org:5074 set(percentage_old_trunk_id=0)
  296. 2022-04-28 13:32:15.534297 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/5450239527@w07version60.astppbilling.org:5074 [percentage_old_trunk_id]=[0]
  297. EXECUTE [depth=0] sofia/default/5450239527@w07version60.astppbilling.org:5074 set(percentage_force_outbound_routes=0)
  298. 2022-04-28 13:32:15.534297 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/5450239527@w07version60.astppbilling.org:5074 [percentage_force_outbound_routes]=[0]
  299. EXECUTE [depth=0] sofia/default/5450239527@w07version60.astppbilling.org:5074 set(execute_on_answer=lua astpp_percentage.lua)
  300. 2022-04-28 13:32:15.534297 94.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/5450239527@w07version60.astppbilling.org:5074 [execute_on_answer]=[lua astpp_percentage.lua]
  301. EXECUTE [depth=0] sofia/default/5450239527@w07version60.astppbilling.org:5074 bridge({sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/77004040040)
  302. 2022-04-28 13:32:15.534297 94.17% [DEBUG] switch_channel.c:1269 sofia/default/5450239527@w07version60.astppbilling.org:5074 EXPORTING[export_vars] [presence_data]=[x|||Call Testing(9915055083)|||^77.* // Bhopal // 0.30000 |||YourTrunk // ^77.* // QA Sender Your Trucking // 0.15000 // trunk_id=1|||STD|||117.247.91.162] to event
  303. 2022-04-28 13:32:15.534297 94.17% [DEBUG] switch_channel.c:1269 sofia/default/5450239527@w07version60.astppbilling.org:5074 EXPORTING[export_vars] [presence_id]=[77004040040] to event
  304. 2022-04-28 13:32:15.534297 94.17% [DEBUG] switch_channel.c:1269 sofia/default/5450239527@w07version60.astppbilling.org:5074 EXPORTING[export_vars] [presence_data]=[x|||Call Testing(9915055083)|||^77.* // Bhopal // 0.30000 |||YourTrunk // ^77.* // QA Sender Your Trucking // 0.15000 // trunk_id=1|||STD|||117.247.91.162] to event
  305. 2022-04-28 13:32:15.534297 94.17% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  306. 2022-04-28 13:32:15.534297 94.17% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  307. 2022-04-28 13:32:15.534297 94.17% [NOTICE] switch_channel.c:1123 New Channel sofia/default/77004040040 [a0b32415-2eb9-4bc5-a943-76d4172f5883]
  308. 2022-04-28 13:32:15.534297 94.17% [DEBUG] mod_sofia.c:5121 (sofia/default/77004040040) State Change CS_NEW -> CS_INIT
  309. 2022-04-28 13:32:15.534297 94.17% [DEBUG] switch_ivr_originate.c:3151 sofia/default/77004040040 Setting leg timeout to 30
  310. 2022-04-28 13:32:15.534297 94.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/77004040040) Running State Change CS_INIT (Cur 2 Tot 26)
  311. 2022-04-28 13:32:15.534297 94.17% [DEBUG] switch_core_state_machine.c:624 (sofia/default/77004040040) State INIT
  312. 2022-04-28 13:32:15.534297 94.17% [DEBUG] mod_sofia.c:97 sofia/default/77004040040 SOFIA INIT
  313. 2022-04-28 13:32:15.534297 94.17% [INFO] sofia_glue.c:1651 sofia/default/77004040040 sending invite call-id: (null)
  314. 2022-04-28 13:32:15.534297 94.17% [DEBUG] sofia_glue.c:1654 sofia/default/77004040040 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
  315. Local SDP:
  316. v=0
  317. o=FreeSWITCH 1651126479 1651126480 IN IP4 172.31.14.218
  318. s=FreeSWITCH
  319. c=IN IP4 172.31.14.218
  320. t=0 0
  321. m=audio 26256 RTP/AVP 8 18 101
  322. a=rtpmap:8 PCMA/8000
  323. a=rtpmap:18 G729/8000
  324. a=rtpmap:101 telephone-event/8000
  325. a=fmtp:101 0-15
  326. a=ptime:20
  327. a=sendrecv
  328.  
  329. 2022-04-28 13:32:15.534297 94.17% [DEBUG] switch_core_state_machine.c:40 sofia/default/77004040040 Standard INIT
  330. 2022-04-28 13:32:15.534297 94.17% [DEBUG] switch_core_state_machine.c:48 (sofia/default/77004040040) State Change CS_INIT -> CS_ROUTING
  331. 2022-04-28 13:32:15.534297 94.17% [DEBUG] switch_core_state_machine.c:624 (sofia/default/77004040040) State INIT going to sleep
  332. 2022-04-28 13:32:15.534297 94.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/77004040040) Running State Change CS_ROUTING (Cur 2 Tot 26)
  333. 2022-04-28 13:32:15.534297 94.17% [DEBUG] sofia.c:7499 Channel sofia/default/77004040040 entering state [calling][0]
  334. 2022-04-28 13:32:15.534297 94.17% [DEBUG] switch_core_state_machine.c:640 (sofia/default/77004040040) State ROUTING
  335. 2022-04-28 13:32:15.534297 94.17% [DEBUG] mod_sofia.c:158 sofia/default/77004040040 SOFIA ROUTING
  336. 2022-04-28 13:32:15.534297 94.17% [DEBUG] switch_ivr_originate.c:67 (sofia/default/77004040040) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  337. 2022-04-28 13:32:15.534297 94.17% [DEBUG] switch_core_state_machine.c:640 (sofia/default/77004040040) State ROUTING going to sleep
  338. 2022-04-28 13:32:15.534297 94.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/77004040040) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 26)
  339. 2022-04-28 13:32:15.534297 94.17% [DEBUG] switch_core_state_machine.c:659 (sofia/default/77004040040) State CONSUME_MEDIA
  340. 2022-04-28 13:32:15.534297 94.17% [DEBUG] switch_core_state_machine.c:659 (sofia/default/77004040040) State CONSUME_MEDIA going to sleep
  341. 2022-04-28 13:32:15.734329 94.17% [DEBUG] sofia.c:7499 Channel sofia/default/77004040040 entering state [completing][200]
  342. 2022-04-28 13:32:15.734329 94.17% [DEBUG] sofia.c:7509 Remote SDP:
  343. v=0
  344. o=root 2125443417 2125443417 IN IP4 159.203.131.36
  345. s=Asterisk PBX 16.4.0
  346. c=IN IP4 159.203.131.36
  347. t=0 0
  348. m=audio 17412 RTP/AVP 8 101
  349. a=rtpmap:8 PCMA/8000
  350. a=rtpmap:101 telephone-event/8000
  351. a=fmtp:101 0-16
  352. a=maxptime:150
  353.  
  354. 2022-04-28 13:32:15.734329 94.17% [DEBUG] sofia.c:7499 Channel sofia/default/77004040040 entering state [ready][200]
  355. 2022-04-28 13:32:15.734329 94.17% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1]
  356. 2022-04-28 13:32:15.734329 94.17% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  357. 2022-04-28 13:32:15.734329 94.17% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[G729:18:8000:20:8000:1]
  358. 2022-04-28 13:32:15.734329 94.17% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  359. 2022-04-28 13:32:15.734329 94.17% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/77004040040 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  360. 2022-04-28 13:32:15.734329 94.17% [DEBUG] switch_core_codec.c:111 sofia/default/77004040040 Original read codec set to PCMA:8
  361. 2022-04-28 13:32:15.734329 94.17% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  362. 2022-04-28 13:32:15.734329 94.17% [DEBUG] switch_core_media.c:5973 sofia/default/77004040040 Set 2833 dtmf send payload to 101 recv payload to 101
  363. 2022-04-28 13:32:15.734329 94.17% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/77004040040] 172.31.14.218 port 26256 -> 159.203.131.36 port 17412 codec: 8 ms: 20
  364. 2022-04-28 13:32:15.734329 94.17% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  365. 2022-04-28 13:32:15.734329 94.17% [DEBUG] switch_core_media.c:9089 sofia/default/77004040040 Set 2833 dtmf send payload to 101
  366. 2022-04-28 13:32:15.734329 94.17% [DEBUG] switch_core_media.c:9096 sofia/default/77004040040 Set 2833 dtmf receive payload to 101
  367. 2022-04-28 13:32:15.734329 94.17% [DEBUG] switch_core_media.c:9119 sofia/default/77004040040 Set rtp dtmf delay to 40
  368. 2022-04-28 13:32:15.734329 94.17% [NOTICE] sofia.c:8683 Channel [sofia/default/77004040040] has been answered
  369. 2022-04-28 13:32:15.734329 94.17% [DEBUG] switch_channel.c:3950 (sofia/default/77004040040) Callstate Change DOWN -> ACTIVE
  370. 2022-04-28 13:32:15.734329 94.17% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/5450239527@w07version60.astppbilling.org:5074] 172.31.14.218 port 25572 -> 192.168.1.13 port 40024 codec: 0 ms: 20
  371. 2022-04-28 13:32:15.734329 94.17% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  372. 2022-04-28 13:32:15.734329 94.17% [DEBUG] switch_core_media.c:9089 sofia/default/5450239527@w07version60.astppbilling.org:5074 Set 2833 dtmf send payload to 101
  373. 2022-04-28 13:32:15.734329 94.17% [DEBUG] switch_core_media.c:9096 sofia/default/5450239527@w07version60.astppbilling.org:5074 Set 2833 dtmf receive payload to 101
  374. 2022-04-28 13:32:15.734329 94.17% [DEBUG] switch_core_media.c:9119 sofia/default/5450239527@w07version60.astppbilling.org:5074 Set rtp dtmf delay to 40
  375. 2022-04-28 13:32:15.734329 94.17% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/5450239527@w07version60.astppbilling.org:5074:
  376. v=0
  377. o=FreeSWITCH 1651127163 1651127164 IN IP4 172.31.14.218
  378. s=FreeSWITCH
  379. c=IN IP4 172.31.14.218
  380. t=0 0
  381. m=audio 25572 RTP/AVP 0 101
  382. a=rtpmap:0 PCMU/8000
  383. a=rtpmap:101 telephone-event/8000
  384. a=fmtp:101 0-15
  385. a=ptime:20
  386. a=sendrecv
  387. m=video 0 RTP/AVP 19
  388.  
  389. 2022-04-28 13:32:15.734329 94.17% [DEBUG] sofia.c:7499 Channel sofia/default/5450239527@w07version60.astppbilling.org:5074 entering state [completed][200]
  390. 2022-04-28 13:32:15.734329 94.17% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/default/5450239527@w07version60.astppbilling.org:5074] has been answered
  391. EXECUTE [depth=0] sofia/default/5450239527@w07version60.astppbilling.org:5074 lua(astpp_percentage.lua)
  392. 2022-04-28 13:32:15.734329 94.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code')
  393. 2022-04-28 13:32:15.754293 94.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] SECTION
  394. 2022-04-28 13:32:15.754293 94.17% [DEBUG] switch_cpp.cpp:1209 sofia/default/5450239527@w07version60.astppbilling.org:5074 destroy/unlink session from object
  395. 2022-04-28 13:32:15.754293 94.17% [DEBUG] switch_channel.c:3950 (sofia/default/5450239527@w07version60.astppbilling.org:5074) Callstate Change RINGING -> ACTIVE
  396. 2022-04-28 13:32:15.754293 94.17% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/77004040040] Peer UUID: a0b32415-2eb9-4bc5-a943-76d4172f5883
  397. 2022-04-28 13:32:15.754293 94.17% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/77004040040) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  398. 2022-04-28 13:32:15.754293 94.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/77004040040) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 26)
  399. 2022-04-28 13:32:15.754293 94.17% [DEBUG] switch_core_state_machine.c:650 (sofia/default/77004040040) State EXCHANGE_MEDIA
  400. 2022-04-28 13:32:15.754293 94.17% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  401. 2022-04-28 13:32:15.854363 93.77% [DEBUG] sofia.c:7499 Channel sofia/default/5450239527@w07version60.astppbilling.org:5074 entering state [ready][200]
  402. 2022-04-28 13:32:15.934292 93.77% [DEBUG] switch_ivr_bridge.c:655 sofia/default/77004040040 Bridge execute app sched_hangup(+60000 normal_clearing)
  403. 2022-04-28 13:32:15.954291 93.77% [DEBUG] switch_ivr.c:632 sofia/default/77004040040 Command Execute [depth=0] sched_hangup(+60000 normal_clearing)
  404. EXECUTE [depth=0] sofia/default/77004040040 sched_hangup(+60000 normal_clearing)
  405. 2022-04-28 13:32:15.954291 93.77% [DEBUG] switch_scheduler.c:263 Added task 7 switch_ivr_schedule_hangup (a0b32415-2eb9-4bc5-a943-76d4172f5883) to run at 1651212735
  406. 2022-04-28 13:32:33.934301 96.13% [WARNING] sofia_reg.c:3223 Can't find user [9815051999@3.7.66.233] from 117.247.91.162
  407. You must define a domain called '3.7.66.233' in your directory and add a user with the id="9815051999" attribute
  408. and you must configure your device to use the proper domain in its authentication credentials.
  409. 2022-04-28 13:32:33.934301 96.13% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [9815051999@3.7.66.233] from ip 117.247.91.162
  410. 2022-04-28 13:32:55.034316 97.57% [WARNING] sofia_reg.c:3223 Can't find user [9815051999@3.7.66.233] from 117.247.91.162
  411. You must define a domain called '3.7.66.233' in your directory and add a user with the id="9815051999" attribute
  412. and you must configure your device to use the proper domain in its authentication credentials.
  413. 2022-04-28 13:32:55.034316 97.57% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [9815051999@3.7.66.233] from ip 117.247.91.162
  414. 2022-04-28 13:33:02.234294 96.83% [NOTICE] sofia.c:1065 Hangup sofia/default/5450239527@w07version60.astppbilling.org:5074 [CS_EXECUTE] [NORMAL_CLEARING]
  415. 2022-04-28 13:33:02.234294 96.83% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/5450239527@w07version60.astppbilling.org:5074]
  416. 2022-04-28 13:33:02.254294 96.83% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/77004040040]
  417. 2022-04-28 13:33:02.254294 96.83% [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/77004040040 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  418. 2022-04-28 13:33:02.254294 96.83% [DEBUG] switch_core_state_machine.c:650 (sofia/default/77004040040) State EXCHANGE_MEDIA going to sleep
  419. 2022-04-28 13:33:02.254294 96.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/77004040040) Running State Change CS_HANGUP (Cur 2 Tot 26)
  420. 2022-04-28 13:33:02.254294 96.83% [DEBUG] switch_core_state_machine.c:844 (sofia/default/77004040040) Callstate Change ACTIVE -> HANGUP
  421. 2022-04-28 13:33:02.254294 96.83% [DEBUG] switch_core_state_machine.c:846 (sofia/default/77004040040) State HANGUP
  422. 2022-04-28 13:33:02.254294 96.83% [DEBUG] mod_sofia.c:462 sofia/default/77004040040 Overriding SIP cause 480 with 200 from the other leg
  423. 2022-04-28 13:33:02.254294 96.83% [DEBUG] mod_sofia.c:468 Channel sofia/default/77004040040 hanging up, cause: NORMAL_CLEARING
  424. 2022-04-28 13:33:02.254294 96.83% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/77004040040
  425. 2022-04-28 13:33:02.254294 96.83% [DEBUG] switch_core_state_machine.c:59 sofia/default/77004040040 Standard HANGUP, cause: NORMAL_CLEARING
  426. 2022-04-28 13:33:02.254294 96.83% [DEBUG] switch_core_state_machine.c:846 (sofia/default/77004040040) State HANGUP going to sleep
  427. 2022-04-28 13:33:02.254294 96.83% [DEBUG] switch_core_state_machine.c:616 (sofia/default/77004040040) State Change CS_HANGUP -> CS_REPORTING
  428. 2022-04-28 13:33:02.254294 96.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/77004040040) Running State Change CS_REPORTING (Cur 2 Tot 26)
  429. 2022-04-28 13:33:02.254294 96.83% [DEBUG] switch_core_state_machine.c:932 (sofia/default/77004040040) State REPORTING
  430. 2022-04-28 13:33:02.254294 96.83% [INFO] mod_json_cdr.c:271 Process [a0b32415-2eb9-4bc5-a943-76d4172f5883.cdr.json]
  431. 2022-04-28 13:33:02.254294 96.83% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/77004040040 skip receive message [UNBRIDGE] (channel is hungup already)
  432. 2022-04-28 13:33:02.254294 96.83% [DEBUG] switch_ivr_bridge.c:1895 sofia/default/5450239527@w07version60.astppbilling.org:5074 skip receive message [UNBRIDGE] (channel is hungup already)
  433. 2022-04-28 13:33:02.254294 96.83% [DEBUG] switch_core_session.c:2983 sofia/default/5450239527@w07version60.astppbilling.org:5074 skip receive message [PHONE_EVENT] (channel is hungup already)
  434. 2022-04-28 13:33:02.254294 96.83% [DEBUG] switch_core_state_machine.c:647 (sofia/default/5450239527@w07version60.astppbilling.org:5074) State EXECUTE going to sleep
  435. 2022-04-28 13:33:02.254294 96.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5450239527@w07version60.astppbilling.org:5074) Running State Change CS_HANGUP (Cur 2 Tot 26)
  436. 2022-04-28 13:33:02.254294 96.83% [DEBUG] switch_core_state_machine.c:844 (sofia/default/5450239527@w07version60.astppbilling.org:5074) Callstate Change ACTIVE -> HANGUP
  437. 2022-04-28 13:33:02.254294 96.83% [DEBUG] switch_core_state_machine.c:846 (sofia/default/5450239527@w07version60.astppbilling.org:5074) State HANGUP
  438. 2022-04-28 13:33:02.254294 96.83% [DEBUG] mod_sofia.c:468 Channel sofia/default/5450239527@w07version60.astppbilling.org:5074 hanging up, cause: NORMAL_CLEARING
  439. 2022-04-28 13:33:02.254294 96.83% [DEBUG] switch_core_state_machine.c:59 sofia/default/5450239527@w07version60.astppbilling.org:5074 Standard HANGUP, cause: NORMAL_CLEARING
  440. 2022-04-28 13:33:02.254294 96.83% [DEBUG] switch_core_state_machine.c:846 (sofia/default/5450239527@w07version60.astppbilling.org:5074) State HANGUP going to sleep
  441. 2022-04-28 13:33:02.254294 96.83% [DEBUG] switch_core_state_machine.c:616 (sofia/default/5450239527@w07version60.astppbilling.org:5074) State Change CS_HANGUP -> CS_REPORTING
  442. 2022-04-28 13:33:02.254294 96.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5450239527@w07version60.astppbilling.org:5074) Running State Change CS_REPORTING (Cur 2 Tot 26)
  443. 2022-04-28 13:33:02.254294 96.83% [DEBUG] switch_core_state_machine.c:932 (sofia/default/5450239527@w07version60.astppbilling.org:5074) State REPORTING
  444. 2022-04-28 13:33:02.254294 96.83% [INFO] mod_json_cdr.c:271 Process [5763f78d-0b21-4ff7-aa99-ea950bcf2cef.cdr.json]
  445. 2022-04-28 13:33:02.294290 96.83% [DEBUG] switch_core_state_machine.c:168 sofia/default/77004040040 Standard REPORTING, cause: NORMAL_CLEARING
  446. 2022-04-28 13:33:02.294290 96.83% [DEBUG] switch_core_state_machine.c:932 (sofia/default/77004040040) State REPORTING going to sleep
  447. 2022-04-28 13:33:02.294290 96.83% [DEBUG] switch_core_state_machine.c:607 (sofia/default/77004040040) State Change CS_REPORTING -> CS_DESTROY
  448. 2022-04-28 13:33:02.294290 96.83% [DEBUG] switch_core_session.c:1753 Session 26 (sofia/default/77004040040) Locked, Waiting on external entities
  449. 2022-04-28 13:33:02.294290 96.83% [NOTICE] switch_core_session.c:1771 Session 26 (sofia/default/77004040040) Ended
  450. 2022-04-28 13:33:02.294290 96.83% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/77004040040 [CS_DESTROY]
  451. 2022-04-28 13:33:02.294290 96.83% [DEBUG] switch_core_state_machine.c:735 (sofia/default/77004040040) Running State Change CS_DESTROY (Cur 1 Tot 26)
  452. 2022-04-28 13:33:02.294290 96.83% [DEBUG] switch_core_state_machine.c:745 (sofia/default/77004040040) State DESTROY
  453. 2022-04-28 13:33:02.294290 96.83% [DEBUG] mod_sofia.c:379 sofia/default/77004040040 SOFIA DESTROY
  454. 2022-04-28 13:33:02.294290 96.83% [DEBUG] switch_core_state_machine.c:175 sofia/default/77004040040 Standard DESTROY
  455. 2022-04-28 13:33:02.294290 96.83% [DEBUG] switch_core_state_machine.c:745 (sofia/default/77004040040) State DESTROY going to sleep
  456. 2022-04-28 13:33:02.294290 96.83% [DEBUG] switch_core_state_machine.c:168 sofia/default/5450239527@w07version60.astppbilling.org:5074 Standard REPORTING, cause: NORMAL_CLEARING
  457. 2022-04-28 13:33:02.294290 96.83% [DEBUG] switch_core_state_machine.c:932 (sofia/default/5450239527@w07version60.astppbilling.org:5074) State REPORTING going to sleep
  458. 2022-04-28 13:33:02.294290 96.83% [DEBUG] switch_core_state_machine.c:607 (sofia/default/5450239527@w07version60.astppbilling.org:5074) State Change CS_REPORTING -> CS_DESTROY
  459. 2022-04-28 13:33:02.294290 96.83% [DEBUG] switch_core_session.c:1753 Session 25 (sofia/default/5450239527@w07version60.astppbilling.org:5074) Locked, Waiting on external entities
  460. 2022-04-28 13:33:02.294290 96.83% [NOTICE] switch_core_session.c:1771 Session 25 (sofia/default/5450239527@w07version60.astppbilling.org:5074) Ended
  461. 2022-04-28 13:33:02.294290 96.83% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/5450239527@w07version60.astppbilling.org:5074 [CS_DESTROY]
  462. 2022-04-28 13:33:02.294290 96.83% [DEBUG] switch_core_state_machine.c:735 (sofia/default/5450239527@w07version60.astppbilling.org:5074) Running State Change CS_DESTROY (Cur 0 Tot 26)
  463. 2022-04-28 13:33:02.294290 96.83% [DEBUG] switch_core_state_machine.c:745 (sofia/default/5450239527@w07version60.astppbilling.org:5074) State DESTROY
  464. 2022-04-28 13:33:02.294290 96.83% [DEBUG] mod_sofia.c:379 sofia/default/5450239527@w07version60.astppbilling.org:5074 SOFIA DESTROY
  465. 2022-04-28 13:33:02.294290 96.83% [DEBUG] switch_core_state_machine.c:175 sofia/default/5450239527@w07version60.astppbilling.org:5074 Standard DESTROY
  466. 2022-04-28 13:33:02.294290 96.83% [DEBUG] switch_core_state_machine.c:745 (sofia/default/5450239527@w07version60.astppbilling.org:5074) State DESTROY going to sleep
  467. 2022-04-28 13:33:02.454295 96.83% [DEBUG] switch_scheduler.c:147 Deleting task 7 switch_ivr_schedule_hangup (a0b32415-2eb9-4bc5-a943-76d4172f5883)
  468. freeswitch@ip-172-31-14-218>
  469. freeswitch@ip-172-31-14-218>
  470. freeswitch@ip-172-31-14-218> /e