From Prashant kumar, 2 Years ago, written in FreeSWITCH.
- view diff
Embed
  1. freeswitch@ip-172-31-14-218>
  2. freeswitch@ip-172-31-14-218>
  3. freeswitch@ip-172-31-14-218>
  4. freeswitch@ip-172-31-14-218>
  5. freeswitch@ip-172-31-14-218>
  6. 2022-03-09 05:12:53.667965 98.37% [NOTICE] switch_channel.c:1123 New Channel sofia/default/9191680902@w07version61.astppbilling.org:5074 [504f16ac-4f23-4627-9e9b-5dd8b434c36b]
  7. 2022-03-09 05:12:53.667965 98.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9191680902@w07version61.astppbilling.org:5074) Running State Change CS_NEW (Cur 1 Tot 54)
  8. 2022-03-09 05:12:53.667965 98.37% [INFO] sofia.c:10462 sofia/default/9191680902@w07version61.astppbilling.org:5074 receiving invite from 117.247.91.162:64472 version: 1.10.7 -release-19-883d2cb662 64bit call-id: YmZlNjIzNjJkZTNiZWQ3OTA2MDJkYWQ1ZjZiOTdhZTM.
  9. 2022-03-09 05:12:53.667965 98.37% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 117.247.91.162:0.
  10. 2022-03-09 05:12:53.667965 98.37% [DEBUG] sofia.c:2419 detaching session 504f16ac-4f23-4627-9e9b-5dd8b434c36b
  11. 2022-03-09 05:12:53.667965 98.37% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [109999933@w07version61.astppbilling.org] from ip 117.247.91.162
  12. 2022-03-09 05:12:53.667965 98.37% [DEBUG] switch_core_state_machine.c:600 (sofia/default/9191680902@w07version61.astppbilling.org:5074) State NEW
  13. 2022-03-09 05:12:53.807990 98.27% [DEBUG] sofia.c:2532 Re-attaching to session 504f16ac-4f23-4627-9e9b-5dd8b434c36b
  14. 2022-03-09 05:12:53.807990 98.27% [INFO] sofia.c:10462 sofia/default/9191680902@w07version61.astppbilling.org:5074 receiving invite from 117.247.91.162:64472 version: 1.10.7 -release-19-883d2cb662 64bit call-id: YmZlNjIzNjJkZTNiZWQ3OTA2MDJkYWQ1ZjZiOTdhZTM.
  15. 2022-03-09 05:12:53.807990 98.27% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 117.247.91.162:0.
  16. 2022-03-09 05:12:53.807990 98.27% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
  17. 2022-03-09 05:12:53.807990 98.27% [DEBUG] sofia.c:7499 Channel sofia/default/9191680902@w07version61.astppbilling.org:5074 entering state [received][100]
  18. 2022-03-09 05:12:53.807990 98.27% [DEBUG] sofia.c:7509 Remote SDP:
  19. v=0
  20. o=3cxVCE 113339445 290576610 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 40018 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 40016 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-03-09 05:12:53.807990 98.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  37. 2022-03-09 05:12:53.807990 98.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  38. 2022-03-09 05:12:53.807990 98.27% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  39. 2022-03-09 05:12:53.807990 98.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  40. 2022-03-09 05:12:53.807990 98.27% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  41. 2022-03-09 05:12:53.807990 98.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  42. 2022-03-09 05:12:53.807990 98.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  43. 2022-03-09 05:12:53.807990 98.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  44. 2022-03-09 05:12:53.807990 98.27% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  45. 2022-03-09 05:12:53.807990 98.27% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/9191680902@w07version61.astppbilling.org:5074 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  46. 2022-03-09 05:12:53.807990 98.27% [DEBUG] switch_core_codec.c:111 sofia/default/9191680902@w07version61.astppbilling.org:5074 Original read codec set to PCMU:0
  47. 2022-03-09 05:12:53.807990 98.27% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  48. 2022-03-09 05:12:53.807990 98.27% [DEBUG] switch_core_media.c:5973 sofia/default/9191680902@w07version61.astppbilling.org:5074 Set 2833 dtmf send payload to 101 recv payload to 101
  49. 2022-03-09 05:12:53.807990 98.27% [DEBUG] switch_core_media.c:6301 No matches with FTMP, fallback to ignoring FMTP
  50. 2022-03-09 05:12:53.807990 98.27% [DEBUG] switch_core_media.c:6309 No matches with inherit_codec, fallback to ignoring PT
  51. 2022-03-09 05:12:53.807990 98.27% [DEBUG] sofia.c:7933 (sofia/default/9191680902@w07version61.astppbilling.org:5074) State Change CS_NEW -> CS_INIT
  52. 2022-03-09 05:12:53.807990 98.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9191680902@w07version61.astppbilling.org:5074) Running State Change CS_INIT (Cur 1 Tot 54)
  53. 2022-03-09 05:12:53.807990 98.27% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9191680902@w07version61.astppbilling.org:5074) State INIT
  54. 2022-03-09 05:12:53.807990 98.27% [DEBUG] mod_sofia.c:97 sofia/default/9191680902@w07version61.astppbilling.org:5074 SOFIA INIT
  55. 2022-03-09 05:12:53.807990 98.27% [DEBUG] switch_core_state_machine.c:40 sofia/default/9191680902@w07version61.astppbilling.org:5074 Standard INIT
  56. 2022-03-09 05:12:53.807990 98.27% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9191680902@w07version61.astppbilling.org:5074) State Change CS_INIT -> CS_ROUTING
  57. 2022-03-09 05:12:53.807990 98.27% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9191680902@w07version61.astppbilling.org:5074) State INIT going to sleep
  58. 2022-03-09 05:12:53.807990 98.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9191680902@w07version61.astppbilling.org:5074) Running State Change CS_ROUTING (Cur 1 Tot 54)
  59. 2022-03-09 05:12:53.807990 98.27% [DEBUG] switch_channel.c:2380 (sofia/default/9191680902@w07version61.astppbilling.org:5074) Callstate Change DOWN -> RINGING
  60. 2022-03-09 05:12:53.807990 98.27% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9191680902@w07version61.astppbilling.org:5074) State ROUTING
  61. 2022-03-09 05:12:53.807990 98.27% [DEBUG] mod_sofia.c:158 sofia/default/9191680902@w07version61.astppbilling.org:5074 SOFIA ROUTING
  62. 2022-03-09 05:12:53.807990 98.27% [DEBUG] switch_core_state_machine.c:230 sofia/default/9191680902@w07version61.astppbilling.org:5074 Standard ROUTING
  63. 2022-03-09 05:12:53.807990 98.27% [INFO] mod_dialplan_xml.c:639 Processing 9191680902 <9191680902>->109999933 in context default
  64. 2022-03-09 05:12:53.887944 98.27% [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-03-09 05:12:53.887944 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  66. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  67. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 109999933
  68. 2022-03-09 05:12:53.907970 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '109999933' limit 1
  69. 2022-03-09 05:12:53.907970 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '109999933' AND status=0 limit 1
  70. 2022-03-09 05:12:53.907970 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '109999933' and status=0 LIMIT 1
  71. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER9191680902
  72. 2022-03-09 05:12:53.907970 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  73. 2022-03-09 05:12:53.907970 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'w07version61.astppbilling.org' limit 1
  74. 2022-03-09 05:12:53.907970 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '7' and username = '109999933' limit 1
  75. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 9191680902 / 9191680902
  76. 2022-03-09 05:12:53.907970 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 933
  77. 2022-03-09 05:12:53.907970 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 109999 AND status=0 limit 1
  78. 2022-03-09 05:12:53.907970 98.27% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="109999933" LIMIT 1
  79. 2022-03-09 05:12:53.907970 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  80. 2022-03-09 05:12:53.907970 98.27% [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="109999933"  AND domains.domain="w07version61.astppbilling.org" limit 1
  81. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  82. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9191680902]
  83. 2022-03-09 05:12:53.907970 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9191680902" AND deleted = 0 limit 1
  84. 2022-03-09 05:12:53.907970 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^109999933.*' OR blocked_patterns = '^10999993.*' OR blocked_patterns = '^1099999.*' OR blocked_patterns = '^109999.*' OR blocked_patterns = '^10999.*' OR blocked_patterns = '^1099.*' OR blocked_patterns = '^109.*' OR blocked_patterns = '^10.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 7 limit 1
  85. 2022-03-09 05:12:53.907970 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="109999933" AND (accountid = 0 OR status = 1) LIMIT 1
  86. 2022-03-09 05:12:53.907970 98.27% [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 = '^109999933.*' OR patterns = '^10999993.*' OR patterns = '^1099999.*' OR patterns = '^109999.*' OR patterns = '^10999.*' OR patterns = '^1099.*' OR patterns = '^109.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 7 ORDER BY LENGTH(PKGPTR.patterns) DESC
  87. 2022-03-09 05:12:53.907970 98.27% [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 ="109999933" AND A.accountid = '7' limit 1
  88. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 109999933
  89. 2022-03-09 05:12:53.907970 98.27% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="109999933" LIMIT 1
  90. 2022-03-09 05:12:53.907970 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  91. 2022-03-09 05:12:53.907970 98.27% [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="109999933"  AND domains.domain="w07version61.astppbilling.org" limit 1
  92. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  93. 2022-03-09 05:12:53.907970 98.27% [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 = '109999933' OR number = '10999993' OR number = '1099999' OR number = '109999' OR number = '10999' OR number = '1099' OR number = '109' OR number = '10' OR number = '1' OR number ='--') OR (number = '109999933*' OR number = '10999993*' OR number = '1099999*' OR number = '109999*' OR number = '10999*' OR number = '1099*' OR number = '109*' OR number = '10*' OR number = '1*' OR number ='--') OR (number = '9191680902' OR number = '919168090' OR number = '91916809' OR number = '9191680' OR number = '919168' OR number = '91916' OR number = '9191' OR number = '919' OR number = '91' OR number = '9' OR number ='--') OR (number = '9191680902*' OR number = '919168090*' OR number = '91916809*' OR number = '9191680*' OR number = '919168*' OR number = '91916*' OR number = '9191*' OR number = '919*' OR number = '91*' OR number = '9*' OR number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  94. 2022-03-09 05:12:53.907970 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  95. 2022-03-09 05:12:53.907970 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '109999933' OR routing_prefix = '10999993' OR routing_prefix = '1099999' OR routing_prefix = '109999' OR routing_prefix = '10999' OR routing_prefix = '1099' OR routing_prefix = '109' OR routing_prefix = '10' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 4 limit 1
  96. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  97. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 7
  98. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9191680902
  99. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 39995.8
  100. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  101. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 2
  102. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  103. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  104. 2022-03-09 05:12:53.907970 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0
  105. 2022-03-09 05:12:53.907970 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  106. 2022-03-09 05:12:53.907970 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0
  107. 2022-03-09 05:12:53.907970 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^109999933.*' OR pattern = '^10999993.*' OR pattern = '^1099999.*' OR pattern = '^109999.*' OR pattern = '^10999.*' OR pattern = '^1099.*' OR pattern = '^109.*' OR pattern = '^10.*' OR pattern = '^1.*' OR pattern ='--') AND (caller_id_pattern = '^9191680902.*' OR caller_id_pattern = '^919168090.*' OR caller_id_pattern = '^91916809.*' OR caller_id_pattern = '^9191680.*' OR caller_id_pattern = '^919168.*' OR caller_id_pattern = '^91916.*' OR caller_id_pattern = '^9191.*' OR caller_id_pattern = '^919.*' OR caller_id_pattern = '^91.*' OR caller_id_pattern = '^9.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 2 OR accountid=7)  ORDER BY accountid DESC,LENGTH(pattern),LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  108. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  109. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  110. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:0.60000
  111. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:2
  112. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday from demand_based_routing where pricelist_id = '2' and status=0
  113. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:0.60000
  114. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  115. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 2
  116. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  117. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  118. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.60000
  119. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Reseller
  120. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 27
  121. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 7
  122. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  123. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  124. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  125. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your39995.8 balance Accountid 7 !!!
  126. 2022-03-09 05:12:53.907970 98.27% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  127. 2022-03-09 05:12:53.907970 98.27% [NOTICE] switch_cpp.cpp:1465 [ASTPP] FINDING LIMIT FOR RESELLER: 4
  128. 2022-03-09 05:12:53.907970 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "4" AND deleted = 0 limit 1
  129. 2022-03-09 05:12:53.907970 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^109999933.*' OR blocked_patterns = '^10999993.*' OR blocked_patterns = '^1099999.*' OR blocked_patterns = '^109999.*' OR blocked_patterns = '^10999.*' OR blocked_patterns = '^1099.*' OR blocked_patterns = '^109.*' OR blocked_patterns = '^10.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 4 limit 1
  130. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Reseller Information ===================
  131. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 4
  132. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9104408877
  133. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 19998.5
  134. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  135. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  136. 2022-03-09 05:12:53.907970 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  137. 2022-03-09 05:12:53.907970 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  138. 2022-03-09 05:12:53.907970 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  139. 2022-03-09 05:12:53.907970 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^109999933.*' OR pattern = '^10999993.*' OR pattern = '^1099999.*' OR pattern = '^109999.*' OR pattern = '^10999.*' OR pattern = '^1099.*' OR pattern = '^109.*' OR pattern = '^10.*' OR pattern = '^1.*' OR pattern ='--') AND (caller_id_pattern = '^9191680902.*' OR caller_id_pattern = '^919168090.*' OR caller_id_pattern = '^91916809.*' OR caller_id_pattern = '^9191680.*' OR caller_id_pattern = '^919168.*' OR caller_id_pattern = '^91916.*' OR caller_id_pattern = '^9191.*' OR caller_id_pattern = '^919.*' OR caller_id_pattern = '^91.*' OR caller_id_pattern = '^9.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 1 OR accountid=4)  ORDER BY accountid DESC,LENGTH(pattern),LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  140. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  141. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  142. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:0.20000
  143. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:1
  144. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday from demand_based_routing where pricelist_id = '1' and status=0
  145. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:0.20000
  146. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  147. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  148. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  149. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  150. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.20000
  151. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : USA
  152. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
  153. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 4
  154. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 0
  155. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  156. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  157. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your19998.5 balance Accountid 4 !!!
  158. 2022-03-09 05:12:53.907970 98.27% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  159. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Reseller xml_user_rates : ID:2|CODE:^1.*|DESTINATION:Reseller|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:2|MARKUP:0|CI:27|ACCID:7||ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:4
  160. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  161. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Lossless Routing Status : 1
  162. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  163. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 2
  164. 2022-03-09 05:12:53.907970 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :0
  165. 2022-03-09 05:12:53.907970 98.27% [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
  166. 2022-03-09 05:12:53.907970 98.27% [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 = '^109999933.*' OR pattern = '^10999993.*' OR pattern = '^1099999.*' OR pattern = '^109999.*' OR pattern = '^10999.*' OR pattern = '^1099.*' OR pattern = '^109.*' OR pattern = '^10.*' OR pattern = '^1.*' 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
  167. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  168. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  169. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^1.*
  170. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : USA
  171. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  172. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  173. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^1.*
  174. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  175. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  176. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 1
  177. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : YourProvider
  178. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  179. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  180. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  181. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  182. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : YourTrunk
  183. 2022-03-09 05:12:53.907970 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  184. 2022-03-09 05:12:53.907970 98.27% [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 = 7 AND status=0 LIMIT 1
  185. 2022-03-09 05:12:53.947944 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  186. 2022-03-09 05:12:53.947944 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  187. 2022-03-09 05:12:53.947944 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  188. 2022-03-09 05:12:53.947944 98.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : outbound
  189. 2022-03-09 05:12:53.947944 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  190. 2022-03-09 05:12:53.947944 98.27% [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
  191. 2022-03-09 05:12:53.947944 98.27% [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
  192. 2022-03-09 05:12:53.947944 98.27% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="109999933" LIMIT 1
  193. 2022-03-09 05:12:53.947944 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  194. 2022-03-09 05:12:53.947944 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  195. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  196. <document type="freeswitch/xml">
  197. <section name="dialplan" description="ASTPP Dialplan">
  198. <context name="default">
  199. <extension name="109999933">
  200. <condition field="destination_number" expression="109999933">
  201. <action application="set" data="effective_destination_number=109999933"/>
  202. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  203. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  204. <action application="set" data="callstart=2022-03-09 05:12:54"/>
  205. <action application="set" data="hangup_after_bridge=true"/>
  206. <action application="set" data="continue_on_fail=TRUE"/>
  207. <action application="set" data="account_id=7"/>
  208. <action application="set" data="parent_id=4"/>
  209. <action application="set" data="entity_id=0"/>
  210. <action application="set" data="call_processed=internal"/>
  211. <action application="set" data="call_direction=outbound"/>
  212. <action application="set" data="accountname=default"/>
  213. <action application="set" data="origination_rates=ID:2|CODE:^1.*|DESTINATION:Reseller|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:2|MARKUP:0|CI:27|ACCID:7||ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:4"/>
  214. <action application="set" data="original_caller_id_name=9191680902"/>
  215. <action application="set" data="original_caller_id_number=9191680902"/>
  216.  
  217. <action application="set" data="effective_caller_id_name=9191680902"/>
  218. <action application="set" data="effective_caller_id_number=9191680902"/>
  219. <action application="set" data="calltype=STANDARD"/>
  220. <action application="set" data="termination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.10000|INC:60|INITIALBLOCK:30|TRUNK:1|PROVIDER:3"/>
  221. <action application="set" data="trunk_id=1"/>
  222. <action application="set" data="provider_id=3"/>
  223. <action application="set" data="rate_flag=0"/>
  224. <action application="set" data="force_trunk_flag=2"/>
  225. <action application="export" data="presence_data=trunk_id=1"/>
  226. <action application="set" data="intcall=0"/>
  227. <action application="export" data="presence_id=109999933"/>
  228. <action application="export" data="presence_data=x//4|||Reseller's cust(9191680902)|||^1.* // Reseller // 0.60000 |||YourTrunk // ^1.* // USA // 0.10000 // trunk_id=1|||STD|||117.247.91.162|||0.20000 // ^1.* // USA"/>
  229. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/109999933"/>
  230. </condition>
  231. </extension>
  232. </context>
  233. </section>
  234. </document>
  235. Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 parsing [default->109999933] continue=false
  236. Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Regex (PASS) [109999933] destination_number(109999933) =~ /109999933/ break=on-false
  237. Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(effective_destination_number=109999933)
  238. Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  239. Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  240. Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(callstart=2022-03-09 05:12:54)
  241. Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(hangup_after_bridge=true)
  242. Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(continue_on_fail=TRUE)
  243. Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(account_id=7)
  244. Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(parent_id=4)
  245. Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(entity_id=0)
  246. Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(call_processed=internal)
  247. Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(call_direction=outbound)
  248. Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(accountname=default)
  249. Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(origination_rates=ID:2|CODE:^1.*|DESTINATION:Reseller|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:2|MARKUP:0|CI:27|ACCID:7||ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:4)
  250. Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(original_caller_id_name=9191680902)
  251. Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(original_caller_id_number=9191680902)
  252. Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(effective_caller_id_name=9191680902)
  253. Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(effective_caller_id_number=9191680902)
  254. Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(calltype=STANDARD)
  255. Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(termination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.10000|INC:60|INITIALBLOCK:30|TRUNK:1|PROVIDER:3)
  256. Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(trunk_id=1)
  257. Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(provider_id=3)
  258. Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(rate_flag=0)
  259. Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(force_trunk_flag=2)
  260. Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action export(presence_data=trunk_id=1)
  261. Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(intcall=0)
  262. Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action export(presence_id=109999933)
  263. Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action export(presence_data=x//4|||Reseller's cust(9191680902)|||^1.* // Reseller // 0.60000 |||YourTrunk // ^1.* // USA // 0.10000 // trunk_id=1|||STD|||117.247.91.162|||0.20000 // ^1.* // USA)
  264. Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action bridge({sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/109999933)
  265. 2022-03-09 05:12:53.947944 98.27% [DEBUG] switch_core_state_machine.c:281 (sofia/default/9191680902@w07version61.astppbilling.org:5074) State Change CS_ROUTING -> CS_EXECUTE
  266. 2022-03-09 05:12:53.947944 98.27% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9191680902@w07version61.astppbilling.org:5074) State ROUTING going to sleep
  267. 2022-03-09 05:12:53.947944 98.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9191680902@w07version61.astppbilling.org:5074) Running State Change CS_EXECUTE (Cur 1 Tot 54)
  268. 2022-03-09 05:12:53.947944 98.27% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9191680902@w07version61.astppbilling.org:5074) State EXECUTE
  269. 2022-03-09 05:12:53.947944 98.27% [DEBUG] mod_sofia.c:213 sofia/default/9191680902@w07version61.astppbilling.org:5074 SOFIA EXECUTE
  270. 2022-03-09 05:12:53.947944 98.27% [DEBUG] switch_core_state_machine.c:323 sofia/default/9191680902@w07version61.astppbilling.org:5074 Standard EXECUTE
  271. EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(effective_destination_number=109999933)
  272. 2022-03-09 05:12:53.947944 98.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [effective_destination_number]=[109999933]
  273. EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(bridge_pre_execute_bleg_app=sched_hangup)
  274. 2022-03-09 05:12:53.947944 98.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [bridge_pre_execute_bleg_app]=[sched_hangup]
  275. EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  276. 2022-03-09 05:12:53.947944 98.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  277. EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(callstart=2022-03-09 05:12:54)
  278. 2022-03-09 05:12:53.947944 98.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [callstart]=[2022-03-09 05:12:54]
  279. EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(hangup_after_bridge=true)
  280. 2022-03-09 05:12:53.947944 98.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [hangup_after_bridge]=[true]
  281. EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(continue_on_fail=TRUE)
  282. 2022-03-09 05:12:53.947944 98.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [continue_on_fail]=[TRUE]
  283. EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(account_id=7)
  284. 2022-03-09 05:12:53.947944 98.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [account_id]=[7]
  285. EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(parent_id=4)
  286. 2022-03-09 05:12:53.947944 98.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [parent_id]=[4]
  287. EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(entity_id=0)
  288. 2022-03-09 05:12:53.947944 98.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [entity_id]=[0]
  289. EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(call_processed=internal)
  290. 2022-03-09 05:12:53.947944 98.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [call_processed]=[internal]
  291. EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(call_direction=outbound)
  292. 2022-03-09 05:12:53.947944 98.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [call_direction]=[outbound]
  293. EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(accountname=default)
  294. 2022-03-09 05:12:53.947944 98.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [accountname]=[default]
  295. EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(origination_rates=ID:2|CODE:^1.*|DESTINATION:Reseller|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:2|MARKUP:0|CI:27|ACCID:7||ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:4)
  296. 2022-03-09 05:12:53.947944 98.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [origination_rates]=[ID:2|CODE:^1.*|DESTINATION:Reseller|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:2|MARKUP:0|CI:27|ACCID:7||ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:4]
  297. EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(original_caller_id_name=9191680902)
  298. 2022-03-09 05:12:53.947944 98.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [original_caller_id_name]=[9191680902]
  299. EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(original_caller_id_number=9191680902)
  300. 2022-03-09 05:12:53.947944 98.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [original_caller_id_number]=[9191680902]
  301. EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(effective_caller_id_name=9191680902)
  302. 2022-03-09 05:12:53.947944 98.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [effective_caller_id_name]=[9191680902]
  303. EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(effective_caller_id_number=9191680902)
  304. 2022-03-09 05:12:53.947944 98.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [effective_caller_id_number]=[9191680902]
  305. EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(calltype=STANDARD)
  306. 2022-03-09 05:12:53.947944 98.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [calltype]=[STANDARD]
  307. EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(termination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.10000|INC:60|INITIALBLOCK:30|TRUNK:1|PROVIDER:3)
  308. 2022-03-09 05:12:53.947944 98.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [termination_rates]=[ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.10000|INC:60|INITIALBLOCK:30|TRUNK:1|PROVIDER:3]
  309. EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(trunk_id=1)
  310. 2022-03-09 05:12:53.947944 98.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [trunk_id]=[1]
  311. EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(provider_id=3)
  312. 2022-03-09 05:12:53.947944 98.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [provider_id]=[3]
  313. EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(rate_flag=0)
  314. 2022-03-09 05:12:53.947944 98.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [rate_flag]=[0]
  315. EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(force_trunk_flag=2)
  316. 2022-03-09 05:12:53.947944 98.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [force_trunk_flag]=[2]
  317. EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 export(presence_data=trunk_id=1)
  318. 2022-03-09 05:12:53.947944 98.27% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=1]
  319. EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(intcall=0)
  320. 2022-03-09 05:12:53.947944 98.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [intcall]=[0]
  321. EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 export(presence_id=109999933)
  322. 2022-03-09 05:12:53.947944 98.27% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[109999933]
  323. EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 export(presence_data=x//4|||Reseller's cust(9191680902)|||^1.* // Reseller // 0.60000 |||YourTrunk // ^1.* // USA // 0.10000 // trunk_id=1|||STD|||117.247.91.162|||0.20000 // ^1.* // USA)
  324. 2022-03-09 05:12:53.947944 98.27% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x//4|||Reseller's cust(9191680902)|||^1.* // Reseller // 0.60000 |||YourTrunk // ^1.* // USA // 0.10000 // trunk_id=1|||STD|||117.247.91.162|||0.20000 // ^1.* // USA]
  325. EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 bridge({sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/109999933)
  326. 2022-03-09 05:12:53.947944 98.27% [DEBUG] switch_channel.c:1269 sofia/default/9191680902@w07version61.astppbilling.org:5074 EXPORTING[export_vars] [presence_data]=[x//4|||Reseller's cust(9191680902)|||^1.* // Reseller // 0.60000 |||YourTrunk // ^1.* // USA // 0.10000 // trunk_id=1|||STD|||117.247.91.162|||0.20000 // ^1.* // USA] to event
  327. 2022-03-09 05:12:53.947944 98.27% [DEBUG] switch_channel.c:1269 sofia/default/9191680902@w07version61.astppbilling.org:5074 EXPORTING[export_vars] [presence_id]=[109999933] to event
  328. 2022-03-09 05:12:53.947944 98.27% [DEBUG] switch_channel.c:1269 sofia/default/9191680902@w07version61.astppbilling.org:5074 EXPORTING[export_vars] [presence_data]=[x//4|||Reseller's cust(9191680902)|||^1.* // Reseller // 0.60000 |||YourTrunk // ^1.* // USA // 0.10000 // trunk_id=1|||STD|||117.247.91.162|||0.20000 // ^1.* // USA] to event
  329. 2022-03-09 05:12:53.947944 98.27% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  330. 2022-03-09 05:12:53.947944 98.27% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  331. 2022-03-09 05:12:53.947944 98.27% [NOTICE] switch_channel.c:1123 New Channel sofia/default/109999933 [f51a1c15-1d81-4793-99b3-e744ef592c85]
  332. 2022-03-09 05:12:53.947944 98.27% [DEBUG] mod_sofia.c:5121 (sofia/default/109999933) State Change CS_NEW -> CS_INIT
  333. 2022-03-09 05:12:53.947944 98.27% [DEBUG] switch_ivr_originate.c:3151 sofia/default/109999933 Setting leg timeout to 30
  334. 2022-03-09 05:12:53.947944 98.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/109999933) Running State Change CS_INIT (Cur 2 Tot 55)
  335. 2022-03-09 05:12:53.947944 98.27% [DEBUG] switch_core_state_machine.c:624 (sofia/default/109999933) State INIT
  336. 2022-03-09 05:12:53.947944 98.27% [DEBUG] mod_sofia.c:97 sofia/default/109999933 SOFIA INIT
  337. 2022-03-09 05:12:53.947944 98.27% [INFO] sofia_glue.c:1651 sofia/default/109999933 sending invite call-id: (null)
  338. 2022-03-09 05:12:53.947944 98.27% [DEBUG] sofia_glue.c:1654 sofia/default/109999933 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
  339. Local SDP:
  340. v=0
  341. o=FreeSWITCH 1646774847 1646774848 IN IP4 3.7.66.233
  342. s=FreeSWITCH
  343. c=IN IP4 3.7.66.233
  344. t=0 0
  345. m=audio 27926 RTP/AVP 8 18 101
  346. a=rtpmap:8 PCMA/8000
  347. a=rtpmap:18 G729/8000
  348. a=rtpmap:101 telephone-event/8000
  349. a=fmtp:101 0-15
  350. a=ptime:20
  351. a=sendrecv
  352.  
  353. 2022-03-09 05:12:53.947944 98.27% [DEBUG] switch_core_state_machine.c:40 sofia/default/109999933 Standard INIT
  354. 2022-03-09 05:12:53.947944 98.27% [DEBUG] switch_core_state_machine.c:48 (sofia/default/109999933) State Change CS_INIT -> CS_ROUTING
  355. 2022-03-09 05:12:53.947944 98.27% [DEBUG] switch_core_state_machine.c:624 (sofia/default/109999933) State INIT going to sleep
  356. 2022-03-09 05:12:53.947944 98.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/109999933) Running State Change CS_ROUTING (Cur 2 Tot 55)
  357. 2022-03-09 05:12:53.947944 98.27% [DEBUG] switch_core_state_machine.c:640 (sofia/default/109999933) State ROUTING
  358. 2022-03-09 05:12:53.947944 98.27% [DEBUG] mod_sofia.c:158 sofia/default/109999933 SOFIA ROUTING
  359. 2022-03-09 05:12:53.947944 98.27% [DEBUG] switch_ivr_originate.c:67 (sofia/default/109999933) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  360. 2022-03-09 05:12:53.947944 98.27% [DEBUG] switch_core_state_machine.c:640 (sofia/default/109999933) State ROUTING going to sleep
  361. 2022-03-09 05:12:53.947944 98.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/109999933) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 55)
  362. 2022-03-09 05:12:53.947944 98.27% [DEBUG] switch_core_state_machine.c:659 (sofia/default/109999933) State CONSUME_MEDIA
  363. 2022-03-09 05:12:53.947944 98.27% [DEBUG] switch_core_state_machine.c:659 (sofia/default/109999933) State CONSUME_MEDIA going to sleep
  364. 2022-03-09 05:12:53.947944 98.27% [DEBUG] sofia.c:7499 Channel sofia/default/109999933 entering state [calling][0]
  365. 2022-03-09 05:12:54.227974 98.27% [DEBUG] sofia.c:7499 Channel sofia/default/109999933 entering state [proceeding][180]
  366. 2022-03-09 05:12:54.227974 98.27% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/109999933!
  367. 2022-03-09 05:12:54.227974 98.27% [DEBUG] switch_channel.c:3494 (sofia/default/109999933) Callstate Change DOWN -> RINGING
  368. 2022-03-09 05:12:54.227974 98.27% [NOTICE] mod_sofia.c:2515 Ring-Ready sofia/default/9191680902@w07version61.astppbilling.org:5074!
  369. 2022-03-09 05:12:54.227974 98.27% [DEBUG] sofia.c:7499 Channel sofia/default/9191680902@w07version61.astppbilling.org:5074 entering state [early][180]
  370. 2022-03-09 05:12:54.227974 98.27% [NOTICE] switch_ivr_originate.c:565 Ring Ready sofia/default/9191680902@w07version61.astppbilling.org:5074!
  371. 2022-03-09 05:13:04.227971 94.77% [DEBUG] sofia.c:7499 Channel sofia/default/109999933 entering state [completing][200]
  372. 2022-03-09 05:13:04.227971 94.77% [DEBUG] sofia.c:7509 Remote SDP:
  373. v=0
  374. o=root 1763060880 1763060880 IN IP4 159.203.131.36
  375. s=Asterisk PBX 16.4.0
  376. c=IN IP4 159.203.131.36
  377. t=0 0
  378. m=audio 16904 RTP/AVP 8 101
  379. a=rtpmap:8 PCMA/8000
  380. a=rtpmap:101 telephone-event/8000
  381. a=fmtp:101 0-16
  382. a=maxptime:150
  383.  
  384. 2022-03-09 05:13:04.227971 94.77% [DEBUG] sofia.c:7499 Channel sofia/default/109999933 entering state [ready][200]
  385. 2022-03-09 05:13:04.227971 94.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1]
  386. 2022-03-09 05:13:04.227971 94.77% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  387. 2022-03-09 05:13:04.227971 94.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[G729:18:8000:20:8000:1]
  388. 2022-03-09 05:13:04.227971 94.77% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  389. 2022-03-09 05:13:04.227971 94.77% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/109999933 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  390. 2022-03-09 05:13:04.227971 94.77% [DEBUG] switch_core_codec.c:111 sofia/default/109999933 Original read codec set to PCMA:8
  391. 2022-03-09 05:13:04.227971 94.77% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  392. 2022-03-09 05:13:04.227971 94.77% [DEBUG] switch_core_media.c:5973 sofia/default/109999933 Set 2833 dtmf send payload to 101 recv payload to 101
  393. 2022-03-09 05:13:04.227971 94.77% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/109999933] 172.31.14.218 port 27926 -> 159.203.131.36 port 16904 codec: 8 ms: 20
  394. 2022-03-09 05:13:04.227971 94.77% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  395. 2022-03-09 05:13:04.227971 94.77% [DEBUG] switch_core_media.c:9089 sofia/default/109999933 Set 2833 dtmf send payload to 101
  396. 2022-03-09 05:13:04.227971 94.77% [DEBUG] switch_core_media.c:9096 sofia/default/109999933 Set 2833 dtmf receive payload to 101
  397. 2022-03-09 05:13:04.227971 94.77% [DEBUG] switch_core_media.c:9119 sofia/default/109999933 Set rtp dtmf delay to 40
  398. 2022-03-09 05:13:04.227971 94.77% [NOTICE] sofia.c:8683 Channel [sofia/default/109999933] has been answered
  399. 2022-03-09 05:13:04.227971 94.77% [DEBUG] switch_channel.c:3950 (sofia/default/109999933) Callstate Change RINGING -> ACTIVE
  400. 2022-03-09 05:13:04.247964 94.77% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/9191680902@w07version61.astppbilling.org:5074] 172.31.14.218 port 18854 -> 192.168.1.13 port 40018 codec: 0 ms: 20
  401. 2022-03-09 05:13:04.247964 94.77% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  402. 2022-03-09 05:13:04.247964 94.77% [DEBUG] switch_core_media.c:9089 sofia/default/9191680902@w07version61.astppbilling.org:5074 Set 2833 dtmf send payload to 101
  403. 2022-03-09 05:13:04.247964 94.77% [DEBUG] switch_core_media.c:9096 sofia/default/9191680902@w07version61.astppbilling.org:5074 Set 2833 dtmf receive payload to 101
  404. 2022-03-09 05:13:04.247964 94.77% [DEBUG] switch_core_media.c:9119 sofia/default/9191680902@w07version61.astppbilling.org:5074 Set rtp dtmf delay to 40
  405. 2022-03-09 05:13:04.247964 94.77% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/9191680902@w07version61.astppbilling.org:5074:
  406. v=0
  407. o=FreeSWITCH 1646783930 1646783931 IN IP4 3.7.66.233
  408. s=FreeSWITCH
  409. c=IN IP4 3.7.66.233
  410. t=0 0
  411. m=audio 18854 RTP/AVP 0 101
  412. a=rtpmap:0 PCMU/8000
  413. a=rtpmap:101 telephone-event/8000
  414. a=fmtp:101 0-15
  415. a=ptime:20
  416. a=sendrecv
  417. m=video 0 RTP/AVP 19
  418.  
  419. 2022-03-09 05:13:04.247964 94.77% [DEBUG] sofia.c:7499 Channel sofia/default/9191680902@w07version61.astppbilling.org:5074 entering state [completed][200]
  420. 2022-03-09 05:13:04.247964 94.77% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/default/9191680902@w07version61.astppbilling.org:5074] has been answered
  421. 2022-03-09 05:13:04.247964 94.77% [DEBUG] switch_channel.c:3950 (sofia/default/9191680902@w07version61.astppbilling.org:5074) Callstate Change RINGING -> ACTIVE
  422. 2022-03-09 05:13:04.247964 94.77% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/109999933] Peer UUID: f51a1c15-1d81-4793-99b3-e744ef592c85
  423. 2022-03-09 05:13:04.247964 94.77% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/109999933) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  424. 2022-03-09 05:13:04.247964 94.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/109999933) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 55)
  425. 2022-03-09 05:13:04.247964 94.77% [DEBUG] switch_core_state_machine.c:650 (sofia/default/109999933) State EXCHANGE_MEDIA
  426. 2022-03-09 05:13:04.247964 94.77% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  427. 2022-03-09 05:13:04.387956 94.77% [DEBUG] sofia.c:7499 Channel sofia/default/9191680902@w07version61.astppbilling.org:5074 entering state [ready][200]
  428. 2022-03-09 05:13:04.427977 94.77% [DEBUG] switch_ivr_bridge.c:655 sofia/default/109999933 Bridge execute app sched_hangup(+6000 normal_clearing)
  429. 2022-03-09 05:13:04.427977 94.77% [DEBUG] switch_ivr.c:632 sofia/default/109999933 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  430. EXECUTE [depth=0] sofia/default/109999933 sched_hangup(+6000 normal_clearing)
  431. 2022-03-09 05:13:04.427977 94.77% [DEBUG] switch_scheduler.c:263 Added task 13 switch_ivr_schedule_hangup (f51a1c15-1d81-4793-99b3-e744ef592c85) to run at 1646808784
  432. 2022-03-09 05:13:04.527979 94.77% [INFO] switch_rtp.c:7894 Auto Changing audio port from 192.168.1.13:40018 to 117.247.91.162:40018
  433. 2022-03-09 05:13:04.607965 94.77% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  434. 2022-03-09 05:13:10.647969 94.80% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [3328243525@3.7.66.233] from ip 117.247.91.162
  435. 2022-03-09 05:13:10.647969 94.80% [WARNING] sofia_reg.c:3223 Can't find user [3328243525@3.7.66.233] from 117.247.91.162
  436. You must define a domain called '3.7.66.233' in your directory and add a user with the id="3328243525" attribute
  437. and you must configure your device to use the proper domain in its authentication credentials.
  438. 2022-03-09 05:13:23.067967 93.87% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  439. 2022-03-09 05:13:23.067967 93.87% [WARNING] mod_dptools.c:4401 Can't find user [4665206923@w07version61.astppbilling.org]
  440. 2022-03-09 05:13:23.067967 93.87% [NOTICE] switch_ivr_originate.c:3039 Cannot create outgoing channel of type [user] cause: [SUBSCRIBER_ABSENT]
  441. 2022-03-09 05:13:23.067967 93.87% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 20 [SUBSCRIBER_ABSENT]
  442. 2022-03-09 05:13:38.487966 97.37% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  443. 2022-03-09 05:13:38.487966 97.37% [WARNING] mod_dptools.c:4401 Can't find user [4665206923@w07version61.astppbilling.org]
  444. 2022-03-09 05:13:38.487966 97.37% [NOTICE] switch_ivr_originate.c:3039 Cannot create outgoing channel of type [user] cause: [SUBSCRIBER_ABSENT]
  445. 2022-03-09 05:13:38.487966 97.37% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 20 [SUBSCRIBER_ABSENT]
  446. 2022-03-09 05:13:48.827947 97.20% [NOTICE] sofia.c:1065 Hangup sofia/default/9191680902@w07version61.astppbilling.org:5074 [CS_EXECUTE] [NORMAL_CLEARING]
  447. 2022-03-09 05:13:48.827947 97.20% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/9191680902@w07version61.astppbilling.org:5074]
  448. 2022-03-09 05:13:48.827947 97.20% [DEBUG] switch_ivr_bridge.c:820 sofia/default/9191680902@w07version61.astppbilling.org:5074 ending bridge by request from write function
  449. 2022-03-09 05:13:48.827947 97.20% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/109999933]
  450. 2022-03-09 05:13:48.827947 97.20% [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/109999933 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  451. 2022-03-09 05:13:48.827947 97.20% [DEBUG] switch_core_state_machine.c:650 (sofia/default/109999933) State EXCHANGE_MEDIA going to sleep
  452. 2022-03-09 05:13:48.827947 97.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/109999933) Running State Change CS_HANGUP (Cur 2 Tot 55)
  453. 2022-03-09 05:13:48.827947 97.20% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/109999933 skip receive message [UNBRIDGE] (channel is hungup already)
  454. 2022-03-09 05:13:48.827947 97.20% [DEBUG] switch_ivr_bridge.c:1895 sofia/default/9191680902@w07version61.astppbilling.org:5074 skip receive message [UNBRIDGE] (channel is hungup already)
  455. 2022-03-09 05:13:48.827947 97.20% [DEBUG] switch_core_session.c:2983 sofia/default/9191680902@w07version61.astppbilling.org:5074 skip receive message [PHONE_EVENT] (channel is hungup already)
  456. 2022-03-09 05:13:48.827947 97.20% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9191680902@w07version61.astppbilling.org:5074) State EXECUTE going to sleep
  457. 2022-03-09 05:13:48.827947 97.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9191680902@w07version61.astppbilling.org:5074) Running State Change CS_HANGUP (Cur 2 Tot 55)
  458. 2022-03-09 05:13:48.827947 97.20% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9191680902@w07version61.astppbilling.org:5074) Callstate Change ACTIVE -> HANGUP
  459. 2022-03-09 05:13:48.827947 97.20% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9191680902@w07version61.astppbilling.org:5074) State HANGUP
  460. 2022-03-09 05:13:48.827947 97.20% [DEBUG] switch_core_state_machine.c:844 (sofia/default/109999933) Callstate Change ACTIVE -> HANGUP
  461. 2022-03-09 05:13:48.827947 97.20% [DEBUG] switch_core_state_machine.c:846 (sofia/default/109999933) State HANGUP
  462. 2022-03-09 05:13:48.827947 97.20% [DEBUG] mod_sofia.c:462 sofia/default/109999933 Overriding SIP cause 480 with 200 from the other leg
  463. 2022-03-09 05:13:48.827947 97.20% [DEBUG] mod_sofia.c:468 Channel sofia/default/109999933 hanging up, cause: NORMAL_CLEARING
  464. 2022-03-09 05:13:48.827947 97.20% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/109999933
  465. 2022-03-09 05:13:48.827947 97.20% [DEBUG] switch_core_state_machine.c:59 sofia/default/109999933 Standard HANGUP, cause: NORMAL_CLEARING
  466. 2022-03-09 05:13:48.827947 97.20% [DEBUG] switch_core_state_machine.c:846 (sofia/default/109999933) State HANGUP going to sleep
  467. 2022-03-09 05:13:48.827947 97.20% [DEBUG] switch_core_state_machine.c:616 (sofia/default/109999933) State Change CS_HANGUP -> CS_REPORTING
  468. 2022-03-09 05:13:48.827947 97.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/109999933) Running State Change CS_REPORTING (Cur 2 Tot 55)
  469. 2022-03-09 05:13:48.827947 97.20% [DEBUG] switch_core_state_machine.c:932 (sofia/default/109999933) State REPORTING
  470. 2022-03-09 05:13:48.827947 97.20% [DEBUG] mod_sofia.c:468 Channel sofia/default/9191680902@w07version61.astppbilling.org:5074 hanging up, cause: NORMAL_CLEARING
  471. 2022-03-09 05:13:48.827947 97.20% [DEBUG] switch_core_state_machine.c:59 sofia/default/9191680902@w07version61.astppbilling.org:5074 Standard HANGUP, cause: NORMAL_CLEARING
  472. 2022-03-09 05:13:48.827947 97.20% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9191680902@w07version61.astppbilling.org:5074) State HANGUP going to sleep
  473. 2022-03-09 05:13:48.827947 97.20% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9191680902@w07version61.astppbilling.org:5074) State Change CS_HANGUP -> CS_REPORTING
  474. 2022-03-09 05:13:48.827947 97.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9191680902@w07version61.astppbilling.org:5074) Running State Change CS_REPORTING (Cur 2 Tot 55)
  475. 2022-03-09 05:13:48.827947 97.20% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9191680902@w07version61.astppbilling.org:5074) State REPORTING
  476. 2022-03-09 05:13:48.827947 97.20% [INFO] mod_json_cdr.c:271 Process [f51a1c15-1d81-4793-99b3-e744ef592c85.cdr.json]
  477. 2022-03-09 05:13:48.827947 97.20% [INFO] mod_json_cdr.c:271 Process [504f16ac-4f23-4627-9e9b-5dd8b434c36b.cdr.json]
  478. 2022-03-09 05:13:48.847952 97.20% [DEBUG] switch_core_state_machine.c:168 sofia/default/109999933 Standard REPORTING, cause: NORMAL_CLEARING
  479. 2022-03-09 05:13:48.847952 97.20% [DEBUG] switch_core_state_machine.c:932 (sofia/default/109999933) State REPORTING going to sleep
  480. 2022-03-09 05:13:48.847952 97.20% [DEBUG] switch_core_state_machine.c:607 (sofia/default/109999933) State Change CS_REPORTING -> CS_DESTROY
  481. 2022-03-09 05:13:48.847952 97.20% [DEBUG] switch_core_session.c:1753 Session 55 (sofia/default/109999933) Locked, Waiting on external entities
  482. 2022-03-09 05:13:48.847952 97.20% [NOTICE] switch_core_session.c:1771 Session 55 (sofia/default/109999933) Ended
  483. 2022-03-09 05:13:48.847952 97.20% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/109999933 [CS_DESTROY]
  484. 2022-03-09 05:13:48.847952 97.20% [DEBUG] switch_core_state_machine.c:735 (sofia/default/109999933) Running State Change CS_DESTROY (Cur 1 Tot 55)
  485. 2022-03-09 05:13:48.847952 97.20% [DEBUG] switch_core_state_machine.c:745 (sofia/default/109999933) State DESTROY
  486. 2022-03-09 05:13:48.847952 97.20% [DEBUG] mod_sofia.c:379 sofia/default/109999933 SOFIA DESTROY
  487. 2022-03-09 05:13:48.847952 97.20% [DEBUG] switch_core_state_machine.c:175 sofia/default/109999933 Standard DESTROY
  488. 2022-03-09 05:13:48.847952 97.20% [DEBUG] switch_core_state_machine.c:745 (sofia/default/109999933) State DESTROY going to sleep
  489. 2022-03-09 05:13:48.887946 97.20% [DEBUG] switch_core_state_machine.c:168 sofia/default/9191680902@w07version61.astppbilling.org:5074 Standard REPORTING, cause: NORMAL_CLEARING
  490. 2022-03-09 05:13:48.887946 97.20% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9191680902@w07version61.astppbilling.org:5074) State REPORTING going to sleep
  491. 2022-03-09 05:13:48.887946 97.20% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9191680902@w07version61.astppbilling.org:5074) State Change CS_REPORTING -> CS_DESTROY
  492. 2022-03-09 05:13:48.887946 97.20% [DEBUG] switch_core_session.c:1753 Session 54 (sofia/default/9191680902@w07version61.astppbilling.org:5074) Locked, Waiting on external entities
  493. 2022-03-09 05:13:48.887946 97.20% [NOTICE] switch_core_session.c:1771 Session 54 (sofia/default/9191680902@w07version61.astppbilling.org:5074) Ended
  494. 2022-03-09 05:13:48.887946 97.20% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/9191680902@w07version61.astppbilling.org:5074 [CS_DESTROY]
  495. 2022-03-09 05:13:48.887946 97.20% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9191680902@w07version61.astppbilling.org:5074) Running State Change CS_DESTROY (Cur 0 Tot 55)
  496. 2022-03-09 05:13:48.887946 97.20% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9191680902@w07version61.astppbilling.org:5074) State DESTROY
  497. 2022-03-09 05:13:48.887946 97.20% [DEBUG] mod_sofia.c:379 sofia/default/9191680902@w07version61.astppbilling.org:5074 SOFIA DESTROY
  498. 2022-03-09 05:13:48.887946 97.20% [DEBUG] switch_core_state_machine.c:175 sofia/default/9191680902@w07version61.astppbilling.org:5074 Standard DESTROY
  499. 2022-03-09 05:13:48.887946 97.20% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9191680902@w07version61.astppbilling.org:5074) State DESTROY going to sleep
  500. 2022-03-09 05:13:48.948035 97.20% [DEBUG] switch_scheduler.c:147 Deleting task 13 switch_ivr_schedule_hangup (f51a1c15-1d81-4793-99b3-e744ef592c85)
  501. freeswitch@ip-172-31-14-218>
  502. freeswitch@ip-172-31-14-218>
  503. freeswitch@ip-172-31-14-218> /exit
  504.  
  505. You have new mail in /var/mail/root
  506. root@ip-172-31-14-218:/home/admin#