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. 2022-04-01 13:47:08.012128 96.37% [NOTICE] switch_channel.c:1123 New Channel sofia/default/9915051568@w07version60.astppbilling.org:5074 [5594837d-9a51-4f50-8acf-47b66d552e8e]
  5. 2022-04-01 13:47:08.012128 96.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9915051568@w07version60.astppbilling.org:5074) Running State Change CS_NEW (Cur 1 Tot 24)
  6. 2022-04-01 13:47:08.012128 96.37% [INFO] sofia.c:10462 sofia/default/9915051568@w07version60.astppbilling.org:5074 receiving invite from 117.247.91.162:55130 version: 1.10.7 -release-19-883d2cb662 64bit call-id: QSkBH-ITk41wnCYz9m_cQA..
  7. 2022-04-01 13:47:08.012128 96.37% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 117.247.91.162:0.
  8. 2022-04-01 13:47:08.012128 96.37% [DEBUG] sofia.c:2419 detaching session 5594837d-9a51-4f50-8acf-47b66d552e8e
  9. 2022-04-01 13:47:08.012128 96.37% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [100040043@w07version60.astppbilling.org] from ip 117.247.91.162
  10. 2022-04-01 13:47:08.012128 96.37% [DEBUG] switch_core_state_machine.c:600 (sofia/default/9915051568@w07version60.astppbilling.org:5074) State NEW
  11. 2022-04-01 13:47:08.092116 96.37% [DEBUG] sofia.c:2532 Re-attaching to session 5594837d-9a51-4f50-8acf-47b66d552e8e
  12. 2022-04-01 13:47:08.092116 96.37% [INFO] sofia.c:10462 sofia/default/9915051568@w07version60.astppbilling.org:5074 receiving invite from 117.247.91.162:55130 version: 1.10.7 -release-19-883d2cb662 64bit call-id: QSkBH-ITk41wnCYz9m_cQA..
  13. 2022-04-01 13:47:08.092116 96.37% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 117.247.91.162:0.
  14. 2022-04-01 13:47:08.112043 96.37% [DEBUG] sofia.c:11672 Setting NAT mode based on via port
  15. 2022-04-01 13:47:08.112043 96.37% [DEBUG] sofia.c:7499 Channel sofia/default/9915051568@w07version60.astppbilling.org:5074 entering state [received][100]
  16. 2022-04-01 13:47:08.112043 96.37% [DEBUG] sofia.c:7509 Remote SDP:
  17. v=0
  18. o=Z 0 0 IN IP4 117.247.91.162
  19. s=Z
  20. c=IN IP4 117.247.91.162
  21. t=0 0
  22. m=audio 8000 RTP/AVP 3 110 8 0 97 101
  23. a=rtpmap:110 speex/8000
  24. a=rtpmap:97 iLBC/8000
  25. a=fmtp:97 mode=30
  26. a=rtpmap:101 telephone-event/8000
  27. a=fmtp:101 0-16
  28.  
  29. 2022-04-01 13:47:08.112043 96.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  30. 2022-04-01 13:47:08.112043 96.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  31. 2022-04-01 13:47:08.112043 96.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  32. 2022-04-01 13:47:08.112043 96.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  33. 2022-04-01 13:47:08.112043 96.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  34. 2022-04-01 13:47:08.112043 96.37% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  35. 2022-04-01 13:47:08.112043 96.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  36. 2022-04-01 13:47:08.112043 96.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  37. 2022-04-01 13:47:08.112043 96.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  38. 2022-04-01 13:47:08.112043 96.37% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  39. 2022-04-01 13:47:08.112043 96.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:97:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  40. 2022-04-01 13:47:08.112043 96.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:97:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  41. 2022-04-01 13:47:08.112043 96.37% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  42. 2022-04-01 13:47:08.112043 96.37% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/9915051568@w07version60.astppbilling.org:5074 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  43. 2022-04-01 13:47:08.112043 96.37% [DEBUG] switch_core_codec.c:111 sofia/default/9915051568@w07version60.astppbilling.org:5074 Original read codec set to PCMA:8
  44. 2022-04-01 13:47:08.112043 96.37% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  45. 2022-04-01 13:47:08.112043 96.37% [DEBUG] switch_core_media.c:5973 sofia/default/9915051568@w07version60.astppbilling.org:5074 Set 2833 dtmf send payload to 101 recv payload to 101
  46. 2022-04-01 13:47:08.112043 96.37% [DEBUG] sofia.c:7933 (sofia/default/9915051568@w07version60.astppbilling.org:5074) State Change CS_NEW -> CS_INIT
  47. 2022-04-01 13:47:08.112043 96.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9915051568@w07version60.astppbilling.org:5074) Running State Change CS_INIT (Cur 1 Tot 24)
  48. 2022-04-01 13:47:08.112043 96.37% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9915051568@w07version60.astppbilling.org:5074) State INIT
  49. 2022-04-01 13:47:08.112043 96.37% [DEBUG] mod_sofia.c:97 sofia/default/9915051568@w07version60.astppbilling.org:5074 SOFIA INIT
  50. 2022-04-01 13:47:08.112043 96.37% [DEBUG] switch_core_state_machine.c:40 sofia/default/9915051568@w07version60.astppbilling.org:5074 Standard INIT
  51. 2022-04-01 13:47:08.112043 96.37% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9915051568@w07version60.astppbilling.org:5074) State Change CS_INIT -> CS_ROUTING
  52. 2022-04-01 13:47:08.112043 96.37% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9915051568@w07version60.astppbilling.org:5074) State INIT going to sleep
  53. 2022-04-01 13:47:08.112043 96.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9915051568@w07version60.astppbilling.org:5074) Running State Change CS_ROUTING (Cur 1 Tot 24)
  54. 2022-04-01 13:47:08.112043 96.37% [DEBUG] switch_channel.c:2380 (sofia/default/9915051568@w07version60.astppbilling.org:5074) Callstate Change DOWN -> RINGING
  55. 2022-04-01 13:47:08.112043 96.37% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9915051568@w07version60.astppbilling.org:5074) State ROUTING
  56. 2022-04-01 13:47:08.112043 96.37% [DEBUG] mod_sofia.c:158 sofia/default/9915051568@w07version60.astppbilling.org:5074 SOFIA ROUTING
  57. 2022-04-01 13:47:08.112043 96.37% [DEBUG] switch_core_state_machine.c:230 sofia/default/9915051568@w07version60.astppbilling.org:5074 Standard ROUTING
  58. 2022-04-01 13:47:08.112043 96.37% [INFO] mod_dialplan_xml.c:639 Processing 9915051568 <9915051568>->100040043 in context default
  59. 2022-04-01 13:47:08.112043 96.37% [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')
  60. 2022-04-01 13:47:08.112043 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  61. 2022-04-01 13:47:08.112043 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  62. 2022-04-01 13:47:08.112043 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 100040043
  63. 2022-04-01 13:47:08.112043 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '100040043' limit 1
  64. 2022-04-01 13:47:08.112043 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '100040043' AND status=0 limit 1
  65. 2022-04-01 13:47:08.112043 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '100040043' and status=0 LIMIT 1
  66. 2022-04-01 13:47:08.132104 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER9915051568
  67. 2022-04-01 13:47:08.132104 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  68. 2022-04-01 13:47:08.132104 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'w07version60.astppbilling.org' limit 1
  69. 2022-04-01 13:47:08.132104 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '6' and username = '100040043' limit 1
  70. 2022-04-01 13:47:08.132104 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 9915051568 / 9915051568
  71. 2022-04-01 13:47:08.132104 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 040043
  72. 2022-04-01 13:47:08.132104 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 100 AND status=0 limit 1
  73. 2022-04-01 13:47:08.132104 96.37% [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 ="100040043" LIMIT 1
  74. 2022-04-01 13:47:08.132104 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  75. 2022-04-01 13:47:08.132104 96.37% [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="100040043"  AND domains.domain="w07version60.astppbilling.org" limit 1
  76. 2022-04-01 13:47:08.132104 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  77. 2022-04-01 13:47:08.132104 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9915051568]
  78. 2022-04-01 13:47:08.132104 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9915051568" AND deleted = 0 limit 1
  79. 2022-04-01 13:47:08.132104 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^100040043.*' OR blocked_patterns = '^10004004.*' OR blocked_patterns = '^1000400.*' OR blocked_patterns = '^100040.*' OR blocked_patterns = '^10004.*' OR blocked_patterns = '^1000.*' OR blocked_patterns = '^100.*' OR blocked_patterns = '^10.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 6 limit 1
  80. 2022-04-01 13:47:08.132104 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="100040043" AND (accountid = 0 OR status = 1) LIMIT 1
  81. 2022-04-01 13:47:08.152094 96.37% [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 = '^100040043.*' OR patterns = '^10004004.*' OR patterns = '^1000400.*' OR patterns = '^100040.*' OR patterns = '^10004.*' OR patterns = '^1000.*' OR patterns = '^100.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 6 ORDER BY LENGTH(PKGPTR.patterns) DESC
  82. 2022-04-01 13:47:08.152094 96.37% [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 ="100040043" AND A.accountid = '6' limit 1
  83. 2022-04-01 13:47:08.152094 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 100040043
  84. 2022-04-01 13:47:08.152094 96.37% [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 ="100040043" LIMIT 1
  85. 2022-04-01 13:47:08.152094 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  86. 2022-04-01 13:47:08.152094 96.37% [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="100040043"  AND domains.domain="w07version60.astppbilling.org" limit 1
  87. 2022-04-01 13:47:08.152094 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  88. 2022-04-01 13:47:08.152094 96.37% [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 = '100040043' OR number = '10004004' OR number = '1000400' OR number = '100040' OR number = '10004' OR number = '1000' OR number = '100' OR number = '10' OR number = '1' OR number ='--') OR (number = '100040043*' OR number = '10004004*' OR number = '1000400*' OR number = '100040*' OR number = '10004*' OR number = '1000*' OR number = '100*' OR number = '10*' OR number = '1*' OR number ='--') OR (number = '9915051568' OR number = '991505156' OR number = '99150515' OR number = '9915051' OR number = '991505' OR number = '99150' OR number = '9915' OR number = '991' OR number = '99' OR number = '9' OR number ='--') OR (number = '9915051568*' OR number = '991505156*' OR number = '99150515*' OR number = '9915051*' OR number = '991505*' OR number = '99150*' OR number = '9915*' OR number = '991*' OR number = '99*' OR number = '9*' OR number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  89. 2022-04-01 13:47:08.152094 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  90. 2022-04-01 13:47:08.152094 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '100040043' OR routing_prefix = '10004004' OR routing_prefix = '1000400' OR routing_prefix = '100040' OR routing_prefix = '10004' OR routing_prefix = '1000' OR routing_prefix = '100' OR routing_prefix = '10' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  91. 2022-04-01 13:47:08.152094 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  92. 2022-04-01 13:47:08.152094 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 6
  93. 2022-04-01 13:47:08.152094 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9915051568
  94. 2022-04-01 13:47:08.152094 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 1994.7
  95. 2022-04-01 13:47:08.152094 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  96. 2022-04-01 13:47:08.152094 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  97. 2022-04-01 13:47:08.152094 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  98. 2022-04-01 13:47:08.152094 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  99. 2022-04-01 13:47:08.152094 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  100. 2022-04-01 13:47:08.152094 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  101. 2022-04-01 13:47:08.152094 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  102. 2022-04-01 13:47:08.152094 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^100040043.*' OR pattern = '^10004004.*' OR pattern = '^1000400.*' OR pattern = '^100040.*' OR pattern = '^10004.*' OR pattern = '^1000.*' OR pattern = '^100.*' OR pattern = '^10.*' OR pattern = '^1.*' OR pattern ='--') AND (caller_id_pattern = '^9915051568.*' OR caller_id_pattern = '^991505156.*' OR caller_id_pattern = '^99150515.*' OR caller_id_pattern = '^9915051.*' OR caller_id_pattern = '^991505.*' OR caller_id_pattern = '^99150.*' OR caller_id_pattern = '^9915.*' OR caller_id_pattern = '^991.*' OR caller_id_pattern = '^99.*' OR caller_id_pattern = '^9.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 1 OR accountid=6)  ORDER BY accountid DESC,LENGTH(pattern),LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  103. 2022-04-01 13:47:08.152094 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  104. 2022-04-01 13:47:08.152094 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  105. 2022-04-01 13:47:08.152094 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:1.00000
  106. 2022-04-01 13:47:08.152094 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:1
  107. 2022-04-01 13:47:08.152094 96.37% [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
  108. 2022-04-01 13:47:08.152094 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] holiday_based_routing :
  109. 2022-04-01 13:47:08.152094 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] today_date :1-4
  110. 2022-04-01 13:47:08.152094 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] today_date mday:2-1
  111. 2022-04-01 13:47:08.152094 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] demand_based_condition :
  112. 2022-04-01 13:47:08.152094 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] current_time :13.47
  113. 2022-04-01 13:47:08.152094 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] current_wday :6
  114. 2022-04-01 13:47:08.152094 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Demand based routing Match for priority :1
  115. 2022-04-01 13:47:08.152094 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:1.3
  116. 2022-04-01 13:47:08.152094 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  117. 2022-04-01 13:47:08.152094 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  118. 2022-04-01 13:47:08.152094 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  119. 2022-04-01 13:47:08.152094 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  120. 2022-04-01 13:47:08.152094 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 1.3
  121. 2022-04-01 13:47:08.152094 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : USA
  122. 2022-04-01 13:47:08.152094 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
  123. 2022-04-01 13:47:08.152094 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 6
  124. 2022-04-01 13:47:08.152094 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  125. 2022-04-01 13:47:08.152094 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  126. 2022-04-01 13:47:08.152094 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  127. 2022-04-01 13:47:08.152094 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your1994.7 balance Accountid 6 !!!
  128. 2022-04-01 13:47:08.152094 96.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  129. 2022-04-01 13:47:08.152094 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  130. 2022-04-01 13:47:08.152094 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
  131. 2022-04-01 13:47:08.152094 96.37% [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
  132. 2022-04-01 13:47:08.152094 96.37% [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 = '^100040043.*' OR pattern = '^10004004.*' OR pattern = '^1000400.*' OR pattern = '^100040.*' OR pattern = '^10004.*' OR pattern = '^1000.*' OR pattern = '^100.*' 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
  133. 2022-04-01 13:47:08.152094 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  134. 2022-04-01 13:47:08.152094 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  135. 2022-04-01 13:47:08.152094 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^1.*
  136. 2022-04-01 13:47:08.152094 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : USA
  137. 2022-04-01 13:47:08.152094 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  138. 2022-04-01 13:47:08.152094 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  139. 2022-04-01 13:47:08.152094 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^1.*
  140. 2022-04-01 13:47:08.152094 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  141. 2022-04-01 13:47:08.152094 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  142. 2022-04-01 13:47:08.152094 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 1
  143. 2022-04-01 13:47:08.152094 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : YourProvider
  144. 2022-04-01 13:47:08.152094 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  145. 2022-04-01 13:47:08.152094 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  146. 2022-04-01 13:47:08.152094 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  147. 2022-04-01 13:47:08.152094 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  148. 2022-04-01 13:47:08.152094 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : YourTrunk
  149. 2022-04-01 13:47:08.152094 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  150. 2022-04-01 13:47:08.152094 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 6 AND status=0 LIMIT 1
  151. 2022-04-01 13:47:08.152094 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  152. 2022-04-01 13:47:08.152094 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  153. 2022-04-01 13:47:08.152094 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0
  154. 2022-04-01 13:47:08.152094 96.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : outbound
  155. 2022-04-01 13:47:08.152094 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  156. 2022-04-01 13:47:08.152094 96.37% [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
  157. 2022-04-01 13:47:08.152094 96.37% [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
  158. 2022-04-01 13:47:08.152094 96.37% [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 ="100040043" LIMIT 1
  159. 2022-04-01 13:47:08.152094 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  160. 2022-04-01 13:47:08.152094 96.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  161. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  162. <document type="freeswitch/xml">
  163. <section name="dialplan" description="ASTPP Dialplan">
  164. <context name="default">
  165. <extension name="100040043">
  166. <condition field="destination_number" expression="100040043">
  167. <action application="set" data="effective_destination_number=100040043"/>
  168. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  169. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  170. <action application="set" data="callstart=2022-04-01 13:47:08"/>
  171. <action application="set" data="hangup_after_bridge=true"/>
  172. <action application="set" data="continue_on_fail=TRUE"/>
  173. <action application="set" data="account_id=6"/>
  174. <action application="set" data="parent_id=0"/>
  175. <action application="set" data="entity_id=0"/>
  176. <action application="set" data="call_processed=internal"/>
  177. <action application="set" data="call_direction=outbound"/>
  178. <action application="set" data="accountname=default"/>
  179. <action application="set" data="origination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.3|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:0|ACCID:6"/>
  180. <action application="set" data="original_caller_id_name=9915051568"/>
  181. <action application="set" data="original_caller_id_number=9915051568"/>
  182.  
  183. <action application="export" data="is_recording=1"/>
  184. <action application="export" data="media_bug_answer_req=true"/>
  185. <action application="export" data="RECORD_STEREO=true"/>
  186. <action application="export" data="record_sample_rate=8000"/>
  187. <action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>
  188. <action application="set" data="effective_caller_id_name=9915051568"/>
  189. <action application="set" data="effective_caller_id_number=9915051568"/>
  190. <action application="set" data="calltype=STANDARD"/>
  191. <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"/>
  192. <action application="set" data="trunk_id=1"/>
  193. <action application="set" data="provider_id=3"/>
  194. <action application="set" data="rate_flag=0"/>
  195. <action application="set" data="force_trunk_flag=0"/>
  196. <action application="export" data="presence_data=trunk_id=1"/>
  197. <action application="set" data="intcall=0"/>
  198. <action application="export" data="presence_id=100040043"/>
  199. <action application="export" data="presence_data=x|||Admin Customer(9915051568)|||^1.* // USA // 1.3 |||YourTrunk // ^1.* // USA // 0.10000 // trunk_id=1|||STD|||117.247.91.162"/>
  200. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/100040043"/>
  201. </condition>
  202. </extension>
  203. </context>
  204. </section>
  205. </document>
  206. Dialplan: sofia/default/9915051568@w07version60.astppbilling.org:5074 parsing [default->100040043] continue=false
  207. Dialplan: sofia/default/9915051568@w07version60.astppbilling.org:5074 Regex (PASS) [100040043] destination_number(100040043) =~ /100040043/ break=on-false
  208. Dialplan: sofia/default/9915051568@w07version60.astppbilling.org:5074 Action set(effective_destination_number=100040043)
  209. Dialplan: sofia/default/9915051568@w07version60.astppbilling.org:5074 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  210. Dialplan: sofia/default/9915051568@w07version60.astppbilling.org:5074 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  211. Dialplan: sofia/default/9915051568@w07version60.astppbilling.org:5074 Action set(callstart=2022-04-01 13:47:08)
  212. Dialplan: sofia/default/9915051568@w07version60.astppbilling.org:5074 Action set(hangup_after_bridge=true)
  213. Dialplan: sofia/default/9915051568@w07version60.astppbilling.org:5074 Action set(continue_on_fail=TRUE)
  214. Dialplan: sofia/default/9915051568@w07version60.astppbilling.org:5074 Action set(account_id=6)
  215. Dialplan: sofia/default/9915051568@w07version60.astppbilling.org:5074 Action set(parent_id=0)
  216. Dialplan: sofia/default/9915051568@w07version60.astppbilling.org:5074 Action set(entity_id=0)
  217. Dialplan: sofia/default/9915051568@w07version60.astppbilling.org:5074 Action set(call_processed=internal)
  218. Dialplan: sofia/default/9915051568@w07version60.astppbilling.org:5074 Action set(call_direction=outbound)
  219. Dialplan: sofia/default/9915051568@w07version60.astppbilling.org:5074 Action set(accountname=default)
  220. Dialplan: sofia/default/9915051568@w07version60.astppbilling.org:5074 Action set(origination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.3|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:0|ACCID:6)
  221. Dialplan: sofia/default/9915051568@w07version60.astppbilling.org:5074 Action set(original_caller_id_name=9915051568)
  222. Dialplan: sofia/default/9915051568@w07version60.astppbilling.org:5074 Action set(original_caller_id_number=9915051568)
  223. Dialplan: sofia/default/9915051568@w07version60.astppbilling.org:5074 Action export(is_recording=1)
  224. Dialplan: sofia/default/9915051568@w07version60.astppbilling.org:5074 Action export(media_bug_answer_req=true)
  225. Dialplan: sofia/default/9915051568@w07version60.astppbilling.org:5074 Action export(RECORD_STEREO=true)
  226. Dialplan: sofia/default/9915051568@w07version60.astppbilling.org:5074 Action export(record_sample_rate=8000)
  227. Dialplan: sofia/default/9915051568@w07version60.astppbilling.org:5074 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
  228. Dialplan: sofia/default/9915051568@w07version60.astppbilling.org:5074 Action set(effective_caller_id_name=9915051568)
  229. Dialplan: sofia/default/9915051568@w07version60.astppbilling.org:5074 Action set(effective_caller_id_number=9915051568)
  230. Dialplan: sofia/default/9915051568@w07version60.astppbilling.org:5074 Action set(calltype=STANDARD)
  231. Dialplan: sofia/default/9915051568@w07version60.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)
  232. Dialplan: sofia/default/9915051568@w07version60.astppbilling.org:5074 Action set(trunk_id=1)
  233. Dialplan: sofia/default/9915051568@w07version60.astppbilling.org:5074 Action set(provider_id=3)
  234. Dialplan: sofia/default/9915051568@w07version60.astppbilling.org:5074 Action set(rate_flag=0)
  235. Dialplan: sofia/default/9915051568@w07version60.astppbilling.org:5074 Action set(force_trunk_flag=0)
  236. Dialplan: sofia/default/9915051568@w07version60.astppbilling.org:5074 Action export(presence_data=trunk_id=1)
  237. Dialplan: sofia/default/9915051568@w07version60.astppbilling.org:5074 Action set(intcall=0)
  238. Dialplan: sofia/default/9915051568@w07version60.astppbilling.org:5074 Action export(presence_id=100040043)
  239. Dialplan: sofia/default/9915051568@w07version60.astppbilling.org:5074 Action export(presence_data=x|||Admin Customer(9915051568)|||^1.* // USA // 1.3 |||YourTrunk // ^1.* // USA // 0.10000 // trunk_id=1|||STD|||117.247.91.162)
  240. Dialplan: sofia/default/9915051568@w07version60.astppbilling.org:5074 Action bridge({sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/100040043)
  241. 2022-04-01 13:47:08.152094 96.37% [DEBUG] switch_core_state_machine.c:281 (sofia/default/9915051568@w07version60.astppbilling.org:5074) State Change CS_ROUTING -> CS_EXECUTE
  242. 2022-04-01 13:47:08.152094 96.37% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9915051568@w07version60.astppbilling.org:5074) State ROUTING going to sleep
  243. 2022-04-01 13:47:08.152094 96.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9915051568@w07version60.astppbilling.org:5074) Running State Change CS_EXECUTE (Cur 1 Tot 24)
  244. 2022-04-01 13:47:08.152094 96.37% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9915051568@w07version60.astppbilling.org:5074) State EXECUTE
  245. 2022-04-01 13:47:08.152094 96.37% [DEBUG] mod_sofia.c:213 sofia/default/9915051568@w07version60.astppbilling.org:5074 SOFIA EXECUTE
  246. 2022-04-01 13:47:08.152094 96.37% [DEBUG] switch_core_state_machine.c:323 sofia/default/9915051568@w07version60.astppbilling.org:5074 Standard EXECUTE
  247. EXECUTE [depth=0] sofia/default/9915051568@w07version60.astppbilling.org:5074 set(effective_destination_number=100040043)
  248. 2022-04-01 13:47:08.152094 96.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9915051568@w07version60.astppbilling.org:5074 [effective_destination_number]=[100040043]
  249. EXECUTE [depth=0] sofia/default/9915051568@w07version60.astppbilling.org:5074 set(bridge_pre_execute_bleg_app=sched_hangup)
  250. 2022-04-01 13:47:08.152094 96.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9915051568@w07version60.astppbilling.org:5074 [bridge_pre_execute_bleg_app]=[sched_hangup]
  251. EXECUTE [depth=0] sofia/default/9915051568@w07version60.astppbilling.org:5074 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  252. 2022-04-01 13:47:08.152094 96.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9915051568@w07version60.astppbilling.org:5074 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  253. EXECUTE [depth=0] sofia/default/9915051568@w07version60.astppbilling.org:5074 set(callstart=2022-04-01 13:47:08)
  254. 2022-04-01 13:47:08.152094 96.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9915051568@w07version60.astppbilling.org:5074 [callstart]=[2022-04-01 13:47:08]
  255. EXECUTE [depth=0] sofia/default/9915051568@w07version60.astppbilling.org:5074 set(hangup_after_bridge=true)
  256. 2022-04-01 13:47:08.152094 96.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9915051568@w07version60.astppbilling.org:5074 [hangup_after_bridge]=[true]
  257. EXECUTE [depth=0] sofia/default/9915051568@w07version60.astppbilling.org:5074 set(continue_on_fail=TRUE)
  258. 2022-04-01 13:47:08.152094 96.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9915051568@w07version60.astppbilling.org:5074 [continue_on_fail]=[TRUE]
  259. EXECUTE [depth=0] sofia/default/9915051568@w07version60.astppbilling.org:5074 set(account_id=6)
  260. 2022-04-01 13:47:08.152094 96.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9915051568@w07version60.astppbilling.org:5074 [account_id]=[6]
  261. EXECUTE [depth=0] sofia/default/9915051568@w07version60.astppbilling.org:5074 set(parent_id=0)
  262. 2022-04-01 13:47:08.152094 96.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9915051568@w07version60.astppbilling.org:5074 [parent_id]=[0]
  263. EXECUTE [depth=0] sofia/default/9915051568@w07version60.astppbilling.org:5074 set(entity_id=0)
  264. 2022-04-01 13:47:08.152094 96.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9915051568@w07version60.astppbilling.org:5074 [entity_id]=[0]
  265. EXECUTE [depth=0] sofia/default/9915051568@w07version60.astppbilling.org:5074 set(call_processed=internal)
  266. 2022-04-01 13:47:08.152094 96.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9915051568@w07version60.astppbilling.org:5074 [call_processed]=[internal]
  267. EXECUTE [depth=0] sofia/default/9915051568@w07version60.astppbilling.org:5074 set(call_direction=outbound)
  268. 2022-04-01 13:47:08.152094 96.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9915051568@w07version60.astppbilling.org:5074 [call_direction]=[outbound]
  269. EXECUTE [depth=0] sofia/default/9915051568@w07version60.astppbilling.org:5074 set(accountname=default)
  270. 2022-04-01 13:47:08.152094 96.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9915051568@w07version60.astppbilling.org:5074 [accountname]=[default]
  271. EXECUTE [depth=0] sofia/default/9915051568@w07version60.astppbilling.org:5074 set(origination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.3|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:0|ACCID:6)
  272. 2022-04-01 13:47:08.152094 96.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9915051568@w07version60.astppbilling.org:5074 [origination_rates]=[ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.3|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:0|ACCID:6]
  273. EXECUTE [depth=0] sofia/default/9915051568@w07version60.astppbilling.org:5074 set(original_caller_id_name=9915051568)
  274. 2022-04-01 13:47:08.152094 96.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9915051568@w07version60.astppbilling.org:5074 [original_caller_id_name]=[9915051568]
  275. EXECUTE [depth=0] sofia/default/9915051568@w07version60.astppbilling.org:5074 set(original_caller_id_number=9915051568)
  276. 2022-04-01 13:47:08.152094 96.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9915051568@w07version60.astppbilling.org:5074 [original_caller_id_number]=[9915051568]
  277. EXECUTE [depth=0] sofia/default/9915051568@w07version60.astppbilling.org:5074 export(is_recording=1)
  278. 2022-04-01 13:47:08.152094 96.37% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1]
  279. EXECUTE [depth=0] sofia/default/9915051568@w07version60.astppbilling.org:5074 export(media_bug_answer_req=true)
  280. 2022-04-01 13:47:08.152094 96.37% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true]
  281. EXECUTE [depth=0] sofia/default/9915051568@w07version60.astppbilling.org:5074 export(RECORD_STEREO=true)
  282. 2022-04-01 13:47:08.152094 96.37% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [RECORD_STEREO]=[true]
  283. EXECUTE [depth=0] sofia/default/9915051568@w07version60.astppbilling.org:5074 export(record_sample_rate=8000)
  284. 2022-04-01 13:47:08.152094 96.37% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000]
  285. EXECUTE [depth=0] sofia/default/9915051568@w07version60.astppbilling.org:5074 export(execute_on_answer=record_session /var/lib/freeswitch/recordings/5594837d-9a51-4f50-8acf-47b66d552e8e.wav)
  286. 2022-04-01 13:47:08.152094 96.37% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/5594837d-9a51-4f50-8acf-47b66d552e8e.wav]
  287. EXECUTE [depth=0] sofia/default/9915051568@w07version60.astppbilling.org:5074 set(effective_caller_id_name=9915051568)
  288. 2022-04-01 13:47:08.172110 96.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9915051568@w07version60.astppbilling.org:5074 [effective_caller_id_name]=[9915051568]
  289. EXECUTE [depth=0] sofia/default/9915051568@w07version60.astppbilling.org:5074 set(effective_caller_id_number=9915051568)
  290. 2022-04-01 13:47:08.172110 96.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9915051568@w07version60.astppbilling.org:5074 [effective_caller_id_number]=[9915051568]
  291. EXECUTE [depth=0] sofia/default/9915051568@w07version60.astppbilling.org:5074 set(calltype=STANDARD)
  292. 2022-04-01 13:47:08.172110 96.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9915051568@w07version60.astppbilling.org:5074 [calltype]=[STANDARD]
  293. EXECUTE [depth=0] sofia/default/9915051568@w07version60.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)
  294. 2022-04-01 13:47:08.172110 96.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9915051568@w07version60.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]
  295. EXECUTE [depth=0] sofia/default/9915051568@w07version60.astppbilling.org:5074 set(trunk_id=1)
  296. 2022-04-01 13:47:08.172110 96.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9915051568@w07version60.astppbilling.org:5074 [trunk_id]=[1]
  297. EXECUTE [depth=0] sofia/default/9915051568@w07version60.astppbilling.org:5074 set(provider_id=3)
  298. 2022-04-01 13:47:08.172110 96.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9915051568@w07version60.astppbilling.org:5074 [provider_id]=[3]
  299. EXECUTE [depth=0] sofia/default/9915051568@w07version60.astppbilling.org:5074 set(rate_flag=0)
  300. 2022-04-01 13:47:08.172110 96.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9915051568@w07version60.astppbilling.org:5074 [rate_flag]=[0]
  301. EXECUTE [depth=0] sofia/default/9915051568@w07version60.astppbilling.org:5074 set(force_trunk_flag=0)
  302. 2022-04-01 13:47:08.172110 96.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9915051568@w07version60.astppbilling.org:5074 [force_trunk_flag]=[0]
  303. EXECUTE [depth=0] sofia/default/9915051568@w07version60.astppbilling.org:5074 export(presence_data=trunk_id=1)
  304. 2022-04-01 13:47:08.172110 96.37% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=1]
  305. EXECUTE [depth=0] sofia/default/9915051568@w07version60.astppbilling.org:5074 set(intcall=0)
  306. 2022-04-01 13:47:08.172110 96.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/9915051568@w07version60.astppbilling.org:5074 [intcall]=[0]
  307. EXECUTE [depth=0] sofia/default/9915051568@w07version60.astppbilling.org:5074 export(presence_id=100040043)
  308. 2022-04-01 13:47:08.172110 96.37% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[100040043]
  309. EXECUTE [depth=0] sofia/default/9915051568@w07version60.astppbilling.org:5074 export(presence_data=x|||Admin Customer(9915051568)|||^1.* // USA // 1.3 |||YourTrunk // ^1.* // USA // 0.10000 // trunk_id=1|||STD|||117.247.91.162)
  310. 2022-04-01 13:47:08.172110 96.37% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Admin Customer(9915051568)|||^1.* // USA // 1.3 |||YourTrunk // ^1.* // USA // 0.10000 // trunk_id=1|||STD|||117.247.91.162]
  311. EXECUTE [depth=0] sofia/default/9915051568@w07version60.astppbilling.org:5074 bridge({sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/100040043)
  312. 2022-04-01 13:47:08.172110 96.37% [DEBUG] switch_channel.c:1269 sofia/default/9915051568@w07version60.astppbilling.org:5074 EXPORTING[export_vars] [is_recording]=[1] to event
  313. 2022-04-01 13:47:08.172110 96.37% [DEBUG] switch_channel.c:1269 sofia/default/9915051568@w07version60.astppbilling.org:5074 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  314. 2022-04-01 13:47:08.172110 96.37% [DEBUG] switch_channel.c:1269 sofia/default/9915051568@w07version60.astppbilling.org:5074 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
  315. 2022-04-01 13:47:08.172110 96.37% [DEBUG] switch_channel.c:1269 sofia/default/9915051568@w07version60.astppbilling.org:5074 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  316. 2022-04-01 13:47:08.172110 96.37% [DEBUG] switch_channel.c:1269 sofia/default/9915051568@w07version60.astppbilling.org:5074 EXPORTING[export_vars] [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/5594837d-9a51-4f50-8acf-47b66d552e8e.wav] to event
  317. 2022-04-01 13:47:08.172110 96.37% [DEBUG] switch_channel.c:1269 sofia/default/9915051568@w07version60.astppbilling.org:5074 EXPORTING[export_vars] [presence_data]=[x|||Admin Customer(9915051568)|||^1.* // USA // 1.3 |||YourTrunk // ^1.* // USA // 0.10000 // trunk_id=1|||STD|||117.247.91.162] to event
  318. 2022-04-01 13:47:08.172110 96.37% [DEBUG] switch_channel.c:1269 sofia/default/9915051568@w07version60.astppbilling.org:5074 EXPORTING[export_vars] [presence_id]=[100040043] to event
  319. 2022-04-01 13:47:08.172110 96.37% [DEBUG] switch_channel.c:1269 sofia/default/9915051568@w07version60.astppbilling.org:5074 EXPORTING[export_vars] [presence_data]=[x|||Admin Customer(9915051568)|||^1.* // USA // 1.3 |||YourTrunk // ^1.* // USA // 0.10000 // trunk_id=1|||STD|||117.247.91.162] to event
  320. 2022-04-01 13:47:08.172110 96.37% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  321. 2022-04-01 13:47:08.172110 96.37% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  322. 2022-04-01 13:47:08.172110 96.37% [NOTICE] switch_channel.c:1123 New Channel sofia/default/100040043 [7fec003b-2928-4d7b-9bbd-e892cab28086]
  323. 2022-04-01 13:47:08.172110 96.37% [DEBUG] mod_sofia.c:5121 (sofia/default/100040043) State Change CS_NEW -> CS_INIT
  324. 2022-04-01 13:47:08.172110 96.37% [DEBUG] switch_ivr_originate.c:3151 sofia/default/100040043 Setting leg timeout to 30
  325. 2022-04-01 13:47:08.172110 96.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100040043) Running State Change CS_INIT (Cur 2 Tot 25)
  326. 2022-04-01 13:47:08.172110 96.37% [DEBUG] switch_core_state_machine.c:624 (sofia/default/100040043) State INIT
  327. 2022-04-01 13:47:08.172110 96.37% [DEBUG] mod_sofia.c:97 sofia/default/100040043 SOFIA INIT
  328. 2022-04-01 13:47:08.172110 96.37% [INFO] sofia_glue.c:1651 sofia/default/100040043 sending invite call-id: (null)
  329. 2022-04-01 13:47:08.172110 96.37% [DEBUG] sofia_glue.c:1654 sofia/default/100040043 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
  330. Local SDP:
  331. v=0
  332. o=FreeSWITCH 1648796500 1648796501 IN IP4 3.7.66.233
  333. s=FreeSWITCH
  334. c=IN IP4 3.7.66.233
  335. t=0 0
  336. m=audio 24328 RTP/AVP 8 18 101
  337. a=rtpmap:8 PCMA/8000
  338. a=rtpmap:18 G729/8000
  339. a=rtpmap:101 telephone-event/8000
  340. a=fmtp:101 0-15
  341. a=ptime:20
  342. a=sendrecv
  343.  
  344. 2022-04-01 13:47:08.172110 96.37% [DEBUG] switch_core_state_machine.c:40 sofia/default/100040043 Standard INIT
  345. 2022-04-01 13:47:08.172110 96.37% [DEBUG] switch_core_state_machine.c:48 (sofia/default/100040043) State Change CS_INIT -> CS_ROUTING
  346. 2022-04-01 13:47:08.172110 96.37% [DEBUG] switch_core_state_machine.c:624 (sofia/default/100040043) State INIT going to sleep
  347. 2022-04-01 13:47:08.172110 96.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100040043) Running State Change CS_ROUTING (Cur 2 Tot 25)
  348. 2022-04-01 13:47:08.172110 96.37% [DEBUG] sofia.c:7499 Channel sofia/default/100040043 entering state [calling][0]
  349. 2022-04-01 13:47:08.172110 96.37% [DEBUG] switch_core_state_machine.c:640 (sofia/default/100040043) State ROUTING
  350. 2022-04-01 13:47:08.172110 96.37% [DEBUG] mod_sofia.c:158 sofia/default/100040043 SOFIA ROUTING
  351. 2022-04-01 13:47:08.172110 96.37% [DEBUG] switch_ivr_originate.c:67 (sofia/default/100040043) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  352. 2022-04-01 13:47:08.172110 96.37% [DEBUG] switch_core_state_machine.c:640 (sofia/default/100040043) State ROUTING going to sleep
  353. 2022-04-01 13:47:08.172110 96.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100040043) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 25)
  354. 2022-04-01 13:47:08.172110 96.37% [DEBUG] switch_core_state_machine.c:659 (sofia/default/100040043) State CONSUME_MEDIA
  355. 2022-04-01 13:47:08.172110 96.37% [DEBUG] switch_core_state_machine.c:659 (sofia/default/100040043) State CONSUME_MEDIA going to sleep
  356. 2022-04-01 13:47:08.372125 96.37% [DEBUG] sofia.c:7499 Channel sofia/default/100040043 entering state [completing][200]
  357. 2022-04-01 13:47:08.372125 96.37% [DEBUG] sofia.c:7509 Remote SDP:
  358. v=0
  359. o=root 1224671048 1224671048 IN IP4 159.203.131.36
  360. s=Asterisk PBX 16.4.0
  361. c=IN IP4 159.203.131.36
  362. t=0 0
  363. m=audio 14618 RTP/AVP 8 101
  364. a=rtpmap:8 PCMA/8000
  365. a=rtpmap:101 telephone-event/8000
  366. a=fmtp:101 0-16
  367. a=maxptime:150
  368.  
  369. 2022-04-01 13:47:08.372125 96.37% [DEBUG] sofia.c:7499 Channel sofia/default/100040043 entering state [ready][200]
  370. 2022-04-01 13:47:08.372125 96.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1]
  371. 2022-04-01 13:47:08.372125 96.37% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  372. 2022-04-01 13:47:08.372125 96.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[G729:18:8000:20:8000:1]
  373. 2022-04-01 13:47:08.372125 96.37% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  374. 2022-04-01 13:47:08.372125 96.37% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/100040043 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  375. 2022-04-01 13:47:08.372125 96.37% [DEBUG] switch_core_codec.c:111 sofia/default/100040043 Original read codec set to PCMA:8
  376. 2022-04-01 13:47:08.372125 96.37% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  377. 2022-04-01 13:47:08.372125 96.37% [DEBUG] switch_core_media.c:5973 sofia/default/100040043 Set 2833 dtmf send payload to 101 recv payload to 101
  378. 2022-04-01 13:47:08.372125 96.37% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/100040043] 172.31.14.218 port 24328 -> 159.203.131.36 port 14618 codec: 8 ms: 20
  379. 2022-04-01 13:47:08.372125 96.37% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  380. 2022-04-01 13:47:08.372125 96.37% [DEBUG] switch_core_media.c:9089 sofia/default/100040043 Set 2833 dtmf send payload to 101
  381. 2022-04-01 13:47:08.372125 96.37% [DEBUG] switch_core_media.c:9096 sofia/default/100040043 Set 2833 dtmf receive payload to 101
  382. 2022-04-01 13:47:08.372125 96.37% [DEBUG] switch_core_media.c:9119 sofia/default/100040043 Set rtp dtmf delay to 40
  383. 2022-04-01 13:47:08.372125 96.37% [NOTICE] sofia.c:8683 Channel [sofia/default/100040043] has been answered
  384. EXECUTE [depth=1] sofia/default/100040043 record_session(/var/lib/freeswitch/recordings/5594837d-9a51-4f50-8acf-47b66d552e8e.wav)
  385. 2022-04-01 13:47:08.372125 96.37% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/9915051568@w07version60.astppbilling.org:5074] 172.31.14.218 port 18078 -> 117.247.91.162 port 8000 codec: 8 ms: 20
  386. 2022-04-01 13:47:08.372125 96.37% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  387. 2022-04-01 13:47:08.372125 96.37% [DEBUG] switch_core_media.c:9089 sofia/default/9915051568@w07version60.astppbilling.org:5074 Set 2833 dtmf send payload to 101
  388. 2022-04-01 13:47:08.372125 96.37% [DEBUG] switch_core_media.c:9096 sofia/default/9915051568@w07version60.astppbilling.org:5074 Set 2833 dtmf receive payload to 101
  389. 2022-04-01 13:47:08.372125 96.37% [DEBUG] switch_core_media.c:9119 sofia/default/9915051568@w07version60.astppbilling.org:5074 Set rtp dtmf delay to 40
  390. 2022-04-01 13:47:08.372125 96.37% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/9915051568@w07version60.astppbilling.org:5074:
  391. v=0
  392. o=FreeSWITCH 1648802750 1648802751 IN IP4 3.7.66.233
  393. s=FreeSWITCH
  394. c=IN IP4 3.7.66.233
  395. t=0 0
  396. m=audio 18078 RTP/AVP 8 101
  397. a=rtpmap:8 PCMA/8000
  398. a=rtpmap:101 telephone-event/8000
  399. a=fmtp:101 0-15
  400. a=ptime:20
  401. a=sendrecv
  402.  
  403. 2022-04-01 13:47:08.372125 96.37% [DEBUG] sofia.c:7499 Channel sofia/default/9915051568@w07version60.astppbilling.org:5074 entering state [completed][200]
  404. 2022-04-01 13:47:08.372125 96.37% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/default/9915051568@w07version60.astppbilling.org:5074] has been answered
  405. EXECUTE [depth=0] sofia/default/9915051568@w07version60.astppbilling.org:5074 record_session(/var/lib/freeswitch/recordings/5594837d-9a51-4f50-8acf-47b66d552e8e.wav)
  406. 2022-04-01 13:47:08.372125 96.37% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000
  407. 2022-04-01 13:47:08.372125 96.37% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/default/100040043
  408. 2022-04-01 13:47:08.372125 96.37% [DEBUG] switch_channel.c:3950 (sofia/default/100040043) Callstate Change DOWN -> ACTIVE
  409. 2022-04-01 13:47:08.372125 96.37% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000
  410. 2022-04-01 13:47:08.372125 96.37% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/default/9915051568@w07version60.astppbilling.org:5074
  411. 2022-04-01 13:47:08.392088 96.37% [DEBUG] switch_channel.c:3950 (sofia/default/9915051568@w07version60.astppbilling.org:5074) Callstate Change RINGING -> ACTIVE
  412. 2022-04-01 13:47:08.392088 96.37% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/100040043] Peer UUID: 7fec003b-2928-4d7b-9bbd-e892cab28086
  413. 2022-04-01 13:47:08.392088 96.37% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/100040043) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  414. 2022-04-01 13:47:08.392088 96.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100040043) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 25)
  415. 2022-04-01 13:47:08.392088 96.37% [DEBUG] switch_core_state_machine.c:650 (sofia/default/100040043) State EXCHANGE_MEDIA
  416. 2022-04-01 13:47:08.392088 96.37% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  417. 2022-04-01 13:47:08.392088 96.37% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech
  418. 2022-04-01 13:47:08.392088 96.37% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech
  419. 2022-04-01 13:47:08.412117 96.37% [DEBUG] sofia.c:7499 Channel sofia/default/9915051568@w07version60.astppbilling.org:5074 entering state [ready][200]
  420. 2022-04-01 13:47:08.532134 96.37% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  421. 2022-04-01 13:47:08.532134 96.37% [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8
  422. 2022-04-01 13:47:08.572122 96.37% [DEBUG] switch_ivr_bridge.c:655 sofia/default/100040043 Bridge execute app sched_hangup(+6000 normal_clearing)
  423. 2022-04-01 13:47:08.592124 96.37% [DEBUG] switch_ivr.c:632 sofia/default/100040043 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  424. EXECUTE [depth=0] sofia/default/100040043 sched_hangup(+6000 normal_clearing)
  425. 2022-04-01 13:47:08.592124 96.37% [DEBUG] switch_scheduler.c:263 Added task 15 switch_ivr_schedule_hangup (7fec003b-2928-4d7b-9bbd-e892cab28086) to run at 1648826828
  426. 2022-04-01 13:47:08.752119 96.37% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  427. 2022-04-01 13:47:08.752119 96.37% [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8
  428. freeswitch@ip-172-31-14-218>
  429. freeswitch@ip-172-31-14-218>
  430. freeswitch@ip-172-31-14-218>
  431. freeswitch@ip-172-31-14-218>
  432. freeswitch@ip-172-31-14-218>
  433. 2022-04-01 13:48:19.772127 95.20% [NOTICE] sofia.c:1065 Hangup sofia/default/9915051568@w07version60.astppbilling.org:5074 [CS_EXECUTE] [NORMAL_CLEARING]
  434. 2022-04-01 13:48:19.772127 95.20% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/9915051568@w07version60.astppbilling.org:5074]
  435. 2022-04-01 13:48:19.792116 95.20% [DEBUG] switch_ivr_bridge.c:820 sofia/default/9915051568@w07version60.astppbilling.org:5074 ending bridge by request from write function
  436. 2022-04-01 13:48:19.792116 95.20% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/100040043]
  437. 2022-04-01 13:48:19.792116 95.20% [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/100040043 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  438. 2022-04-01 13:48:19.792116 95.20% [DEBUG] switch_core_state_machine.c:650 (sofia/default/100040043) State EXCHANGE_MEDIA going to sleep
  439. 2022-04-01 13:48:19.792116 95.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100040043) Running State Change CS_HANGUP (Cur 2 Tot 25)
  440. 2022-04-01 13:48:19.792116 95.20% [DEBUG] switch_ivr_async.c:1596 Stop recording file /var/lib/freeswitch/recordings/5594837d-9a51-4f50-8acf-47b66d552e8e.wav
  441. 2022-04-01 13:48:19.792116 95.20% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/100040043 skip receive message [UNBRIDGE] (channel is hungup already)
  442. 2022-04-01 13:48:19.792116 95.20% [DEBUG] switch_ivr_bridge.c:1895 sofia/default/9915051568@w07version60.astppbilling.org:5074 skip receive message [UNBRIDGE] (channel is hungup already)
  443. 2022-04-01 13:48:19.792116 95.20% [DEBUG] switch_core_session.c:2983 sofia/default/9915051568@w07version60.astppbilling.org:5074 skip receive message [PHONE_EVENT] (channel is hungup already)
  444. 2022-04-01 13:48:19.792116 95.20% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9915051568@w07version60.astppbilling.org:5074) State EXECUTE going to sleep
  445. 2022-04-01 13:48:19.792116 95.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9915051568@w07version60.astppbilling.org:5074) Running State Change CS_HANGUP (Cur 2 Tot 25)
  446. 2022-04-01 13:48:19.792116 95.20% [DEBUG] switch_ivr_async.c:1596 Stop recording file /var/lib/freeswitch/recordings/5594837d-9a51-4f50-8acf-47b66d552e8e.wav
  447. 2022-04-01 13:48:19.792116 95.20% [DEBUG] switch_ivr_async.c:1677 Channel is hung up
  448. 2022-04-01 13:48:19.792116 95.20% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/9915051568@w07version60.astppbilling.org:5074
  449. 2022-04-01 13:48:19.792116 95.20% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9915051568@w07version60.astppbilling.org:5074) Callstate Change ACTIVE -> HANGUP
  450. 2022-04-01 13:48:19.792116 95.20% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9915051568@w07version60.astppbilling.org:5074) State HANGUP
  451. 2022-04-01 13:48:19.792116 95.20% [DEBUG] mod_sofia.c:468 Channel sofia/default/9915051568@w07version60.astppbilling.org:5074 hanging up, cause: NORMAL_CLEARING
  452. 2022-04-01 13:48:19.792116 95.20% [DEBUG] switch_core_state_machine.c:59 sofia/default/9915051568@w07version60.astppbilling.org:5074 Standard HANGUP, cause: NORMAL_CLEARING
  453. 2022-04-01 13:48:19.792116 95.20% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9915051568@w07version60.astppbilling.org:5074) State HANGUP going to sleep
  454. 2022-04-01 13:48:19.792116 95.20% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9915051568@w07version60.astppbilling.org:5074) State Change CS_HANGUP -> CS_REPORTING
  455. 2022-04-01 13:48:19.792116 95.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9915051568@w07version60.astppbilling.org:5074) Running State Change CS_REPORTING (Cur 2 Tot 25)
  456. 2022-04-01 13:48:19.792116 95.20% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9915051568@w07version60.astppbilling.org:5074) State REPORTING
  457. 2022-04-01 13:48:19.792116 95.20% [INFO] mod_json_cdr.c:271 Process [5594837d-9a51-4f50-8acf-47b66d552e8e.cdr.json]
  458. 2022-04-01 13:48:19.792116 95.20% [DEBUG] switch_ivr_async.c:1677 Channel is hung up
  459. 2022-04-01 13:48:19.792116 95.20% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/100040043
  460. 2022-04-01 13:48:19.792116 95.20% [DEBUG] switch_core_state_machine.c:844 (sofia/default/100040043) Callstate Change ACTIVE -> HANGUP
  461. 2022-04-01 13:48:19.792116 95.20% [DEBUG] switch_core_state_machine.c:846 (sofia/default/100040043) State HANGUP
  462. 2022-04-01 13:48:19.792116 95.20% [DEBUG] mod_sofia.c:462 sofia/default/100040043 Overriding SIP cause 480 with 200 from the other leg
  463. 2022-04-01 13:48:19.792116 95.20% [DEBUG] mod_sofia.c:468 Channel sofia/default/100040043 hanging up, cause: NORMAL_CLEARING
  464. 2022-04-01 13:48:19.792116 95.20% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/100040043
  465. 2022-04-01 13:48:19.792116 95.20% [DEBUG] switch_core_state_machine.c:59 sofia/default/100040043 Standard HANGUP, cause: NORMAL_CLEARING
  466. 2022-04-01 13:48:19.792116 95.20% [DEBUG] switch_core_state_machine.c:846 (sofia/default/100040043) State HANGUP going to sleep
  467. 2022-04-01 13:48:19.792116 95.20% [DEBUG] switch_core_state_machine.c:616 (sofia/default/100040043) State Change CS_HANGUP -> CS_REPORTING
  468. 2022-04-01 13:48:19.792116 95.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100040043) Running State Change CS_REPORTING (Cur 2 Tot 25)
  469. 2022-04-01 13:48:19.792116 95.20% [DEBUG] switch_core_state_machine.c:932 (sofia/default/100040043) State REPORTING
  470. 2022-04-01 13:48:19.792116 95.20% [INFO] mod_json_cdr.c:271 Process [7fec003b-2928-4d7b-9bbd-e892cab28086.cdr.json]
  471. 2022-04-01 13:48:19.852113 95.20% [DEBUG] switch_core_state_machine.c:168 sofia/default/100040043 Standard REPORTING, cause: NORMAL_CLEARING
  472. 2022-04-01 13:48:19.852113 95.20% [DEBUG] switch_core_state_machine.c:932 (sofia/default/100040043) State REPORTING going to sleep
  473. 2022-04-01 13:48:19.852113 95.20% [DEBUG] switch_core_state_machine.c:607 (sofia/default/100040043) State Change CS_REPORTING -> CS_DESTROY
  474. 2022-04-01 13:48:19.852113 95.20% [DEBUG] switch_core_session.c:1753 Session 25 (sofia/default/100040043) Locked, Waiting on external entities
  475. 2022-04-01 13:48:19.852113 95.20% [NOTICE] switch_core_session.c:1771 Session 25 (sofia/default/100040043) Ended
  476. 2022-04-01 13:48:19.852113 95.20% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/100040043 [CS_DESTROY]
  477. 2022-04-01 13:48:19.852113 95.20% [DEBUG] switch_core_state_machine.c:735 (sofia/default/100040043) Running State Change CS_DESTROY (Cur 1 Tot 25)
  478. 2022-04-01 13:48:19.852113 95.20% [DEBUG] switch_core_state_machine.c:745 (sofia/default/100040043) State DESTROY
  479. 2022-04-01 13:48:19.852113 95.20% [DEBUG] mod_sofia.c:379 sofia/default/100040043 SOFIA DESTROY
  480. 2022-04-01 13:48:19.852113 95.20% [DEBUG] switch_core_state_machine.c:175 sofia/default/100040043 Standard DESTROY
  481. 2022-04-01 13:48:19.852113 95.20% [DEBUG] switch_core_state_machine.c:745 (sofia/default/100040043) State DESTROY going to sleep
  482. 2022-04-01 13:48:19.872099 95.20% [DEBUG] switch_core_state_machine.c:168 sofia/default/9915051568@w07version60.astppbilling.org:5074 Standard REPORTING, cause: NORMAL_CLEARING
  483. 2022-04-01 13:48:19.872099 95.20% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9915051568@w07version60.astppbilling.org:5074) State REPORTING going to sleep
  484. 2022-04-01 13:48:19.872099 95.20% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9915051568@w07version60.astppbilling.org:5074) State Change CS_REPORTING -> CS_DESTROY
  485. 2022-04-01 13:48:19.872099 95.20% [DEBUG] switch_core_session.c:1753 Session 24 (sofia/default/9915051568@w07version60.astppbilling.org:5074) Locked, Waiting on external entities
  486. 2022-04-01 13:48:19.872099 95.20% [NOTICE] switch_core_session.c:1771 Session 24 (sofia/default/9915051568@w07version60.astppbilling.org:5074) Ended
  487. 2022-04-01 13:48:19.872099 95.20% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/9915051568@w07version60.astppbilling.org:5074 [CS_DESTROY]
  488. 2022-04-01 13:48:19.872099 95.20% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9915051568@w07version60.astppbilling.org:5074) Running State Change CS_DESTROY (Cur 0 Tot 25)
  489. 2022-04-01 13:48:19.872099 95.20% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9915051568@w07version60.astppbilling.org:5074) State DESTROY
  490. 2022-04-01 13:48:19.872099 95.20% [DEBUG] mod_sofia.c:379 sofia/default/9915051568@w07version60.astppbilling.org:5074 SOFIA DESTROY
  491. 2022-04-01 13:48:19.872099 95.20% [DEBUG] switch_core_state_machine.c:175 sofia/default/9915051568@w07version60.astppbilling.org:5074 Standard DESTROY
  492. 2022-04-01 13:48:19.872099 95.20% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9915051568@w07version60.astppbilling.org:5074) State DESTROY going to sleep
  493. 2022-04-01 13:48:20.092090 95.20% [DEBUG] switch_scheduler.c:147 Deleting task 15 switch_ivr_schedule_hangup (7fec003b-2928-4d7b-9bbd-e892cab28086)
  494. freeswitch@ip-172-31-14-218>
  495. freeswitch@ip-172-31-14-218>
  496. freeswitch@ip-172-31-14-218>
  497. freeswitch@ip-172-31-14-218>
  498. freeswitch@ip-172-31-14-218>