From Prashant kumar, 2 Years ago, written in FreeSWITCH.
- view diff
Embed
  1. [This app Best viewed at 160x60 or more..]
  2. +OK log level  [7]
  3. freeswitch@ip-172-31-14-218>
  4. freeswitch@ip-172-31-14-218>
  5. freeswitch@ip-172-31-14-218>
  6. freeswitch@ip-172-31-14-218>
  7. 2022-04-07 07:42:11.167476 76.33% [NOTICE] switch_channel.c:1123 New Channel sofia/default/7685714706@w07version62.astppbilling.org:5066 [9520f63c-3fda-435e-b981-0c75db19350c]
  8. 2022-04-07 07:42:11.167476 76.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/7685714706@w07version62.astppbilling.org:5066) Running State Change CS_NEW (Cur 1 Tot 11)
  9. 2022-04-07 07:42:11.167476 76.33% [INFO] sofia.c:10462 sofia/default/7685714706@w07version62.astppbilling.org:5066 receiving invite from 172.31.14.218:5066 version: 1.10.7 -release-19-883d2cb662 64bit call-id: M2IwYzY0NjI1MTM1YTAxMGIzMWYwOTI2MGZiZTc3NmY.
  10. 2022-04-07 07:42:11.167476 76.33% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 172.31.14.218:0.
  11. 2022-04-07 07:42:11.167476 76.33% [DEBUG] sofia.c:10585 IP 172.31.14.218 Approved by acl "default[]". Access Granted.
  12. 2022-04-07 07:42:11.167476 76.33% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
  13. 2022-04-07 07:42:11.167476 76.33% [DEBUG] sofia.c:7499 Channel sofia/default/7685714706@w07version62.astppbilling.org:5066 entering state [received][100]
  14. 2022-04-07 07:42:11.167476 76.33% [DEBUG] sofia.c:7509 Remote SDP:
  15. v=0
  16. o=3cxVCE 182138130 295070190 IN IP4 117.247.91.162
  17. s=3cxVCE Audio Call
  18. c=IN IP4 117.247.91.162
  19. t=0 0
  20. m=audio 40018 RTP/AVP 0 8 3 101
  21. a=rtpmap:0 PCMU/8000
  22. a=rtpmap:8 PCMA/8000
  23. a=rtpmap:3 GSM/8000
  24. a=rtpmap:101 telephone-event/8000
  25. a=fmtp:101 0-15
  26. a=ptime:20
  27. m=video 40016 RTP/AVP 34
  28. c=IN IP4 117.247.91.162
  29. a=rtpmap:34 H263/90000
  30. a=fmtp:34 QCIF=1;CIF=1;SQCIF=1;CIF4=1
  31. a=oldoip:192.168.1.13
  32. a=oldcip:192.168.1.13
  33. a=oldcip:192.168.1.13
  34.  
  35. 2022-04-07 07:42:11.167476 76.33% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  36. 2022-04-07 07:42:11.167476 76.33% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  37. 2022-04-07 07:42:11.167476 76.33% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  38. 2022-04-07 07:42:11.167476 76.33% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  39. 2022-04-07 07:42:11.167476 76.33% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  40. 2022-04-07 07:42:11.167476 76.33% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  41. 2022-04-07 07:42:11.167476 76.33% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  42. 2022-04-07 07:42:11.167476 76.33% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  43. 2022-04-07 07:42:11.167476 76.33% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  44. 2022-04-07 07:42:11.167476 76.33% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/7685714706@w07version62.astppbilling.org:5066 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  45. 2022-04-07 07:42:11.167476 76.33% [DEBUG] switch_core_codec.c:111 sofia/default/7685714706@w07version62.astppbilling.org:5066 Original read codec set to PCMU:0
  46. 2022-04-07 07:42:11.167476 76.33% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  47. 2022-04-07 07:42:11.167476 76.33% [DEBUG] switch_core_media.c:5973 sofia/default/7685714706@w07version62.astppbilling.org:5066 Set 2833 dtmf send payload to 101 recv payload to 101
  48. 2022-04-07 07:42:11.167476 76.33% [DEBUG] switch_core_media.c:6301 No matches with FTMP, fallback to ignoring FMTP
  49. 2022-04-07 07:42:11.167476 76.33% [DEBUG] switch_core_media.c:6309 No matches with inherit_codec, fallback to ignoring PT
  50. 2022-04-07 07:42:11.167476 76.33% [DEBUG] sofia.c:7933 (sofia/default/7685714706@w07version62.astppbilling.org:5066) State Change CS_NEW -> CS_INIT
  51. 2022-04-07 07:42:11.167476 76.33% [DEBUG] switch_core_state_machine.c:600 (sofia/default/7685714706@w07version62.astppbilling.org:5066) State NEW
  52. 2022-04-07 07:42:11.167476 76.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/7685714706@w07version62.astppbilling.org:5066) Running State Change CS_INIT (Cur 1 Tot 11)
  53. 2022-04-07 07:42:11.167476 76.33% [DEBUG] switch_core_state_machine.c:624 (sofia/default/7685714706@w07version62.astppbilling.org:5066) State INIT
  54. 2022-04-07 07:42:11.167476 76.33% [DEBUG] mod_sofia.c:97 sofia/default/7685714706@w07version62.astppbilling.org:5066 SOFIA INIT
  55. 2022-04-07 07:42:11.167476 76.33% [DEBUG] switch_core_state_machine.c:40 sofia/default/7685714706@w07version62.astppbilling.org:5066 Standard INIT
  56. 2022-04-07 07:42:11.167476 76.33% [DEBUG] switch_core_state_machine.c:48 (sofia/default/7685714706@w07version62.astppbilling.org:5066) State Change CS_INIT -> CS_ROUTING
  57. 2022-04-07 07:42:11.167476 76.33% [DEBUG] switch_core_state_machine.c:624 (sofia/default/7685714706@w07version62.astppbilling.org:5066) State INIT going to sleep
  58. 2022-04-07 07:42:11.167476 76.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/7685714706@w07version62.astppbilling.org:5066) Running State Change CS_ROUTING (Cur 1 Tot 11)
  59. 2022-04-07 07:42:11.167476 76.33% [DEBUG] switch_channel.c:2380 (sofia/default/7685714706@w07version62.astppbilling.org:5066) Callstate Change DOWN -> RINGING
  60. 2022-04-07 07:42:11.167476 76.33% [DEBUG] switch_core_state_machine.c:640 (sofia/default/7685714706@w07version62.astppbilling.org:5066) State ROUTING
  61. 2022-04-07 07:42:11.167476 76.33% [DEBUG] mod_sofia.c:158 sofia/default/7685714706@w07version62.astppbilling.org:5066 SOFIA ROUTING
  62. 2022-04-07 07:42:11.167476 76.33% [DEBUG] switch_core_state_machine.c:230 sofia/default/7685714706@w07version62.astppbilling.org:5066 Standard ROUTING
  63. 2022-04-07 07:42:11.167476 76.33% [INFO] mod_dialplan_xml.c:639 Processing 7685714706 <7685714706>->77000003 in context default
  64. 2022-04-07 07:42:11.187470 76.33% [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-07 07:42:11.187470 76.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  66. 2022-04-07 07:42:11.207471 76.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  67. 2022-04-07 07:42:11.207471 76.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 77000003
  68. 2022-04-07 07:42:11.207471 76.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '77000003' limit 1
  69. 2022-04-07 07:42:11.207471 76.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '77000003' AND status=0 limit 1
  70. 2022-04-07 07:42:11.207471 76.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '77000003' and status=0 LIMIT 1
  71. 2022-04-07 07:42:11.207471 76.33% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER7685714706
  72. 2022-04-07 07:42:11.207471 76.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  73. 2022-04-07 07:42:11.207471 76.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'w07version62.astppbilling.org' limit 1
  74. 2022-04-07 07:42:11.207471 76.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '18' and username = '77000003' limit 1
  75. 2022-04-07 07:42:11.207471 76.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 7685714706 / 7685714706
  76. 2022-04-07 07:42:11.207471 76.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 03
  77. 2022-04-07 07:42:11.207471 76.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 770000 AND status=0 limit 1
  78. 2022-04-07 07:42:11.207471 76.33% [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 ="77000003" LIMIT 1
  79. 2022-04-07 07:42:11.207471 76.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  80. 2022-04-07 07:42:11.207471 76.33% [DEBUG] switch_cpp.cpp:1465 [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,sip_devices.codec as sip_codec 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="77000003"  AND domains.domain="w07version62.astppbilling.org" limit 1
  81. 2022-04-07 07:42:11.207471 76.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  82. 2022-04-07 07:42:11.207471 76.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 117.247.91.162
  83. 2022-04-07 07:42:11.207471 76.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 7698420599]
  84. 2022-04-07 07:42:11.207471 76.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "7698420599" AND deleted = 0 limit 1
  85. 2022-04-07 07:42:11.207471 76.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^77000003.*' OR blocked_patterns = '^7700000.*' OR blocked_patterns = '^770000.*' OR blocked_patterns = '^77000.*' OR blocked_patterns = '^7700.*' OR blocked_patterns = '^770.*' OR blocked_patterns = '^77.*' OR blocked_patterns = '^7.*' OR blocked_patterns ='--') AND accountid = 18 limit 1
  86. 2022-04-07 07:42:11.207471 76.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="77000003" AND (accountid = 0 OR status = 1) LIMIT 1
  87. 2022-04-07 07:42:11.207471 76.33% [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 = '^77000003.*' OR patterns = '^7700000.*' OR patterns = '^770000.*' OR patterns = '^77000.*' OR patterns = '^7700.*' OR patterns = '^770.*' OR patterns = '^77.*' OR patterns = '^7.*' OR patterns ='--') AND accountid = 18 ORDER BY LENGTH(PKGPTR.patterns) DESC
  88. 2022-04-07 07:42:11.207471 76.33% [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 ="77000003" AND A.accountid = '18' limit 1
  89. 2022-04-07 07:42:11.207471 76.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 77000003
  90. 2022-04-07 07:42:11.207471 76.33% [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 ="77000003" LIMIT 1
  91. 2022-04-07 07:42:11.207471 76.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  92. 2022-04-07 07:42:11.207471 76.33% [DEBUG] switch_cpp.cpp:1465 [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,sip_devices.codec as sip_codec 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="77000003"  AND domains.domain="w07version62.astppbilling.org" limit 1
  93. 2022-04-07 07:42:11.207471 76.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  94. 2022-04-07 07:42:11.207471 76.33% [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 = '77000003' OR number = '7700000' OR number = '770000' OR number = '77000' OR number = '7700' OR number = '770' OR number = '77' OR number = '7' OR number ='--') OR (number = '77000003*' OR number = '7700000*' OR number = '770000*' OR number = '77000*' OR number = '7700*' OR number = '770*' OR number = '77*' OR number = '7*' OR number ='--') OR (number = '7685714706' OR number = '768571470' OR number = '76857147' OR number = '7685714' OR number = '768571' OR number = '76857' OR number = '7685' OR number = '768' OR number = '76' OR number = '7' OR number ='--') OR (number = '7685714706*' OR number = '768571470*' OR number = '76857147*' OR number = '7685714*' OR number = '768571*' OR number = '76857*' OR number = '7685*' OR number = '768*' OR number = '76*' OR number = '7*' OR number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  95. 2022-04-07 07:42:11.227473 76.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  96. 2022-04-07 07:42:11.227473 76.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '77000003' OR routing_prefix = '7700000' OR routing_prefix = '770000' OR routing_prefix = '77000' 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
  97. 2022-04-07 07:42:11.227473 76.33% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  98. 2022-04-07 07:42:11.227473 76.33% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 18
  99. 2022-04-07 07:42:11.227473 76.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 7698420599
  100. 2022-04-07 07:42:11.227473 76.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 198.8
  101. 2022-04-07 07:42:11.227473 76.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  102. 2022-04-07 07:42:11.227473 76.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  103. 2022-04-07 07:42:11.227473 76.33% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  104. 2022-04-07 07:42:11.227473 76.33% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  105. 2022-04-07 07:42:11.227473 76.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  106. 2022-04-07 07:42:11.227473 76.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  107. 2022-04-07 07:42:11.227473 76.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  108. 2022-04-07 07:42:11.227473 76.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^77000003.*' OR pattern = '^7700000.*' OR pattern = '^770000.*' OR pattern = '^77000.*' OR pattern = '^7700.*' OR pattern = '^770.*' OR pattern = '^77.*' OR pattern = '^7.*' OR pattern ='--') AND (caller_id_pattern = '^7685714706.*' OR caller_id_pattern = '^768571470.*' OR caller_id_pattern = '^76857147.*' OR caller_id_pattern = '^7685714.*' OR caller_id_pattern = '^768571.*' OR caller_id_pattern = '^76857.*' OR caller_id_pattern = '^7685.*' OR caller_id_pattern = '^768.*' OR caller_id_pattern = '^76.*' OR caller_id_pattern = '^7.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 1 OR accountid=18)  ORDER BY accountid DESC,LENGTH(pattern),LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  109. 2022-04-07 07:42:11.227473 76.33% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  110. 2022-04-07 07:42:11.227473 76.33% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  111. 2022-04-07 07:42:11.227473 76.33% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 25
  112. 2022-04-07 07:42:11.227473 76.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  113. 2022-04-07 07:42:11.227473 76.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  114. 2022-04-07 07:42:11.227473 76.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.60000
  115. 2022-04-07 07:42:11.227473 76.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Admin Destination
  116. 2022-04-07 07:42:11.227473 76.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 1
  117. 2022-04-07 07:42:11.227473 76.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 18
  118. 2022-04-07 07:42:11.227473 76.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  119. 2022-04-07 07:42:11.227473 76.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  120. 2022-04-07 07:42:11.227473 76.33% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  121. 2022-04-07 07:42:11.227473 76.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your198.8 balance Accountid 18 !!!
  122. 2022-04-07 07:42:11.227473 76.33% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  123. 2022-04-07 07:42:11.227473 76.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  124. 2022-04-07 07:42:11.227473 76.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
  125. 2022-04-07 07:42:11.227473 76.33% [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
  126. 2022-04-07 07:42:11.227473 76.33% [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 = '^77000003.*' OR pattern = '^7700000.*' OR pattern = '^770000.*' OR pattern = '^77000.*' 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
  127. 2022-04-07 07:42:11.227473 76.33% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  128. 2022-04-07 07:42:11.227473 76.33% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 7
  129. 2022-04-07 07:42:11.227473 76.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^77.*
  130. 2022-04-07 07:42:11.227473 76.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Bhopal
  131. 2022-04-07 07:42:11.227473 76.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  132. 2022-04-07 07:42:11.227473 76.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  133. 2022-04-07 07:42:11.227473 76.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^77.*
  134. 2022-04-07 07:42:11.227473 76.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  135. 2022-04-07 07:42:11.227473 76.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  136. 2022-04-07 07:42:11.227473 76.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 1
  137. 2022-04-07 07:42:11.227473 76.33% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : YourProvider
  138. 2022-04-07 07:42:11.227473 76.33% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  139. 2022-04-07 07:42:11.227473 76.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  140. 2022-04-07 07:42:11.227473 76.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  141. 2022-04-07 07:42:11.227473 76.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  142. 2022-04-07 07:42:11.227473 76.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : YourTrunk
  143. 2022-04-07 07:42:11.227473 76.33% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  144. 2022-04-07 07:42:11.227473 76.33% [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 = 18 AND status=0 LIMIT 1
  145. 2022-04-07 07:42:11.227473 76.33% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  146. 2022-04-07 07:42:11.227473 76.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  147. 2022-04-07 07:42:11.227473 76.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  148. 2022-04-07 07:42:11.227473 76.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : outbound
  149. 2022-04-07 07:42:11.227473 76.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  150. 2022-04-07 07:42:11.227473 76.33% [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
  151. 2022-04-07 07:42:11.227473 76.33% [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
  152. 2022-04-07 07:42:11.227473 76.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] dest_number_len :8
  153. 2022-04-07 07:42:11.227473 76.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] 44444 :10
  154. 2022-04-07 07:42:11.227473 76.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"33/44/1/10".....77000003
  155. 2022-04-07 07:42:11.227473 76.33% [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 ="77000003" LIMIT 1
  156. 2022-04-07 07:42:11.227473 76.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  157. 2022-04-07 07:42:11.227473 76.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  158. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  159. <document type="freeswitch/xml">
  160. <section name="dialplan" description="ASTPP Dialplan">
  161. <context name="default">
  162. <extension name="77000003">
  163. <condition field="destination_number" expression="77000003">
  164. <action application="set" data="effective_destination_number=77000003"/>
  165. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  166. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  167. <action application="set" data="callstart=2022-04-07 07:42:11"/>
  168. <action application="set" data="hangup_after_bridge=true"/>
  169. <action application="set" data="continue_on_fail=TRUE"/>
  170. <action application="set" data="account_id=18"/>
  171. <action application="set" data="parent_id=0"/>
  172. <action application="set" data="entity_id=0"/>
  173. <action application="set" data="call_processed=internal"/>
  174. <action application="set" data="call_direction=outbound"/>
  175. <action application="set" data="accountname=default"/>
  176. <action application="set" data="origination_rates=ID:25|CODE:^77.*|DESTINATION:Admin Destination|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:1|ACCID:18"/>
  177. <action application="set" data="original_caller_id_name=7685714706"/>
  178. <action application="set" data="original_caller_id_number=7685714706"/>
  179.  
  180. <action application="set" data="effective_caller_id_name=7685714706"/>
  181. <action application="set" data="effective_caller_id_number=7685714706"/>
  182. <action application="set" data="calltype=STANDARD"/>
  183. <action application="set" data="termination_rates=ID:7|CODE:^77.*|DESTINATION:Bhopal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.20000|INC:60|INITIALBLOCK:60|TRUNK:1|PROVIDER:3"/>
  184. <action application="set" data="trunk_id=1"/>
  185. <action application="set" data="provider_id=3"/>
  186. <action application="set" data="rate_flag=0"/>
  187. <action application="set" data="force_trunk_flag=0"/>
  188. <action application="export" data="presence_data=trunk_id=1"/>
  189. <action application="set" data="intcall=0"/>
  190. <action application="export" data="presence_id=77000003"/>
  191. <action application="export" data="presence_data=x|||Diamond(7698420599)|||^77.* // Admin Destination // 0.60000 |||YourTrunk // ^77.* // Bhopal // 0.20000 // trunk_id=1|||STD|||117.247.91.162"/>
  192. <action application="set" data="percentage_trunk_id=1"/>
  193. <action application="set" data="percentage_rate_group_id=1"/>
  194. <action application="set" data="percentage_old_trunk_id=0"/>
  195. <action application="set" data="percentage_force_outbound_routes=0"/>
  196. <action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
  197. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/77000003;fs_path=sip:172.31.14.218:5066"/>
  198. </condition>
  199. </extension>
  200. </context>
  201. </section>
  202. </document>
  203. Dialplan: sofia/default/7685714706@w07version62.astppbilling.org:5066 parsing [default->77000003] continue=false
  204. Dialplan: sofia/default/7685714706@w07version62.astppbilling.org:5066 Regex (PASS) [77000003] destination_number(77000003) =~ /77000003/ break=on-false
  205. Dialplan: sofia/default/7685714706@w07version62.astppbilling.org:5066 Action set(effective_destination_number=77000003)
  206. Dialplan: sofia/default/7685714706@w07version62.astppbilling.org:5066 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  207. Dialplan: sofia/default/7685714706@w07version62.astppbilling.org:5066 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  208. Dialplan: sofia/default/7685714706@w07version62.astppbilling.org:5066 Action set(callstart=2022-04-07 07:42:11)
  209. Dialplan: sofia/default/7685714706@w07version62.astppbilling.org:5066 Action set(hangup_after_bridge=true)
  210. Dialplan: sofia/default/7685714706@w07version62.astppbilling.org:5066 Action set(continue_on_fail=TRUE)
  211. Dialplan: sofia/default/7685714706@w07version62.astppbilling.org:5066 Action set(account_id=18)
  212. Dialplan: sofia/default/7685714706@w07version62.astppbilling.org:5066 Action set(parent_id=0)
  213. Dialplan: sofia/default/7685714706@w07version62.astppbilling.org:5066 Action set(entity_id=0)
  214. Dialplan: sofia/default/7685714706@w07version62.astppbilling.org:5066 Action set(call_processed=internal)
  215. Dialplan: sofia/default/7685714706@w07version62.astppbilling.org:5066 Action set(call_direction=outbound)
  216. Dialplan: sofia/default/7685714706@w07version62.astppbilling.org:5066 Action set(accountname=default)
  217. Dialplan: sofia/default/7685714706@w07version62.astppbilling.org:5066 Action set(origination_rates=ID:25|CODE:^77.*|DESTINATION:Admin Destination|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:1|ACCID:18)
  218. Dialplan: sofia/default/7685714706@w07version62.astppbilling.org:5066 Action set(original_caller_id_name=7685714706)
  219. Dialplan: sofia/default/7685714706@w07version62.astppbilling.org:5066 Action set(original_caller_id_number=7685714706)
  220. Dialplan: sofia/default/7685714706@w07version62.astppbilling.org:5066 Action set(effective_caller_id_name=7685714706)
  221. Dialplan: sofia/default/7685714706@w07version62.astppbilling.org:5066 Action set(effective_caller_id_number=7685714706)
  222. Dialplan: sofia/default/7685714706@w07version62.astppbilling.org:5066 Action set(calltype=STANDARD)
  223. Dialplan: sofia/default/7685714706@w07version62.astppbilling.org:5066 Action set(termination_rates=ID:7|CODE:^77.*|DESTINATION:Bhopal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.20000|INC:60|INITIALBLOCK:60|TRUNK:1|PROVIDER:3)
  224. Dialplan: sofia/default/7685714706@w07version62.astppbilling.org:5066 Action set(trunk_id=1)
  225. Dialplan: sofia/default/7685714706@w07version62.astppbilling.org:5066 Action set(provider_id=3)
  226. Dialplan: sofia/default/7685714706@w07version62.astppbilling.org:5066 Action set(rate_flag=0)
  227. Dialplan: sofia/default/7685714706@w07version62.astppbilling.org:5066 Action set(force_trunk_flag=0)
  228. Dialplan: sofia/default/7685714706@w07version62.astppbilling.org:5066 Action export(presence_data=trunk_id=1)
  229. Dialplan: sofia/default/7685714706@w07version62.astppbilling.org:5066 Action set(intcall=0)
  230. Dialplan: sofia/default/7685714706@w07version62.astppbilling.org:5066 Action export(presence_id=77000003)
  231. Dialplan: sofia/default/7685714706@w07version62.astppbilling.org:5066 Action export(presence_data=x|||Diamond(7698420599)|||^77.* // Admin Destination // 0.60000 |||YourTrunk // ^77.* // Bhopal // 0.20000 // trunk_id=1|||STD|||117.247.91.162)
  232. Dialplan: sofia/default/7685714706@w07version62.astppbilling.org:5066 Action set(percentage_trunk_id=1)
  233. Dialplan: sofia/default/7685714706@w07version62.astppbilling.org:5066 Action set(percentage_rate_group_id=1)
  234. Dialplan: sofia/default/7685714706@w07version62.astppbilling.org:5066 Action set(percentage_old_trunk_id=0)
  235. Dialplan: sofia/default/7685714706@w07version62.astppbilling.org:5066 Action set(percentage_force_outbound_routes=0)
  236. Dialplan: sofia/default/7685714706@w07version62.astppbilling.org:5066 Action set(execute_on_answer=lua astpp_percentage.lua)
  237. Dialplan: sofia/default/7685714706@w07version62.astppbilling.org:5066 Action bridge({sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/77000003;fs_path=sip:172.31.14.218:5066)
  238. 2022-04-07 07:42:11.227473 76.33% [DEBUG] switch_core_state_machine.c:281 (sofia/default/7685714706@w07version62.astppbilling.org:5066) State Change CS_ROUTING -> CS_EXECUTE
  239. 2022-04-07 07:42:11.227473 76.33% [DEBUG] switch_core_state_machine.c:640 (sofia/default/7685714706@w07version62.astppbilling.org:5066) State ROUTING going to sleep
  240. 2022-04-07 07:42:11.227473 76.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/7685714706@w07version62.astppbilling.org:5066) Running State Change CS_EXECUTE (Cur 1 Tot 11)
  241. 2022-04-07 07:42:11.227473 76.33% [DEBUG] switch_core_state_machine.c:647 (sofia/default/7685714706@w07version62.astppbilling.org:5066) State EXECUTE
  242. 2022-04-07 07:42:11.227473 76.33% [DEBUG] mod_sofia.c:213 sofia/default/7685714706@w07version62.astppbilling.org:5066 SOFIA EXECUTE
  243. 2022-04-07 07:42:11.227473 76.33% [DEBUG] switch_core_state_machine.c:323 sofia/default/7685714706@w07version62.astppbilling.org:5066 Standard EXECUTE
  244. EXECUTE [depth=0] sofia/default/7685714706@w07version62.astppbilling.org:5066 set(effective_destination_number=77000003)
  245. 2022-04-07 07:42:11.227473 76.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/7685714706@w07version62.astppbilling.org:5066 [effective_destination_number]=[77000003]
  246. EXECUTE [depth=0] sofia/default/7685714706@w07version62.astppbilling.org:5066 set(bridge_pre_execute_bleg_app=sched_hangup)
  247. 2022-04-07 07:42:11.227473 76.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/7685714706@w07version62.astppbilling.org:5066 [bridge_pre_execute_bleg_app]=[sched_hangup]
  248. EXECUTE [depth=0] sofia/default/7685714706@w07version62.astppbilling.org:5066 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  249. 2022-04-07 07:42:11.227473 76.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/7685714706@w07version62.astppbilling.org:5066 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  250. EXECUTE [depth=0] sofia/default/7685714706@w07version62.astppbilling.org:5066 set(callstart=2022-04-07 07:42:11)
  251. 2022-04-07 07:42:11.227473 76.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/7685714706@w07version62.astppbilling.org:5066 [callstart]=[2022-04-07 07:42:11]
  252. EXECUTE [depth=0] sofia/default/7685714706@w07version62.astppbilling.org:5066 set(hangup_after_bridge=true)
  253. 2022-04-07 07:42:11.227473 76.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/7685714706@w07version62.astppbilling.org:5066 [hangup_after_bridge]=[true]
  254. EXECUTE [depth=0] sofia/default/7685714706@w07version62.astppbilling.org:5066 set(continue_on_fail=TRUE)
  255. 2022-04-07 07:42:11.227473 76.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/7685714706@w07version62.astppbilling.org:5066 [continue_on_fail]=[TRUE]
  256. EXECUTE [depth=0] sofia/default/7685714706@w07version62.astppbilling.org:5066 set(account_id=18)
  257. 2022-04-07 07:42:11.227473 76.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/7685714706@w07version62.astppbilling.org:5066 [account_id]=[18]
  258. EXECUTE [depth=0] sofia/default/7685714706@w07version62.astppbilling.org:5066 set(parent_id=0)
  259. 2022-04-07 07:42:11.227473 76.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/7685714706@w07version62.astppbilling.org:5066 [parent_id]=[0]
  260. EXECUTE [depth=0] sofia/default/7685714706@w07version62.astppbilling.org:5066 set(entity_id=0)
  261. 2022-04-07 07:42:11.227473 76.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/7685714706@w07version62.astppbilling.org:5066 [entity_id]=[0]
  262. EXECUTE [depth=0] sofia/default/7685714706@w07version62.astppbilling.org:5066 set(call_processed=internal)
  263. 2022-04-07 07:42:11.227473 76.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/7685714706@w07version62.astppbilling.org:5066 [call_processed]=[internal]
  264. EXECUTE [depth=0] sofia/default/7685714706@w07version62.astppbilling.org:5066 set(call_direction=outbound)
  265. 2022-04-07 07:42:11.227473 76.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/7685714706@w07version62.astppbilling.org:5066 [call_direction]=[outbound]
  266. EXECUTE [depth=0] sofia/default/7685714706@w07version62.astppbilling.org:5066 set(accountname=default)
  267. 2022-04-07 07:42:11.227473 76.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/7685714706@w07version62.astppbilling.org:5066 [accountname]=[default]
  268. EXECUTE [depth=0] sofia/default/7685714706@w07version62.astppbilling.org:5066 set(origination_rates=ID:25|CODE:^77.*|DESTINATION:Admin Destination|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:1|ACCID:18)
  269. 2022-04-07 07:42:11.227473 76.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/7685714706@w07version62.astppbilling.org:5066 [origination_rates]=[ID:25|CODE:^77.*|DESTINATION:Admin Destination|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:1|ACCID:18]
  270. EXECUTE [depth=0] sofia/default/7685714706@w07version62.astppbilling.org:5066 set(original_caller_id_name=7685714706)
  271. 2022-04-07 07:42:11.227473 76.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/7685714706@w07version62.astppbilling.org:5066 [original_caller_id_name]=[7685714706]
  272. EXECUTE [depth=0] sofia/default/7685714706@w07version62.astppbilling.org:5066 set(original_caller_id_number=7685714706)
  273. 2022-04-07 07:42:11.227473 76.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/7685714706@w07version62.astppbilling.org:5066 [original_caller_id_number]=[7685714706]
  274. EXECUTE [depth=0] sofia/default/7685714706@w07version62.astppbilling.org:5066 set(effective_caller_id_name=7685714706)
  275. 2022-04-07 07:42:11.227473 76.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/7685714706@w07version62.astppbilling.org:5066 [effective_caller_id_name]=[7685714706]
  276. EXECUTE [depth=0] sofia/default/7685714706@w07version62.astppbilling.org:5066 set(effective_caller_id_number=7685714706)
  277. 2022-04-07 07:42:11.227473 76.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/7685714706@w07version62.astppbilling.org:5066 [effective_caller_id_number]=[7685714706]
  278. EXECUTE [depth=0] sofia/default/7685714706@w07version62.astppbilling.org:5066 set(calltype=STANDARD)
  279. 2022-04-07 07:42:11.227473 76.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/7685714706@w07version62.astppbilling.org:5066 [calltype]=[STANDARD]
  280. EXECUTE [depth=0] sofia/default/7685714706@w07version62.astppbilling.org:5066 set(termination_rates=ID:7|CODE:^77.*|DESTINATION:Bhopal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.20000|INC:60|INITIALBLOCK:60|TRUNK:1|PROVIDER:3)
  281. 2022-04-07 07:42:11.227473 76.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/7685714706@w07version62.astppbilling.org:5066 [termination_rates]=[ID:7|CODE:^77.*|DESTINATION:Bhopal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.20000|INC:60|INITIALBLOCK:60|TRUNK:1|PROVIDER:3]
  282. EXECUTE [depth=0] sofia/default/7685714706@w07version62.astppbilling.org:5066 set(trunk_id=1)
  283. 2022-04-07 07:42:11.227473 76.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/7685714706@w07version62.astppbilling.org:5066 [trunk_id]=[1]
  284. EXECUTE [depth=0] sofia/default/7685714706@w07version62.astppbilling.org:5066 set(provider_id=3)
  285. 2022-04-07 07:42:11.227473 76.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/7685714706@w07version62.astppbilling.org:5066 [provider_id]=[3]
  286. EXECUTE [depth=0] sofia/default/7685714706@w07version62.astppbilling.org:5066 set(rate_flag=0)
  287. 2022-04-07 07:42:11.227473 76.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/7685714706@w07version62.astppbilling.org:5066 [rate_flag]=[0]
  288. EXECUTE [depth=0] sofia/default/7685714706@w07version62.astppbilling.org:5066 set(force_trunk_flag=0)
  289. 2022-04-07 07:42:11.227473 76.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/7685714706@w07version62.astppbilling.org:5066 [force_trunk_flag]=[0]
  290. EXECUTE [depth=0] sofia/default/7685714706@w07version62.astppbilling.org:5066 export(presence_data=trunk_id=1)
  291. 2022-04-07 07:42:11.227473 76.33% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=1]
  292. EXECUTE [depth=0] sofia/default/7685714706@w07version62.astppbilling.org:5066 set(intcall=0)
  293. 2022-04-07 07:42:11.227473 76.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/7685714706@w07version62.astppbilling.org:5066 [intcall]=[0]
  294. EXECUTE [depth=0] sofia/default/7685714706@w07version62.astppbilling.org:5066 export(presence_id=77000003)
  295. 2022-04-07 07:42:11.227473 76.33% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[77000003]
  296. EXECUTE [depth=0] sofia/default/7685714706@w07version62.astppbilling.org:5066 export(presence_data=x|||Diamond(7698420599)|||^77.* // Admin Destination // 0.60000 |||YourTrunk // ^77.* // Bhopal // 0.20000 // trunk_id=1|||STD|||117.247.91.162)
  297. 2022-04-07 07:42:11.227473 76.33% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Diamond(7698420599)|||^77.* // Admin Destination // 0.60000 |||YourTrunk // ^77.* // Bhopal // 0.20000 // trunk_id=1|||STD|||117.247.91.162]
  298. EXECUTE [depth=0] sofia/default/7685714706@w07version62.astppbilling.org:5066 set(percentage_trunk_id=1)
  299. 2022-04-07 07:42:11.227473 76.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/7685714706@w07version62.astppbilling.org:5066 [percentage_trunk_id]=[1]
  300. EXECUTE [depth=0] sofia/default/7685714706@w07version62.astppbilling.org:5066 set(percentage_rate_group_id=1)
  301. 2022-04-07 07:42:11.227473 76.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/7685714706@w07version62.astppbilling.org:5066 [percentage_rate_group_id]=[1]
  302. EXECUTE [depth=0] sofia/default/7685714706@w07version62.astppbilling.org:5066 set(percentage_old_trunk_id=0)
  303. 2022-04-07 07:42:11.227473 76.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/7685714706@w07version62.astppbilling.org:5066 [percentage_old_trunk_id]=[0]
  304. EXECUTE [depth=0] sofia/default/7685714706@w07version62.astppbilling.org:5066 set(percentage_force_outbound_routes=0)
  305. 2022-04-07 07:42:11.227473 76.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/7685714706@w07version62.astppbilling.org:5066 [percentage_force_outbound_routes]=[0]
  306. EXECUTE [depth=0] sofia/default/7685714706@w07version62.astppbilling.org:5066 set(execute_on_answer=lua astpp_percentage.lua)
  307. 2022-04-07 07:42:11.227473 76.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/7685714706@w07version62.astppbilling.org:5066 [execute_on_answer]=[lua astpp_percentage.lua]
  308. EXECUTE [depth=0] sofia/default/7685714706@w07version62.astppbilling.org:5066 bridge({sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/77000003;fs_path=sip:172.31.14.218:5066)
  309. 2022-04-07 07:42:11.247471 76.33% [DEBUG] switch_channel.c:1269 sofia/default/7685714706@w07version62.astppbilling.org:5066 EXPORTING[export_vars] [presence_data]=[x|||Diamond(7698420599)|||^77.* // Admin Destination // 0.60000 |||YourTrunk // ^77.* // Bhopal // 0.20000 // trunk_id=1|||STD|||117.247.91.162] to event
  310. 2022-04-07 07:42:11.247471 76.33% [DEBUG] switch_channel.c:1269 sofia/default/7685714706@w07version62.astppbilling.org:5066 EXPORTING[export_vars] [presence_id]=[77000003] to event
  311. 2022-04-07 07:42:11.247471 76.33% [DEBUG] switch_channel.c:1269 sofia/default/7685714706@w07version62.astppbilling.org:5066 EXPORTING[export_vars] [presence_data]=[x|||Diamond(7698420599)|||^77.* // Admin Destination // 0.60000 |||YourTrunk // ^77.* // Bhopal // 0.20000 // trunk_id=1|||STD|||117.247.91.162] to event
  312. 2022-04-07 07:42:11.247471 76.33% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  313. 2022-04-07 07:42:11.247471 76.33% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  314. 2022-04-07 07:42:11.247471 76.33% [NOTICE] switch_channel.c:1123 New Channel sofia/default/77000003 [cf888895-be5a-4273-acb7-66a3cb4fd2b0]
  315. 2022-04-07 07:42:11.247471 76.33% [DEBUG] mod_sofia.c:5121 (sofia/default/77000003) State Change CS_NEW -> CS_INIT
  316. 2022-04-07 07:42:11.247471 76.33% [DEBUG] switch_ivr_originate.c:3151 sofia/default/77000003 Setting leg timeout to 30
  317. 2022-04-07 07:42:11.247471 76.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/77000003) Running State Change CS_INIT (Cur 2 Tot 12)
  318. 2022-04-07 07:42:11.247471 76.33% [DEBUG] switch_core_state_machine.c:624 (sofia/default/77000003) State INIT
  319. 2022-04-07 07:42:11.247471 76.33% [DEBUG] mod_sofia.c:97 sofia/default/77000003 SOFIA INIT
  320. 2022-04-07 07:42:11.247471 76.33% [DEBUG] sofia_glue.c:1620 sip:172.31.14.218:5066 Setting proxy route to sofia/default/77000003
  321. 2022-04-07 07:42:11.247471 76.33% [INFO] sofia_glue.c:1651 sofia/default/77000003 sending invite call-id: (null)
  322. 2022-04-07 07:42:11.247471 76.33% [DEBUG] sofia_glue.c:1654 sofia/default/77000003 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
  323. Local SDP:
  324. v=0
  325. o=FreeSWITCH 1649293819 1649293820 IN IP4 172.31.14.218
  326. s=FreeSWITCH
  327. c=IN IP4 172.31.14.218
  328. t=0 0
  329. m=audio 23512 RTP/AVP 8 18 101
  330. a=rtpmap:8 PCMA/8000
  331. a=rtpmap:18 G729/8000
  332. a=rtpmap:101 telephone-event/8000
  333. a=fmtp:101 0-15
  334. a=ptime:20
  335. a=sendrecv
  336.  
  337. 2022-04-07 07:42:11.247471 76.33% [DEBUG] switch_core_state_machine.c:40 sofia/default/77000003 Standard INIT
  338. 2022-04-07 07:42:11.247471 76.33% [DEBUG] switch_core_state_machine.c:48 (sofia/default/77000003) State Change CS_INIT -> CS_ROUTING
  339. 2022-04-07 07:42:11.247471 76.33% [DEBUG] switch_core_state_machine.c:624 (sofia/default/77000003) State INIT going to sleep
  340. 2022-04-07 07:42:11.247471 76.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/77000003) Running State Change CS_ROUTING (Cur 2 Tot 12)
  341. 2022-04-07 07:42:11.247471 76.33% [DEBUG] switch_core_state_machine.c:640 (sofia/default/77000003) State ROUTING
  342. 2022-04-07 07:42:11.247471 76.33% [DEBUG] mod_sofia.c:158 sofia/default/77000003 SOFIA ROUTING
  343. 2022-04-07 07:42:11.247471 76.33% [DEBUG] switch_ivr_originate.c:67 (sofia/default/77000003) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  344. 2022-04-07 07:42:11.247471 76.33% [DEBUG] switch_core_state_machine.c:640 (sofia/default/77000003) State ROUTING going to sleep
  345. 2022-04-07 07:42:11.247471 76.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/77000003) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 12)
  346. 2022-04-07 07:42:11.247471 76.33% [DEBUG] sofia.c:7499 Channel sofia/default/77000003 entering state [calling][0]
  347. 2022-04-07 07:42:11.247471 76.33% [DEBUG] switch_core_state_machine.c:659 (sofia/default/77000003) State CONSUME_MEDIA
  348. 2022-04-07 07:42:11.247471 76.33% [DEBUG] switch_core_state_machine.c:659 (sofia/default/77000003) State CONSUME_MEDIA going to sleep
  349. 2022-04-07 07:42:11.447558 76.33% [DEBUG] sofia.c:7499 Channel sofia/default/77000003 entering state [completing][200]
  350. 2022-04-07 07:42:11.447558 76.33% [DEBUG] sofia.c:7509 Remote SDP:
  351. v=0
  352. o=root 1082807047 1082807047 IN IP4 159.203.131.36
  353. s=Asterisk PBX 16.4.0
  354. c=IN IP4 159.203.131.36
  355. t=0 0
  356. m=audio 15230 RTP/AVP 8 101
  357. a=rtpmap:8 PCMA/8000
  358. a=rtpmap:101 telephone-event/8000
  359. a=fmtp:101 0-16
  360. a=maxptime:150
  361.  
  362. 2022-04-07 07:42:11.447558 76.33% [DEBUG] sofia.c:7499 Channel sofia/default/77000003 entering state [ready][200]
  363. 2022-04-07 07:42:11.447558 76.33% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1]
  364. 2022-04-07 07:42:11.447558 76.33% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  365. 2022-04-07 07:42:11.447558 76.33% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[G729:18:8000:20:8000:1]
  366. 2022-04-07 07:42:11.447558 76.33% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  367. 2022-04-07 07:42:11.447558 76.33% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/77000003 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  368. 2022-04-07 07:42:11.447558 76.33% [DEBUG] switch_core_codec.c:111 sofia/default/77000003 Original read codec set to PCMA:8
  369. 2022-04-07 07:42:11.447558 76.33% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  370. 2022-04-07 07:42:11.447558 76.33% [DEBUG] switch_core_media.c:5973 sofia/default/77000003 Set 2833 dtmf send payload to 101 recv payload to 101
  371. 2022-04-07 07:42:11.447558 76.33% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/77000003] 172.31.14.218 port 23512 -> 159.203.131.36 port 15230 codec: 8 ms: 20
  372. 2022-04-07 07:42:11.447558 76.33% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  373. 2022-04-07 07:42:11.447558 76.33% [DEBUG] switch_core_media.c:9089 sofia/default/77000003 Set 2833 dtmf send payload to 101
  374. 2022-04-07 07:42:11.447558 76.33% [DEBUG] switch_core_media.c:9096 sofia/default/77000003 Set 2833 dtmf receive payload to 101
  375. 2022-04-07 07:42:11.447558 76.33% [DEBUG] switch_core_media.c:9119 sofia/default/77000003 Set rtp dtmf delay to 40
  376. 2022-04-07 07:42:11.447558 76.33% [NOTICE] sofia.c:8683 Channel [sofia/default/77000003] has been answered
  377. 2022-04-07 07:42:11.467471 76.33% [DEBUG] switch_channel.c:3950 (sofia/default/77000003) Callstate Change DOWN -> ACTIVE
  378. 2022-04-07 07:42:11.467471 76.33% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/7685714706@w07version62.astppbilling.org:5066] 172.31.14.218 port 31124 -> 117.247.91.162 port 40018 codec: 0 ms: 20
  379. 2022-04-07 07:42:11.467471 76.33% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  380. 2022-04-07 07:42:11.467471 76.33% [DEBUG] switch_core_media.c:9089 sofia/default/7685714706@w07version62.astppbilling.org:5066 Set 2833 dtmf send payload to 101
  381. 2022-04-07 07:42:11.467471 76.33% [DEBUG] switch_core_media.c:9096 sofia/default/7685714706@w07version62.astppbilling.org:5066 Set 2833 dtmf receive payload to 101
  382. 2022-04-07 07:42:11.467471 76.33% [DEBUG] switch_core_media.c:9119 sofia/default/7685714706@w07version62.astppbilling.org:5066 Set rtp dtmf delay to 40
  383. 2022-04-07 07:42:11.467471 76.33% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/7685714706@w07version62.astppbilling.org:5066:
  384. v=0
  385. o=FreeSWITCH 1649286207 1649286208 IN IP4 172.31.14.218
  386. s=FreeSWITCH
  387. c=IN IP4 172.31.14.218
  388. t=0 0
  389. m=audio 31124 RTP/AVP 0 101
  390. a=rtpmap:0 PCMU/8000
  391. a=rtpmap:101 telephone-event/8000
  392. a=fmtp:101 0-15
  393. a=ptime:20
  394. a=sendrecv
  395. m=video 0 RTP/AVP 19
  396.  
  397. 2022-04-07 07:42:11.467471 76.33% [DEBUG] sofia.c:7499 Channel sofia/default/7685714706@w07version62.astppbilling.org:5066 entering state [completed][200]
  398. 2022-04-07 07:42:11.467471 76.33% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/default/7685714706@w07version62.astppbilling.org:5066] has been answered
  399. EXECUTE [depth=0] sofia/default/7685714706@w07version62.astppbilling.org:5066 lua(astpp_percentage.lua)
  400. 2022-04-07 07:42:11.467471 76.33% [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')
  401. 2022-04-07 07:42:11.467471 76.33% [NOTICE] switch_cpp.cpp:1465 [ASTPP] SECTION
  402. 2022-04-07 07:42:11.487473 76.33% [DEBUG] switch_cpp.cpp:1209 sofia/default/7685714706@w07version62.astppbilling.org:5066 destroy/unlink session from object
  403. 2022-04-07 07:42:11.487473 76.33% [DEBUG] switch_channel.c:3950 (sofia/default/7685714706@w07version62.astppbilling.org:5066) Callstate Change RINGING -> ACTIVE
  404. 2022-04-07 07:42:11.487473 76.33% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/77000003] Peer UUID: cf888895-be5a-4273-acb7-66a3cb4fd2b0
  405. 2022-04-07 07:42:11.487473 76.33% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/77000003) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  406. 2022-04-07 07:42:11.487473 76.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/77000003) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 12)
  407. 2022-04-07 07:42:11.487473 76.33% [DEBUG] switch_core_state_machine.c:650 (sofia/default/77000003) State EXCHANGE_MEDIA
  408. 2022-04-07 07:42:11.487473 76.33% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  409. 2022-04-07 07:42:11.547472 76.33% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  410. 2022-04-07 07:42:11.607492 76.33% [DEBUG] sofia.c:7499 Channel sofia/default/7685714706@w07version62.astppbilling.org:5066 entering state [ready][200]
  411. 2022-04-07 07:42:11.647478 76.33% [DEBUG] switch_ivr_bridge.c:655 sofia/default/77000003 Bridge execute app sched_hangup(+6000 normal_clearing)
  412. 2022-04-07 07:42:11.667474 76.33% [DEBUG] switch_ivr.c:632 sofia/default/77000003 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  413. EXECUTE [depth=0] sofia/default/77000003 sched_hangup(+6000 normal_clearing)
  414. 2022-04-07 07:42:11.667474 76.33% [DEBUG] switch_scheduler.c:263 Added task 9 switch_ivr_schedule_hangup (cf888895-be5a-4273-acb7-66a3cb4fd2b0) to run at 1649323331
  415. 2022-04-07 07:42:11.787496 76.33% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  416. 2022-04-07 07:42:41.747545 91.23% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  417. 2022-04-07 07:42:41.767467 91.23% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  418. 2022-04-07 07:42:41.767467 91.23% [NOTICE] switch_ivr_originate.c:3039 Cannot create outgoing channel of type [error] cause: [USER_NOT_REGISTERED]
  419. 2022-04-07 07:42:41.767467 91.23% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 606 [USER_NOT_REGISTERED]
  420. 2022-04-07 07:42:41.767467 91.23% [NOTICE] switch_ivr_originate.c:3039 Cannot create outgoing channel of type [user] cause: [USER_NOT_REGISTERED]
  421. 2022-04-07 07:42:41.767467 91.23% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 606 [USER_NOT_REGISTERED]
  422. 2022-04-07 07:43:18.247475 93.13% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  423. 2022-04-07 07:43:18.267476 93.13% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  424. 2022-04-07 07:43:18.267476 93.13% [NOTICE] switch_ivr_originate.c:3039 Cannot create outgoing channel of type [error] cause: [USER_NOT_REGISTERED]
  425. 2022-04-07 07:43:18.267476 93.13% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 606 [USER_NOT_REGISTERED]
  426. 2022-04-07 07:43:18.267476 93.13% [NOTICE] switch_ivr_originate.c:3039 Cannot create outgoing channel of type [user] cause: [USER_NOT_REGISTERED]
  427. 2022-04-07 07:43:18.267476 93.13% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 606 [USER_NOT_REGISTERED]
  428. 2022-04-07 07:43:54.547497 94.47% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  429. 2022-04-07 07:43:54.567543 94.47% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  430. 2022-04-07 07:43:54.567543 94.47% [NOTICE] switch_ivr_originate.c:3039 Cannot create outgoing channel of type [error] cause: [USER_NOT_REGISTERED]
  431. 2022-04-07 07:43:54.567543 94.47% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 606 [USER_NOT_REGISTERED]
  432. 2022-04-07 07:43:54.567543 94.47% [NOTICE] switch_ivr_originate.c:3039 Cannot create outgoing channel of type [user] cause: [USER_NOT_REGISTERED]
  433. 2022-04-07 07:43:54.567543 94.47% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 606 [USER_NOT_REGISTERED]
  434. 2022-04-07 07:44:14.847475 71.70% [NOTICE] sofia.c:1065 Hangup sofia/default/7685714706@w07version62.astppbilling.org:5066 [CS_EXECUTE] [NORMAL_CLEARING]
  435. 2022-04-07 07:44:14.847475 71.70% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/7685714706@w07version62.astppbilling.org:5066]
  436. 2022-04-07 07:44:14.847475 71.70% [DEBUG] switch_ivr_bridge.c:820 sofia/default/7685714706@w07version62.astppbilling.org:5066 ending bridge by request from write function
  437. 2022-04-07 07:44:14.847475 71.70% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/77000003]
  438. 2022-04-07 07:44:14.847475 71.70% [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/77000003 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  439. 2022-04-07 07:44:14.847475 71.70% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/77000003 skip receive message [UNBRIDGE] (channel is hungup already)
  440. 2022-04-07 07:44:14.847475 71.70% [DEBUG] switch_ivr_bridge.c:1895 sofia/default/7685714706@w07version62.astppbilling.org:5066 skip receive message [UNBRIDGE] (channel is hungup already)
  441. 2022-04-07 07:44:14.867504 71.70% [DEBUG] switch_core_state_machine.c:650 (sofia/default/77000003) State EXCHANGE_MEDIA going to sleep
  442. 2022-04-07 07:44:14.867504 71.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/77000003) Running State Change CS_HANGUP (Cur 2 Tot 12)
  443. 2022-04-07 07:44:14.867504 71.70% [DEBUG] switch_core_state_machine.c:844 (sofia/default/77000003) Callstate Change ACTIVE -> HANGUP
  444. 2022-04-07 07:44:14.867504 71.70% [DEBUG] switch_core_state_machine.c:846 (sofia/default/77000003) State HANGUP
  445. 2022-04-07 07:44:14.867504 71.70% [DEBUG] switch_core_session.c:2983 sofia/default/7685714706@w07version62.astppbilling.org:5066 skip receive message [PHONE_EVENT] (channel is hungup already)
  446. 2022-04-07 07:44:14.867504 71.70% [DEBUG] switch_core_state_machine.c:647 (sofia/default/7685714706@w07version62.astppbilling.org:5066) State EXECUTE going to sleep
  447. 2022-04-07 07:44:14.867504 71.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/7685714706@w07version62.astppbilling.org:5066) Running State Change CS_HANGUP (Cur 2 Tot 12)
  448. 2022-04-07 07:44:14.867504 71.70% [DEBUG] switch_core_state_machine.c:844 (sofia/default/7685714706@w07version62.astppbilling.org:5066) Callstate Change ACTIVE -> HANGUP
  449. 2022-04-07 07:44:14.867504 71.70% [DEBUG] switch_core_state_machine.c:846 (sofia/default/7685714706@w07version62.astppbilling.org:5066) State HANGUP
  450. 2022-04-07 07:44:14.867504 71.70% [DEBUG] mod_sofia.c:468 Channel sofia/default/7685714706@w07version62.astppbilling.org:5066 hanging up, cause: NORMAL_CLEARING
  451. 2022-04-07 07:44:14.867504 71.70% [DEBUG] switch_core_state_machine.c:59 sofia/default/7685714706@w07version62.astppbilling.org:5066 Standard HANGUP, cause: NORMAL_CLEARING
  452. 2022-04-07 07:44:14.867504 71.70% [DEBUG] switch_core_state_machine.c:846 (sofia/default/7685714706@w07version62.astppbilling.org:5066) State HANGUP going to sleep
  453. 2022-04-07 07:44:14.867504 71.70% [DEBUG] switch_core_state_machine.c:616 (sofia/default/7685714706@w07version62.astppbilling.org:5066) State Change CS_HANGUP -> CS_REPORTING
  454. 2022-04-07 07:44:14.867504 71.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/7685714706@w07version62.astppbilling.org:5066) Running State Change CS_REPORTING (Cur 2 Tot 12)
  455. 2022-04-07 07:44:14.867504 71.70% [DEBUG] switch_core_state_machine.c:932 (sofia/default/7685714706@w07version62.astppbilling.org:5066) State REPORTING
  456. 2022-04-07 07:44:14.867504 71.70% [DEBUG] mod_sofia.c:462 sofia/default/77000003 Overriding SIP cause 480 with 200 from the other leg
  457. 2022-04-07 07:44:14.867504 71.70% [DEBUG] mod_sofia.c:468 Channel sofia/default/77000003 hanging up, cause: NORMAL_CLEARING
  458. 2022-04-07 07:44:14.867504 71.70% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/77000003
  459. 2022-04-07 07:44:14.867504 71.70% [DEBUG] switch_core_state_machine.c:59 sofia/default/77000003 Standard HANGUP, cause: NORMAL_CLEARING
  460. 2022-04-07 07:44:14.867504 71.70% [DEBUG] switch_core_state_machine.c:846 (sofia/default/77000003) State HANGUP going to sleep
  461. 2022-04-07 07:44:14.867504 71.70% [DEBUG] switch_core_state_machine.c:616 (sofia/default/77000003) State Change CS_HANGUP -> CS_REPORTING
  462. 2022-04-07 07:44:14.867504 71.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/77000003) Running State Change CS_REPORTING (Cur 2 Tot 12)
  463. 2022-04-07 07:44:14.867504 71.70% [DEBUG] switch_core_state_machine.c:932 (sofia/default/77000003) State REPORTING
  464. 2022-04-07 07:44:14.867504 71.70% [INFO] mod_json_cdr.c:271 Process [cf888895-be5a-4273-acb7-66a3cb4fd2b0.cdr.json]
  465. 2022-04-07 07:44:14.867504 71.70% [INFO] mod_json_cdr.c:271 Process [9520f63c-3fda-435e-b981-0c75db19350c.cdr.json]
  466. 2022-04-07 07:44:14.927495 71.70% [DEBUG] switch_core_state_machine.c:168 sofia/default/77000003 Standard REPORTING, cause: NORMAL_CLEARING
  467. 2022-04-07 07:44:14.927495 71.70% [DEBUG] switch_core_state_machine.c:932 (sofia/default/77000003) State REPORTING going to sleep
  468. 2022-04-07 07:44:14.927495 71.70% [DEBUG] switch_core_state_machine.c:607 (sofia/default/77000003) State Change CS_REPORTING -> CS_DESTROY
  469. 2022-04-07 07:44:14.927495 71.70% [DEBUG] switch_core_session.c:1753 Session 12 (sofia/default/77000003) Locked, Waiting on external entities
  470. 2022-04-07 07:44:14.927495 71.70% [NOTICE] switch_core_session.c:1771 Session 12 (sofia/default/77000003) Ended
  471. 2022-04-07 07:44:14.927495 71.70% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/77000003 [CS_DESTROY]
  472. 2022-04-07 07:44:14.927495 71.70% [DEBUG] switch_core_state_machine.c:735 (sofia/default/77000003) Running State Change CS_DESTROY (Cur 1 Tot 12)
  473. 2022-04-07 07:44:14.927495 71.70% [DEBUG] switch_core_state_machine.c:745 (sofia/default/77000003) State DESTROY
  474. 2022-04-07 07:44:14.927495 71.70% [DEBUG] mod_sofia.c:379 sofia/default/77000003 SOFIA DESTROY
  475. 2022-04-07 07:44:14.927495 71.70% [DEBUG] switch_core_state_machine.c:175 sofia/default/77000003 Standard DESTROY
  476. 2022-04-07 07:44:14.927495 71.70% [DEBUG] switch_core_state_machine.c:745 (sofia/default/77000003) State DESTROY going to sleep
  477. 2022-04-07 07:44:14.947475 71.70% [DEBUG] switch_core_state_machine.c:168 sofia/default/7685714706@w07version62.astppbilling.org:5066 Standard REPORTING, cause: NORMAL_CLEARING
  478. 2022-04-07 07:44:14.947475 71.70% [DEBUG] switch_core_state_machine.c:932 (sofia/default/7685714706@w07version62.astppbilling.org:5066) State REPORTING going to sleep
  479. 2022-04-07 07:44:14.947475 71.70% [DEBUG] switch_core_state_machine.c:607 (sofia/default/7685714706@w07version62.astppbilling.org:5066) State Change CS_REPORTING -> CS_DESTROY
  480. 2022-04-07 07:44:14.947475 71.70% [DEBUG] switch_core_session.c:1753 Session 11 (sofia/default/7685714706@w07version62.astppbilling.org:5066) Locked, Waiting on external entities
  481. 2022-04-07 07:44:14.947475 71.70% [NOTICE] switch_core_session.c:1771 Session 11 (sofia/default/7685714706@w07version62.astppbilling.org:5066) Ended
  482. 2022-04-07 07:44:14.947475 71.70% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/7685714706@w07version62.astppbilling.org:5066 [CS_DESTROY]
  483. 2022-04-07 07:44:14.947475 71.70% [DEBUG] switch_core_state_machine.c:735 (sofia/default/7685714706@w07version62.astppbilling.org:5066) Running State Change CS_DESTROY (Cur 0 Tot 12)
  484. 2022-04-07 07:44:14.947475 71.70% [DEBUG] switch_core_state_machine.c:745 (sofia/default/7685714706@w07version62.astppbilling.org:5066) State DESTROY
  485. 2022-04-07 07:44:14.947475 71.70% [DEBUG] mod_sofia.c:379 sofia/default/7685714706@w07version62.astppbilling.org:5066 SOFIA DESTROY
  486. 2022-04-07 07:44:14.947475 71.70% [DEBUG] switch_core_state_machine.c:175 sofia/default/7685714706@w07version62.astppbilling.org:5066 Standard DESTROY
  487. 2022-04-07 07:44:14.947475 71.70% [DEBUG] switch_core_state_machine.c:745 (sofia/default/7685714706@w07version62.astppbilling.org:5066) State DESTROY going to sleep
  488. 2022-04-07 07:44:15.227537 71.53% [DEBUG] switch_scheduler.c:147 Deleting task 9 switch_ivr_schedule_hangup (cf888895-be5a-4273-acb7-66a3cb4fd2b0)
  489. freeswitch@ip-172-31-14-218>