From Prashant Kumar, 10 Months ago, written in FreeSWITCH.
- view diff
Embed
  1. freeswitch@ip-172-31-12-241>
  2. 2023-05-18 11:12:48.249299 99.07% [NOTICE] switch_channel.c:1123 New Channel sofia/default/997989@35.79.219.240 [a1430e56-6f8c-49a2-960e-806b9d74b7c5]
  3. 2023-05-18 11:12:48.249299 99.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/997989@35.79.219.240) Running State Change CS_NEW (Cur 1 Tot 29168)
  4. 2023-05-18 11:12:48.249299 99.07% [INFO] sofia.c:10462 sofia/default/997989@35.79.219.240 receiving invite from 103.240.35.46:35320 version: 1.10.7 -release 64bit call-id: YzI2NTFmMDcyYTM5ODk3YmYzNzczMTAzZmY3NjFkYTk.
  5. 2023-05-18 11:12:48.249299 99.07% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0.
  6. 2023-05-18 11:12:48.249299 99.07% [DEBUG] sofia.c:2419 detaching session a1430e56-6f8c-49a2-960e-806b9d74b7c5
  7. 2023-05-18 11:12:48.249299 99.07% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [88010020@35.79.219.240] from ip 103.240.35.46
  8. 2023-05-18 11:12:48.249299 99.07% [DEBUG] switch_core_state_machine.c:600 (sofia/default/997989@35.79.219.240) State NEW
  9. 2023-05-18 11:12:48.709275 99.07% [DEBUG] sofia.c:2532 Re-attaching to session a1430e56-6f8c-49a2-960e-806b9d74b7c5
  10. 2023-05-18 11:12:48.709275 99.07% [INFO] sofia.c:10462 sofia/default/997989@35.79.219.240 receiving invite from 103.240.35.46:35320 version: 1.10.7 -release 64bit call-id: YzI2NTFmMDcyYTM5ODk3YmYzNzczMTAzZmY3NjFkYTk.
  11. 2023-05-18 11:12:48.709275 99.07% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0.
  12. 2023-05-18 11:12:48.709275 99.07% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
  13. 2023-05-18 11:12:48.709275 99.07% [DEBUG] sofia.c:7499 Channel sofia/default/997989@35.79.219.240 entering state [received][100]
  14. 2023-05-18 11:12:48.709275 99.07% [DEBUG] sofia.c:7509 Remote SDP:
  15. v=0
  16. o=Z 0 0 IN IP4 103.240.35.46
  17. s=Z
  18. c=IN IP4 103.240.35.46
  19. t=0 0
  20. m=audio 8002 RTP/AVP 3 110 8 0 98 101
  21. a=rtpmap:110 speex/8000
  22. a=rtpmap:98 iLBC/8000
  23. a=fmtp:98 mode=20
  24. a=rtpmap:101 telephone-event/8000
  25. a=fmtp:101 0-15
  26.  
  27. 2023-05-18 11:12:48.709275 99.07% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  28. 2023-05-18 11:12:48.709275 99.07% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  29. 2023-05-18 11:12:48.709275 99.07% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  30. 2023-05-18 11:12:48.709275 99.07% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  31. 2023-05-18 11:12:48.709275 99.07% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  32. 2023-05-18 11:12:48.709275 99.07% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  33. 2023-05-18 11:12:48.709275 99.07% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  34. 2023-05-18 11:12:48.709275 99.07% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  35. 2023-05-18 11:12:48.709275 99.07% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  36. 2023-05-18 11:12:48.709275 99.07% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  37. 2023-05-18 11:12:48.709275 99.07% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  38. 2023-05-18 11:12:48.709275 99.07% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  39. 2023-05-18 11:12:48.709275 99.07% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  40. 2023-05-18 11:12:48.709275 99.07% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/997989@35.79.219.240 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  41. 2023-05-18 11:12:48.709275 99.07% [DEBUG] switch_core_codec.c:111 sofia/default/997989@35.79.219.240 Original read codec set to PCMA:8
  42. 2023-05-18 11:12:48.709275 99.07% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  43. 2023-05-18 11:12:48.709275 99.07% [DEBUG] switch_core_media.c:5973 sofia/default/997989@35.79.219.240 Set 2833 dtmf send payload to 101 recv payload to 101
  44. 2023-05-18 11:12:48.709275 99.07% [DEBUG] sofia.c:7933 (sofia/default/997989@35.79.219.240) State Change CS_NEW -> CS_INIT
  45. 2023-05-18 11:12:48.709275 99.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/997989@35.79.219.240) Running State Change CS_INIT (Cur 1 Tot 29168)
  46. 2023-05-18 11:12:48.709275 99.07% [DEBUG] switch_core_state_machine.c:624 (sofia/default/997989@35.79.219.240) State INIT
  47. 2023-05-18 11:12:48.709275 99.07% [DEBUG] mod_sofia.c:97 sofia/default/997989@35.79.219.240 SOFIA INIT
  48. 2023-05-18 11:12:48.709275 99.07% [DEBUG] switch_core_state_machine.c:40 sofia/default/997989@35.79.219.240 Standard INIT
  49. 2023-05-18 11:12:48.709275 99.07% [DEBUG] switch_core_state_machine.c:48 (sofia/default/997989@35.79.219.240) State Change CS_INIT -> CS_ROUTING
  50. 2023-05-18 11:12:48.709275 99.07% [DEBUG] switch_core_state_machine.c:624 (sofia/default/997989@35.79.219.240) State INIT going to sleep
  51. 2023-05-18 11:12:48.709275 99.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/997989@35.79.219.240) Running State Change CS_ROUTING (Cur 1 Tot 29168)
  52. 2023-05-18 11:12:48.709275 99.07% [DEBUG] switch_channel.c:2380 (sofia/default/997989@35.79.219.240) Callstate Change DOWN -> RINGING
  53. 2023-05-18 11:12:48.709275 99.07% [DEBUG] switch_core_state_machine.c:640 (sofia/default/997989@35.79.219.240) State ROUTING
  54. 2023-05-18 11:12:48.709275 99.07% [DEBUG] mod_sofia.c:158 sofia/default/997989@35.79.219.240 SOFIA ROUTING
  55. 2023-05-18 11:12:48.709275 99.07% [DEBUG] switch_core_state_machine.c:230 sofia/default/997989@35.79.219.240 Standard ROUTING
  56. 2023-05-18 11:12:48.709275 99.07% [INFO] mod_dialplan_xml.c:639 Processing 997989 <997989>->88010020 in context default
  57. 2023-05-18 11:12:48.709275 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  58. 2023-05-18 11:12:48.709275 99.07% [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')
  59. 2023-05-18 11:12:48.709275 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  60. 2023-05-18 11:12:48.729270 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  61. 2023-05-18 11:12:48.729270 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 88010020
  62. 2023-05-18 11:12:48.729270 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '88010020' limit 1
  63. 2023-05-18 11:12:48.729270 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '88010020' AND status=0 limit 1
  64. 2023-05-18 11:12:48.729270 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '88010020' and status=0 LIMIT 1
  65. 2023-05-18 11:12:48.729270 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER997989
  66. 2023-05-18 11:12:48.729270 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  67. 2023-05-18 11:12:48.729270 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '88010020' limit 1
  68. 2023-05-18 11:12:48.729270 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 997989 / 997989
  69. 2023-05-18 11:12:48.729270 99.07% [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 ="88010020" LIMIT 1
  70. 2023-05-18 11:12:48.729270 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  71. 2023-05-18 11:12:48.729270 99.07% [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="88010020"  AND domains.domain="35.79.219.240" limit 1
  72. 2023-05-18 11:12:48.729270 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  73. 2023-05-18 11:12:48.729270 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 990001]
  74. 2023-05-18 11:12:48.729270 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "990001" AND deleted = 0 limit 1
  75. 2023-05-18 11:12:48.729270 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^88010020.*' OR blocked_patterns = '^8801002.*' OR blocked_patterns = '^880100.*' OR blocked_patterns = '^88010.*' OR blocked_patterns = '^8801.*' OR blocked_patterns = '^880.*' OR blocked_patterns = '^88.*' OR blocked_patterns = '^8.*' OR blocked_patterns ='--') AND accountid = 5 limit 1
  76. 2023-05-18 11:12:48.729270 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="88010020" AND (accountid = 0 OR status = 1) LIMIT 1
  77. 2023-05-18 11:12:48.729270 99.07% [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 = '^88010020.*' OR patterns = '^8801002.*' OR patterns = '^880100.*' OR patterns = '^88010.*' OR patterns = '^8801.*' OR patterns = '^880.*' OR patterns = '^88.*' OR patterns = '^8.*' OR patterns ='--') AND accountid = 5 ORDER BY LENGTH(PKGPTR.patterns) DESC
  78. 2023-05-18 11:12:48.729270 99.07% [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 ="88010020" AND A.accountid = '5' limit 1
  79. 2023-05-18 11:12:48.729270 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 88010020
  80. 2023-05-18 11:12:48.729270 99.07% [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 ="88010020" LIMIT 1
  81. 2023-05-18 11:12:48.729270 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  82. 2023-05-18 11:12:48.749278 99.07% [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="88010020"  AND domains.domain="35.79.219.240" limit 1
  83. 2023-05-18 11:12:48.749278 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  84. 2023-05-18 11:12:48.749278 99.07% [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 = '88010020' OR number = '8801002' OR number = '880100' OR number = '88010' OR number = '8801' OR number = '880' OR number = '88' OR number = '8' OR number ='--') OR (number = '88010020*' OR number = '8801002*' OR number = '880100*' OR number = '88010*' OR number = '8801*' OR number = '880*' OR number = '88*' OR number = '8*' OR number ='--') OR (number = '997989' OR number = '99798' OR number = '9979' OR number = '997' OR number = '99' OR number = '9' OR number ='--') OR (number = '997989*' OR number = '99798*' OR number = '9979*' OR number = '997*' OR number = '99*' OR number = '9*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  85. 2023-05-18 11:12:48.749278 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  86. 2023-05-18 11:12:48.749278 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '88010020' OR routing_prefix = '8801002' OR routing_prefix = '880100' OR routing_prefix = '88010' OR routing_prefix = '8801' OR routing_prefix = '880' OR routing_prefix = '88' OR routing_prefix = '8' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  87. 2023-05-18 11:12:48.749278 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  88. 2023-05-18 11:12:48.749278 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 5
  89. 2023-05-18 11:12:48.749278 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 990001
  90. 2023-05-18 11:12:48.749278 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 49924.35
  91. 2023-05-18 11:12:48.749278 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  92. 2023-05-18 11:12:48.749278 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  93. 2023-05-18 11:12:48.749278 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  94. 2023-05-18 11:12:48.749278 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  95. 2023-05-18 11:12:48.749278 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  96. 2023-05-18 11:12:48.749278 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  97. 2023-05-18 11:12:48.749278 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  98. 2023-05-18 11:12:48.749278 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^88010020.*' OR pattern = '^8801002.*' OR pattern = '^880100.*' OR pattern = '^88010.*' OR pattern = '^8801.*' OR pattern = '^880.*' OR pattern = '^88.*' OR pattern = '^8.*' OR pattern ='--') AND (caller_id_pattern = '^997989.*' OR caller_id_pattern = '^99798.*' OR caller_id_pattern = '^9979.*' OR caller_id_pattern = '^997.*' 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=5)  ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  99. 2023-05-18 11:12:48.749278 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  100. 2023-05-18 11:12:48.749278 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  101. 2023-05-18 11:12:48.749278 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 3
  102. 2023-05-18 11:12:48.749278 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  103. 2023-05-18 11:12:48.749278 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  104. 2023-05-18 11:12:48.749278 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.60000
  105. 2023-05-18 11:12:48.749278 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : QAA
  106. 2023-05-18 11:12:48.749278 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 26
  107. 2023-05-18 11:12:48.749278 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 5
  108. 2023-05-18 11:12:48.749278 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  109. 2023-05-18 11:12:48.749278 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  110. 2023-05-18 11:12:48.749278 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  111. 2023-05-18 11:12:48.749278 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your49924.35 balance Accountid 5 !!!
  112. 2023-05-18 11:12:48.749278 99.07% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  113. 2023-05-18 11:12:48.749278 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  114. 2023-05-18 11:12:48.749278 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
  115. 2023-05-18 11:12:48.749278 99.07% [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
  116. 2023-05-18 11:12:48.749278 99.07% [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 = '^88010020.*' OR pattern = '^8801002.*' OR pattern = '^880100.*' OR pattern = '^88010.*' OR pattern = '^8801.*' OR pattern = '^880.*' OR pattern = '^88.*' OR pattern = '^8.*' 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
  117. 2023-05-18 11:12:48.749278 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  118. 2023-05-18 11:12:48.749278 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 2
  119. 2023-05-18 11:12:48.749278 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^88.*
  120. 2023-05-18 11:12:48.749278 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : ALPHA
  121. 2023-05-18 11:12:48.749278 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  122. 2023-05-18 11:12:48.749278 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  123. 2023-05-18 11:12:48.749278 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^88.*
  124. 2023-05-18 11:12:48.749278 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  125. 2023-05-18 11:12:48.749278 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  126. 2023-05-18 11:12:48.749278 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 1
  127. 2023-05-18 11:12:48.749278 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : ALPHA
  128. 2023-05-18 11:12:48.749278 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  129. 2023-05-18 11:12:48.749278 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  130. 2023-05-18 11:12:48.749278 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 6
  131. 2023-05-18 11:12:48.749278 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  132. 2023-05-18 11:12:48.749278 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  133. 2023-05-18 11:12:48.749278 99.07% [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 = 5 AND status=0 LIMIT 1
  134. 2023-05-18 11:12:48.749278 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  135. 2023-05-18 11:12:48.749278 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  136. 2023-05-18 11:12:48.749278 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  137. 2023-05-18 11:12:48.749278 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : outbound
  138. 2023-05-18 11:12:48.749278 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  139. 2023-05-18 11:12:48.749278 99.07% [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 = 6) AND status=0 limit 1
  140. 2023-05-18 11:12:48.749278 99.07% [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
  141. 2023-05-18 11:12:48.749278 99.07% [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 ="88010020" LIMIT 1
  142. 2023-05-18 11:12:48.749278 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  143. 2023-05-18 11:12:48.749278 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  144. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  145. <document type="freeswitch/xml">
  146. <section name="dialplan" description="ASTPP Dialplan">
  147. <context name="default">
  148. <extension name="88010020">
  149. <condition field="destination_number" expression="88010020">
  150. <action application="set" data="effective_destination_number=88010020"/>
  151. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  152. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  153. <action application="set" data="notify_flag=0"/>
  154. <action application="set" data="notify_credit_limit=5.00000"/>
  155. <action application="set" data="type=0"/>
  156. <action application="set" data="callstart=2023-05-18 11:12:48"/>
  157. <action application="set" data="hangup_after_bridge=true"/>
  158. <action application="set" data="continue_on_fail=TRUE"/>
  159. <action application="set" data="account_id=5"/>
  160. <action application="set" data="parent_id=0"/>
  161. <action application="set" data="entity_id=0"/>
  162. <action application="set" data="call_processed=internal"/>
  163. <action application="set" data="call_direction=outbound"/>
  164. <action application="set" data="accountname=default"/>
  165. <action application="set" data="origination_rates=ID:3|CODE:^88.*|DESTINATION:QAA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:26|ACCID:5"/>
  166. <action application="set" data="original_caller_id_name=997989"/>
  167. <action application="set" data="original_caller_id_number=997989"/>
  168.  
  169. <action application="set" data="effective_caller_id_name=997989"/>
  170. <action application="set" data="effective_caller_id_number=997989"/>
  171. <action application="set" data="calltype=STANDARD"/>
  172. <action application="set" data="termination_rates=ID:2|CODE:^88.*|DESTINATION:ALPHA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.30000|INC:60|INITIALBLOCK:60|TRUNK:1|PROVIDER:6"/>
  173. <action application="set" data="trunk_id=1"/>
  174. <action application="set" data="provider_id=6"/>
  175. <action application="set" data="rate_flag=0"/>
  176. <action application="set" data="daily_call_credit_limit=0.00000"/>
  177. <action application="set" data="monthly_call_credit_limit=0.00000"/>
  178. <action application="set" data="daily_call_used_limit=0.00000"/>
  179. <action application="set" data="monthly_call_used_limit=0.00000"/>
  180. <action application="set" data="quality_trunk_seq=1"/>
  181. <action application="set" data="force_trunk_flag=0"/>
  182. <action application="export" data="presence_data=trunk_id=1"/>
  183. <action application="set" data="intcall=0"/>
  184. <action application="export" data="presence_id=88010020"/>
  185. <action application="export" data="presence_data=x|||PK Test QA CLient(990001)|||^88.* // QAA // 0.60000 |||YourTrunk // ^88.* // ALPHA // 0.30000 // trunk_id=1|||STD|||103.240.35.46"/>
  186. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/ALPHA/88010020"/>
  187. </condition>
  188. </extension>
  189. </context>
  190. </section>
  191. </document>
  192. Dialplan: sofia/default/997989@35.79.219.240 parsing [default->88010020] continue=false
  193. Dialplan: sofia/default/997989@35.79.219.240 Regex (PASS) [88010020] destination_number(88010020) =~ /88010020/ break=on-false
  194. Dialplan: sofia/default/997989@35.79.219.240 Action set(effective_destination_number=88010020)
  195. Dialplan: sofia/default/997989@35.79.219.240 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  196. Dialplan: sofia/default/997989@35.79.219.240 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  197. Dialplan: sofia/default/997989@35.79.219.240 Action set(notify_flag=0)
  198. Dialplan: sofia/default/997989@35.79.219.240 Action set(notify_credit_limit=5.00000)
  199. Dialplan: sofia/default/997989@35.79.219.240 Action set(type=0)
  200. Dialplan: sofia/default/997989@35.79.219.240 Action set(callstart=2023-05-18 11:12:48)
  201. Dialplan: sofia/default/997989@35.79.219.240 Action set(hangup_after_bridge=true)
  202. Dialplan: sofia/default/997989@35.79.219.240 Action set(continue_on_fail=TRUE)
  203. Dialplan: sofia/default/997989@35.79.219.240 Action set(account_id=5)
  204. Dialplan: sofia/default/997989@35.79.219.240 Action set(parent_id=0)
  205. Dialplan: sofia/default/997989@35.79.219.240 Action set(entity_id=0)
  206. Dialplan: sofia/default/997989@35.79.219.240 Action set(call_processed=internal)
  207. Dialplan: sofia/default/997989@35.79.219.240 Action set(call_direction=outbound)
  208. Dialplan: sofia/default/997989@35.79.219.240 Action set(accountname=default)
  209. Dialplan: sofia/default/997989@35.79.219.240 Action set(origination_rates=ID:3|CODE:^88.*|DESTINATION:QAA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:26|ACCID:5)
  210. Dialplan: sofia/default/997989@35.79.219.240 Action set(original_caller_id_name=997989)
  211. Dialplan: sofia/default/997989@35.79.219.240 Action set(original_caller_id_number=997989)
  212. Dialplan: sofia/default/997989@35.79.219.240 Action set(effective_caller_id_name=997989)
  213. Dialplan: sofia/default/997989@35.79.219.240 Action set(effective_caller_id_number=997989)
  214. Dialplan: sofia/default/997989@35.79.219.240 Action set(calltype=STANDARD)
  215. Dialplan: sofia/default/997989@35.79.219.240 Action set(termination_rates=ID:2|CODE:^88.*|DESTINATION:ALPHA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.30000|INC:60|INITIALBLOCK:60|TRUNK:1|PROVIDER:6)
  216. Dialplan: sofia/default/997989@35.79.219.240 Action set(trunk_id=1)
  217. Dialplan: sofia/default/997989@35.79.219.240 Action set(provider_id=6)
  218. Dialplan: sofia/default/997989@35.79.219.240 Action set(rate_flag=0)
  219. Dialplan: sofia/default/997989@35.79.219.240 Action set(daily_call_credit_limit=0.00000)
  220. Dialplan: sofia/default/997989@35.79.219.240 Action set(monthly_call_credit_limit=0.00000)
  221. Dialplan: sofia/default/997989@35.79.219.240 Action set(daily_call_used_limit=0.00000)
  222. Dialplan: sofia/default/997989@35.79.219.240 Action set(monthly_call_used_limit=0.00000)
  223. Dialplan: sofia/default/997989@35.79.219.240 Action set(quality_trunk_seq=1)
  224. Dialplan: sofia/default/997989@35.79.219.240 Action set(force_trunk_flag=0)
  225. Dialplan: sofia/default/997989@35.79.219.240 Action export(presence_data=trunk_id=1)
  226. Dialplan: sofia/default/997989@35.79.219.240 Action set(intcall=0)
  227. Dialplan: sofia/default/997989@35.79.219.240 Action export(presence_id=88010020)
  228. Dialplan: sofia/default/997989@35.79.219.240 Action export(presence_data=x|||PK Test QA CLient(990001)|||^88.* // QAA // 0.60000 |||YourTrunk // ^88.* // ALPHA // 0.30000 // trunk_id=1|||STD|||103.240.35.46)
  229. Dialplan: sofia/default/997989@35.79.219.240 Action bridge({sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/ALPHA/88010020)
  230. 2023-05-18 11:12:48.749278 99.07% [DEBUG] switch_core_state_machine.c:281 (sofia/default/997989@35.79.219.240) State Change CS_ROUTING -> CS_EXECUTE
  231. 2023-05-18 11:12:48.749278 99.07% [DEBUG] switch_core_state_machine.c:640 (sofia/default/997989@35.79.219.240) State ROUTING going to sleep
  232. 2023-05-18 11:12:48.749278 99.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/997989@35.79.219.240) Running State Change CS_EXECUTE (Cur 1 Tot 29168)
  233. 2023-05-18 11:12:48.749278 99.07% [DEBUG] switch_core_state_machine.c:647 (sofia/default/997989@35.79.219.240) State EXECUTE
  234. 2023-05-18 11:12:48.749278 99.07% [DEBUG] mod_sofia.c:213 sofia/default/997989@35.79.219.240 SOFIA EXECUTE
  235. 2023-05-18 11:12:48.749278 99.07% [DEBUG] switch_core_state_machine.c:323 sofia/default/997989@35.79.219.240 Standard EXECUTE
  236. EXECUTE [depth=0] sofia/default/997989@35.79.219.240 set(effective_destination_number=88010020)
  237. 2023-05-18 11:12:48.749278 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/997989@35.79.219.240 [effective_destination_number]=[88010020]
  238. EXECUTE [depth=0] sofia/default/997989@35.79.219.240 set(bridge_pre_execute_bleg_app=sched_hangup)
  239. 2023-05-18 11:12:48.749278 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/997989@35.79.219.240 [bridge_pre_execute_bleg_app]=[sched_hangup]
  240. EXECUTE [depth=0] sofia/default/997989@35.79.219.240 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  241. 2023-05-18 11:12:48.749278 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/997989@35.79.219.240 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  242. EXECUTE [depth=0] sofia/default/997989@35.79.219.240 set(notify_flag=0)
  243. 2023-05-18 11:12:48.749278 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/997989@35.79.219.240 [notify_flag]=[0]
  244. EXECUTE [depth=0] sofia/default/997989@35.79.219.240 set(notify_credit_limit=5.00000)
  245. 2023-05-18 11:12:48.749278 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/997989@35.79.219.240 [notify_credit_limit]=[5.00000]
  246. EXECUTE [depth=0] sofia/default/997989@35.79.219.240 set(type=0)
  247. 2023-05-18 11:12:48.749278 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/997989@35.79.219.240 [type]=[0]
  248. EXECUTE [depth=0] sofia/default/997989@35.79.219.240 set(callstart=2023-05-18 11:12:48)
  249. 2023-05-18 11:12:48.749278 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/997989@35.79.219.240 [callstart]=[2023-05-18 11:12:48]
  250. EXECUTE [depth=0] sofia/default/997989@35.79.219.240 set(hangup_after_bridge=true)
  251. 2023-05-18 11:12:48.749278 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/997989@35.79.219.240 [hangup_after_bridge]=[true]
  252. EXECUTE [depth=0] sofia/default/997989@35.79.219.240 set(continue_on_fail=TRUE)
  253. 2023-05-18 11:12:48.749278 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/997989@35.79.219.240 [continue_on_fail]=[TRUE]
  254. EXECUTE [depth=0] sofia/default/997989@35.79.219.240 set(account_id=5)
  255. 2023-05-18 11:12:48.749278 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/997989@35.79.219.240 [account_id]=[5]
  256. EXECUTE [depth=0] sofia/default/997989@35.79.219.240 set(parent_id=0)
  257. 2023-05-18 11:12:48.749278 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/997989@35.79.219.240 [parent_id]=[0]
  258. EXECUTE [depth=0] sofia/default/997989@35.79.219.240 set(entity_id=0)
  259. 2023-05-18 11:12:48.749278 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/997989@35.79.219.240 [entity_id]=[0]
  260. EXECUTE [depth=0] sofia/default/997989@35.79.219.240 set(call_processed=internal)
  261. 2023-05-18 11:12:48.749278 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/997989@35.79.219.240 [call_processed]=[internal]
  262. EXECUTE [depth=0] sofia/default/997989@35.79.219.240 set(call_direction=outbound)
  263. 2023-05-18 11:12:48.749278 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/997989@35.79.219.240 [call_direction]=[outbound]
  264. EXECUTE [depth=0] sofia/default/997989@35.79.219.240 set(accountname=default)
  265. 2023-05-18 11:12:48.749278 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/997989@35.79.219.240 [accountname]=[default]
  266. EXECUTE [depth=0] sofia/default/997989@35.79.219.240 set(origination_rates=ID:3|CODE:^88.*|DESTINATION:QAA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:26|ACCID:5)
  267. 2023-05-18 11:12:48.749278 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/997989@35.79.219.240 [origination_rates]=[ID:3|CODE:^88.*|DESTINATION:QAA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:26|ACCID:5]
  268. EXECUTE [depth=0] sofia/default/997989@35.79.219.240 set(original_caller_id_name=997989)
  269. 2023-05-18 11:12:48.749278 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/997989@35.79.219.240 [original_caller_id_name]=[997989]
  270. EXECUTE [depth=0] sofia/default/997989@35.79.219.240 set(original_caller_id_number=997989)
  271. 2023-05-18 11:12:48.769270 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/997989@35.79.219.240 [original_caller_id_number]=[997989]
  272. EXECUTE [depth=0] sofia/default/997989@35.79.219.240 set(effective_caller_id_name=997989)
  273. 2023-05-18 11:12:48.769270 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/997989@35.79.219.240 [effective_caller_id_name]=[997989]
  274. EXECUTE [depth=0] sofia/default/997989@35.79.219.240 set(effective_caller_id_number=997989)
  275. 2023-05-18 11:12:48.769270 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/997989@35.79.219.240 [effective_caller_id_number]=[997989]
  276. EXECUTE [depth=0] sofia/default/997989@35.79.219.240 set(calltype=STANDARD)
  277. 2023-05-18 11:12:48.769270 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/997989@35.79.219.240 [calltype]=[STANDARD]
  278. EXECUTE [depth=0] sofia/default/997989@35.79.219.240 set(termination_rates=ID:2|CODE:^88.*|DESTINATION:ALPHA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.30000|INC:60|INITIALBLOCK:60|TRUNK:1|PROVIDER:6)
  279. 2023-05-18 11:12:48.769270 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/997989@35.79.219.240 [termination_rates]=[ID:2|CODE:^88.*|DESTINATION:ALPHA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.30000|INC:60|INITIALBLOCK:60|TRUNK:1|PROVIDER:6]
  280. EXECUTE [depth=0] sofia/default/997989@35.79.219.240 set(trunk_id=1)
  281. 2023-05-18 11:12:48.769270 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/997989@35.79.219.240 [trunk_id]=[1]
  282. EXECUTE [depth=0] sofia/default/997989@35.79.219.240 set(provider_id=6)
  283. 2023-05-18 11:12:48.769270 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/997989@35.79.219.240 [provider_id]=[6]
  284. EXECUTE [depth=0] sofia/default/997989@35.79.219.240 set(rate_flag=0)
  285. 2023-05-18 11:12:48.769270 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/997989@35.79.219.240 [rate_flag]=[0]
  286. EXECUTE [depth=0] sofia/default/997989@35.79.219.240 set(daily_call_credit_limit=0.00000)
  287. 2023-05-18 11:12:48.769270 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/997989@35.79.219.240 [daily_call_credit_limit]=[0.00000]
  288. EXECUTE [depth=0] sofia/default/997989@35.79.219.240 set(monthly_call_credit_limit=0.00000)
  289. 2023-05-18 11:12:48.769270 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/997989@35.79.219.240 [monthly_call_credit_limit]=[0.00000]
  290. EXECUTE [depth=0] sofia/default/997989@35.79.219.240 set(daily_call_used_limit=0.00000)
  291. 2023-05-18 11:12:48.769270 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/997989@35.79.219.240 [daily_call_used_limit]=[0.00000]
  292. EXECUTE [depth=0] sofia/default/997989@35.79.219.240 set(monthly_call_used_limit=0.00000)
  293. 2023-05-18 11:12:48.769270 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/997989@35.79.219.240 [monthly_call_used_limit]=[0.00000]
  294. EXECUTE [depth=0] sofia/default/997989@35.79.219.240 set(quality_trunk_seq=1)
  295. 2023-05-18 11:12:48.769270 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/997989@35.79.219.240 [quality_trunk_seq]=[1]
  296. EXECUTE [depth=0] sofia/default/997989@35.79.219.240 set(force_trunk_flag=0)
  297. 2023-05-18 11:12:48.769270 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/997989@35.79.219.240 [force_trunk_flag]=[0]
  298. EXECUTE [depth=0] sofia/default/997989@35.79.219.240 export(presence_data=trunk_id=1)
  299. 2023-05-18 11:12:48.769270 99.07% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=1]
  300. EXECUTE [depth=0] sofia/default/997989@35.79.219.240 set(intcall=0)
  301. 2023-05-18 11:12:48.769270 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/default/997989@35.79.219.240 [intcall]=[0]
  302. EXECUTE [depth=0] sofia/default/997989@35.79.219.240 export(presence_id=88010020)
  303. 2023-05-18 11:12:48.769270 99.07% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[88010020]
  304. EXECUTE [depth=0] sofia/default/997989@35.79.219.240 export(presence_data=x|||PK Test QA CLient(990001)|||^88.* // QAA // 0.60000 |||YourTrunk // ^88.* // ALPHA // 0.30000 // trunk_id=1|||STD|||103.240.35.46)
  305. 2023-05-18 11:12:48.769270 99.07% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||PK Test QA CLient(990001)|||^88.* // QAA // 0.60000 |||YourTrunk // ^88.* // ALPHA // 0.30000 // trunk_id=1|||STD|||103.240.35.46]
  306. EXECUTE [depth=0] sofia/default/997989@35.79.219.240 bridge({sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/ALPHA/88010020)
  307. 2023-05-18 11:12:48.769270 99.07% [DEBUG] switch_channel.c:1269 sofia/default/997989@35.79.219.240 EXPORTING[export_vars] [presence_data]=[x|||PK Test QA CLient(990001)|||^88.* // QAA // 0.60000 |||YourTrunk // ^88.* // ALPHA // 0.30000 // trunk_id=1|||STD|||103.240.35.46] to event
  308. 2023-05-18 11:12:48.769270 99.07% [DEBUG] switch_channel.c:1269 sofia/default/997989@35.79.219.240 EXPORTING[export_vars] [presence_id]=[88010020] to event
  309. 2023-05-18 11:12:48.769270 99.07% [DEBUG] switch_channel.c:1269 sofia/default/997989@35.79.219.240 EXPORTING[export_vars] [presence_data]=[x|||PK Test QA CLient(990001)|||^88.* // QAA // 0.60000 |||YourTrunk // ^88.* // ALPHA // 0.30000 // trunk_id=1|||STD|||103.240.35.46] to event
  310. 2023-05-18 11:12:48.769270 99.07% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  311. 2023-05-18 11:12:48.769270 99.07% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  312. 2023-05-18 11:12:48.769270 99.07% [NOTICE] switch_channel.c:1123 New Channel sofia/default/88010020 [05102f79-c575-4ba2-9288-4d2866babefd]
  313. 2023-05-18 11:12:48.769270 99.07% [DEBUG] mod_sofia.c:5121 (sofia/default/88010020) State Change CS_NEW -> CS_INIT
  314. 2023-05-18 11:12:48.769270 99.07% [DEBUG] switch_ivr_originate.c:3151 sofia/default/88010020 Setting leg timeout to 30
  315. 2023-05-18 11:12:48.769270 99.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/88010020) Running State Change CS_INIT (Cur 2 Tot 29169)
  316. 2023-05-18 11:12:48.769270 99.07% [DEBUG] switch_core_state_machine.c:624 (sofia/default/88010020) State INIT
  317. 2023-05-18 11:12:48.769270 99.07% [DEBUG] mod_sofia.c:97 sofia/default/88010020 SOFIA INIT
  318. 2023-05-18 11:12:48.769270 99.07% [INFO] sofia_glue.c:1651 sofia/default/88010020 sending invite call-id: (null)
  319. 2023-05-18 11:12:48.769270 99.07% [DEBUG] sofia_glue.c:1654 sofia/default/88010020 sending invite version: 1.10.7 -release 64bit
  320. Local SDP:
  321. v=0
  322. o=FreeSWITCH 1684378952 1684378953 IN IP4 35.79.219.240
  323. s=FreeSWITCH
  324. c=IN IP4 35.79.219.240
  325. t=0 0
  326. m=audio 29416 RTP/AVP 8 18 101
  327. a=rtpmap:8 PCMA/8000
  328. a=rtpmap:18 G729/8000
  329. a=rtpmap:101 telephone-event/8000
  330. a=fmtp:101 0-15
  331. a=ptime:20
  332. a=sendrecv
  333.  
  334. 2023-05-18 11:12:48.769270 99.07% [DEBUG] switch_core_state_machine.c:40 sofia/default/88010020 Standard INIT
  335. 2023-05-18 11:12:48.769270 99.07% [DEBUG] switch_core_state_machine.c:48 (sofia/default/88010020) State Change CS_INIT -> CS_ROUTING
  336. 2023-05-18 11:12:48.769270 99.07% [DEBUG] switch_core_state_machine.c:624 (sofia/default/88010020) State INIT going to sleep
  337. 2023-05-18 11:12:48.769270 99.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/88010020) Running State Change CS_ROUTING (Cur 2 Tot 29169)
  338. 2023-05-18 11:12:48.769270 99.07% [DEBUG] sofia.c:7499 Channel sofia/default/88010020 entering state [calling][0]
  339. 2023-05-18 11:12:48.769270 99.07% [DEBUG] switch_core_state_machine.c:640 (sofia/default/88010020) State ROUTING
  340. 2023-05-18 11:12:48.769270 99.07% [DEBUG] mod_sofia.c:158 sofia/default/88010020 SOFIA ROUTING
  341. 2023-05-18 11:12:48.769270 99.07% [DEBUG] switch_ivr_originate.c:67 (sofia/default/88010020) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  342. 2023-05-18 11:12:48.769270 99.07% [DEBUG] switch_core_state_machine.c:640 (sofia/default/88010020) State ROUTING going to sleep
  343. 2023-05-18 11:12:48.769270 99.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/88010020) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 29169)
  344. 2023-05-18 11:12:48.769270 99.07% [DEBUG] switch_core_state_machine.c:659 (sofia/default/88010020) State CONSUME_MEDIA
  345. 2023-05-18 11:12:48.769270 99.07% [DEBUG] switch_core_state_machine.c:659 (sofia/default/88010020) State CONSUME_MEDIA going to sleep
  346. 2023-05-18 11:12:49.689317 98.87% [DEBUG] sofia.c:7499 Channel sofia/default/88010020 entering state [proceeding][183]
  347. 2023-05-18 11:12:49.689317 98.87% [DEBUG] sofia.c:7509 Remote SDP:
  348. v=0
  349. o=FreeSWITCH 1684381401 1684381402 IN IP4 95.217.238.195
  350. s=FreeSWITCH
  351. c=IN IP4 95.217.238.195
  352. t=0 0
  353. m=audio 26968 RTP/AVP 8 101
  354. a=rtpmap:8 PCMA/8000
  355. a=rtpmap:101 telephone-event/8000
  356. a=fmtp:101 0-15
  357. a=ptime:20
  358.  
  359. 2023-05-18 11:12:49.689317 98.87% [NOTICE] sofia.c:7512 Pre-Answer sofia/default/88010020!
  360. 2023-05-18 11:12:49.689317 98.87% [INFO] switch_ivr_originate.c:3841 Sending early media
  361. 2023-05-18 11:12:49.689317 98.87% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/997989@35.79.219.240] 172.31.12.241 port 28758 -> 103.240.35.46 port 8002 codec: 8 ms: 20
  362. 2023-05-18 11:12:49.689317 98.87% [DEBUG] switch_channel.c:3622 (sofia/default/88010020) Callstate Change DOWN -> EARLY
  363. 2023-05-18 11:12:49.689317 98.87% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  364. 2023-05-18 11:12:49.689317 98.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  365. 2023-05-18 11:12:49.689317 98.87% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  366. 2023-05-18 11:12:49.689317 98.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  367. 2023-05-18 11:12:49.689317 98.87% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  368. 2023-05-18 11:12:49.689317 98.87% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/88010020 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  369. 2023-05-18 11:12:49.689317 98.87% [DEBUG] switch_core_media.c:9089 sofia/default/997989@35.79.219.240 Set 2833 dtmf send payload to 101
  370. 2023-05-18 11:12:49.689317 98.87% [DEBUG] switch_core_media.c:9096 sofia/default/997989@35.79.219.240 Set 2833 dtmf receive payload to 101
  371. 2023-05-18 11:12:49.689317 98.87% [DEBUG] switch_core_media.c:9119 sofia/default/997989@35.79.219.240 Set rtp dtmf delay to 40
  372. 2023-05-18 11:12:49.689317 98.87% [DEBUG] mod_sofia.c:2610 Ring SDP:
  373. v=0
  374. o=FreeSWITCH 1684379611 1684379612 IN IP4 35.79.219.240
  375. s=FreeSWITCH
  376. c=IN IP4 35.79.219.240
  377. t=0 0
  378. m=audio 28758 RTP/AVP 8 101
  379. a=rtpmap:8 PCMA/8000
  380. a=rtpmap:101 telephone-event/8000
  381. a=fmtp:101 0-15
  382. a=ptime:20
  383. a=sendrecv
  384.  
  385. 2023-05-18 11:12:49.689317 98.87% [NOTICE] mod_sofia.c:2613 Pre-Answer sofia/default/997989@35.79.219.240!
  386. 2023-05-18 11:12:49.689317 98.87% [DEBUG] switch_channel.c:3622 (sofia/default/997989@35.79.219.240) Callstate Change RINGING -> EARLY
  387. 2023-05-18 11:12:49.689317 98.87% [DEBUG] sofia.c:7499 Channel sofia/default/997989@35.79.219.240 entering state [early][183]
  388. 2023-05-18 11:12:49.689317 98.87% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/88010020] Peer UUID: 05102f79-c575-4ba2-9288-4d2866babefd
  389. 2023-05-18 11:12:49.689317 98.87% [DEBUG] switch_core_codec.c:111 sofia/default/88010020 Original read codec set to PCMA:8
  390. 2023-05-18 11:12:49.689317 98.87% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  391. 2023-05-18 11:12:49.689317 98.87% [DEBUG] switch_core_media.c:5973 sofia/default/88010020 Set 2833 dtmf send payload to 101 recv payload to 101
  392. 2023-05-18 11:12:49.689317 98.87% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/88010020] 172.31.12.241 port 29416 -> 95.217.238.195 port 26968 codec: 8 ms: 20
  393. 2023-05-18 11:12:49.689317 98.87% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  394. 2023-05-18 11:12:49.689317 98.87% [DEBUG] switch_core_media.c:9089 sofia/default/88010020 Set 2833 dtmf send payload to 101
  395. 2023-05-18 11:12:49.689317 98.87% [DEBUG] switch_core_media.c:9096 sofia/default/88010020 Set 2833 dtmf receive payload to 101
  396. 2023-05-18 11:12:49.689317 98.87% [DEBUG] switch_core_media.c:9119 sofia/default/88010020 Set rtp dtmf delay to 40
  397. 2023-05-18 11:12:49.689317 98.87% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/88010020) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  398. 2023-05-18 11:12:49.709272 98.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/88010020) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 29169)
  399. 2023-05-18 11:12:49.709272 98.87% [DEBUG] switch_core_state_machine.c:650 (sofia/default/88010020) State EXCHANGE_MEDIA
  400. 2023-05-18 11:12:49.709272 98.87% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  401. 2023-05-18 11:12:49.749330 98.87% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  402. 2023-05-18 11:12:49.889298 98.87% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  403. 2023-05-18 11:12:49.889298 98.87% [DEBUG] switch_ivr_bridge.c:655 sofia/default/88010020 Bridge execute app sched_hangup(+6000 normal_clearing)
  404. 2023-05-18 11:12:49.909277 98.87% [DEBUG] switch_ivr.c:632 sofia/default/88010020 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  405. EXECUTE [depth=0] sofia/default/88010020 sched_hangup(+6000 normal_clearing)
  406. 2023-05-18 11:12:49.909277 98.87% [DEBUG] switch_scheduler.c:263 Added task 30 switch_ivr_schedule_hangup (05102f79-c575-4ba2-9288-4d2866babefd) to run at 1684414369
  407. 2023-05-18 11:13:03.649297 95.33% [DEBUG] sofia.c:7499 Channel sofia/default/88010020 entering state [completing][200]
  408. 2023-05-18 11:13:03.649297 95.33% [DEBUG] sofia.c:7506 Duplicate SDP
  409. v=0
  410. o=FreeSWITCH 1684381401 1684381402 IN IP4 95.217.238.195
  411. s=FreeSWITCH
  412. c=IN IP4 95.217.238.195
  413. t=0 0
  414. m=audio 26968 RTP/AVP 8 101
  415. a=rtpmap:8 PCMA/8000
  416. a=rtpmap:101 telephone-event/8000
  417. a=fmtp:101 0-15
  418. a=ptime:20
  419.  
  420. 2023-05-18 11:13:03.649297 95.33% [DEBUG] sofia.c:7499 Channel sofia/default/88010020 entering state [ready][200]
  421. 2023-05-18 11:13:03.669280 95.33% [NOTICE] sofia.c:8624 Channel [sofia/default/88010020] has been answered
  422. 2023-05-18 11:13:03.669280 95.33% [DEBUG] switch_channel.c:3950 (sofia/default/88010020) Callstate Change EARLY -> ACTIVE
  423. 2023-05-18 11:13:03.669280 95.33% [DEBUG] switch_core_media.c:8759 Audio params are unchanged for sofia/default/997989@35.79.219.240.
  424. 2023-05-18 11:13:03.669280 95.33% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/997989@35.79.219.240:
  425. v=0
  426. o=FreeSWITCH 1684379611 1684379613 IN IP4 35.79.219.240
  427. s=FreeSWITCH
  428. c=IN IP4 35.79.219.240
  429. t=0 0
  430. m=audio 28758 RTP/AVP 8 101
  431. a=rtpmap:8 PCMA/8000
  432. a=rtpmap:101 telephone-event/8000
  433. a=fmtp:101 0-15
  434. a=ptime:20
  435. a=sendrecv
  436.  
  437. 2023-05-18 11:13:03.669280 95.33% [DEBUG] sofia.c:7499 Channel sofia/default/997989@35.79.219.240 entering state [completed][200]
  438. 2023-05-18 11:13:03.669280 95.33% [NOTICE] switch_ivr_bridge.c:731 Channel [sofia/default/997989@35.79.219.240] has been answered
  439. 2023-05-18 11:13:03.669280 95.33% [DEBUG] switch_channel.c:3950 (sofia/default/997989@35.79.219.240) Callstate Change EARLY -> ACTIVE
  440. 2023-05-18 11:13:03.689297 95.33% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  441. 2023-05-18 11:13:03.729295 95.33% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  442. 2023-05-18 11:13:03.829296 95.33% [DEBUG] sofia.c:7499 Channel sofia/default/997989@35.79.219.240 entering state [ready][200]
  443. 2023-05-18 11:13:04.009302 95.33% [DEBUG] sofia.c:7499 Channel sofia/default/997989@35.79.219.240 entering state [received][100]
  444. 2023-05-18 11:13:04.009302 95.33% [DEBUG] sofia.c:7509 Remote SDP:
  445. v=0
  446. o=Z 0 1 IN IP4 103.240.35.46
  447. s=Z
  448. c=IN IP4 103.240.35.46
  449. t=0 0
  450. m=audio 8002 RTP/AVP 3 110 8 0 98 101
  451. a=rtpmap:110 speex/8000
  452. a=rtpmap:98 iLBC/8000
  453. a=fmtp:98 mode=20
  454. a=rtpmap:101 telephone-event/8000
  455. a=fmtp:101 0-15
  456. a=inactive
  457.  
  458. 2023-05-18 11:13:04.009302 95.33% [DEBUG] switch_channel.c:1975 (sofia/default/997989@35.79.219.240) Callstate Change ACTIVE -> HELD
  459. 2023-05-18 11:13:04.149295 94.47% [DEBUG] switch_ivr.c:632 sofia/default/88010020 Command Execute [depth=0] playback(local_stream://moh)
  460. EXECUTE [depth=0] sofia/default/88010020 playback(local_stream://moh)
  461. 2023-05-18 11:13:04.169296 94.47% [WARNING] mod_local_stream.c:874 Unknown source moh, trying 'default'
  462. 2023-05-18 11:13:04.169296 94.47% [ERR] mod_local_stream.c:882 Unknown source default
  463. 2023-05-18 11:13:04.269303 94.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  464. 2023-05-18 11:13:04.269303 94.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  465. 2023-05-18 11:13:04.269303 94.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  466. 2023-05-18 11:13:04.269303 94.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  467. 2023-05-18 11:13:04.269303 94.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  468. 2023-05-18 11:13:04.269303 94.47% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  469. 2023-05-18 11:13:04.269303 94.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  470. 2023-05-18 11:13:04.269303 94.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  471. 2023-05-18 11:13:04.269303 94.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  472. 2023-05-18 11:13:04.269303 94.47% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  473. 2023-05-18 11:13:04.269303 94.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  474. 2023-05-18 11:13:04.269303 94.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  475. 2023-05-18 11:13:04.269303 94.47% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  476. 2023-05-18 11:13:04.269303 94.47% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  477. 2023-05-18 11:13:04.269303 94.47% [DEBUG] switch_core_media.c:5973 sofia/default/997989@35.79.219.240 Set 2833 dtmf send payload to 101 recv payload to 101
  478. 2023-05-18 11:13:04.269303 94.47% [DEBUG] switch_core_media.c:8759 Audio params are unchanged for sofia/default/997989@35.79.219.240.
  479. 2023-05-18 11:13:04.269303 94.47% [DEBUG] sofia.c:8454 Processing updated SDP
  480. 2023-05-18 11:13:04.269303 94.47% [DEBUG] sofia.c:7499 Channel sofia/default/997989@35.79.219.240 entering state [completed][200]
  481. 2023-05-18 11:13:04.429273 94.47% [DEBUG] sofia.c:7499 Channel sofia/default/997989@35.79.219.240 entering state [ready][200]
  482. 2023-05-18 11:13:09.089297 93.60% [NOTICE] sofia.c:1065 Hangup sofia/default/88010020 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  483. 2023-05-18 11:13:09.089297 93.60% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/88010020]
  484. 2023-05-18 11:13:09.089297 93.60% [DEBUG] switch_core_state_machine.c:650 (sofia/default/88010020) State EXCHANGE_MEDIA going to sleep
  485. 2023-05-18 11:13:09.089297 93.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/88010020) Running State Change CS_HANGUP (Cur 2 Tot 29169)
  486. 2023-05-18 11:13:09.089297 93.60% [DEBUG] switch_core_state_machine.c:844 (sofia/default/88010020) Callstate Change ACTIVE -> HANGUP
  487. 2023-05-18 11:13:09.089297 93.60% [DEBUG] switch_core_state_machine.c:846 (sofia/default/88010020) State HANGUP
  488. 2023-05-18 11:13:09.089297 93.60% [DEBUG] mod_sofia.c:468 Channel sofia/default/88010020 hanging up, cause: NORMAL_CLEARING
  489. 2023-05-18 11:13:09.109286 93.60% [DEBUG] switch_core_state_machine.c:59 sofia/default/88010020 Standard HANGUP, cause: NORMAL_CLEARING
  490. 2023-05-18 11:13:09.109286 93.60% [DEBUG] switch_core_state_machine.c:846 (sofia/default/88010020) State HANGUP going to sleep
  491. 2023-05-18 11:13:09.109286 93.60% [DEBUG] switch_core_state_machine.c:616 (sofia/default/88010020) State Change CS_HANGUP -> CS_REPORTING
  492. 2023-05-18 11:13:09.109286 93.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/88010020) Running State Change CS_REPORTING (Cur 2 Tot 29169)
  493. 2023-05-18 11:13:09.109286 93.60% [DEBUG] switch_core_state_machine.c:932 (sofia/default/88010020) State REPORTING
  494. 2023-05-18 11:13:09.109286 93.60% [INFO] mod_json_cdr.c:271 Process [05102f79-c575-4ba2-9288-4d2866babefd.cdr.json]
  495. 2023-05-18 11:13:09.109286 93.60% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/997989@35.79.219.240]
  496. 2023-05-18 11:13:09.109286 93.60% [DEBUG] switch_channel.c:2160 (sofia/default/997989@35.79.219.240) Callstate Change HELD -> UNHELD
  497. 2023-05-18 11:13:09.109286 93.60% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/88010020 skip receive message [UNBRIDGE] (channel is hungup already)
  498. 2023-05-18 11:13:09.109286 93.60% [NOTICE] switch_ivr_bridge.c:1944 Hangup sofia/default/997989@35.79.219.240 [CS_EXECUTE] [NORMAL_CLEARING]
  499. 2023-05-18 11:13:09.109286 93.60% [DEBUG] switch_core_session.c:2983 sofia/default/997989@35.79.219.240 skip receive message [PHONE_EVENT] (channel is hungup already)
  500. 2023-05-18 11:13:09.109286 93.60% [DEBUG] switch_core_state_machine.c:647 (sofia/default/997989@35.79.219.240) State EXECUTE going to sleep
  501. 2023-05-18 11:13:09.109286 93.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/997989@35.79.219.240) Running State Change CS_HANGUP (Cur 2 Tot 29169)
  502. 2023-05-18 11:13:09.109286 93.60% [DEBUG] switch_core_state_machine.c:844 (sofia/default/997989@35.79.219.240) Callstate Change UNHELD -> HANGUP
  503. 2023-05-18 11:13:09.109286 93.60% [DEBUG] switch_core_state_machine.c:846 (sofia/default/997989@35.79.219.240) State HANGUP
  504. 2023-05-18 11:13:09.109286 93.60% [DEBUG] mod_sofia.c:462 sofia/default/997989@35.79.219.240 Overriding SIP cause 480 with 200 from the other leg
  505. 2023-05-18 11:13:09.109286 93.60% [DEBUG] mod_sofia.c:468 Channel sofia/default/997989@35.79.219.240 hanging up, cause: NORMAL_CLEARING
  506. 2023-05-18 11:13:09.109286 93.60% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/997989@35.79.219.240
  507. 2023-05-18 11:13:09.109286 93.60% [DEBUG] switch_core_state_machine.c:59 sofia/default/997989@35.79.219.240 Standard HANGUP, cause: NORMAL_CLEARING
  508. 2023-05-18 11:13:09.109286 93.60% [DEBUG] switch_core_state_machine.c:846 (sofia/default/997989@35.79.219.240) State HANGUP going to sleep
  509. 2023-05-18 11:13:09.109286 93.60% [DEBUG] switch_core_state_machine.c:616 (sofia/default/997989@35.79.219.240) State Change CS_HANGUP -> CS_REPORTING
  510. 2023-05-18 11:13:09.109286 93.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/997989@35.79.219.240) Running State Change CS_REPORTING (Cur 2 Tot 29169)
  511. 2023-05-18 11:13:09.109286 93.60% [DEBUG] switch_core_state_machine.c:932 (sofia/default/997989@35.79.219.240) State REPORTING
  512. 2023-05-18 11:13:09.109286 93.60% [INFO] mod_json_cdr.c:271 Process [a1430e56-6f8c-49a2-960e-806b9d74b7c5.cdr.json]
  513. 2023-05-18 11:13:09.109286 93.60% [DEBUG] switch_core_state_machine.c:168 sofia/default/88010020 Standard REPORTING, cause: NORMAL_CLEARING
  514. 2023-05-18 11:13:09.109286 93.60% [DEBUG] switch_core_state_machine.c:932 (sofia/default/88010020) State REPORTING going to sleep
  515. 2023-05-18 11:13:09.109286 93.60% [DEBUG] switch_core_state_machine.c:607 (sofia/default/88010020) State Change CS_REPORTING -> CS_DESTROY
  516. 2023-05-18 11:13:09.109286 93.60% [DEBUG] switch_core_session.c:1753 Session 29169 (sofia/default/88010020) Locked, Waiting on external entities
  517. 2023-05-18 11:13:09.109286 93.60% [NOTICE] switch_core_session.c:1771 Session 29169 (sofia/default/88010020) Ended
  518. 2023-05-18 11:13:09.109286 93.60% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/88010020 [CS_DESTROY]
  519. 2023-05-18 11:13:09.109286 93.60% [DEBUG] switch_core_state_machine.c:735 (sofia/default/88010020) Running State Change CS_DESTROY (Cur 1 Tot 29169)
  520. 2023-05-18 11:13:09.109286 93.60% [DEBUG] switch_core_state_machine.c:745 (sofia/default/88010020) State DESTROY
  521. 2023-05-18 11:13:09.109286 93.60% [DEBUG] mod_sofia.c:379 sofia/default/88010020 SOFIA DESTROY
  522. 2023-05-18 11:13:09.109286 93.60% [DEBUG] switch_core_state_machine.c:175 sofia/default/88010020 Standard DESTROY
  523. 2023-05-18 11:13:09.109286 93.60% [DEBUG] switch_core_state_machine.c:745 (sofia/default/88010020) State DESTROY going to sleep
  524. 2023-05-18 11:13:09.129285 93.60% [DEBUG] switch_core_state_machine.c:168 sofia/default/997989@35.79.219.240 Standard REPORTING, cause: NORMAL_CLEARING
  525. 2023-05-18 11:13:09.129285 93.60% [DEBUG] switch_core_state_machine.c:932 (sofia/default/997989@35.79.219.240) State REPORTING going to sleep
  526. 2023-05-18 11:13:09.129285 93.60% [DEBUG] switch_core_state_machine.c:607 (sofia/default/997989@35.79.219.240) State Change CS_REPORTING -> CS_DESTROY
  527. 2023-05-18 11:13:09.129285 93.60% [DEBUG] switch_core_session.c:1753 Session 29168 (sofia/default/997989@35.79.219.240) Locked, Waiting on external entities
  528. 2023-05-18 11:13:09.129285 93.60% [NOTICE] switch_core_session.c:1771 Session 29168 (sofia/default/997989@35.79.219.240) Ended
  529. 2023-05-18 11:13:09.129285 93.60% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/997989@35.79.219.240 [CS_DESTROY]
  530. 2023-05-18 11:13:09.129285 93.60% [DEBUG] switch_core_state_machine.c:735 (sofia/default/997989@35.79.219.240) Running State Change CS_DESTROY (Cur 0 Tot 29169)
  531. 2023-05-18 11:13:09.129285 93.60% [DEBUG] switch_core_state_machine.c:745 (sofia/default/997989@35.79.219.240) State DESTROY
  532. 2023-05-18 11:13:09.129285 93.60% [DEBUG] mod_sofia.c:379 sofia/default/997989@35.79.219.240 SOFIA DESTROY
  533. 2023-05-18 11:13:09.129285 93.60% [DEBUG] switch_core_state_machine.c:175 sofia/default/997989@35.79.219.240 Standard DESTROY
  534. 2023-05-18 11:13:09.129285 93.60% [DEBUG] switch_core_state_machine.c:745 (sofia/default/997989@35.79.219.240) State DESTROY going to sleep
  535. 2023-05-18 11:13:09.429278 93.60% [DEBUG] switch_scheduler.c:147 Deleting task 30 switch_ivr_schedule_hangup (05102f79-c575-4ba2-9288-4d2866babefd)
  536. freeswitch@ip-172-31-12-241> /exit