From Prashant Kumar, 1 Year ago, written in FreeSWITCH.
- view diff
Embed
  1.  
  2. Type /help <enter> to see a list of commands
  3.  
  4.  
  5.  
  6. +OK log level  [7]
  7. 2022-10-11 13:06:38.333540 89.70% [NOTICE] switch_channel.c:1123 New Channel sofia/default/9348842387@entdemo.astppbilling.org:5064 [e63d7df4-6828-4ce3-a669-ff1047d90c98]
  8. 2022-10-11 13:06:38.333540 89.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9348842387@entdemo.astppbilling.org:5064) Running State Change CS_NEW (Cur 1 Tot 171)
  9. 2022-10-11 13:06:38.333540 89.70% [INFO] sofia.c:10462 sofia/default/9348842387@entdemo.astppbilling.org:5064 receiving invite from 103.240.35.46:5078 version: 1.10.7 -release-19-883d2cb662 64bit call-id: querxbxhuxsfsdk@pk-qa
  10. 2022-10-11 13:06:38.333540 89.70% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0.
  11. 2022-10-11 13:06:38.353619 89.70% [DEBUG] sofia.c:2419 detaching session e63d7df4-6828-4ce3-a669-ff1047d90c98
  12. 2022-10-11 13:06:38.353619 89.70% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [100020@entdemo.astppbilling.org] from ip 103.240.35.46
  13. 2022-10-11 13:06:38.353619 89.70% [DEBUG] switch_core_state_machine.c:600 (sofia/default/9348842387@entdemo.astppbilling.org:5064) State NEW
  14. 2022-10-11 13:06:38.493523 89.70% [DEBUG] sofia.c:2532 Re-attaching to session e63d7df4-6828-4ce3-a669-ff1047d90c98
  15. 2022-10-11 13:06:38.513527 89.70% [INFO] sofia.c:10462 sofia/default/9348842387@entdemo.astppbilling.org:5064 receiving invite from 103.240.35.46:5078 version: 1.10.7 -release-19-883d2cb662 64bit call-id: querxbxhuxsfsdk@pk-qa
  16. 2022-10-11 13:06:38.513527 89.70% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0.
  17. 2022-10-11 13:06:38.513527 89.70% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
  18. 2022-10-11 13:06:38.513527 89.70% [DEBUG] sofia.c:7499 Channel sofia/default/9348842387@entdemo.astppbilling.org:5064 entering state [received][100]
  19. 2022-10-11 13:06:38.513527 89.70% [DEBUG] sofia.c:7509 Remote SDP:
  20. v=0
  21. o=twinkle 188684331 1329761922 IN IP4 192.168.1.51
  22. s=-
  23. c=IN IP4 192.168.1.51
  24. t=0 0
  25. m=audio 8000 RTP/AVP 98 97 8 0 3 101
  26. a=rtpmap:98 speex/16000
  27. a=rtpmap:97 speex/8000
  28. a=rtpmap:8 PCMA/8000
  29. a=rtpmap:0 PCMU/8000
  30. a=rtpmap:3 GSM/8000
  31. a=rtpmap:101 telephone-event/8000
  32. a=fmtp:101 0-15
  33. a=ptime:20
  34.  
  35. 2022-10-11 13:06:38.513527 89.70% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:98:16000:20:0:1]/[PCMA:8:8000:20:64000:1]
  36. 2022-10-11 13:06:38.513527 89.70% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:98:16000:20:0:1]/[PCMU:0:8000:20:64000:1]
  37. 2022-10-11 13:06:38.513527 89.70% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:97:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  38. 2022-10-11 13:06:38.513527 89.70% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:97:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  39. 2022-10-11 13:06:38.513527 89.70% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  40. 2022-10-11 13:06:38.513527 89.70% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  41. 2022-10-11 13:06:38.513527 89.70% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  42. 2022-10-11 13:06:38.513527 89.70% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  43. 2022-10-11 13:06:38.513527 89.70% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  44. 2022-10-11 13:06:38.513527 89.70% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  45. 2022-10-11 13:06:38.513527 89.70% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  46. 2022-10-11 13:06:38.513527 89.70% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  47. 2022-10-11 13:06:38.513527 89.70% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  48. 2022-10-11 13:06:38.513527 89.70% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/9348842387@entdemo.astppbilling.org:5064 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  49. 2022-10-11 13:06:38.513527 89.70% [DEBUG] switch_core_codec.c:111 sofia/default/9348842387@entdemo.astppbilling.org:5064 Original read codec set to PCMA:8
  50. 2022-10-11 13:06:38.513527 89.70% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  51. 2022-10-11 13:06:38.513527 89.70% [DEBUG] switch_core_media.c:5973 sofia/default/9348842387@entdemo.astppbilling.org:5064 Set 2833 dtmf send payload to 101 recv payload to 101
  52. 2022-10-11 13:06:38.513527 89.70% [DEBUG] sofia.c:7933 (sofia/default/9348842387@entdemo.astppbilling.org:5064) State Change CS_NEW -> CS_INIT
  53. 2022-10-11 13:06:38.513527 89.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9348842387@entdemo.astppbilling.org:5064) Running State Change CS_INIT (Cur 1 Tot 171)
  54. 2022-10-11 13:06:38.513527 89.70% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9348842387@entdemo.astppbilling.org:5064) State INIT
  55. 2022-10-11 13:06:38.513527 89.70% [DEBUG] mod_sofia.c:97 sofia/default/9348842387@entdemo.astppbilling.org:5064 SOFIA INIT
  56. 2022-10-11 13:06:38.513527 89.70% [DEBUG] switch_core_state_machine.c:40 sofia/default/9348842387@entdemo.astppbilling.org:5064 Standard INIT
  57. 2022-10-11 13:06:38.513527 89.70% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9348842387@entdemo.astppbilling.org:5064) State Change CS_INIT -> CS_ROUTING
  58. 2022-10-11 13:06:38.513527 89.70% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9348842387@entdemo.astppbilling.org:5064) State INIT going to sleep
  59. 2022-10-11 13:06:38.513527 89.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9348842387@entdemo.astppbilling.org:5064) Running State Change CS_ROUTING (Cur 1 Tot 171)
  60. 2022-10-11 13:06:38.513527 89.70% [DEBUG] switch_channel.c:2380 (sofia/default/9348842387@entdemo.astppbilling.org:5064) Callstate Change DOWN -> RINGING
  61. 2022-10-11 13:06:38.513527 89.70% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9348842387@entdemo.astppbilling.org:5064) State ROUTING
  62. 2022-10-11 13:06:38.513527 89.70% [DEBUG] mod_sofia.c:158 sofia/default/9348842387@entdemo.astppbilling.org:5064 SOFIA ROUTING
  63. 2022-10-11 13:06:38.513527 89.70% [DEBUG] switch_core_state_machine.c:230 sofia/default/9348842387@entdemo.astppbilling.org:5064 Standard ROUTING
  64. 2022-10-11 13:06:38.513527 89.70% [INFO] mod_dialplan_xml.c:639 Processing 9348842387 <9348842387>->100020 in context default
  65. 2022-10-11 13:06:38.553526 89.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  66. 2022-10-11 13:06:38.553526 89.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  67. 2022-10-11 13:06:38.573526 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 100020
  68. 2022-10-11 13:06:38.573526 89.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '100020' AND status=0 limit 1
  69. 2022-10-11 13:06:38.573526 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 9348842387 / 9348842387
  70. 2022-10-11 13:06:38.573526 89.70% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="100020" LIMIT 1
  71. 2022-10-11 13:06:38.573526 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  72. 2022-10-11 13:06:38.573526 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9348842387]
  73. 2022-10-11 13:06:38.573526 89.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9348842387" AND deleted = 0 limit 1
  74. 2022-10-11 13:06:38.573526 89.70% [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 ="100020" AND A.accountid = '15' limit 1
  75. 2022-10-11 13:06:38.573526 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 100020
  76. 2022-10-11 13:06:38.573526 89.70% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="100020" LIMIT 1
  77. 2022-10-11 13:06:38.573526 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call direction : inbound
  78. 2022-10-11 13:06:38.573526 89.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="100020" AND (accountid = 0 OR status = 1) LIMIT 1
  79. 2022-10-11 13:06:38.573526 89.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound
  80. 2022-10-11 13:06:38.573526 89.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :15
  81. 2022-10-11 13:06:38.573526 89.70% [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 (patterns = '^100020.*' OR patterns = '^10002.*' OR patterns = '^1000.*' OR patterns = '^100.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 15 ORDER BY LENGTH(PKGPTR.patterns) DESC
  82. 2022-10-11 13:06:38.573526 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  83. 2022-10-11 13:06:38.573526 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 15
  84. 2022-10-11 13:06:38.573526 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9348842387
  85. 2022-10-11 13:06:38.573526 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 995.8
  86. 2022-10-11 13:06:38.573526 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  87. 2022-10-11 13:06:38.573526 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 4
  88. 2022-10-11 13:06:38.573526 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  89. 2022-10-11 13:06:38.573526 89.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
  90. 2022-10-11 13:06:38.573526 89.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  91. 2022-10-11 13:06:38.573526 89.70% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="100020" LIMIT 1
  92. 2022-10-11 13:06:38.573526 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] call_direction:::::: inbound
  93. 2022-10-11 13:06:38.573526 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  94. 2022-10-11 13:06:38.573526 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  95. 2022-10-11 13:06:38.573526 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  96. 2022-10-11 13:06:38.573526 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  97. 2022-10-11 13:06:38.573526 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  98. 2022-10-11 13:06:38.573526 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] comment : 100020
  99. 2022-10-11 13:06:38.573526 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 85
  100. 2022-10-11 13:06:38.573526 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 15
  101. 2022-10-11 13:06:38.573526 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  102. 2022-10-11 13:06:38.573526 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your995.8 balance Accountid 15 !!!
  103. 2022-10-11 13:06:38.573526 89.70% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 100
  104. 2022-10-11 13:06:38.573526 89.70% [NOTICE] switch_cpp.cpp:1465 [ASTPP] FINDING LIMIT FOR RESELLER: 14
  105. 2022-10-11 13:06:38.573526 89.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "14" AND deleted = 0 limit 1
  106. 2022-10-11 13:06:38.593518 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Reseller Information ===================
  107. 2022-10-11 13:06:38.593518 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 14
  108. 2022-10-11 13:06:38.593518 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 2169940770
  109. 2022-10-11 13:06:38.593518 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 992.9
  110. 2022-10-11 13:06:38.593518 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  111. 2022-10-11 13:06:38.593518 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  112. 2022-10-11 13:06:38.593518 89.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  113. 2022-10-11 13:06:38.593518 89.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  114. 2022-10-11 13:06:38.593518 89.70% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="100020" LIMIT 1
  115. 2022-10-11 13:06:38.593518 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] call_direction:::::: inbound
  116. 2022-10-11 13:06:38.593518 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  117. 2022-10-11 13:06:38.593518 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  118. 2022-10-11 13:06:38.593518 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  119. 2022-10-11 13:06:38.593518 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  120. 2022-10-11 13:06:38.593518 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  121. 2022-10-11 13:06:38.593518 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] comment : 100020
  122. 2022-10-11 13:06:38.593518 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 85
  123. 2022-10-11 13:06:38.593518 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 14
  124. 2022-10-11 13:06:38.593518 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  125. 2022-10-11 13:06:38.593518 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your992.9 balance Accountid 14 !!!
  126. 2022-10-11 13:06:38.593518 89.70% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 100
  127. 2022-10-11 13:06:38.593518 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Reseller xml_user_rates : ID:1|CODE:^100020.*|DESTINATION:100020|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:85|ACCID:15||ID:1|CODE:^100020.*|DESTINATION:100020|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:85|ACCID:15
  128. 2022-10-11 13:06:38.593518 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  129. 2022-10-11 13:06:38.593518 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max length duration : 100 minutes
  130. 2022-10-11 13:06:38.593518 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  131. 2022-10-11 13:06:38.593518 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  132. 2022-10-11 13:06:38.593518 89.70% [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 = 15 AND status=0 LIMIT 1
  133. 2022-10-11 13:06:38.593518 89.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "15" AND deleted = 0 limit 1
  134. 2022-10-11 13:06:38.593518 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:15
  135. 2022-10-11 13:06:38.593518 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:15
  136. 2022-10-11 13:06:38.593518 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [WHILE DID CONDITION] FOR CHECKING RESELLER :14
  137. 2022-10-11 13:06:38.593518 89.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "14" AND deleted = 0 limit 1
  138. 2022-10-11 13:06:38.593518 89.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  139. 2022-10-11 13:06:38.593518 89.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  140. 2022-10-11 13:06:38.593518 89.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^100020.*' OR pattern = '^10002.*' OR pattern = '^1000.*' OR pattern = '^100.*' OR pattern = '^10.*' OR pattern = '^1.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 1 OR accountid=14)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1
  141. 2022-10-11 13:06:38.593518 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] call_direction:::::: outbound
  142. 2022-10-11 13:06:38.593518 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  143. 2022-10-11 13:06:38.593518 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  144. 2022-10-11 13:06:38.593518 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  145. 2022-10-11 13:06:38.593518 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  146. 2022-10-11 13:06:38.593518 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.20000
  147. 2022-10-11 13:06:38.593518 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] comment : USA
  148. 2022-10-11 13:06:38.593518 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
  149. 2022-10-11 13:06:38.593518 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 14
  150. 2022-10-11 13:06:38.593518 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 0
  151. 2022-10-11 13:06:38.593518 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  152. 2022-10-11 13:06:38.593518 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  153. 2022-10-11 13:06:38.593518 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your992.9 balance Accountid 14 !!!
  154. 2022-10-11 13:06:38.593518 89.70% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting call to config max length 100 mins!
  155. 2022-10-11 13:06:38.593518 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:14
  156. 2022-10-11 13:06:38.593518 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 15
  157. 2022-10-11 13:06:38.593518 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] maxlength::::::::: 100
  158. 2022-10-11 13:06:38.593518 89.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_7
  159. 2022-10-11 13:06:38.593518 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [RINGGROUP] Call Type : 7
  160. 2022-10-11 13:06:38.593518 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [RINGGROUP] Call Type : Ring Group
  161. 2022-10-11 13:06:38.593518 89.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET RING GROUP INFO] Query :SELECT id as ringgroup_id,name as ringgroup_name,strategy as ringgroup_strategy,destinations as ringgroup_destinations,description as ringgroup_description from pbx_ringgroup WHERE id = 1 and status = 0 LIMIT 1
  162. 2022-10-11 13:06:38.593518 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Final Count : 0===
  163. 2022-10-11 13:06:38.593518 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Final Count : 0===
  164. 2022-10-11 13:06:38.593518 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] RingGroup Dlr Str : [sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=10,confirm=false,dialed_user=9804893591,leg_timeout=10,leg_delay_start=1]user/9804893591@entdemo.astppbilling.org:5064,[sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=20,confirm=false,dialed_user=5481114598,leg_timeout=20,leg_delay_start=1]user/5481114598@entdemo.astppbilling.org:5064,
  165. 2022-10-11 13:06:38.593518 89.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  166. 2022-10-11 13:06:38.593518 89.70% [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 WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="5481114598" limit 1
  167. 2022-10-11 13:06:38.593518 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] SIP ID : 13
  168. 2022-10-11 13:06:38.593518 89.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 13 limit 1
  169. 2022-10-11 13:06:38.613524 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] Call Forwarding Flag : 1
  170. 2022-10-11 13:06:38.613524 89.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] SIP Call Forwarding Disable
  171. 2022-10-11 13:06:38.613524 89.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  172. <document type="freeswitch/xml">
  173. <section name="dialplan" description="ASTPP Dialplan">
  174. <context name="default">
  175. <extension name="100020">
  176. <condition field="destination_number" expression="100020">
  177. <action application="set" data="effective_destination_number=100020"/>
  178. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  179. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  180. <action application="set" data="callstart=2022-10-11 13:06:37"/>
  181. <action application="set" data="hangup_after_bridge=true"/>
  182. <action application="set" data="continue_on_fail=TRUE"/>
  183. <action application="set" data="account_id=15"/>
  184. <action application="set" data="parent_id=14"/>
  185. <action application="set" data="entity_id=0"/>
  186. <action application="set" data="call_processed=internal"/>
  187. <action application="set" data="call_direction=inbound"/>
  188. <action application="set" data="accountname=default"/>
  189. <action application="set" data="origination_rates_did=ID:1|CODE:^100020.*|DESTINATION:100020|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:85|ACCID:15||ID:1|CODE:^100020.*|DESTINATION:100020|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:85|ACCID:15"/>
  190. <action application="set" data="origination_rates=0||ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:14"/>
  191. <action application="set" data="original_caller_id_name=9348842387"/>
  192. <action application="set" data="original_caller_id_number=9348842387"/>
  193. <action application="set" data="effective_caller_id_name=9348842387"/>
  194. <action application="set" data="effective_caller_id_number=9348842387"/>
  195. <action application="set" data="receiver_accid=15"/>
  196. <action application="export" data="presence_data=x//14|||PK Reseller EntDemo Cust(9348842387)|||^100020.* // 100020 // 0.00000||||||DID"/>
  197. <action application="export" data="call_type=7"/>
  198. <action application="set" data="did_calltype=7"/>
  199. <action application="set" data="did_extensions=1"/>
  200. <action application="set" data="effective_caller_id_name=9348842387"/>
  201. <action application="set" data="effective_caller_id_number=9348842387"/>
  202. <action application="set" data="module_name=ringgroup"/>
  203. <action application="set" data="hangup_after_bridge=true"/>
  204. <action application="bridge" data="{sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=14}[leg_timeout=60 ] user/5481114598@entdemo.astppbilling.org:5064"/>
  205. <action application="set" data="on_busy_flag=1"/>
  206. <action application="set" data="on_busy_destination=0"/>
  207. <action application="set" data="no_answer_flag=1"/>
  208. <action application="set" data="no_answer_destination=0"/>
  209. <action application="set" data="not_register_flag=1"/>
  210. <action application="set" data="not_register_destination=0"/>
  211. <action application="set" data="variable_sip_to_host=entdemo.astppbilling.org"/>
  212. <action application="set" data="variable_sip_to_port=5064"/>
  213. <action application="set" data="leg_timeout=60"/>
  214. <action application="set" data="userinfo_id=14"/>
  215. <action application="set" data="sip_destination_number=5481114598"/>
  216. <action application="set" data="did_number=5481114598"/>
  217. <action application="lua" data="astpp/lib/sip_routing/astpp-sipdevice-routing.lua"/>
  218. </condition>
  219. </extension>
  220. </context>
  221. </section>
  222. </document>
  223. Dialplan: sofia/default/9348842387@entdemo.astppbilling.org:5064 parsing [default->100020] continue=false
  224. Dialplan: sofia/default/9348842387@entdemo.astppbilling.org:5064 Regex (PASS) [100020] destination_number(100020) =~ /100020/ break=on-false
  225. Dialplan: sofia/default/9348842387@entdemo.astppbilling.org:5064 Action set(effective_destination_number=100020)
  226. Dialplan: sofia/default/9348842387@entdemo.astppbilling.org:5064 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  227. Dialplan: sofia/default/9348842387@entdemo.astppbilling.org:5064 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  228. Dialplan: sofia/default/9348842387@entdemo.astppbilling.org:5064 Action set(callstart=2022-10-11 13:06:37)
  229. Dialplan: sofia/default/9348842387@entdemo.astppbilling.org:5064 Action set(hangup_after_bridge=true)
  230. Dialplan: sofia/default/9348842387@entdemo.astppbilling.org:5064 Action set(continue_on_fail=TRUE)
  231. Dialplan: sofia/default/9348842387@entdemo.astppbilling.org:5064 Action set(account_id=15)
  232. Dialplan: sofia/default/9348842387@entdemo.astppbilling.org:5064 Action set(parent_id=14)
  233. Dialplan: sofia/default/9348842387@entdemo.astppbilling.org:5064 Action set(entity_id=0)
  234. Dialplan: sofia/default/9348842387@entdemo.astppbilling.org:5064 Action set(call_processed=internal)
  235. Dialplan: sofia/default/9348842387@entdemo.astppbilling.org:5064 Action set(call_direction=inbound)
  236. Dialplan: sofia/default/9348842387@entdemo.astppbilling.org:5064 Action set(accountname=default)
  237. Dialplan: sofia/default/9348842387@entdemo.astppbilling.org:5064 Action set(origination_rates_did=ID:1|CODE:^100020.*|DESTINATION:100020|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:85|ACCID:15||ID:1|CODE:^100020.*|DESTINATION:100020|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:85|ACCID:15)
  238. Dialplan: sofia/default/9348842387@entdemo.astppbilling.org:5064 Action set(origination_rates=0||ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:14)
  239. Dialplan: sofia/default/9348842387@entdemo.astppbilling.org:5064 Action set(original_caller_id_name=9348842387)
  240. Dialplan: sofia/default/9348842387@entdemo.astppbilling.org:5064 Action set(original_caller_id_number=9348842387)
  241. Dialplan: sofia/default/9348842387@entdemo.astppbilling.org:5064 Action set(effective_caller_id_name=9348842387)
  242. Dialplan: sofia/default/9348842387@entdemo.astppbilling.org:5064 Action set(effective_caller_id_number=9348842387)
  243. Dialplan: sofia/default/9348842387@entdemo.astppbilling.org:5064 Action set(receiver_accid=15)
  244. Dialplan: sofia/default/9348842387@entdemo.astppbilling.org:5064 Action export(presence_data=x//14|||PK Reseller EntDemo Cust(9348842387)|||^100020.* // 100020 // 0.00000||||||DID)
  245. Dialplan: sofia/default/9348842387@entdemo.astppbilling.org:5064 Action export(call_type=7)
  246. Dialplan: sofia/default/9348842387@entdemo.astppbilling.org:5064 Action set(did_calltype=7)
  247. Dialplan: sofia/default/9348842387@entdemo.astppbilling.org:5064 Action set(did_extensions=1)
  248. Dialplan: sofia/default/9348842387@entdemo.astppbilling.org:5064 Action set(effective_caller_id_name=9348842387)
  249. Dialplan: sofia/default/9348842387@entdemo.astppbilling.org:5064 Action set(effective_caller_id_number=9348842387)
  250. Dialplan: sofia/default/9348842387@entdemo.astppbilling.org:5064 Action set(module_name=ringgroup)
  251. Dialplan: sofia/default/9348842387@entdemo.astppbilling.org:5064 Action set(hangup_after_bridge=true)
  252. Dialplan: sofia/default/9348842387@entdemo.astppbilling.org:5064 Action bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=14}[leg_timeout=60 ] user/5481114598@entdemo.astppbilling.org:5064)
  253. Dialplan: sofia/default/9348842387@entdemo.astppbilling.org:5064 Action set(on_busy_flag=1)
  254. Dialplan: sofia/default/9348842387@entdemo.astppbilling.org:5064 Action set(on_busy_destination=0)
  255. Dialplan: sofia/default/9348842387@entdemo.astppbilling.org:5064 Action set(no_answer_flag=1)
  256. Dialplan: sofia/default/9348842387@entdemo.astppbilling.org:5064 Action set(no_answer_destination=0)
  257. Dialplan: sofia/default/9348842387@entdemo.astppbilling.org:5064 Action set(not_register_flag=1)
  258. Dialplan: sofia/default/9348842387@entdemo.astppbilling.org:5064 Action set(not_register_destination=0)
  259. Dialplan: sofia/default/9348842387@entdemo.astppbilling.org:5064 Action set(variable_sip_to_host=entdemo.astppbilling.org)
  260. Dialplan: sofia/default/9348842387@entdemo.astppbilling.org:5064 Action set(variable_sip_to_port=5064)
  261. Dialplan: sofia/default/9348842387@entdemo.astppbilling.org:5064 Action set(leg_timeout=60)
  262. Dialplan: sofia/default/9348842387@entdemo.astppbilling.org:5064 Action set(userinfo_id=14)
  263. Dialplan: sofia/default/9348842387@entdemo.astppbilling.org:5064 Action set(sip_destination_number=5481114598)
  264. Dialplan: sofia/default/9348842387@entdemo.astppbilling.org:5064 Action set(did_number=5481114598)
  265. Dialplan: sofia/default/9348842387@entdemo.astppbilling.org:5064 Action lua(astpp/lib/sip_routing/astpp-sipdevice-routing.lua)
  266. 2022-10-11 13:06:38.613524 89.70% [DEBUG] switch_core_state_machine.c:281 (sofia/default/9348842387@entdemo.astppbilling.org:5064) State Change CS_ROUTING -> CS_EXECUTE
  267. 2022-10-11 13:06:38.613524 89.70% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9348842387@entdemo.astppbilling.org:5064) State ROUTING going to sleep
  268. 2022-10-11 13:06:38.613524 89.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9348842387@entdemo.astppbilling.org:5064) Running State Change CS_EXECUTE (Cur 1 Tot 171)
  269. 2022-10-11 13:06:38.613524 89.70% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9348842387@entdemo.astppbilling.org:5064) State EXECUTE
  270. 2022-10-11 13:06:38.613524 89.70% [DEBUG] mod_sofia.c:213 sofia/default/9348842387@entdemo.astppbilling.org:5064 SOFIA EXECUTE
  271. 2022-10-11 13:06:38.613524 89.70% [DEBUG] switch_core_state_machine.c:323 sofia/default/9348842387@entdemo.astppbilling.org:5064 Standard EXECUTE
  272. EXECUTE [depth=0] sofia/default/9348842387@entdemo.astppbilling.org:5064 set(effective_destination_number=100020)
  273. 2022-10-11 13:06:38.613524 89.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/9348842387@entdemo.astppbilling.org:5064 [effective_destination_number]=[100020]
  274. EXECUTE [depth=0] sofia/default/9348842387@entdemo.astppbilling.org:5064 set(bridge_pre_execute_bleg_app=sched_hangup)
  275. 2022-10-11 13:06:38.613524 89.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/9348842387@entdemo.astppbilling.org:5064 [bridge_pre_execute_bleg_app]=[sched_hangup]
  276. EXECUTE [depth=0] sofia/default/9348842387@entdemo.astppbilling.org:5064 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  277. 2022-10-11 13:06:38.613524 89.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/9348842387@entdemo.astppbilling.org:5064 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  278. EXECUTE [depth=0] sofia/default/9348842387@entdemo.astppbilling.org:5064 set(callstart=2022-10-11 13:06:37)
  279. 2022-10-11 13:06:38.613524 89.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/9348842387@entdemo.astppbilling.org:5064 [callstart]=[2022-10-11 13:06:37]
  280. EXECUTE [depth=0] sofia/default/9348842387@entdemo.astppbilling.org:5064 set(hangup_after_bridge=true)
  281. 2022-10-11 13:06:38.613524 89.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/9348842387@entdemo.astppbilling.org:5064 [hangup_after_bridge]=[true]
  282. EXECUTE [depth=0] sofia/default/9348842387@entdemo.astppbilling.org:5064 set(continue_on_fail=TRUE)
  283. 2022-10-11 13:06:38.613524 89.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/9348842387@entdemo.astppbilling.org:5064 [continue_on_fail]=[TRUE]
  284. EXECUTE [depth=0] sofia/default/9348842387@entdemo.astppbilling.org:5064 set(account_id=15)
  285. 2022-10-11 13:06:38.613524 89.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/9348842387@entdemo.astppbilling.org:5064 [account_id]=[15]
  286. EXECUTE [depth=0] sofia/default/9348842387@entdemo.astppbilling.org:5064 set(parent_id=14)
  287. 2022-10-11 13:06:38.613524 89.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/9348842387@entdemo.astppbilling.org:5064 [parent_id]=[14]
  288. EXECUTE [depth=0] sofia/default/9348842387@entdemo.astppbilling.org:5064 set(entity_id=0)
  289. 2022-10-11 13:06:38.613524 89.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/9348842387@entdemo.astppbilling.org:5064 [entity_id]=[0]
  290. EXECUTE [depth=0] sofia/default/9348842387@entdemo.astppbilling.org:5064 set(call_processed=internal)
  291. 2022-10-11 13:06:38.613524 89.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/9348842387@entdemo.astppbilling.org:5064 [call_processed]=[internal]
  292. EXECUTE [depth=0] sofia/default/9348842387@entdemo.astppbilling.org:5064 set(call_direction=inbound)
  293. 2022-10-11 13:06:38.613524 89.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/9348842387@entdemo.astppbilling.org:5064 [call_direction]=[inbound]
  294. EXECUTE [depth=0] sofia/default/9348842387@entdemo.astppbilling.org:5064 set(accountname=default)
  295. 2022-10-11 13:06:38.613524 89.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/9348842387@entdemo.astppbilling.org:5064 [accountname]=[default]
  296. EXECUTE [depth=0] sofia/default/9348842387@entdemo.astppbilling.org:5064 set(origination_rates_did=ID:1|CODE:^100020.*|DESTINATION:100020|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:85|ACCID:15||ID:1|CODE:^100020.*|DESTINATION:100020|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:85|ACCID:15)
  297. 2022-10-11 13:06:38.613524 89.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/9348842387@entdemo.astppbilling.org:5064 [origination_rates_did]=[ID:1|CODE:^100020.*|DESTINATION:100020|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:85|ACCID:15||ID:1|CODE:^100020.*|DESTINATION:100020|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:85|ACCID:15]
  298. EXECUTE [depth=0] sofia/default/9348842387@entdemo.astppbilling.org:5064 set(origination_rates=0||ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:14)
  299. 2022-10-11 13:06:38.613524 89.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/9348842387@entdemo.astppbilling.org:5064 [origination_rates]=[0||ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:14]
  300. EXECUTE [depth=0] sofia/default/9348842387@entdemo.astppbilling.org:5064 set(original_caller_id_name=9348842387)
  301. 2022-10-11 13:06:38.613524 89.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/9348842387@entdemo.astppbilling.org:5064 [original_caller_id_name]=[9348842387]
  302. EXECUTE [depth=0] sofia/default/9348842387@entdemo.astppbilling.org:5064 set(original_caller_id_number=9348842387)
  303. 2022-10-11 13:06:38.613524 89.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/9348842387@entdemo.astppbilling.org:5064 [original_caller_id_number]=[9348842387]
  304. EXECUTE [depth=0] sofia/default/9348842387@entdemo.astppbilling.org:5064 set(effective_caller_id_name=9348842387)
  305. 2022-10-11 13:06:38.613524 89.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/9348842387@entdemo.astppbilling.org:5064 [effective_caller_id_name]=[9348842387]
  306. EXECUTE [depth=0] sofia/default/9348842387@entdemo.astppbilling.org:5064 set(effective_caller_id_number=9348842387)
  307. 2022-10-11 13:06:38.613524 89.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/9348842387@entdemo.astppbilling.org:5064 [effective_caller_id_number]=[9348842387]
  308. EXECUTE [depth=0] sofia/default/9348842387@entdemo.astppbilling.org:5064 set(receiver_accid=15)
  309. 2022-10-11 13:06:38.613524 89.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/9348842387@entdemo.astppbilling.org:5064 [receiver_accid]=[15]
  310. EXECUTE [depth=0] sofia/default/9348842387@entdemo.astppbilling.org:5064 export(presence_data=x//14|||PK Reseller EntDemo Cust(9348842387)|||^100020.* // 100020 // 0.00000||||||DID)
  311. 2022-10-11 13:06:38.613524 89.70% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x//14|||PK Reseller EntDemo Cust(9348842387)|||^100020.* // 100020 // 0.00000||||||DID]
  312. EXECUTE [depth=0] sofia/default/9348842387@entdemo.astppbilling.org:5064 export(call_type=7)
  313. 2022-10-11 13:06:38.613524 89.70% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[7]
  314. EXECUTE [depth=0] sofia/default/9348842387@entdemo.astppbilling.org:5064 set(did_calltype=7)
  315. 2022-10-11 13:06:38.613524 89.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/9348842387@entdemo.astppbilling.org:5064 [did_calltype]=[7]
  316. EXECUTE [depth=0] sofia/default/9348842387@entdemo.astppbilling.org:5064 set(did_extensions=1)
  317. 2022-10-11 13:06:38.613524 89.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/9348842387@entdemo.astppbilling.org:5064 [did_extensions]=[1]
  318. EXECUTE [depth=0] sofia/default/9348842387@entdemo.astppbilling.org:5064 set(effective_caller_id_name=9348842387)
  319. 2022-10-11 13:06:38.613524 89.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/9348842387@entdemo.astppbilling.org:5064 [effective_caller_id_name]=[9348842387]
  320. EXECUTE [depth=0] sofia/default/9348842387@entdemo.astppbilling.org:5064 set(effective_caller_id_number=9348842387)
  321. 2022-10-11 13:06:38.613524 89.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/9348842387@entdemo.astppbilling.org:5064 [effective_caller_id_number]=[9348842387]
  322. EXECUTE [depth=0] sofia/default/9348842387@entdemo.astppbilling.org:5064 set(module_name=ringgroup)
  323. 2022-10-11 13:06:38.613524 89.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/9348842387@entdemo.astppbilling.org:5064 [module_name]=[ringgroup]
  324. EXECUTE [depth=0] sofia/default/9348842387@entdemo.astppbilling.org:5064 set(hangup_after_bridge=true)
  325. 2022-10-11 13:06:38.613524 89.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/9348842387@entdemo.astppbilling.org:5064 [hangup_after_bridge]=[true]
  326. EXECUTE [depth=0] sofia/default/9348842387@entdemo.astppbilling.org:5064 bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=14}[leg_timeout=60 ] user/5481114598@entdemo.astppbilling.org:5064)
  327. 2022-10-11 13:06:38.613524 89.70% [DEBUG] switch_channel.c:1269 sofia/default/9348842387@entdemo.astppbilling.org:5064 EXPORTING[export_vars] [presence_data]=[x//14|||PK Reseller EntDemo Cust(9348842387)|||^100020.* // 100020 // 0.00000||||||DID] to event
  328. 2022-10-11 13:06:38.613524 89.70% [DEBUG] switch_channel.c:1269 sofia/default/9348842387@entdemo.astppbilling.org:5064 EXPORTING[export_vars] [call_type]=[7] to event
  329. 2022-10-11 13:06:38.613524 89.70% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  330. 2022-10-11 13:06:38.613524 89.70% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  331. 2022-10-11 13:06:38.633523 89.70% [DEBUG] switch_channel.c:1269 sofia/default/9348842387@entdemo.astppbilling.org:5064 EXPORTING[export_vars] [presence_data]=[x//14|||PK Reseller EntDemo Cust(9348842387)|||^100020.* // 100020 // 0.00000||||||DID] to event
  332. 2022-10-11 13:06:38.633523 89.70% [DEBUG] switch_channel.c:1269 sofia/default/9348842387@entdemo.astppbilling.org:5064 EXPORTING[export_vars] [call_type]=[7] to event
  333. 2022-10-11 13:06:38.633523 89.70% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  334. 2022-10-11 13:06:38.633523 89.70% [NOTICE] switch_channel.c:1123 New Channel sofia/default/5481114598@49.34.66.81:43518 [44915b31-377e-4b92-b2e1-374af1fffa4f]
  335. 2022-10-11 13:06:38.633523 89.70% [DEBUG] mod_sofia.c:5121 (sofia/default/5481114598@49.34.66.81:43518) State Change CS_NEW -> CS_INIT
  336. 2022-10-11 13:06:38.633523 89.70% [DEBUG] switch_ivr_originate.c:3151 sofia/default/5481114598@49.34.66.81:43518 Setting leg timeout to 60
  337. 2022-10-11 13:06:38.633523 89.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5481114598@49.34.66.81:43518) Running State Change CS_INIT (Cur 2 Tot 172)
  338. 2022-10-11 13:06:38.633523 89.70% [DEBUG] switch_core_state_machine.c:624 (sofia/default/5481114598@49.34.66.81:43518) State INIT
  339. 2022-10-11 13:06:38.633523 89.70% [DEBUG] mod_sofia.c:97 sofia/default/5481114598@49.34.66.81:43518 SOFIA INIT
  340. 2022-10-11 13:06:38.633523 89.70% [DEBUG] sofia_glue.c:1620 sip:5481114598@49.34.66.81:51465;transport=TCP;rinstance=7b8e9e9a52e319e6 Setting proxy route to sofia/default/5481114598@49.34.66.81:43518
  341. 2022-10-11 13:06:38.633523 89.70% [INFO] sofia_glue.c:1651 sofia/default/5481114598@49.34.66.81:43518 sending invite call-id: (null)
  342. 2022-10-11 13:06:38.633523 89.70% [DEBUG] sofia_glue.c:1654 sofia/default/5481114598@49.34.66.81:43518 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
  343. Local SDP:
  344. v=0
  345. o=FreeSWITCH 1665475980 1665475981 IN IP4 46.101.114.158
  346. s=FreeSWITCH
  347. c=IN IP4 46.101.114.158
  348. t=0 0
  349. m=audio 17618 RTP/AVP 8 101
  350. a=rtpmap:8 PCMA/8000
  351. a=rtpmap:101 telephone-event/8000
  352. a=fmtp:101 0-15
  353. a=ptime:20
  354. a=sendrecv
  355.  
  356. 2022-10-11 13:06:38.633523 89.70% [DEBUG] switch_core_state_machine.c:40 sofia/default/5481114598@49.34.66.81:43518 Standard INIT
  357. 2022-10-11 13:06:38.633523 89.70% [DEBUG] switch_core_state_machine.c:48 (sofia/default/5481114598@49.34.66.81:43518) State Change CS_INIT -> CS_ROUTING
  358. 2022-10-11 13:06:38.633523 89.70% [DEBUG] switch_core_state_machine.c:624 (sofia/default/5481114598@49.34.66.81:43518) State INIT going to sleep
  359. 2022-10-11 13:06:38.633523 89.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5481114598@49.34.66.81:43518) Running State Change CS_ROUTING (Cur 2 Tot 172)
  360. 2022-10-11 13:06:38.633523 89.70% [DEBUG] sofia.c:7499 Channel sofia/default/5481114598@49.34.66.81:43518 entering state [calling][0]
  361. 2022-10-11 13:06:38.633523 89.70% [DEBUG] switch_core_state_machine.c:640 (sofia/default/5481114598@49.34.66.81:43518) State ROUTING
  362. 2022-10-11 13:06:38.633523 89.70% [DEBUG] mod_sofia.c:158 sofia/default/5481114598@49.34.66.81:43518 SOFIA ROUTING
  363. 2022-10-11 13:06:38.633523 89.70% [DEBUG] switch_ivr_originate.c:67 (sofia/default/5481114598@49.34.66.81:43518) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  364. 2022-10-11 13:06:38.633523 89.70% [DEBUG] switch_core_state_machine.c:640 (sofia/default/5481114598@49.34.66.81:43518) State ROUTING going to sleep
  365. 2022-10-11 13:06:38.633523 89.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5481114598@49.34.66.81:43518) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 172)
  366. 2022-10-11 13:06:38.633523 89.70% [DEBUG] switch_core_state_machine.c:659 (sofia/default/5481114598@49.34.66.81:43518) State CONSUME_MEDIA
  367. 2022-10-11 13:06:38.633523 89.70% [DEBUG] switch_core_state_machine.c:659 (sofia/default/5481114598@49.34.66.81:43518) State CONSUME_MEDIA going to sleep
  368. 2022-10-11 13:06:39.453525 90.10% [DEBUG] sofia.c:7499 Channel sofia/default/5481114598@49.34.66.81:43518 entering state [proceeding][180]
  369. 2022-10-11 13:06:39.453525 90.10% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/5481114598@49.34.66.81:43518!
  370. 2022-10-11 13:06:39.453525 90.10% [DEBUG] switch_channel.c:3494 (sofia/default/5481114598@49.34.66.81:43518) Callstate Change DOWN -> RINGING
  371. 2022-10-11 13:06:39.453525 90.10% [NOTICE] mod_sofia.c:2515 Ring-Ready sofia/default/9348842387@entdemo.astppbilling.org:5064!
  372. 2022-10-11 13:06:39.453525 90.10% [DEBUG] sofia.c:7499 Channel sofia/default/9348842387@entdemo.astppbilling.org:5064 entering state [early][180]
  373. 2022-10-11 13:06:39.453525 90.10% [NOTICE] switch_ivr_originate.c:565 Ring Ready sofia/default/9348842387@entdemo.astppbilling.org:5064!
  374. 2022-10-11 13:06:44.993525 93.27% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [9804893591@entdemo.astppbilling.org] from ip 103.240.35.46
  375. 2022-10-11 13:06:45.153538 93.27% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [8918403149@entdemo.astppbilling.org] from ip 103.240.35.46
  376. 2022-10-11 13:06:45.173533 93.27% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [9846029962@entdemo.astppbilling.org] from ip 103.240.35.46
  377. 2022-10-11 13:06:45.213581 93.27% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  378. 2022-10-11 13:06:45.693535 93.37% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [9804893591@entdemo.astppbilling.org] from ip 103.240.35.46
  379. 2022-10-11 13:06:45.773545 93.37% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  380. 2022-10-11 13:06:45.793554 93.37% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [8918403149@entdemo.astppbilling.org] from ip 103.240.35.46
  381. 2022-10-11 13:06:45.853561 93.37% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [9846029962@entdemo.astppbilling.org] from ip 103.240.35.46
  382. 2022-10-11 13:06:50.853541 93.33% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  383. 2022-10-11 13:06:51.553551 93.60% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  384. 2022-10-11 13:06:55.673541 96.67% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  385. 2022-10-11 13:06:56.593523 97.03% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  386. 2022-10-11 13:06:56.733531 97.03% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  387. 2022-10-11 13:06:57.413517 96.83% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  388. 2022-10-11 13:07:06.913532 95.63% [DEBUG] sofia.c:7499 Channel sofia/default/9348842387@entdemo.astppbilling.org:5064 entering state [terminated][487]
  389. 2022-10-11 13:07:06.913532 95.63% [NOTICE] sofia.c:8738 Hangup sofia/default/9348842387@entdemo.astppbilling.org:5064 [CS_EXECUTE] [ORIGINATOR_CANCEL]
  390. 2022-10-11 13:07:06.933532 95.63% [NOTICE] switch_ivr_originate.c:3799 Hangup sofia/default/5481114598@49.34.66.81:43518 [CS_CONSUME_MEDIA] [ORIGINATOR_CANCEL]
  391. 2022-10-11 13:07:06.933532 95.63% [DEBUG] switch_ivr_originate.c:4024 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL]
  392. 2022-10-11 13:07:06.933532 95.63% [NOTICE] switch_ivr_originate.c:3039 Cannot create outgoing channel of type [user] cause: [ORIGINATOR_CANCEL]
  393. 2022-10-11 13:07:06.933532 95.63% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 487 [ORIGINATOR_CANCEL]
  394. 2022-10-11 13:07:06.933532 95.63% [INFO] mod_dptools.c:3653 Originate Failed.  Cause: ORIGINATOR_CANCEL
  395. 2022-10-11 13:07:06.933532 95.63% [DEBUG] switch_core_session.c:2983 sofia/default/9348842387@entdemo.astppbilling.org:5064 skip receive message [PHONE_EVENT] (channel is hungup already)
  396. 2022-10-11 13:07:06.933532 95.63% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9348842387@entdemo.astppbilling.org:5064) State EXECUTE going to sleep
  397. 2022-10-11 13:07:06.933532 95.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9348842387@entdemo.astppbilling.org:5064) Running State Change CS_HANGUP (Cur 2 Tot 172)
  398. 2022-10-11 13:07:06.933532 95.63% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9348842387@entdemo.astppbilling.org:5064) Callstate Change RINGING -> HANGUP
  399. 2022-10-11 13:07:06.933532 95.63% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9348842387@entdemo.astppbilling.org:5064) State HANGUP
  400. 2022-10-11 13:07:06.933532 95.63% [DEBUG] mod_sofia.c:468 Channel sofia/default/9348842387@entdemo.astppbilling.org:5064 hanging up, cause: ORIGINATOR_CANCEL
  401. 2022-10-11 13:07:06.933532 95.63% [DEBUG] switch_core_state_machine.c:59 sofia/default/9348842387@entdemo.astppbilling.org:5064 Standard HANGUP, cause: ORIGINATOR_CANCEL
  402. 2022-10-11 13:07:06.933532 95.63% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9348842387@entdemo.astppbilling.org:5064) State HANGUP going to sleep
  403. 2022-10-11 13:07:06.933532 95.63% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9348842387@entdemo.astppbilling.org:5064) State Change CS_HANGUP -> CS_REPORTING
  404. 2022-10-11 13:07:06.933532 95.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9348842387@entdemo.astppbilling.org:5064) Running State Change CS_REPORTING (Cur 2 Tot 172)
  405. 2022-10-11 13:07:06.933532 95.63% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9348842387@entdemo.astppbilling.org:5064) State REPORTING
  406. 2022-10-11 13:07:06.933532 95.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5481114598@49.34.66.81:43518) Running State Change CS_HANGUP (Cur 2 Tot 172)
  407. 2022-10-11 13:07:06.933532 95.63% [DEBUG] switch_core_state_machine.c:844 (sofia/default/5481114598@49.34.66.81:43518) Callstate Change RINGING -> HANGUP
  408. 2022-10-11 13:07:06.933532 95.63% [DEBUG] switch_core_state_machine.c:846 (sofia/default/5481114598@49.34.66.81:43518) State HANGUP
  409. 2022-10-11 13:07:06.933532 95.63% [DEBUG] mod_sofia.c:462 sofia/default/5481114598@49.34.66.81:43518 Overriding SIP cause 487 with 487 from the other leg
  410. 2022-10-11 13:07:06.933532 95.63% [DEBUG] mod_sofia.c:468 Channel sofia/default/5481114598@49.34.66.81:43518 hanging up, cause: ORIGINATOR_CANCEL
  411. 2022-10-11 13:07:06.933532 95.63% [DEBUG] mod_sofia.c:536 Sending CANCEL to sofia/default/5481114598@49.34.66.81:43518
  412. 2022-10-11 13:07:06.933532 95.63% [DEBUG] switch_core_state_machine.c:59 sofia/default/5481114598@49.34.66.81:43518 Standard HANGUP, cause: ORIGINATOR_CANCEL
  413. 2022-10-11 13:07:06.933532 95.63% [DEBUG] switch_core_state_machine.c:846 (sofia/default/5481114598@49.34.66.81:43518) State HANGUP going to sleep
  414. 2022-10-11 13:07:06.933532 95.63% [DEBUG] switch_core_state_machine.c:616 (sofia/default/5481114598@49.34.66.81:43518) State Change CS_HANGUP -> CS_REPORTING
  415. 2022-10-11 13:07:06.933532 95.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5481114598@49.34.66.81:43518) Running State Change CS_REPORTING (Cur 2 Tot 172)
  416. 2022-10-11 13:07:06.933532 95.63% [DEBUG] switch_core_state_machine.c:932 (sofia/default/5481114598@49.34.66.81:43518) State REPORTING
  417. 2022-10-11 13:07:06.933532 95.63% [INFO] mod_json_cdr.c:271 Process [44915b31-377e-4b92-b2e1-374af1fffa4f.cdr.json]
  418. 2022-10-11 13:07:06.933532 95.63% [INFO] mod_json_cdr.c:271 Process [e63d7df4-6828-4ce3-a669-ff1047d90c98.cdr.json]
  419. 2022-10-11 13:07:06.953528 95.63% [DEBUG] switch_core_state_machine.c:168 sofia/default/5481114598@49.34.66.81:43518 Standard REPORTING, cause: ORIGINATOR_CANCEL
  420. 2022-10-11 13:07:06.953528 95.63% [DEBUG] switch_core_state_machine.c:932 (sofia/default/5481114598@49.34.66.81:43518) State REPORTING going to sleep
  421. 2022-10-11 13:07:06.953528 95.63% [DEBUG] switch_core_state_machine.c:607 (sofia/default/5481114598@49.34.66.81:43518) State Change CS_REPORTING -> CS_DESTROY
  422. 2022-10-11 13:07:06.953528 95.63% [DEBUG] switch_core_session.c:1753 Session 172 (sofia/default/5481114598@49.34.66.81:43518) Locked, Waiting on external entities
  423. 2022-10-11 13:07:06.953528 95.63% [NOTICE] switch_core_session.c:1771 Session 172 (sofia/default/5481114598@49.34.66.81:43518) Ended
  424. 2022-10-11 13:07:06.953528 95.63% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/5481114598@49.34.66.81:43518 [CS_DESTROY]
  425. 2022-10-11 13:07:06.953528 95.63% [DEBUG] switch_core_state_machine.c:735 (sofia/default/5481114598@49.34.66.81:43518) Running State Change CS_DESTROY (Cur 1 Tot 172)
  426. 2022-10-11 13:07:06.953528 95.63% [DEBUG] switch_core_state_machine.c:745 (sofia/default/5481114598@49.34.66.81:43518) State DESTROY
  427. 2022-10-11 13:07:06.953528 95.63% [DEBUG] mod_sofia.c:379 sofia/default/5481114598@49.34.66.81:43518 SOFIA DESTROY
  428. 2022-10-11 13:07:06.953528 95.63% [DEBUG] switch_core_state_machine.c:175 sofia/default/5481114598@49.34.66.81:43518 Standard DESTROY
  429. 2022-10-11 13:07:06.953528 95.63% [DEBUG] switch_core_state_machine.c:745 (sofia/default/5481114598@49.34.66.81:43518) State DESTROY going to sleep
  430. 2022-10-11 13:07:06.973524 95.63% [DEBUG] switch_core_state_machine.c:168 sofia/default/9348842387@entdemo.astppbilling.org:5064 Standard REPORTING, cause: ORIGINATOR_CANCEL
  431. 2022-10-11 13:07:06.973524 95.63% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9348842387@entdemo.astppbilling.org:5064) State REPORTING going to sleep
  432. 2022-10-11 13:07:06.973524 95.63% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9348842387@entdemo.astppbilling.org:5064) State Change CS_REPORTING -> CS_DESTROY
  433. 2022-10-11 13:07:06.973524 95.63% [DEBUG] switch_core_session.c:1753 Session 171 (sofia/default/9348842387@entdemo.astppbilling.org:5064) Locked, Waiting on external entities
  434. 2022-10-11 13:07:06.973524 95.63% [NOTICE] switch_core_session.c:1771 Session 171 (sofia/default/9348842387@entdemo.astppbilling.org:5064) Ended
  435. 2022-10-11 13:07:06.973524 95.63% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/9348842387@entdemo.astppbilling.org:5064 [CS_DESTROY]
  436. 2022-10-11 13:07:06.973524 95.63% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9348842387@entdemo.astppbilling.org:5064) Running State Change CS_DESTROY (Cur 0 Tot 172)
  437. 2022-10-11 13:07:06.973524 95.63% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9348842387@entdemo.astppbilling.org:5064) State DESTROY
  438. 2022-10-11 13:07:06.973524 95.63% [DEBUG] mod_sofia.c:379 sofia/default/9348842387@entdemo.astppbilling.org:5064 SOFIA DESTROY
  439. 2022-10-11 13:07:06.973524 95.63% [DEBUG] switch_core_state_machine.c:175 sofia/default/9348842387@entdemo.astppbilling.org:5064 Standard DESTROY
  440. 2022-10-11 13:07:06.973524 95.63% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9348842387@entdemo.astppbilling.org:5064) State DESTROY going to sleep
  441. 2022-10-11 13:07:07.893523 95.47% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  442. 2022-10-11 13:07:08.493527 95.43% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  443. 2022-10-11 13:07:15.213518 95.20% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [9804893591@entdemo.astppbilling.org] from ip 103.240.35.46
  444. 2022-10-11 13:07:15.373541 95.23% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [8918403149@entdemo.astppbilling.org] from ip 103.240.35.46
  445. 2022-10-11 13:07:15.393525 95.23% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [9846029962@entdemo.astppbilling.org] from ip 103.240.35.46
  446. 2022-10-11 13:07:15.913531 95.23% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [9804893591@entdemo.astppbilling.org] from ip 103.240.35.46
  447. 2022-10-11 13:07:15.913531 95.23% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [8918403149@entdemo.astppbilling.org] from ip 103.240.35.46
  448. 2022-10-11 13:07:16.093521 95.23% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [9846029962@entdemo.astppbilling.org] from ip 103.240.35.46
  449. 2022-10-11 13:07:17.353527 95.27% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  450. 2022-10-11 13:07:17.853549 95.27% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  451. 2022-10-11 13:07:28.013529 95.43% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  452. 2022-10-11 13:07:28.693529 95.47% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  453. 2022-10-11 13:07:29.493553 95.43% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  454. 2022-10-11 13:07:30.173545 95.43% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  455. 2022-10-11 13:07:45.513527 96.83% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [9804893591@entdemo.astppbilling.org] from ip 103.240.35.46
  456. 2022-10-11 13:07:45.673542 96.83% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [8918403149@entdemo.astppbilling.org] from ip 103.240.35.46
  457. 2022-10-11 13:07:45.673542 96.83% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [9846029962@entdemo.astppbilling.org] from ip 103.240.35.46
  458. 2022-10-11 13:07:46.153557 96.83% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [9804893591@entdemo.astppbilling.org] from ip 103.240.35.46
  459. 2022-10-11 13:07:46.193536 96.83% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [8918403149@entdemo.astppbilling.org] from ip 103.240.35.46
  460. 2022-10-11 13:07:46.313540 96.73% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [9846029962@entdemo.astppbilling.org] from ip 103.240.35.46
  461. 2022-10-11 13:07:49.453523 95.83% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  462. 2022-10-11 13:07:49.993523 95.83% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  463. 2022-10-11 13:07:51.133538 94.77% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  464. 2022-10-11 13:07:51.693521 94.13% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  465. 2022-10-11 13:07:56.613532 93.03% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  466. 2022-10-11 13:07:57.193528 93.03% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  467. 2022-10-11 13:08:00.353536 92.97% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  468. 2022-10-11 13:08:00.893536 92.97% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  469. 2022-10-11 13:08:01.773540 92.60% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  470. 2022-10-11 13:08:02.353550 91.97% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  471. 2022-10-11 13:08:08.233525 89.37% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  472. 2022-10-11 13:08:08.873553 88.83% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  473. 2022-10-11 13:08:15.713531 88.60% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [9804893591@entdemo.astppbilling.org] from ip 103.240.35.46
  474. 2022-10-11 13:08:15.873535 88.60% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [8918403149@entdemo.astppbilling.org] from ip 103.240.35.46
  475. 2022-10-11 13:08:15.893526 88.60% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [9846029962@entdemo.astppbilling.org] from ip 103.240.35.46
  476. 2022-10-11 13:08:16.413520 88.70% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [9804893591@entdemo.astppbilling.org] from ip 103.240.35.46
  477. 2022-10-11 13:08:16.513527 88.70% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [8918403149@entdemo.astppbilling.org] from ip 103.240.35.46
  478. 2022-10-11 13:08:16.573530 88.70% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [9846029962@entdemo.astppbilling.org] from ip 103.240.35.46
  479. 2022-10-11 13:08:21.553530 90.67% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  480. 2022-10-11 13:08:22.113538 90.67% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  481. 2022-10-11 13:08:32.713536 88.97% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  482. 2022-10-11 13:08:33.353552 89.87% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  483. 2022-10-11 13:08:34.093537 89.87% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  484. 2022-10-11 13:08:34.673533 89.03% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  485. 2022-10-11 13:08:46.033546 91.23% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [9804893591@entdemo.astppbilling.org] from ip 103.240.35.46
  486. 2022-10-11 13:08:46.193529 91.23% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [8918403149@entdemo.astppbilling.org] from ip 103.240.35.46
  487. 2022-10-11 13:08:46.193529 91.23% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [9846029962@entdemo.astppbilling.org] from ip 103.240.35.46
  488. 2022-10-11 13:08:46.673520 91.17% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [9804893591@entdemo.astppbilling.org] from ip 103.240.35.46
  489. 2022-10-11 13:08:46.713547 91.17% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [8918403149@entdemo.astppbilling.org] from ip 103.240.35.46
  490. 2022-10-11 13:08:46.853521 91.17% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [9846029962@entdemo.astppbilling.org] from ip 103.240.35.46
  491. 2022-10-11 13:08:51.473538 91.67% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  492. 2022-10-11 13:08:52.153527 91.67% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  493. 2022-10-11 13:08:53.693526 91.70% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  494. 2022-10-11 13:08:54.293526 91.27% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  495. 2022-10-11 13:08:56.633603 91.60% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  496. 2022-10-11 13:08:57.253537 91.60% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  497. 2022-10-11 13:09:05.073528 94.03% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  498. 2022-10-11 13:09:05.673524 94.17% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  499. 2022-10-11 13:09:06.493604 94.27% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  500. 2022-10-11 13:09:07.093552 94.27% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  501. 2022-10-11 13:09:08.733550 94.10% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  502. 2022-10-11 13:09:09.293540 94.03% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  503. 2022-10-11 13:09:16.313527 94.30% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [9804893591@entdemo.astppbilling.org] from ip 103.240.35.46
  504. 2022-10-11 13:09:16.473547 94.30% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [8918403149@entdemo.astppbilling.org] from ip 103.240.35.46
  505. 2022-10-11 13:09:16.473547 94.30% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [9846029962@entdemo.astppbilling.org] from ip 103.240.35.46
  506. 2022-10-11 13:09:16.913524 94.30% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [9804893591@entdemo.astppbilling.org] from ip 103.240.35.46
  507. 2022-10-11 13:09:16.993552 94.30% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [8918403149@entdemo.astppbilling.org] from ip 103.240.35.46
  508. 2022-10-11 13:09:17.173543 94.30% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [9846029962@entdemo.astppbilling.org] from ip 103.240.35.46
  509. 2022-10-11 13:09:25.813543 94.93% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  510. 2022-10-11 13:09:26.353560 94.90% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  511. 2022-10-11 13:09:37.333541 97.90% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  512. 2022-10-11 13:09:37.933554 97.90% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  513. 2022-10-11 13:09:38.593538 97.80% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  514. 2022-10-11 13:09:39.153545 97.80% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  515. 2022-10-11 13:09:46.633524 97.87% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [9804893591@entdemo.astppbilling.org] from ip 103.240.35.46
  516. 2022-10-11 13:09:46.793536 97.87% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [8918403149@entdemo.astppbilling.org] from ip 103.240.35.46
  517. 2022-10-11 13:09:46.813537 97.87% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [9846029962@entdemo.astppbilling.org] from ip 103.240.35.46
  518. 2022-10-11 13:09:47.273552 97.93% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [9804893591@entdemo.astppbilling.org] from ip 103.240.35.46
  519. 2022-10-11 13:09:47.333522 97.93% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [8918403149@entdemo.astppbilling.org] from ip 103.240.35.46
  520. 2022-10-11 13:09:47.453740 97.93% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [9846029962@entdemo.astppbilling.org] from ip 103.240.35.46
  521. 2022-10-11 13:09:51.753523 97.97% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  522. 2022-10-11 13:09:52.353527 97.80% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  523. 2022-10-11 13:09:56.793532 97.83% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  524. 2022-10-11 13:09:57.353545 97.23% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  525. 2022-10-11 13:09:58.093530 97.23% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  526. 2022-10-11 13:09:58.593548 97.07% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  527. 2022-10-11 13:10:03.173533 97.07% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  528. 2022-10-11 13:10:03.173533 97.07% [NOTICE] switch_channel.c:1123 New Channel sofia/default/1000000@46.101.114.158:5064 [73a8ad49-abfe-4bdc-a3cc-5e4d36b3322b]
  529. 2022-10-11 13:10:03.173533 97.07% [DEBUG] mod_sofia.c:5121 (sofia/default/1000000@46.101.114.158:5064) State Change CS_NEW -> CS_INIT
  530. 2022-10-11 13:10:03.193527 97.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000000@46.101.114.158:5064) Running State Change CS_INIT (Cur 1 Tot 173)
  531. 2022-10-11 13:10:03.193527 97.07% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1000000@46.101.114.158:5064) State INIT
  532. 2022-10-11 13:10:03.193527 97.07% [DEBUG] mod_sofia.c:97 sofia/default/1000000@46.101.114.158:5064 SOFIA INIT
  533. 2022-10-11 13:10:03.193527 97.07% [INFO] sofia_glue.c:1651 sofia/default/1000000@46.101.114.158:5064 sending invite call-id: (null)
  534. 2022-10-11 13:10:03.193527 97.07% [DEBUG] sofia_glue.c:1654 sofia/default/1000000@46.101.114.158:5064 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
  535. Local SDP:
  536. v=0
  537. o=FreeSWITCH 1665476443 1665476444 IN IP4 46.101.114.158
  538. s=FreeSWITCH
  539. c=IN IP4 46.101.114.158
  540. t=0 0
  541. m=audio 17360 RTP/AVP 8 0 101
  542. a=rtpmap:8 PCMA/8000
  543. a=rtpmap:0 PCMU/8000
  544. a=rtpmap:101 telephone-event/8000
  545. a=fmtp:101 0-15
  546. a=ptime:20
  547. a=sendrecv
  548.  
  549. 2022-10-11 13:10:03.193527 97.07% [DEBUG] switch_core_state_machine.c:40 sofia/default/1000000@46.101.114.158:5064 Standard INIT
  550. 2022-10-11 13:10:03.193527 97.07% [DEBUG] switch_core_state_machine.c:48 (sofia/default/1000000@46.101.114.158:5064) State Change CS_INIT -> CS_ROUTING
  551. 2022-10-11 13:10:03.193527 97.07% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1000000@46.101.114.158:5064) State INIT going to sleep
  552. 2022-10-11 13:10:03.193527 97.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000000@46.101.114.158:5064) Running State Change CS_ROUTING (Cur 1 Tot 173)
  553. 2022-10-11 13:10:03.193527 97.07% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1000000@46.101.114.158:5064) State ROUTING
  554. 2022-10-11 13:10:03.193527 97.07% [DEBUG] mod_sofia.c:158 sofia/default/1000000@46.101.114.158:5064 SOFIA ROUTING
  555. 2022-10-11 13:10:03.193527 97.07% [DEBUG] switch_ivr_originate.c:67 (sofia/default/1000000@46.101.114.158:5064) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  556. 2022-10-11 13:10:03.193527 97.07% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1000000@46.101.114.158:5064) State ROUTING going to sleep
  557. 2022-10-11 13:10:03.193527 97.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000000@46.101.114.158:5064) Running State Change CS_CONSUME_MEDIA (Cur 1 Tot 173)
  558. 2022-10-11 13:10:03.193527 97.07% [DEBUG] switch_core_state_machine.c:659 (sofia/default/1000000@46.101.114.158:5064) State CONSUME_MEDIA
  559. 2022-10-11 13:10:03.193527 97.07% [DEBUG] switch_core_state_machine.c:659 (sofia/default/1000000@46.101.114.158:5064) State CONSUME_MEDIA going to sleep
  560. 2022-10-11 13:10:03.193527 97.07% [DEBUG] sofia.c:7499 Channel sofia/default/1000000@46.101.114.158:5064 entering state [calling][0]
  561. 2022-10-11 13:10:03.193527 97.07% [NOTICE] switch_channel.c:1123 New Channel sofia/default/1000000@46.101.114.158 [4cd83260-94e0-40d2-9ec6-076a00a545be]
  562. 2022-10-11 13:10:03.193527 97.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000000@46.101.114.158) Running State Change CS_NEW (Cur 2 Tot 174)
  563. 2022-10-11 13:10:03.193527 97.07% [INFO] sofia.c:10462 sofia/default/1000000@46.101.114.158 receiving invite from 46.101.114.158:5064 version: 1.10.7 -release-19-883d2cb662 64bit call-id: db6abe03-c408-123b-8ea3-ba05d31eb9f9
  564. 2022-10-11 13:10:03.193527 97.07% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 46.101.114.158:0.
  565. 2022-10-11 13:10:03.193527 97.07% [DEBUG] sofia.c:7499 Channel sofia/default/1000000@46.101.114.158 entering state [received][100]
  566. 2022-10-11 13:10:03.193527 97.07% [DEBUG] sofia.c:7509 Remote SDP:
  567. v=0
  568. o=FreeSWITCH 1665476443 1665476444 IN IP4 46.101.114.158
  569. s=FreeSWITCH
  570. c=IN IP4 46.101.114.158
  571. t=0 0
  572. m=audio 17360 RTP/AVP 8 0 101
  573. a=rtpmap:8 PCMA/8000
  574. a=rtpmap:0 PCMU/8000
  575. a=rtpmap:101 telephone-event/8000
  576. a=fmtp:101 0-15
  577. a=ptime:20
  578.  
  579. 2022-10-11 13:10:03.193527 97.07% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  580. 2022-10-11 13:10:03.193527 97.07% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  581. 2022-10-11 13:10:03.193527 97.07% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  582. 2022-10-11 13:10:03.193527 97.07% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  583. 2022-10-11 13:10:03.193527 97.07% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  584. 2022-10-11 13:10:03.193527 97.07% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  585. 2022-10-11 13:10:03.193527 97.07% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  586. 2022-10-11 13:10:03.193527 97.07% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/1000000@46.101.114.158 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  587. 2022-10-11 13:10:03.193527 97.07% [DEBUG] switch_core_codec.c:111 sofia/default/1000000@46.101.114.158 Original read codec set to PCMA:8
  588. 2022-10-11 13:10:03.193527 97.07% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  589. 2022-10-11 13:10:03.193527 97.07% [DEBUG] switch_core_media.c:5973 sofia/default/1000000@46.101.114.158 Set 2833 dtmf send payload to 101 recv payload to 101
  590. 2022-10-11 13:10:03.193527 97.07% [DEBUG] sofia.c:7933 (sofia/default/1000000@46.101.114.158) State Change CS_NEW -> CS_INIT
  591. 2022-10-11 13:10:03.193527 97.07% [DEBUG] switch_core_state_machine.c:600 (sofia/default/1000000@46.101.114.158) State NEW
  592. 2022-10-11 13:10:03.193527 97.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000000@46.101.114.158) Running State Change CS_INIT (Cur 2 Tot 174)
  593. 2022-10-11 13:10:03.193527 97.07% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1000000@46.101.114.158) State INIT
  594. 2022-10-11 13:10:03.193527 97.07% [DEBUG] mod_sofia.c:97 sofia/default/1000000@46.101.114.158 SOFIA INIT
  595. 2022-10-11 13:10:03.193527 97.07% [DEBUG] switch_core_state_machine.c:40 sofia/default/1000000@46.101.114.158 Standard INIT
  596. 2022-10-11 13:10:03.193527 97.07% [DEBUG] switch_core_state_machine.c:48 (sofia/default/1000000@46.101.114.158) State Change CS_INIT -> CS_ROUTING
  597. 2022-10-11 13:10:03.193527 97.07% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1000000@46.101.114.158) State INIT going to sleep
  598. 2022-10-11 13:10:03.193527 97.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000000@46.101.114.158) Running State Change CS_ROUTING (Cur 2 Tot 174)
  599. 2022-10-11 13:10:03.193527 97.07% [DEBUG] switch_channel.c:2380 (sofia/default/1000000@46.101.114.158) Callstate Change DOWN -> RINGING
  600. 2022-10-11 13:10:03.193527 97.07% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1000000@46.101.114.158) State ROUTING
  601. 2022-10-11 13:10:03.193527 97.07% [DEBUG] mod_sofia.c:158 sofia/default/1000000@46.101.114.158 SOFIA ROUTING
  602. 2022-10-11 13:10:03.193527 97.07% [DEBUG] switch_core_state_machine.c:230 sofia/default/1000000@46.101.114.158 Standard ROUTING
  603. 2022-10-11 13:10:03.193527 97.07% [INFO] mod_dialplan_xml.c:639 Processing 3613818599 <1000000>->1000000 in context default
  604. 2022-10-11 13:10:03.233524 97.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  605. 2022-10-11 13:10:03.233524 97.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  606. 2022-10-11 13:10:03.253545 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 1000000
  607. 2022-10-11 13:10:03.253545 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Clicktocall Destination Number 1000000
  608. 2022-10-11 13:10:03.253545 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '1000000' AND status=0 limit 1
  609. 2022-10-11 13:10:03.253545 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 3613818599 / 1000000
  610. 2022-10-11 13:10:03.253545 94.87% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1000000" LIMIT 1
  611. 2022-10-11 13:10:03.253545 94.87% [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 WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="1000000" limit 1
  612. 2022-10-11 13:10:03.253545 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  613. 2022-10-11 13:10:03.253545 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("46.101.114.158") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 -  SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1))  AND "1000000"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  614. 2022-10-11 13:10:03.273528 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 3613818599]
  615. 2022-10-11 13:10:03.273528 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3613818599" AND deleted = 0 limit 1
  616. 2022-10-11 13:10:03.273528 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^1000000.*' OR blocked_patterns = '^100000.*' OR blocked_patterns = '^10000.*' OR blocked_patterns = '^1000.*' OR blocked_patterns = '^100.*' OR blocked_patterns = '^10.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 16 limit 1
  617. 2022-10-11 13:10:03.273528 94.87% [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 ="1000000" AND A.accountid = '16' limit 1
  618. 2022-10-11 13:10:03.273528 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 1000000
  619. 2022-10-11 13:10:03.273528 94.87% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1000000" LIMIT 1
  620. 2022-10-11 13:10:03.273528 94.87% [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 WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="1000000" limit 1
  621. 2022-10-11 13:10:03.273528 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call direction : outbound
  622. 2022-10-11 13:10:03.273528 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="1000000" AND (accountid = 0 OR status = 1) LIMIT 1
  623. 2022-10-11 13:10:03.273528 94.87% [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 (patterns = '^1000000.*' OR patterns = '^100000.*' OR patterns = '^10000.*' OR patterns = '^1000.*' OR patterns = '^100.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 16 ORDER BY LENGTH(PKGPTR.patterns) DESC
  624. 2022-10-11 13:10:03.273528 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  625. 2022-10-11 13:10:03.273528 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 16
  626. 2022-10-11 13:10:03.273528 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 3613818599
  627. 2022-10-11 13:10:03.273528 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 95.8
  628. 2022-10-11 13:10:03.273528 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  629. 2022-10-11 13:10:03.273528 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  630. 2022-10-11 13:10:03.273528 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  631. 2022-10-11 13:10:03.273528 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  632. 2022-10-11 13:10:03.273528 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  633. 2022-10-11 13:10:03.273528 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^1000000.*' OR pattern = '^100000.*' OR pattern = '^10000.*' OR pattern = '^1000.*' OR pattern = '^100.*' OR pattern = '^10.*' OR pattern = '^1.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 1 OR accountid=16)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1
  634. 2022-10-11 13:10:03.273528 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] call_direction:::::: outbound
  635. 2022-10-11 13:10:03.273528 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  636. 2022-10-11 13:10:03.273528 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  637. 2022-10-11 13:10:03.273528 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  638. 2022-10-11 13:10:03.273528 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  639. 2022-10-11 13:10:03.273528 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.20000
  640. 2022-10-11 13:10:03.273528 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] comment : USA
  641. 2022-10-11 13:10:03.273528 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
  642. 2022-10-11 13:10:03.273528 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 16
  643. 2022-10-11 13:10:03.273528 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 0
  644. 2022-10-11 13:10:03.273528 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  645. 2022-10-11 13:10:03.273528 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  646. 2022-10-11 13:10:03.273528 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your95.8 balance Accountid 16 !!!
  647. 2022-10-11 13:10:03.273528 94.87% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting call to config max length 100 mins!
  648. 2022-10-11 13:10:03.273528 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max length duration : 100 minutes
  649. 2022-10-11 13:10:03.273528 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 1
  650. 2022-10-11 13:10:03.273528 94.87% [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
  651. 2022-10-11 13:10:03.273528 94.87% [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 = '^1000000.*' OR pattern = '^100000.*' OR pattern = '^10000.*' OR pattern = '^1000.*' OR pattern = '^100.*' OR pattern = '^10.*' OR pattern = '^1.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (1) ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence
  652. 2022-10-11 13:10:03.293531 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  653. 2022-10-11 13:10:03.293531 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  654. 2022-10-11 13:10:03.293531 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^1.*
  655. 2022-10-11 13:10:03.293531 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : USA
  656. 2022-10-11 13:10:03.293531 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  657. 2022-10-11 13:10:03.293531 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  658. 2022-10-11 13:10:03.293531 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^1.*
  659. 2022-10-11 13:10:03.293531 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  660. 2022-10-11 13:10:03.293531 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  661. 2022-10-11 13:10:03.293531 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 1
  662. 2022-10-11 13:10:03.293531 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : YourProvider
  663. 2022-10-11 13:10:03.293531 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  664. 2022-10-11 13:10:03.293531 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  665. 2022-10-11 13:10:03.293531 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  666. 2022-10-11 13:10:03.293531 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  667. 2022-10-11 13:10:03.293531 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : YourProvider
  668. 2022-10-11 13:10:03.293531 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  669. 2022-10-11 13:10:03.293531 94.87% [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 = 16 AND status=0 LIMIT 1
  670. 2022-10-11 13:10:03.293531 94.87% [INFO] switch_cpp.cpp:1465 [ASTPP] maxlength::::::::: 100
  671. 2022-10-11 13:10:03.293531 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  672. 2022-10-11 13:10:03.293531 94.87% [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
  673. 2022-10-11 13:10:03.293531 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate FROM localization WHERE id=(SELECT localization_id from accounts where id = 3) AND status=0 limit 1
  674. 2022-10-11 13:10:03.293531 94.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  675. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  676. <document type="freeswitch/xml">
  677. <section name="dialplan" description="ASTPP Dialplan">
  678. <context name="default">
  679. <extension name="1000000">
  680. <condition field="destination_number" expression="1000000">
  681. <action application="set" data="effective_destination_number=1000000"/>
  682. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  683. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  684. <action application="set" data="callstart=2022-10-11 13:10:02"/>
  685. <action application="set" data="hangup_after_bridge=true"/>
  686. <action application="set" data="continue_on_fail=TRUE"/>
  687. <action application="set" data="account_id=16"/>
  688. <action application="set" data="parent_id=0"/>
  689. <action application="set" data="entity_id=0"/>
  690. <action application="set" data="call_processed=internal"/>
  691. <action application="set" data="call_direction=outbound"/>
  692. <action application="set" data="accountname=default"/>
  693. <action application="set" data="origination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:16"/>
  694. <action application="set" data="original_caller_id_name=3613818599"/>
  695. <action application="set" data="original_caller_id_number=1000000"/>
  696.  
  697. <action application="set" data="calltype=BROADCAST"/>
  698. <action application="set" data="sip_user=3613818599"/>
  699. <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"/>
  700. <action application="set" data="trunk_id=1"/>
  701. <action application="set" data="provider_id=3"/>
  702. <action application="set" data="rate_flag=0"/>
  703. <action application="set" data="force_trunk_flag=1"/>
  704. <action application="export" data="presence_data=trunk_id=1"/>
  705. <action application="set" data="intcall=0"/>
  706. <action application="export" data="presence_data=x|||Alpesh(3613818599)|||^1.* // USA // 0.20000 // trunk_id=0|||YourProvider // ^1.* // USA // 0.10000 // trunk_id=1|||STD"/>
  707. <action application="bridge" data="{sip_cid_type=}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/1000000"/>
  708. </condition>
  709. </extension>
  710. </context>
  711. </section>
  712. </document>
  713. Dialplan: sofia/default/1000000@46.101.114.158 parsing [default->1000000] continue=false
  714. Dialplan: sofia/default/1000000@46.101.114.158 Regex (PASS) [1000000] destination_number(1000000) =~ /1000000/ break=on-false
  715. Dialplan: sofia/default/1000000@46.101.114.158 Action set(effective_destination_number=1000000)
  716. Dialplan: sofia/default/1000000@46.101.114.158 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  717. Dialplan: sofia/default/1000000@46.101.114.158 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  718. Dialplan: sofia/default/1000000@46.101.114.158 Action set(callstart=2022-10-11 13:10:02)
  719. Dialplan: sofia/default/1000000@46.101.114.158 Action set(hangup_after_bridge=true)
  720. Dialplan: sofia/default/1000000@46.101.114.158 Action set(continue_on_fail=TRUE)
  721. Dialplan: sofia/default/1000000@46.101.114.158 Action set(account_id=16)
  722. Dialplan: sofia/default/1000000@46.101.114.158 Action set(parent_id=0)
  723. Dialplan: sofia/default/1000000@46.101.114.158 Action set(entity_id=0)
  724. Dialplan: sofia/default/1000000@46.101.114.158 Action set(call_processed=internal)
  725. Dialplan: sofia/default/1000000@46.101.114.158 Action set(call_direction=outbound)
  726. Dialplan: sofia/default/1000000@46.101.114.158 Action set(accountname=default)
  727. Dialplan: sofia/default/1000000@46.101.114.158 Action set(origination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:16)
  728. Dialplan: sofia/default/1000000@46.101.114.158 Action set(original_caller_id_name=3613818599)
  729. Dialplan: sofia/default/1000000@46.101.114.158 Action set(original_caller_id_number=1000000)
  730. Dialplan: sofia/default/1000000@46.101.114.158 Action set(calltype=BROADCAST)
  731. Dialplan: sofia/default/1000000@46.101.114.158 Action set(sip_user=3613818599)
  732. Dialplan: sofia/default/1000000@46.101.114.158 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)
  733. Dialplan: sofia/default/1000000@46.101.114.158 Action set(trunk_id=1)
  734. Dialplan: sofia/default/1000000@46.101.114.158 Action set(provider_id=3)
  735. Dialplan: sofia/default/1000000@46.101.114.158 Action set(rate_flag=0)
  736. Dialplan: sofia/default/1000000@46.101.114.158 Action set(force_trunk_flag=1)
  737. Dialplan: sofia/default/1000000@46.101.114.158 Action export(presence_data=trunk_id=1)
  738. Dialplan: sofia/default/1000000@46.101.114.158 Action set(intcall=0)
  739. Dialplan: sofia/default/1000000@46.101.114.158 Action export(presence_data=x|||Alpesh(3613818599)|||^1.* // USA // 0.20000 // trunk_id=0|||YourProvider // ^1.* // USA // 0.10000 // trunk_id=1|||STD)
  740. Dialplan: sofia/default/1000000@46.101.114.158 Action bridge({sip_cid_type=}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/1000000)
  741. 2022-10-11 13:10:03.293531 94.87% [DEBUG] switch_core_state_machine.c:281 (sofia/default/1000000@46.101.114.158) State Change CS_ROUTING -> CS_EXECUTE
  742. 2022-10-11 13:10:03.293531 94.87% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1000000@46.101.114.158) State ROUTING going to sleep
  743. 2022-10-11 13:10:03.293531 94.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000000@46.101.114.158) Running State Change CS_EXECUTE (Cur 2 Tot 174)
  744. 2022-10-11 13:10:03.293531 94.87% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1000000@46.101.114.158) State EXECUTE
  745. 2022-10-11 13:10:03.293531 94.87% [DEBUG] mod_sofia.c:213 sofia/default/1000000@46.101.114.158 SOFIA EXECUTE
  746. 2022-10-11 13:10:03.293531 94.87% [DEBUG] switch_core_state_machine.c:323 sofia/default/1000000@46.101.114.158 Standard EXECUTE
  747. EXECUTE [depth=0] sofia/default/1000000@46.101.114.158 set(effective_destination_number=1000000)
  748. 2022-10-11 13:10:03.293531 94.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000000@46.101.114.158 [effective_destination_number]=[1000000]
  749. EXECUTE [depth=0] sofia/default/1000000@46.101.114.158 set(bridge_pre_execute_bleg_app=sched_hangup)
  750. 2022-10-11 13:10:03.293531 94.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000000@46.101.114.158 [bridge_pre_execute_bleg_app]=[sched_hangup]
  751. EXECUTE [depth=0] sofia/default/1000000@46.101.114.158 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  752. 2022-10-11 13:10:03.293531 94.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000000@46.101.114.158 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  753. EXECUTE [depth=0] sofia/default/1000000@46.101.114.158 set(callstart=2022-10-11 13:10:02)
  754. 2022-10-11 13:10:03.293531 94.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000000@46.101.114.158 [callstart]=[2022-10-11 13:10:02]
  755. EXECUTE [depth=0] sofia/default/1000000@46.101.114.158 set(hangup_after_bridge=true)
  756. 2022-10-11 13:10:03.293531 94.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000000@46.101.114.158 [hangup_after_bridge]=[true]
  757. EXECUTE [depth=0] sofia/default/1000000@46.101.114.158 set(continue_on_fail=TRUE)
  758. 2022-10-11 13:10:03.293531 94.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000000@46.101.114.158 [continue_on_fail]=[TRUE]
  759. EXECUTE [depth=0] sofia/default/1000000@46.101.114.158 set(account_id=16)
  760. 2022-10-11 13:10:03.293531 94.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000000@46.101.114.158 [account_id]=[16]
  761. EXECUTE [depth=0] sofia/default/1000000@46.101.114.158 set(parent_id=0)
  762. 2022-10-11 13:10:03.293531 94.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000000@46.101.114.158 [parent_id]=[0]
  763. EXECUTE [depth=0] sofia/default/1000000@46.101.114.158 set(entity_id=0)
  764. 2022-10-11 13:10:03.293531 94.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000000@46.101.114.158 [entity_id]=[0]
  765. EXECUTE [depth=0] sofia/default/1000000@46.101.114.158 set(call_processed=internal)
  766. 2022-10-11 13:10:03.293531 94.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000000@46.101.114.158 [call_processed]=[internal]
  767. EXECUTE [depth=0] sofia/default/1000000@46.101.114.158 set(call_direction=outbound)
  768. 2022-10-11 13:10:03.293531 94.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000000@46.101.114.158 [call_direction]=[outbound]
  769. EXECUTE [depth=0] sofia/default/1000000@46.101.114.158 set(accountname=default)
  770. 2022-10-11 13:10:03.293531 94.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000000@46.101.114.158 [accountname]=[default]
  771. EXECUTE [depth=0] sofia/default/1000000@46.101.114.158 set(origination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:16)
  772. 2022-10-11 13:10:03.293531 94.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000000@46.101.114.158 [origination_rates]=[ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:16]
  773. EXECUTE [depth=0] sofia/default/1000000@46.101.114.158 set(original_caller_id_name=3613818599)
  774. 2022-10-11 13:10:03.293531 94.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000000@46.101.114.158 [original_caller_id_name]=[3613818599]
  775. EXECUTE [depth=0] sofia/default/1000000@46.101.114.158 set(original_caller_id_number=1000000)
  776. 2022-10-11 13:10:03.293531 94.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000000@46.101.114.158 [original_caller_id_number]=[1000000]
  777. EXECUTE [depth=0] sofia/default/1000000@46.101.114.158 set(calltype=BROADCAST)
  778. 2022-10-11 13:10:03.293531 94.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000000@46.101.114.158 [calltype]=[BROADCAST]
  779. EXECUTE [depth=0] sofia/default/1000000@46.101.114.158 set(sip_user=3613818599)
  780. 2022-10-11 13:10:03.293531 94.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000000@46.101.114.158 [sip_user]=[3613818599]
  781. EXECUTE [depth=0] sofia/default/1000000@46.101.114.158 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)
  782. 2022-10-11 13:10:03.293531 94.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000000@46.101.114.158 [termination_rates]=[ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.10000|INC:60|INITIALBLOCK:30|TRUNK:1|PROVIDER:3]
  783. EXECUTE [depth=0] sofia/default/1000000@46.101.114.158 set(trunk_id=1)
  784. 2022-10-11 13:10:03.293531 94.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000000@46.101.114.158 [trunk_id]=[1]
  785. EXECUTE [depth=0] sofia/default/1000000@46.101.114.158 set(provider_id=3)
  786. 2022-10-11 13:10:03.293531 94.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000000@46.101.114.158 [provider_id]=[3]
  787. EXECUTE [depth=0] sofia/default/1000000@46.101.114.158 set(rate_flag=0)
  788. 2022-10-11 13:10:03.293531 94.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000000@46.101.114.158 [rate_flag]=[0]
  789. EXECUTE [depth=0] sofia/default/1000000@46.101.114.158 set(force_trunk_flag=1)
  790. 2022-10-11 13:10:03.293531 94.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000000@46.101.114.158 [force_trunk_flag]=[1]
  791. EXECUTE [depth=0] sofia/default/1000000@46.101.114.158 export(presence_data=trunk_id=1)
  792. 2022-10-11 13:10:03.293531 94.87% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=1]
  793. EXECUTE [depth=0] sofia/default/1000000@46.101.114.158 set(intcall=0)
  794. 2022-10-11 13:10:03.293531 94.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000000@46.101.114.158 [intcall]=[0]
  795. EXECUTE [depth=0] sofia/default/1000000@46.101.114.158 export(presence_data=x|||Alpesh(3613818599)|||^1.* // USA // 0.20000 // trunk_id=0|||YourProvider // ^1.* // USA // 0.10000 // trunk_id=1|||STD)
  796. 2022-10-11 13:10:03.293531 94.87% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Alpesh(3613818599)|||^1.* // USA // 0.20000 // trunk_id=0|||YourProvider // ^1.* // USA // 0.10000 // trunk_id=1|||STD]
  797. EXECUTE [depth=0] sofia/default/1000000@46.101.114.158 bridge({sip_cid_type=}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/1000000)
  798. 2022-10-11 13:10:03.293531 94.87% [DEBUG] switch_channel.c:1269 sofia/default/1000000@46.101.114.158 EXPORTING[export_vars] [presence_data]=[x|||Alpesh(3613818599)|||^1.* // USA // 0.20000 // trunk_id=0|||YourProvider // ^1.* // USA // 0.10000 // trunk_id=1|||STD] to event
  799. 2022-10-11 13:10:03.293531 94.87% [DEBUG] switch_channel.c:1269 sofia/default/1000000@46.101.114.158 EXPORTING[export_vars] [presence_data]=[x|||Alpesh(3613818599)|||^1.* // USA // 0.20000 // trunk_id=0|||YourProvider // ^1.* // USA // 0.10000 // trunk_id=1|||STD] to event
  800. 2022-10-11 13:10:03.293531 94.87% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  801. 2022-10-11 13:10:03.293531 94.87% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  802. 2022-10-11 13:10:03.293531 94.87% [NOTICE] switch_channel.c:1123 New Channel sofia/default/1000000 [f6fecbc4-1d7a-47b5-bf0e-2b2721f9d4ae]
  803. 2022-10-11 13:10:03.293531 94.87% [DEBUG] mod_sofia.c:5121 (sofia/default/1000000) State Change CS_NEW -> CS_INIT
  804. 2022-10-11 13:10:03.293531 94.87% [DEBUG] switch_ivr_originate.c:3151 sofia/default/1000000 Setting leg timeout to 30
  805. 2022-10-11 13:10:03.293531 94.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000000) Running State Change CS_INIT (Cur 3 Tot 175)
  806. 2022-10-11 13:10:03.293531 94.87% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1000000) State INIT
  807. 2022-10-11 13:10:03.293531 94.87% [DEBUG] mod_sofia.c:97 sofia/default/1000000 SOFIA INIT
  808. 2022-10-11 13:10:03.293531 94.87% [INFO] sofia_glue.c:1651 sofia/default/1000000 sending invite call-id: (null)
  809. 2022-10-11 13:10:03.293531 94.87% [DEBUG] sofia_glue.c:1654 sofia/default/1000000 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
  810. Local SDP:
  811. v=0
  812. o=FreeSWITCH 1665474147 1665474148 IN IP4 46.101.114.158
  813. s=FreeSWITCH
  814. c=IN IP4 46.101.114.158
  815. t=0 0
  816. m=audio 19656 RTP/AVP 8 18 101
  817. a=rtpmap:8 PCMA/8000
  818. a=rtpmap:18 G729/8000
  819. a=rtpmap:101 telephone-event/8000
  820. a=fmtp:101 0-15
  821. a=ptime:20
  822. a=sendrecv
  823.  
  824. 2022-10-11 13:10:03.293531 94.87% [DEBUG] switch_core_state_machine.c:40 sofia/default/1000000 Standard INIT
  825. 2022-10-11 13:10:03.293531 94.87% [DEBUG] switch_core_state_machine.c:48 (sofia/default/1000000) State Change CS_INIT -> CS_ROUTING
  826. 2022-10-11 13:10:03.293531 94.87% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1000000) State INIT going to sleep
  827. 2022-10-11 13:10:03.293531 94.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000000) Running State Change CS_ROUTING (Cur 3 Tot 175)
  828. 2022-10-11 13:10:03.293531 94.87% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1000000) State ROUTING
  829. 2022-10-11 13:10:03.293531 94.87% [DEBUG] mod_sofia.c:158 sofia/default/1000000 SOFIA ROUTING
  830. 2022-10-11 13:10:03.293531 94.87% [DEBUG] switch_ivr_originate.c:67 (sofia/default/1000000) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  831. 2022-10-11 13:10:03.293531 94.87% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1000000) State ROUTING going to sleep
  832. 2022-10-11 13:10:03.293531 94.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000000) Running State Change CS_CONSUME_MEDIA (Cur 3 Tot 175)
  833. 2022-10-11 13:10:03.293531 94.87% [DEBUG] switch_core_state_machine.c:659 (sofia/default/1000000) State CONSUME_MEDIA
  834. 2022-10-11 13:10:03.293531 94.87% [DEBUG] switch_core_state_machine.c:659 (sofia/default/1000000) State CONSUME_MEDIA going to sleep
  835. 2022-10-11 13:10:03.313525 94.87% [DEBUG] sofia.c:7499 Channel sofia/default/1000000 entering state [calling][0]
  836. 2022-10-11 13:10:03.393522 94.87% [DEBUG] sofia.c:7499 Channel sofia/default/1000000 entering state [completing][200]
  837. 2022-10-11 13:10:03.393522 94.87% [DEBUG] sofia.c:7509 Remote SDP:
  838. v=0
  839. o=root 2059178488 2059178488 IN IP4 159.203.131.36
  840. s=Asterisk PBX 16.4.0
  841. c=IN IP4 159.203.131.36
  842. t=0 0
  843. m=audio 12734 RTP/AVP 8 101
  844. a=rtpmap:8 PCMA/8000
  845. a=rtpmap:101 telephone-event/8000
  846. a=fmtp:101 0-16
  847. a=maxptime:150
  848.  
  849. 2022-10-11 13:10:03.393522 94.87% [DEBUG] sofia.c:7499 Channel sofia/default/1000000 entering state [ready][200]
  850. 2022-10-11 13:10:03.393522 94.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1]
  851. 2022-10-11 13:10:03.393522 94.87% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  852. 2022-10-11 13:10:03.393522 94.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[G729:18:8000:20:8000:1]
  853. 2022-10-11 13:10:03.393522 94.87% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  854. 2022-10-11 13:10:03.393522 94.87% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/1000000 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  855. 2022-10-11 13:10:03.393522 94.87% [DEBUG] switch_core_codec.c:111 sofia/default/1000000 Original read codec set to PCMA:8
  856. 2022-10-11 13:10:03.393522 94.87% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  857. 2022-10-11 13:10:03.393522 94.87% [DEBUG] switch_core_media.c:5973 sofia/default/1000000 Set 2833 dtmf send payload to 101 recv payload to 101
  858. 2022-10-11 13:10:03.393522 94.87% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/1000000] 46.101.114.158 port 19656 -> 159.203.131.36 port 12734 codec: 8 ms: 20
  859. 2022-10-11 13:10:03.393522 94.87% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  860. 2022-10-11 13:10:03.393522 94.87% [DEBUG] switch_core_media.c:9089 sofia/default/1000000 Set 2833 dtmf send payload to 101
  861. 2022-10-11 13:10:03.393522 94.87% [DEBUG] switch_core_media.c:9096 sofia/default/1000000 Set 2833 dtmf receive payload to 101
  862. 2022-10-11 13:10:03.393522 94.87% [DEBUG] switch_core_media.c:9119 sofia/default/1000000 Set rtp dtmf delay to 40
  863. 2022-10-11 13:10:03.393522 94.87% [NOTICE] sofia.c:8683 Channel [sofia/default/1000000] has been answered
  864. 2022-10-11 13:10:03.393522 94.87% [DEBUG] switch_channel.c:3950 (sofia/default/1000000) Callstate Change DOWN -> ACTIVE
  865. 2022-10-11 13:10:03.413519 94.87% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/1000000@46.101.114.158] 46.101.114.158 port 23034 -> 46.101.114.158 port 17360 codec: 8 ms: 20
  866. 2022-10-11 13:10:03.413519 94.87% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  867. 2022-10-11 13:10:03.413519 94.87% [DEBUG] switch_core_media.c:9089 sofia/default/1000000@46.101.114.158 Set 2833 dtmf send payload to 101
  868. 2022-10-11 13:10:03.413519 94.87% [DEBUG] switch_core_media.c:9096 sofia/default/1000000@46.101.114.158 Set 2833 dtmf receive payload to 101
  869. 2022-10-11 13:10:03.413519 94.87% [DEBUG] switch_core_media.c:9119 sofia/default/1000000@46.101.114.158 Set rtp dtmf delay to 40
  870. 2022-10-11 13:10:03.413519 94.87% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/1000000@46.101.114.158:
  871. v=0
  872. o=FreeSWITCH 1665470769 1665470770 IN IP4 46.101.114.158
  873. s=FreeSWITCH
  874. c=IN IP4 46.101.114.158
  875. t=0 0
  876. m=audio 23034 RTP/AVP 8 101
  877. a=rtpmap:8 PCMA/8000
  878. a=rtpmap:101 telephone-event/8000
  879. a=fmtp:101 0-15
  880. a=ptime:20
  881. a=sendrecv
  882.  
  883. 2022-10-11 13:10:03.413519 94.87% [DEBUG] sofia.c:7499 Channel sofia/default/1000000@46.101.114.158 entering state [completed][200]
  884. 2022-10-11 13:10:03.413519 94.87% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/default/1000000@46.101.114.158] has been answered
  885. 2022-10-11 13:10:03.413519 94.87% [DEBUG] switch_channel.c:3950 (sofia/default/1000000@46.101.114.158) Callstate Change RINGING -> ACTIVE
  886. 2022-10-11 13:10:03.413519 94.87% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/1000000] Peer UUID: f6fecbc4-1d7a-47b5-bf0e-2b2721f9d4ae
  887. 2022-10-11 13:10:03.413519 94.87% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/1000000) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  888. 2022-10-11 13:10:03.413519 94.87% [DEBUG] sofia.c:7499 Channel sofia/default/1000000@46.101.114.158:5064 entering state [completing][200]
  889. 2022-10-11 13:10:03.413519 94.87% [DEBUG] sofia.c:7509 Remote SDP:
  890. v=0
  891. o=FreeSWITCH 1665470769 1665470770 IN IP4 46.101.114.158
  892. s=FreeSWITCH
  893. c=IN IP4 46.101.114.158
  894. t=0 0
  895. m=audio 23034 RTP/AVP 8 101
  896. a=rtpmap:8 PCMA/8000
  897. a=rtpmap:101 telephone-event/8000
  898. a=fmtp:101 0-15
  899. a=ptime:20
  900.  
  901. 2022-10-11 13:10:03.413519 94.87% [DEBUG] sofia.c:7499 Channel sofia/default/1000000@46.101.114.158:5064 entering state [ready][200]
  902. 2022-10-11 13:10:03.413519 94.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  903. 2022-10-11 13:10:03.413519 94.87% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  904. 2022-10-11 13:10:03.413519 94.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  905. 2022-10-11 13:10:03.413519 94.87% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  906. 2022-10-11 13:10:03.413519 94.87% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/1000000@46.101.114.158:5064 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  907. 2022-10-11 13:10:03.413519 94.87% [DEBUG] switch_core_codec.c:111 sofia/default/1000000@46.101.114.158:5064 Original read codec set to PCMA:8
  908. 2022-10-11 13:10:03.413519 94.87% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  909. 2022-10-11 13:10:03.413519 94.87% [DEBUG] switch_core_media.c:5973 sofia/default/1000000@46.101.114.158:5064 Set 2833 dtmf send payload to 101 recv payload to 101
  910. 2022-10-11 13:10:03.413519 94.87% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/1000000@46.101.114.158:5064] 46.101.114.158 port 17360 -> 46.101.114.158 port 23034 codec: 8 ms: 20
  911. 2022-10-11 13:10:03.413519 94.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000000) Running State Change CS_EXCHANGE_MEDIA (Cur 3 Tot 175)
  912. 2022-10-11 13:10:03.413519 94.87% [DEBUG] switch_core_state_machine.c:650 (sofia/default/1000000) State EXCHANGE_MEDIA
  913. 2022-10-11 13:10:03.413519 94.87% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  914. 2022-10-11 13:10:03.413519 94.87% [DEBUG] sofia.c:7499 Channel sofia/default/1000000@46.101.114.158 entering state [ready][200]
  915. 2022-10-11 13:10:03.413519 94.87% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  916. 2022-10-11 13:10:03.413519 94.87% [DEBUG] switch_core_media.c:9089 sofia/default/1000000@46.101.114.158:5064 Set 2833 dtmf send payload to 101
  917. 2022-10-11 13:10:03.413519 94.87% [DEBUG] switch_core_media.c:9096 sofia/default/1000000@46.101.114.158:5064 Set 2833 dtmf receive payload to 101
  918. 2022-10-11 13:10:03.413519 94.87% [DEBUG] switch_core_media.c:9119 sofia/default/1000000@46.101.114.158:5064 Set rtp dtmf delay to 40
  919. 2022-10-11 13:10:03.413519 94.87% [NOTICE] sofia.c:8683 Channel [sofia/default/1000000@46.101.114.158:5064] has been answered
  920. 2022-10-11 13:10:03.413519 94.87% [DEBUG] switch_channel.c:3950 (sofia/default/1000000@46.101.114.158:5064) Callstate Change DOWN -> ACTIVE
  921. 2022-10-11 13:10:03.433525 94.87% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/1000000@46.101.114.158:5064] Peer UUID: 73a8ad49-abfe-4bdc-a3cc-5e4d36b3322b
  922. 2022-10-11 13:10:03.433525 94.87% [INFO] switch_channel.c:3270 sofia/default/1000000@46.101.114.158:5064 Flipping CID from "3613818599" <1000000> to "Outbound Call" <1000000>
  923. 2022-10-11 13:10:03.433525 94.87% [DEBUG] mod_commands.c:5169 (sofia/default/1000000@46.101.114.158:5064) State Change CS_CONSUME_MEDIA -> CS_EXECUTE
  924. 2022-10-11 13:10:03.433525 94.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000000@46.101.114.158:5064) Running State Change CS_EXECUTE (Cur 3 Tot 175)
  925. 2022-10-11 13:10:03.433525 94.87% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1000000@46.101.114.158:5064) State EXECUTE
  926. 2022-10-11 13:10:03.433525 94.87% [DEBUG] mod_sofia.c:213 sofia/default/1000000@46.101.114.158:5064 SOFIA EXECUTE
  927. 2022-10-11 13:10:03.433525 94.87% [DEBUG] switch_core_state_machine.c:323 sofia/default/1000000@46.101.114.158:5064 Standard EXECUTE
  928. EXECUTE [depth=0] sofia/default/1000000@46.101.114.158:5064 playback(/opt/ASTPP/web_interface/astpp/upload/voice_broadcast/file_example_WAV_1MG_.wav)
  929. 2022-10-11 13:10:03.433525 94.87% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur.
  930. 2022-10-11 13:10:03.433525 94.87% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  931. 2022-10-11 13:10:03.473552 94.87% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  932. 2022-10-11 13:10:03.573525 94.87% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  933. 2022-10-11 13:10:03.593557 94.87% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  934. 2022-10-11 13:10:03.593557 94.87% [DEBUG] switch_ivr_bridge.c:655 sofia/default/1000000 Bridge execute app sched_hangup(+6000 normal_clearing)
  935. 2022-10-11 13:10:03.613551 94.87% [DEBUG] switch_ivr.c:632 sofia/default/1000000 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  936. EXECUTE [depth=0] sofia/default/1000000 sched_hangup(+6000 normal_clearing)
  937. 2022-10-11 13:10:03.613551 94.87% [DEBUG] switch_scheduler.c:263 Added task 46 switch_ivr_schedule_hangup (f6fecbc4-1d7a-47b5-bf0e-2b2721f9d4ae) to run at 1665499803
  938. 2022-10-11 13:10:05.453521 94.27% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  939. 2022-10-11 13:10:05.453521 94.27% [NOTICE] switch_channel.c:1123 New Channel sofia/default/1000001@46.101.114.158:5064 [672d99e7-2409-4586-af3a-eb9fa07ff1db]
  940. 2022-10-11 13:10:05.453521 94.27% [DEBUG] mod_sofia.c:5121 (sofia/default/1000001@46.101.114.158:5064) State Change CS_NEW -> CS_INIT
  941. 2022-10-11 13:10:05.453521 94.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000001@46.101.114.158:5064) Running State Change CS_INIT (Cur 4 Tot 176)
  942. 2022-10-11 13:10:05.453521 94.27% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1000001@46.101.114.158:5064) State INIT
  943. 2022-10-11 13:10:05.453521 94.27% [DEBUG] mod_sofia.c:97 sofia/default/1000001@46.101.114.158:5064 SOFIA INIT
  944. 2022-10-11 13:10:05.453521 94.27% [INFO] sofia_glue.c:1651 sofia/default/1000001@46.101.114.158:5064 sending invite call-id: (null)
  945. 2022-10-11 13:10:05.453521 94.27% [DEBUG] sofia_glue.c:1654 sofia/default/1000001@46.101.114.158:5064 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
  946. Local SDP:
  947. v=0
  948. o=FreeSWITCH 1665461151 1665461152 IN IP4 46.101.114.158
  949. s=FreeSWITCH
  950. c=IN IP4 46.101.114.158
  951. t=0 0
  952. m=audio 32654 RTP/AVP 8 0 101
  953. a=rtpmap:8 PCMA/8000
  954. a=rtpmap:0 PCMU/8000
  955. a=rtpmap:101 telephone-event/8000
  956. a=fmtp:101 0-15
  957. a=ptime:20
  958. a=sendrecv
  959.  
  960. 2022-10-11 13:10:05.453521 94.27% [NOTICE] switch_channel.c:1123 New Channel sofia/default/1000001@46.101.114.158 [dedd61c4-b9d9-487b-887f-7f44e24c61a0]
  961. 2022-10-11 13:10:05.453521 94.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000001@46.101.114.158) Running State Change CS_NEW (Cur 5 Tot 177)
  962. 2022-10-11 13:10:05.453521 94.27% [INFO] sofia.c:10462 sofia/default/1000001@46.101.114.158 receiving invite from 46.101.114.158:5064 version: 1.10.7 -release-19-883d2cb662 64bit call-id: dcc29f1e-c408-123b-8ea3-ba05d31eb9f9
  963. 2022-10-11 13:10:05.453521 94.27% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 46.101.114.158:0.
  964. 2022-10-11 13:10:05.453521 94.27% [DEBUG] sofia.c:7499 Channel sofia/default/1000001@46.101.114.158 entering state [received][100]
  965. 2022-10-11 13:10:05.453521 94.27% [DEBUG] sofia.c:7509 Remote SDP:
  966. v=0
  967. o=FreeSWITCH 1665461151 1665461152 IN IP4 46.101.114.158
  968. s=FreeSWITCH
  969. c=IN IP4 46.101.114.158
  970. t=0 0
  971. m=audio 32654 RTP/AVP 8 0 101
  972. a=rtpmap:8 PCMA/8000
  973. a=rtpmap:0 PCMU/8000
  974. a=rtpmap:101 telephone-event/8000
  975. a=fmtp:101 0-15
  976. a=ptime:20
  977.  
  978. 2022-10-11 13:10:05.453521 94.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  979. 2022-10-11 13:10:05.453521 94.27% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  980. 2022-10-11 13:10:05.453521 94.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  981. 2022-10-11 13:10:05.453521 94.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  982. 2022-10-11 13:10:05.453521 94.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  983. 2022-10-11 13:10:05.453521 94.27% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  984. 2022-10-11 13:10:05.453521 94.27% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  985. 2022-10-11 13:10:05.453521 94.27% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/1000001@46.101.114.158 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  986. 2022-10-11 13:10:05.453521 94.27% [DEBUG] switch_core_codec.c:111 sofia/default/1000001@46.101.114.158 Original read codec set to PCMA:8
  987. 2022-10-11 13:10:05.453521 94.27% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  988. 2022-10-11 13:10:05.453521 94.27% [DEBUG] switch_core_media.c:5973 sofia/default/1000001@46.101.114.158 Set 2833 dtmf send payload to 101 recv payload to 101
  989. 2022-10-11 13:10:05.453521 94.27% [DEBUG] sofia.c:7933 (sofia/default/1000001@46.101.114.158) State Change CS_NEW -> CS_INIT
  990. 2022-10-11 13:10:05.453521 94.27% [DEBUG] switch_core_state_machine.c:600 (sofia/default/1000001@46.101.114.158) State NEW
  991. 2022-10-11 13:10:05.453521 94.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000001@46.101.114.158) Running State Change CS_INIT (Cur 5 Tot 177)
  992. 2022-10-11 13:10:05.453521 94.27% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1000001@46.101.114.158) State INIT
  993. 2022-10-11 13:10:05.453521 94.27% [DEBUG] mod_sofia.c:97 sofia/default/1000001@46.101.114.158 SOFIA INIT
  994. 2022-10-11 13:10:05.453521 94.27% [DEBUG] switch_core_state_machine.c:40 sofia/default/1000001@46.101.114.158 Standard INIT
  995. 2022-10-11 13:10:05.453521 94.27% [DEBUG] switch_core_state_machine.c:48 (sofia/default/1000001@46.101.114.158) State Change CS_INIT -> CS_ROUTING
  996. 2022-10-11 13:10:05.453521 94.27% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1000001@46.101.114.158) State INIT going to sleep
  997. 2022-10-11 13:10:05.453521 94.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000001@46.101.114.158) Running State Change CS_ROUTING (Cur 5 Tot 177)
  998. 2022-10-11 13:10:05.453521 94.27% [DEBUG] switch_channel.c:2380 (sofia/default/1000001@46.101.114.158) Callstate Change DOWN -> RINGING
  999. 2022-10-11 13:10:05.453521 94.27% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1000001@46.101.114.158) State ROUTING
  1000. 2022-10-11 13:10:05.453521 94.27% [DEBUG] mod_sofia.c:158 sofia/default/1000001@46.101.114.158 SOFIA ROUTING
  1001. 2022-10-11 13:10:05.453521 94.27% [DEBUG] switch_core_state_machine.c:230 sofia/default/1000001@46.101.114.158 Standard ROUTING
  1002. 2022-10-11 13:10:05.453521 94.27% [INFO] mod_dialplan_xml.c:639 Processing 3613818599 <1000001>->1000001 in context default
  1003. 2022-10-11 13:10:05.453521 94.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  1004. 2022-10-11 13:10:05.453521 94.27% [DEBUG] switch_core_state_machine.c:40 sofia/default/1000001@46.101.114.158:5064 Standard INIT
  1005. 2022-10-11 13:10:05.453521 94.27% [DEBUG] switch_core_state_machine.c:48 (sofia/default/1000001@46.101.114.158:5064) State Change CS_INIT -> CS_ROUTING
  1006. 2022-10-11 13:10:05.453521 94.27% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1000001@46.101.114.158:5064) State INIT going to sleep
  1007. 2022-10-11 13:10:05.453521 94.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000001@46.101.114.158:5064) Running State Change CS_ROUTING (Cur 5 Tot 177)
  1008. 2022-10-11 13:10:05.453521 94.27% [DEBUG] sofia.c:7499 Channel sofia/default/1000001@46.101.114.158:5064 entering state [calling][0]
  1009. 2022-10-11 13:10:05.453521 94.27% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1000001@46.101.114.158:5064) State ROUTING
  1010. 2022-10-11 13:10:05.453521 94.27% [DEBUG] mod_sofia.c:158 sofia/default/1000001@46.101.114.158:5064 SOFIA ROUTING
  1011. 2022-10-11 13:10:05.453521 94.27% [DEBUG] switch_ivr_originate.c:67 (sofia/default/1000001@46.101.114.158:5064) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  1012. 2022-10-11 13:10:05.453521 94.27% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1000001@46.101.114.158:5064) State ROUTING going to sleep
  1013. 2022-10-11 13:10:05.453521 94.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000001@46.101.114.158:5064) Running State Change CS_CONSUME_MEDIA (Cur 5 Tot 177)
  1014. 2022-10-11 13:10:05.453521 94.27% [DEBUG] switch_core_state_machine.c:659 (sofia/default/1000001@46.101.114.158:5064) State CONSUME_MEDIA
  1015. 2022-10-11 13:10:05.453521 94.27% [DEBUG] switch_core_state_machine.c:659 (sofia/default/1000001@46.101.114.158:5064) State CONSUME_MEDIA going to sleep
  1016. 2022-10-11 13:10:05.453521 94.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1017. 2022-10-11 13:10:05.473530 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 1000001
  1018. 2022-10-11 13:10:05.473530 94.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Clicktocall Destination Number 1000001
  1019. 2022-10-11 13:10:05.473530 94.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '1000001' AND status=0 limit 1
  1020. 2022-10-11 13:10:05.473530 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 3613818599 / 1000001
  1021. 2022-10-11 13:10:05.473530 94.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1000001" LIMIT 1
  1022. 2022-10-11 13:10:05.473530 94.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="1000001" limit 1
  1023. 2022-10-11 13:10:05.473530 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  1024. 2022-10-11 13:10:05.473530 94.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("46.101.114.158") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 -  SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1))  AND "1000001"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  1025. 2022-10-11 13:10:05.473530 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 3613818599]
  1026. 2022-10-11 13:10:05.473530 94.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3613818599" AND deleted = 0 limit 1
  1027. 2022-10-11 13:10:05.473530 94.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^1000001.*' OR blocked_patterns = '^100000.*' OR blocked_patterns = '^10000.*' OR blocked_patterns = '^1000.*' OR blocked_patterns = '^100.*' OR blocked_patterns = '^10.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 16 limit 1
  1028. 2022-10-11 13:10:05.473530 94.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="1000001" AND A.accountid = '16' limit 1
  1029. 2022-10-11 13:10:05.473530 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 1000001
  1030. 2022-10-11 13:10:05.473530 94.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1000001" LIMIT 1
  1031. 2022-10-11 13:10:05.493519 94.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="1000001" limit 1
  1032. 2022-10-11 13:10:05.493519 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call direction : outbound
  1033. 2022-10-11 13:10:05.493519 94.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="1000001" AND (accountid = 0 OR status = 1) LIMIT 1
  1034. 2022-10-11 13:10:05.493519 94.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^1000001.*' OR patterns = '^100000.*' OR patterns = '^10000.*' OR patterns = '^1000.*' OR patterns = '^100.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 16 ORDER BY LENGTH(PKGPTR.patterns) DESC
  1035. 2022-10-11 13:10:05.493519 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  1036. 2022-10-11 13:10:05.493519 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 16
  1037. 2022-10-11 13:10:05.493519 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 3613818599
  1038. 2022-10-11 13:10:05.493519 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 95.8
  1039. 2022-10-11 13:10:05.493519 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  1040. 2022-10-11 13:10:05.493519 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  1041. 2022-10-11 13:10:05.493519 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  1042. 2022-10-11 13:10:05.493519 94.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  1043. 2022-10-11 13:10:05.513522 94.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  1044. 2022-10-11 13:10:05.513522 94.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^1000001.*' OR pattern = '^100000.*' OR pattern = '^10000.*' OR pattern = '^1000.*' OR pattern = '^100.*' OR pattern = '^10.*' OR pattern = '^1.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 1 OR accountid=16)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1
  1045. 2022-10-11 13:10:05.513522 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] call_direction:::::: outbound
  1046. 2022-10-11 13:10:05.513522 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  1047. 2022-10-11 13:10:05.513522 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  1048. 2022-10-11 13:10:05.513522 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  1049. 2022-10-11 13:10:05.513522 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  1050. 2022-10-11 13:10:05.513522 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.20000
  1051. 2022-10-11 13:10:05.513522 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] comment : USA
  1052. 2022-10-11 13:10:05.513522 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
  1053. 2022-10-11 13:10:05.513522 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 16
  1054. 2022-10-11 13:10:05.513522 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 0
  1055. 2022-10-11 13:10:05.513522 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  1056. 2022-10-11 13:10:05.513522 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  1057. 2022-10-11 13:10:05.513522 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your95.8 balance Accountid 16 !!!
  1058. 2022-10-11 13:10:05.513522 94.27% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting call to config max length 100 mins!
  1059. 2022-10-11 13:10:05.513522 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max length duration : 100 minutes
  1060. 2022-10-11 13:10:05.513522 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 1
  1061. 2022-10-11 13:10:05.513522 94.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=1 ORDER by id asc
  1062. 2022-10-11 13:10:05.513522 94.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.sip_cid_type,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^1000001.*' OR pattern = '^100000.*' OR pattern = '^10000.*' OR pattern = '^1000.*' OR pattern = '^100.*' OR pattern = '^10.*' OR pattern = '^1.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (1) ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence
  1063. 2022-10-11 13:10:05.513522 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  1064. 2022-10-11 13:10:05.513522 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  1065. 2022-10-11 13:10:05.513522 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^1.*
  1066. 2022-10-11 13:10:05.513522 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : USA
  1067. 2022-10-11 13:10:05.513522 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  1068. 2022-10-11 13:10:05.513522 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  1069. 2022-10-11 13:10:05.513522 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^1.*
  1070. 2022-10-11 13:10:05.513522 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  1071. 2022-10-11 13:10:05.513522 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  1072. 2022-10-11 13:10:05.513522 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 1
  1073. 2022-10-11 13:10:05.513522 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : YourProvider
  1074. 2022-10-11 13:10:05.513522 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  1075. 2022-10-11 13:10:05.513522 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  1076. 2022-10-11 13:10:05.513522 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  1077. 2022-10-11 13:10:05.513522 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  1078. 2022-10-11 13:10:05.513522 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : YourProvider
  1079. 2022-10-11 13:10:05.513522 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  1080. 2022-10-11 13:10:05.513522 94.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 16 AND status=0 LIMIT 1
  1081. 2022-10-11 13:10:05.513522 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] maxlength::::::::: 100
  1082. 2022-10-11 13:10:05.513522 94.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  1083. 2022-10-11 13:10:05.513522 94.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 1) AND status=0 limit 1
  1084. 2022-10-11 13:10:05.513522 94.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate FROM localization WHERE id=(SELECT localization_id from accounts where id = 3) AND status=0 limit 1
  1085. 2022-10-11 13:10:05.513522 94.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  1086. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  1087. <document type="freeswitch/xml">
  1088. <section name="dialplan" description="ASTPP Dialplan">
  1089. <context name="default">
  1090. <extension name="1000001">
  1091. <condition field="destination_number" expression="1000001">
  1092. <action application="set" data="effective_destination_number=1000001"/>
  1093. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  1094. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  1095. <action application="set" data="callstart=2022-10-11 13:10:04"/>
  1096. <action application="set" data="hangup_after_bridge=true"/>
  1097. <action application="set" data="continue_on_fail=TRUE"/>
  1098. <action application="set" data="account_id=16"/>
  1099. <action application="set" data="parent_id=0"/>
  1100. <action application="set" data="entity_id=0"/>
  1101. <action application="set" data="call_processed=internal"/>
  1102. <action application="set" data="call_direction=outbound"/>
  1103. <action application="set" data="accountname=default"/>
  1104. <action application="set" data="origination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:16"/>
  1105. <action application="set" data="original_caller_id_name=3613818599"/>
  1106. <action application="set" data="original_caller_id_number=1000001"/>
  1107.  
  1108. <action application="set" data="calltype=BROADCAST"/>
  1109. <action application="set" data="sip_user=3613818599"/>
  1110. <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"/>
  1111. <action application="set" data="trunk_id=1"/>
  1112. <action application="set" data="provider_id=3"/>
  1113. <action application="set" data="rate_flag=0"/>
  1114. <action application="set" data="force_trunk_flag=1"/>
  1115. <action application="export" data="presence_data=trunk_id=1"/>
  1116. <action application="set" data="intcall=0"/>
  1117. <action application="export" data="presence_data=x|||Alpesh(3613818599)|||^1.* // USA // 0.20000 // trunk_id=0|||YourProvider // ^1.* // USA // 0.10000 // trunk_id=1|||STD"/>
  1118. <action application="bridge" data="{sip_cid_type=}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/1000001"/>
  1119. </condition>
  1120. </extension>
  1121. </context>
  1122. </section>
  1123. </document>
  1124. Dialplan: sofia/default/1000001@46.101.114.158 parsing [default->1000001] continue=false
  1125. Dialplan: sofia/default/1000001@46.101.114.158 Regex (PASS) [1000001] destination_number(1000001) =~ /1000001/ break=on-false
  1126. Dialplan: sofia/default/1000001@46.101.114.158 Action set(effective_destination_number=1000001)
  1127. Dialplan: sofia/default/1000001@46.101.114.158 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  1128. Dialplan: sofia/default/1000001@46.101.114.158 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  1129. Dialplan: sofia/default/1000001@46.101.114.158 Action set(callstart=2022-10-11 13:10:04)
  1130. Dialplan: sofia/default/1000001@46.101.114.158 Action set(hangup_after_bridge=true)
  1131. Dialplan: sofia/default/1000001@46.101.114.158 Action set(continue_on_fail=TRUE)
  1132. Dialplan: sofia/default/1000001@46.101.114.158 Action set(account_id=16)
  1133. Dialplan: sofia/default/1000001@46.101.114.158 Action set(parent_id=0)
  1134. Dialplan: sofia/default/1000001@46.101.114.158 Action set(entity_id=0)
  1135. Dialplan: sofia/default/1000001@46.101.114.158 Action set(call_processed=internal)
  1136. Dialplan: sofia/default/1000001@46.101.114.158 Action set(call_direction=outbound)
  1137. Dialplan: sofia/default/1000001@46.101.114.158 Action set(accountname=default)
  1138. Dialplan: sofia/default/1000001@46.101.114.158 Action set(origination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:16)
  1139. Dialplan: sofia/default/1000001@46.101.114.158 Action set(original_caller_id_name=3613818599)
  1140. Dialplan: sofia/default/1000001@46.101.114.158 Action set(original_caller_id_number=1000001)
  1141. Dialplan: sofia/default/1000001@46.101.114.158 Action set(calltype=BROADCAST)
  1142. Dialplan: sofia/default/1000001@46.101.114.158 Action set(sip_user=3613818599)
  1143. Dialplan: sofia/default/1000001@46.101.114.158 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)
  1144. Dialplan: sofia/default/1000001@46.101.114.158 Action set(trunk_id=1)
  1145. Dialplan: sofia/default/1000001@46.101.114.158 Action set(provider_id=3)
  1146. Dialplan: sofia/default/1000001@46.101.114.158 Action set(rate_flag=0)
  1147. Dialplan: sofia/default/1000001@46.101.114.158 Action set(force_trunk_flag=1)
  1148. Dialplan: sofia/default/1000001@46.101.114.158 Action export(presence_data=trunk_id=1)
  1149. Dialplan: sofia/default/1000001@46.101.114.158 Action set(intcall=0)
  1150. Dialplan: sofia/default/1000001@46.101.114.158 Action export(presence_data=x|||Alpesh(3613818599)|||^1.* // USA // 0.20000 // trunk_id=0|||YourProvider // ^1.* // USA // 0.10000 // trunk_id=1|||STD)
  1151. Dialplan: sofia/default/1000001@46.101.114.158 Action bridge({sip_cid_type=}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/1000001)
  1152. 2022-10-11 13:10:05.513522 94.27% [DEBUG] switch_core_state_machine.c:281 (sofia/default/1000001@46.101.114.158) State Change CS_ROUTING -> CS_EXECUTE
  1153. 2022-10-11 13:10:05.513522 94.27% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1000001@46.101.114.158) State ROUTING going to sleep
  1154. 2022-10-11 13:10:05.513522 94.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000001@46.101.114.158) Running State Change CS_EXECUTE (Cur 5 Tot 177)
  1155. 2022-10-11 13:10:05.513522 94.27% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1000001@46.101.114.158) State EXECUTE
  1156. 2022-10-11 13:10:05.513522 94.27% [DEBUG] mod_sofia.c:213 sofia/default/1000001@46.101.114.158 SOFIA EXECUTE
  1157. 2022-10-11 13:10:05.513522 94.27% [DEBUG] switch_core_state_machine.c:323 sofia/default/1000001@46.101.114.158 Standard EXECUTE
  1158. EXECUTE [depth=0] sofia/default/1000001@46.101.114.158 set(effective_destination_number=1000001)
  1159. 2022-10-11 13:10:05.513522 94.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000001@46.101.114.158 [effective_destination_number]=[1000001]
  1160. EXECUTE [depth=0] sofia/default/1000001@46.101.114.158 set(bridge_pre_execute_bleg_app=sched_hangup)
  1161. 2022-10-11 13:10:05.513522 94.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000001@46.101.114.158 [bridge_pre_execute_bleg_app]=[sched_hangup]
  1162. EXECUTE [depth=0] sofia/default/1000001@46.101.114.158 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  1163. 2022-10-11 13:10:05.513522 94.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000001@46.101.114.158 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  1164. EXECUTE [depth=0] sofia/default/1000001@46.101.114.158 set(callstart=2022-10-11 13:10:04)
  1165. 2022-10-11 13:10:05.513522 94.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000001@46.101.114.158 [callstart]=[2022-10-11 13:10:04]
  1166. EXECUTE [depth=0] sofia/default/1000001@46.101.114.158 set(hangup_after_bridge=true)
  1167. 2022-10-11 13:10:05.513522 94.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000001@46.101.114.158 [hangup_after_bridge]=[true]
  1168. EXECUTE [depth=0] sofia/default/1000001@46.101.114.158 set(continue_on_fail=TRUE)
  1169. 2022-10-11 13:10:05.513522 94.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000001@46.101.114.158 [continue_on_fail]=[TRUE]
  1170. EXECUTE [depth=0] sofia/default/1000001@46.101.114.158 set(account_id=16)
  1171. 2022-10-11 13:10:05.513522 94.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000001@46.101.114.158 [account_id]=[16]
  1172. EXECUTE [depth=0] sofia/default/1000001@46.101.114.158 set(parent_id=0)
  1173. 2022-10-11 13:10:05.513522 94.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000001@46.101.114.158 [parent_id]=[0]
  1174. EXECUTE [depth=0] sofia/default/1000001@46.101.114.158 set(entity_id=0)
  1175. 2022-10-11 13:10:05.533529 94.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000001@46.101.114.158 [entity_id]=[0]
  1176. EXECUTE [depth=0] sofia/default/1000001@46.101.114.158 set(call_processed=internal)
  1177. 2022-10-11 13:10:05.533529 94.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000001@46.101.114.158 [call_processed]=[internal]
  1178. EXECUTE [depth=0] sofia/default/1000001@46.101.114.158 set(call_direction=outbound)
  1179. 2022-10-11 13:10:05.533529 94.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000001@46.101.114.158 [call_direction]=[outbound]
  1180. EXECUTE [depth=0] sofia/default/1000001@46.101.114.158 set(accountname=default)
  1181. 2022-10-11 13:10:05.533529 94.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000001@46.101.114.158 [accountname]=[default]
  1182. EXECUTE [depth=0] sofia/default/1000001@46.101.114.158 set(origination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:16)
  1183. 2022-10-11 13:10:05.533529 94.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000001@46.101.114.158 [origination_rates]=[ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:16]
  1184. EXECUTE [depth=0] sofia/default/1000001@46.101.114.158 set(original_caller_id_name=3613818599)
  1185. 2022-10-11 13:10:05.533529 94.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000001@46.101.114.158 [original_caller_id_name]=[3613818599]
  1186. EXECUTE [depth=0] sofia/default/1000001@46.101.114.158 set(original_caller_id_number=1000001)
  1187. 2022-10-11 13:10:05.533529 94.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000001@46.101.114.158 [original_caller_id_number]=[1000001]
  1188. EXECUTE [depth=0] sofia/default/1000001@46.101.114.158 set(calltype=BROADCAST)
  1189. 2022-10-11 13:10:05.533529 94.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000001@46.101.114.158 [calltype]=[BROADCAST]
  1190. EXECUTE [depth=0] sofia/default/1000001@46.101.114.158 set(sip_user=3613818599)
  1191. 2022-10-11 13:10:05.533529 94.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000001@46.101.114.158 [sip_user]=[3613818599]
  1192. EXECUTE [depth=0] sofia/default/1000001@46.101.114.158 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)
  1193. 2022-10-11 13:10:05.533529 94.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000001@46.101.114.158 [termination_rates]=[ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.10000|INC:60|INITIALBLOCK:30|TRUNK:1|PROVIDER:3]
  1194. EXECUTE [depth=0] sofia/default/1000001@46.101.114.158 set(trunk_id=1)
  1195. 2022-10-11 13:10:05.533529 94.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000001@46.101.114.158 [trunk_id]=[1]
  1196. EXECUTE [depth=0] sofia/default/1000001@46.101.114.158 set(provider_id=3)
  1197. 2022-10-11 13:10:05.533529 94.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000001@46.101.114.158 [provider_id]=[3]
  1198. EXECUTE [depth=0] sofia/default/1000001@46.101.114.158 set(rate_flag=0)
  1199. 2022-10-11 13:10:05.533529 94.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000001@46.101.114.158 [rate_flag]=[0]
  1200. EXECUTE [depth=0] sofia/default/1000001@46.101.114.158 set(force_trunk_flag=1)
  1201. 2022-10-11 13:10:05.533529 94.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000001@46.101.114.158 [force_trunk_flag]=[1]
  1202. EXECUTE [depth=0] sofia/default/1000001@46.101.114.158 export(presence_data=trunk_id=1)
  1203. 2022-10-11 13:10:05.533529 94.27% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=1]
  1204. EXECUTE [depth=0] sofia/default/1000001@46.101.114.158 set(intcall=0)
  1205. 2022-10-11 13:10:05.533529 94.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000001@46.101.114.158 [intcall]=[0]
  1206. EXECUTE [depth=0] sofia/default/1000001@46.101.114.158 export(presence_data=x|||Alpesh(3613818599)|||^1.* // USA // 0.20000 // trunk_id=0|||YourProvider // ^1.* // USA // 0.10000 // trunk_id=1|||STD)
  1207. 2022-10-11 13:10:05.533529 94.27% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Alpesh(3613818599)|||^1.* // USA // 0.20000 // trunk_id=0|||YourProvider // ^1.* // USA // 0.10000 // trunk_id=1|||STD]
  1208. EXECUTE [depth=0] sofia/default/1000001@46.101.114.158 bridge({sip_cid_type=}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/1000001)
  1209. 2022-10-11 13:10:05.533529 94.27% [DEBUG] switch_channel.c:1269 sofia/default/1000001@46.101.114.158 EXPORTING[export_vars] [presence_data]=[x|||Alpesh(3613818599)|||^1.* // USA // 0.20000 // trunk_id=0|||YourProvider // ^1.* // USA // 0.10000 // trunk_id=1|||STD] to event
  1210. 2022-10-11 13:10:05.533529 94.27% [DEBUG] switch_channel.c:1269 sofia/default/1000001@46.101.114.158 EXPORTING[export_vars] [presence_data]=[x|||Alpesh(3613818599)|||^1.* // USA // 0.20000 // trunk_id=0|||YourProvider // ^1.* // USA // 0.10000 // trunk_id=1|||STD] to event
  1211. 2022-10-11 13:10:05.533529 94.27% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  1212. 2022-10-11 13:10:05.533529 94.27% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  1213. 2022-10-11 13:10:05.533529 94.27% [NOTICE] switch_channel.c:1123 New Channel sofia/default/1000001 [d0497d9c-6b36-43dd-bed0-a9ec90f110d6]
  1214. 2022-10-11 13:10:05.533529 94.27% [DEBUG] mod_sofia.c:5121 (sofia/default/1000001) State Change CS_NEW -> CS_INIT
  1215. 2022-10-11 13:10:05.533529 94.27% [DEBUG] switch_ivr_originate.c:3151 sofia/default/1000001 Setting leg timeout to 30
  1216. 2022-10-11 13:10:05.533529 94.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000001) Running State Change CS_INIT (Cur 6 Tot 178)
  1217. 2022-10-11 13:10:05.533529 94.27% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1000001) State INIT
  1218. 2022-10-11 13:10:05.533529 94.27% [DEBUG] mod_sofia.c:97 sofia/default/1000001 SOFIA INIT
  1219. 2022-10-11 13:10:05.533529 94.27% [INFO] sofia_glue.c:1651 sofia/default/1000001 sending invite call-id: (null)
  1220. 2022-10-11 13:10:05.533529 94.27% [DEBUG] sofia_glue.c:1654 sofia/default/1000001 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
  1221. Local SDP:
  1222. v=0
  1223. o=FreeSWITCH 1665466583 1665466584 IN IP4 46.101.114.158
  1224. s=FreeSWITCH
  1225. c=IN IP4 46.101.114.158
  1226. t=0 0
  1227. m=audio 27222 RTP/AVP 8 18 101
  1228. a=rtpmap:8 PCMA/8000
  1229. a=rtpmap:18 G729/8000
  1230. a=rtpmap:101 telephone-event/8000
  1231. a=fmtp:101 0-15
  1232. a=ptime:20
  1233. a=sendrecv
  1234.  
  1235. 2022-10-11 13:10:05.533529 94.27% [DEBUG] switch_core_state_machine.c:40 sofia/default/1000001 Standard INIT
  1236. 2022-10-11 13:10:05.533529 94.27% [DEBUG] switch_core_state_machine.c:48 (sofia/default/1000001) State Change CS_INIT -> CS_ROUTING
  1237. 2022-10-11 13:10:05.533529 94.27% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1000001) State INIT going to sleep
  1238. 2022-10-11 13:10:05.533529 94.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000001) Running State Change CS_ROUTING (Cur 6 Tot 178)
  1239. 2022-10-11 13:10:05.533529 94.27% [DEBUG] sofia.c:7499 Channel sofia/default/1000001 entering state [calling][0]
  1240. 2022-10-11 13:10:05.533529 94.27% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1000001) State ROUTING
  1241. 2022-10-11 13:10:05.533529 94.27% [DEBUG] mod_sofia.c:158 sofia/default/1000001 SOFIA ROUTING
  1242. 2022-10-11 13:10:05.533529 94.27% [DEBUG] switch_ivr_originate.c:67 (sofia/default/1000001) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  1243. 2022-10-11 13:10:05.533529 94.27% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1000001) State ROUTING going to sleep
  1244. 2022-10-11 13:10:05.533529 94.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000001) Running State Change CS_CONSUME_MEDIA (Cur 6 Tot 178)
  1245. 2022-10-11 13:10:05.533529 94.27% [DEBUG] switch_core_state_machine.c:659 (sofia/default/1000001) State CONSUME_MEDIA
  1246. 2022-10-11 13:10:05.533529 94.27% [DEBUG] switch_core_state_machine.c:659 (sofia/default/1000001) State CONSUME_MEDIA going to sleep
  1247. 2022-10-11 13:10:05.613536 94.27% [DEBUG] sofia.c:7499 Channel sofia/default/1000001 entering state [completing][200]
  1248. 2022-10-11 13:10:05.613536 94.27% [DEBUG] sofia.c:7509 Remote SDP:
  1249. v=0
  1250. o=root 1216580987 1216580987 IN IP4 159.203.131.36
  1251. s=Asterisk PBX 16.4.0
  1252. c=IN IP4 159.203.131.36
  1253. t=0 0
  1254. m=audio 10164 RTP/AVP 8 101
  1255. a=rtpmap:8 PCMA/8000
  1256. a=rtpmap:101 telephone-event/8000
  1257. a=fmtp:101 0-16
  1258. a=maxptime:150
  1259.  
  1260. 2022-10-11 13:10:05.613536 94.27% [DEBUG] sofia.c:7499 Channel sofia/default/1000001 entering state [ready][200]
  1261. 2022-10-11 13:10:05.613536 94.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1]
  1262. 2022-10-11 13:10:05.613536 94.27% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  1263. 2022-10-11 13:10:05.613536 94.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[G729:18:8000:20:8000:1]
  1264. 2022-10-11 13:10:05.613536 94.27% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  1265. 2022-10-11 13:10:05.613536 94.27% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/1000001 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  1266. 2022-10-11 13:10:05.613536 94.27% [DEBUG] switch_core_codec.c:111 sofia/default/1000001 Original read codec set to PCMA:8
  1267. 2022-10-11 13:10:05.613536 94.27% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  1268. 2022-10-11 13:10:05.613536 94.27% [DEBUG] switch_core_media.c:5973 sofia/default/1000001 Set 2833 dtmf send payload to 101 recv payload to 101
  1269. 2022-10-11 13:10:05.613536 94.27% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/1000001] 46.101.114.158 port 27222 -> 159.203.131.36 port 10164 codec: 8 ms: 20
  1270. 2022-10-11 13:10:05.613536 94.27% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  1271. 2022-10-11 13:10:05.613536 94.27% [DEBUG] switch_core_media.c:9089 sofia/default/1000001 Set 2833 dtmf send payload to 101
  1272. 2022-10-11 13:10:05.613536 94.27% [DEBUG] switch_core_media.c:9096 sofia/default/1000001 Set 2833 dtmf receive payload to 101
  1273. 2022-10-11 13:10:05.613536 94.27% [DEBUG] switch_core_media.c:9119 sofia/default/1000001 Set rtp dtmf delay to 40
  1274. 2022-10-11 13:10:05.613536 94.27% [NOTICE] sofia.c:8683 Channel [sofia/default/1000001] has been answered
  1275. 2022-10-11 13:10:05.613536 94.27% [DEBUG] switch_channel.c:3950 (sofia/default/1000001) Callstate Change DOWN -> ACTIVE
  1276. 2022-10-11 13:10:05.633517 94.27% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/1000001@46.101.114.158] 46.101.114.158 port 17606 -> 46.101.114.158 port 32654 codec: 8 ms: 20
  1277. 2022-10-11 13:10:05.633517 94.27% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  1278. 2022-10-11 13:10:05.633517 94.27% [DEBUG] switch_core_media.c:9089 sofia/default/1000001@46.101.114.158 Set 2833 dtmf send payload to 101
  1279. 2022-10-11 13:10:05.633517 94.27% [DEBUG] switch_core_media.c:9096 sofia/default/1000001@46.101.114.158 Set 2833 dtmf receive payload to 101
  1280. 2022-10-11 13:10:05.633517 94.27% [DEBUG] switch_core_media.c:9119 sofia/default/1000001@46.101.114.158 Set rtp dtmf delay to 40
  1281. 2022-10-11 13:10:05.633517 94.27% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/1000001@46.101.114.158:
  1282. v=0
  1283. o=FreeSWITCH 1665476199 1665476200 IN IP4 46.101.114.158
  1284. s=FreeSWITCH
  1285. c=IN IP4 46.101.114.158
  1286. t=0 0
  1287. m=audio 17606 RTP/AVP 8 101
  1288. a=rtpmap:8 PCMA/8000
  1289. a=rtpmap:101 telephone-event/8000
  1290. a=fmtp:101 0-15
  1291. a=ptime:20
  1292. a=sendrecv
  1293.  
  1294. 2022-10-11 13:10:05.633517 94.27% [DEBUG] sofia.c:7499 Channel sofia/default/1000001@46.101.114.158 entering state [completed][200]
  1295. 2022-10-11 13:10:05.633517 94.27% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/default/1000001@46.101.114.158] has been answered
  1296. 2022-10-11 13:10:05.633517 94.27% [DEBUG] switch_channel.c:3950 (sofia/default/1000001@46.101.114.158) Callstate Change RINGING -> ACTIVE
  1297. 2022-10-11 13:10:05.633517 94.27% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/1000001] Peer UUID: d0497d9c-6b36-43dd-bed0-a9ec90f110d6
  1298. 2022-10-11 13:10:05.633517 94.27% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/1000001) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  1299. 2022-10-11 13:10:05.633517 94.27% [DEBUG] sofia.c:7499 Channel sofia/default/1000001@46.101.114.158:5064 entering state [completing][200]
  1300. 2022-10-11 13:10:05.633517 94.27% [DEBUG] sofia.c:7509 Remote SDP:
  1301. v=0
  1302. o=FreeSWITCH 1665476199 1665476200 IN IP4 46.101.114.158
  1303. s=FreeSWITCH
  1304. c=IN IP4 46.101.114.158
  1305. t=0 0
  1306. m=audio 17606 RTP/AVP 8 101
  1307. a=rtpmap:8 PCMA/8000
  1308. a=rtpmap:101 telephone-event/8000
  1309. a=fmtp:101 0-15
  1310. a=ptime:20
  1311.  
  1312. 2022-10-11 13:10:05.633517 94.27% [DEBUG] sofia.c:7499 Channel sofia/default/1000001@46.101.114.158:5064 entering state [ready][200]
  1313. 2022-10-11 13:10:05.633517 94.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1314. 2022-10-11 13:10:05.633517 94.27% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  1315. 2022-10-11 13:10:05.633517 94.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1316. 2022-10-11 13:10:05.633517 94.27% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  1317. 2022-10-11 13:10:05.633517 94.27% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/1000001@46.101.114.158:5064 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  1318. 2022-10-11 13:10:05.633517 94.27% [DEBUG] switch_core_codec.c:111 sofia/default/1000001@46.101.114.158:5064 Original read codec set to PCMA:8
  1319. 2022-10-11 13:10:05.633517 94.27% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  1320. 2022-10-11 13:10:05.633517 94.27% [DEBUG] switch_core_media.c:5973 sofia/default/1000001@46.101.114.158:5064 Set 2833 dtmf send payload to 101 recv payload to 101
  1321. 2022-10-11 13:10:05.633517 94.27% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/1000001@46.101.114.158:5064] 46.101.114.158 port 32654 -> 46.101.114.158 port 17606 codec: 8 ms: 20
  1322. 2022-10-11 13:10:05.633517 94.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000001) Running State Change CS_EXCHANGE_MEDIA (Cur 6 Tot 178)
  1323. 2022-10-11 13:10:05.633517 94.27% [DEBUG] switch_core_state_machine.c:650 (sofia/default/1000001) State EXCHANGE_MEDIA
  1324. 2022-10-11 13:10:05.633517 94.27% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  1325. 2022-10-11 13:10:05.633517 94.27% [DEBUG] sofia.c:7499 Channel sofia/default/1000001@46.101.114.158 entering state [ready][200]
  1326. 2022-10-11 13:10:05.633517 94.27% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  1327. 2022-10-11 13:10:05.633517 94.27% [DEBUG] switch_core_media.c:9089 sofia/default/1000001@46.101.114.158:5064 Set 2833 dtmf send payload to 101
  1328. 2022-10-11 13:10:05.633517 94.27% [DEBUG] switch_core_media.c:9096 sofia/default/1000001@46.101.114.158:5064 Set 2833 dtmf receive payload to 101
  1329. 2022-10-11 13:10:05.633517 94.27% [DEBUG] switch_core_media.c:9119 sofia/default/1000001@46.101.114.158:5064 Set rtp dtmf delay to 40
  1330. 2022-10-11 13:10:05.633517 94.27% [NOTICE] sofia.c:8683 Channel [sofia/default/1000001@46.101.114.158:5064] has been answered
  1331. 2022-10-11 13:10:05.633517 94.27% [DEBUG] switch_channel.c:3950 (sofia/default/1000001@46.101.114.158:5064) Callstate Change DOWN -> ACTIVE
  1332. 2022-10-11 13:10:05.653525 94.27% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/1000001@46.101.114.158:5064] Peer UUID: 672d99e7-2409-4586-af3a-eb9fa07ff1db
  1333. 2022-10-11 13:10:05.653525 94.27% [INFO] switch_channel.c:3270 sofia/default/1000001@46.101.114.158:5064 Flipping CID from "3613818599" <1000001> to "Outbound Call" <1000001>
  1334. 2022-10-11 13:10:05.653525 94.27% [DEBUG] mod_commands.c:5169 (sofia/default/1000001@46.101.114.158:5064) State Change CS_CONSUME_MEDIA -> CS_EXECUTE
  1335. 2022-10-11 13:10:05.653525 94.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000001@46.101.114.158:5064) Running State Change CS_EXECUTE (Cur 6 Tot 178)
  1336. 2022-10-11 13:10:05.653525 94.27% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1000001@46.101.114.158:5064) State EXECUTE
  1337. 2022-10-11 13:10:05.653525 94.27% [DEBUG] mod_sofia.c:213 sofia/default/1000001@46.101.114.158:5064 SOFIA EXECUTE
  1338. 2022-10-11 13:10:05.653525 94.27% [DEBUG] switch_core_state_machine.c:323 sofia/default/1000001@46.101.114.158:5064 Standard EXECUTE
  1339. EXECUTE [depth=0] sofia/default/1000001@46.101.114.158:5064 playback(/opt/ASTPP/web_interface/astpp/upload/voice_broadcast/file_example_WAV_1MG_.wav)
  1340. 2022-10-11 13:10:05.653525 94.27% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur.
  1341. 2022-10-11 13:10:05.653525 94.27% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  1342. 2022-10-11 13:10:05.673521 94.27% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  1343. 2022-10-11 13:10:05.673521 94.27% [NOTICE] switch_channel.c:1123 New Channel sofia/default/1000002@46.101.114.158:5064 [655cdde1-3683-430e-98f5-2f530db1b3cf]
  1344. 2022-10-11 13:10:05.673521 94.27% [DEBUG] mod_sofia.c:5121 (sofia/default/1000002@46.101.114.158:5064) State Change CS_NEW -> CS_INIT
  1345. 2022-10-11 13:10:05.673521 94.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000002@46.101.114.158:5064) Running State Change CS_INIT (Cur 7 Tot 179)
  1346. 2022-10-11 13:10:05.673521 94.27% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1000002@46.101.114.158:5064) State INIT
  1347. 2022-10-11 13:10:05.673521 94.27% [DEBUG] mod_sofia.c:97 sofia/default/1000002@46.101.114.158:5064 SOFIA INIT
  1348. 2022-10-11 13:10:05.673521 94.27% [INFO] sofia_glue.c:1651 sofia/default/1000002@46.101.114.158:5064 sending invite call-id: (null)
  1349. 2022-10-11 13:10:05.673521 94.27% [DEBUG] sofia_glue.c:1654 sofia/default/1000002@46.101.114.158:5064 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
  1350. Local SDP:
  1351. v=0
  1352. o=FreeSWITCH 1665462539 1665462540 IN IP4 46.101.114.158
  1353. s=FreeSWITCH
  1354. c=IN IP4 46.101.114.158
  1355. t=0 0
  1356. m=audio 31266 RTP/AVP 8 0 101
  1357. a=rtpmap:8 PCMA/8000
  1358. a=rtpmap:0 PCMU/8000
  1359. a=rtpmap:101 telephone-event/8000
  1360. a=fmtp:101 0-15
  1361. a=ptime:20
  1362. a=sendrecv
  1363.  
  1364. 2022-10-11 13:10:05.673521 94.27% [NOTICE] switch_channel.c:1123 New Channel sofia/default/1000002@46.101.114.158 [4f406fea-a553-463b-8e97-0772c02903d6]
  1365. 2022-10-11 13:10:05.673521 94.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000002@46.101.114.158) Running State Change CS_NEW (Cur 8 Tot 180)
  1366. 2022-10-11 13:10:05.673521 94.27% [INFO] sofia.c:10462 sofia/default/1000002@46.101.114.158 receiving invite from 46.101.114.158:5064 version: 1.10.7 -release-19-883d2cb662 64bit call-id: dce489ad-c408-123b-8ea3-ba05d31eb9f9
  1367. 2022-10-11 13:10:05.673521 94.27% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 46.101.114.158:0.
  1368. 2022-10-11 13:10:05.673521 94.27% [DEBUG] sofia.c:7499 Channel sofia/default/1000002@46.101.114.158 entering state [received][100]
  1369. 2022-10-11 13:10:05.673521 94.27% [DEBUG] sofia.c:7509 Remote SDP:
  1370. v=0
  1371. o=FreeSWITCH 1665462539 1665462540 IN IP4 46.101.114.158
  1372. s=FreeSWITCH
  1373. c=IN IP4 46.101.114.158
  1374. t=0 0
  1375. m=audio 31266 RTP/AVP 8 0 101
  1376. a=rtpmap:8 PCMA/8000
  1377. a=rtpmap:0 PCMU/8000
  1378. a=rtpmap:101 telephone-event/8000
  1379. a=fmtp:101 0-15
  1380. a=ptime:20
  1381.  
  1382. 2022-10-11 13:10:05.673521 94.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1383. 2022-10-11 13:10:05.673521 94.27% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  1384. 2022-10-11 13:10:05.673521 94.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1385. 2022-10-11 13:10:05.673521 94.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1386. 2022-10-11 13:10:05.673521 94.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1387. 2022-10-11 13:10:05.673521 94.27% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  1388. 2022-10-11 13:10:05.673521 94.27% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  1389. 2022-10-11 13:10:05.673521 94.27% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/1000002@46.101.114.158 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  1390. 2022-10-11 13:10:05.673521 94.27% [DEBUG] switch_core_codec.c:111 sofia/default/1000002@46.101.114.158 Original read codec set to PCMA:8
  1391. 2022-10-11 13:10:05.673521 94.27% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  1392. 2022-10-11 13:10:05.673521 94.27% [DEBUG] switch_core_media.c:5973 sofia/default/1000002@46.101.114.158 Set 2833 dtmf send payload to 101 recv payload to 101
  1393. 2022-10-11 13:10:05.673521 94.27% [DEBUG] sofia.c:7933 (sofia/default/1000002@46.101.114.158) State Change CS_NEW -> CS_INIT
  1394. 2022-10-11 13:10:05.673521 94.27% [DEBUG] switch_core_state_machine.c:600 (sofia/default/1000002@46.101.114.158) State NEW
  1395. 2022-10-11 13:10:05.673521 94.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000002@46.101.114.158) Running State Change CS_INIT (Cur 8 Tot 180)
  1396. 2022-10-11 13:10:05.673521 94.27% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1000002@46.101.114.158) State INIT
  1397. 2022-10-11 13:10:05.673521 94.27% [DEBUG] mod_sofia.c:97 sofia/default/1000002@46.101.114.158 SOFIA INIT
  1398. 2022-10-11 13:10:05.673521 94.27% [DEBUG] switch_core_state_machine.c:40 sofia/default/1000002@46.101.114.158 Standard INIT
  1399. 2022-10-11 13:10:05.673521 94.27% [DEBUG] switch_core_state_machine.c:48 (sofia/default/1000002@46.101.114.158) State Change CS_INIT -> CS_ROUTING
  1400. 2022-10-11 13:10:05.673521 94.27% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1000002@46.101.114.158) State INIT going to sleep
  1401. 2022-10-11 13:10:05.673521 94.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000002@46.101.114.158) Running State Change CS_ROUTING (Cur 8 Tot 180)
  1402. 2022-10-11 13:10:05.673521 94.27% [DEBUG] switch_channel.c:2380 (sofia/default/1000002@46.101.114.158) Callstate Change DOWN -> RINGING
  1403. 2022-10-11 13:10:05.673521 94.27% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1000002@46.101.114.158) State ROUTING
  1404. 2022-10-11 13:10:05.673521 94.27% [DEBUG] mod_sofia.c:158 sofia/default/1000002@46.101.114.158 SOFIA ROUTING
  1405. 2022-10-11 13:10:05.673521 94.27% [DEBUG] switch_core_state_machine.c:230 sofia/default/1000002@46.101.114.158 Standard ROUTING
  1406. 2022-10-11 13:10:05.673521 94.27% [INFO] mod_dialplan_xml.c:639 Processing 3613818599 <1000002>->1000002 in context default
  1407. 2022-10-11 13:10:05.673521 94.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  1408. 2022-10-11 13:10:05.673521 94.27% [DEBUG] switch_core_state_machine.c:40 sofia/default/1000002@46.101.114.158:5064 Standard INIT
  1409. 2022-10-11 13:10:05.673521 94.27% [DEBUG] switch_core_state_machine.c:48 (sofia/default/1000002@46.101.114.158:5064) State Change CS_INIT -> CS_ROUTING
  1410. 2022-10-11 13:10:05.673521 94.27% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1000002@46.101.114.158:5064) State INIT going to sleep
  1411. 2022-10-11 13:10:05.673521 94.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000002@46.101.114.158:5064) Running State Change CS_ROUTING (Cur 8 Tot 180)
  1412. 2022-10-11 13:10:05.673521 94.27% [DEBUG] sofia.c:7499 Channel sofia/default/1000002@46.101.114.158:5064 entering state [calling][0]
  1413. 2022-10-11 13:10:05.673521 94.27% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1000002@46.101.114.158:5064) State ROUTING
  1414. 2022-10-11 13:10:05.673521 94.27% [DEBUG] mod_sofia.c:158 sofia/default/1000002@46.101.114.158:5064 SOFIA ROUTING
  1415. 2022-10-11 13:10:05.673521 94.27% [DEBUG] switch_ivr_originate.c:67 (sofia/default/1000002@46.101.114.158:5064) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  1416. 2022-10-11 13:10:05.673521 94.27% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1000002@46.101.114.158:5064) State ROUTING going to sleep
  1417. 2022-10-11 13:10:05.673521 94.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000002@46.101.114.158:5064) Running State Change CS_CONSUME_MEDIA (Cur 8 Tot 180)
  1418. 2022-10-11 13:10:05.673521 94.27% [DEBUG] switch_core_state_machine.c:659 (sofia/default/1000002@46.101.114.158:5064) State CONSUME_MEDIA
  1419. 2022-10-11 13:10:05.673521 94.27% [DEBUG] switch_core_state_machine.c:659 (sofia/default/1000002@46.101.114.158:5064) State CONSUME_MEDIA going to sleep
  1420. 2022-10-11 13:10:05.673521 94.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1421. 2022-10-11 13:10:05.693529 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 1000002
  1422. 2022-10-11 13:10:05.693529 94.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Clicktocall Destination Number 1000002
  1423. 2022-10-11 13:10:05.693529 94.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '1000002' AND status=0 limit 1
  1424. 2022-10-11 13:10:05.693529 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 3613818599 / 1000002
  1425. 2022-10-11 13:10:05.693529 94.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1000002" LIMIT 1
  1426. 2022-10-11 13:10:05.693529 94.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="1000002" limit 1
  1427. 2022-10-11 13:10:05.693529 94.27% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  1428. 2022-10-11 13:10:05.693529 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  1429. 2022-10-11 13:10:05.693529 94.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("46.101.114.158") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 -  SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1))  AND "1000002"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  1430. 2022-10-11 13:10:05.693529 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 3613818599]
  1431. 2022-10-11 13:10:05.693529 94.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3613818599" AND deleted = 0 limit 1
  1432. 2022-10-11 13:10:05.693529 94.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^1000002.*' OR blocked_patterns = '^100000.*' OR blocked_patterns = '^10000.*' OR blocked_patterns = '^1000.*' OR blocked_patterns = '^100.*' OR blocked_patterns = '^10.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 16 limit 1
  1433. 2022-10-11 13:10:05.693529 94.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="1000002" AND A.accountid = '16' limit 1
  1434. 2022-10-11 13:10:05.693529 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 1000002
  1435. 2022-10-11 13:10:05.693529 94.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1000002" LIMIT 1
  1436. 2022-10-11 13:10:05.693529 94.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="1000002" limit 1
  1437. 2022-10-11 13:10:05.713520 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call direction : outbound
  1438. 2022-10-11 13:10:05.713520 94.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="1000002" AND (accountid = 0 OR status = 1) LIMIT 1
  1439. 2022-10-11 13:10:05.713520 94.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^1000002.*' OR patterns = '^100000.*' OR patterns = '^10000.*' OR patterns = '^1000.*' OR patterns = '^100.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 16 ORDER BY LENGTH(PKGPTR.patterns) DESC
  1440. 2022-10-11 13:10:05.713520 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  1441. 2022-10-11 13:10:05.713520 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 16
  1442. 2022-10-11 13:10:05.713520 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 3613818599
  1443. 2022-10-11 13:10:05.713520 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 95.8
  1444. 2022-10-11 13:10:05.713520 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  1445. 2022-10-11 13:10:05.713520 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  1446. 2022-10-11 13:10:05.713520 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  1447. 2022-10-11 13:10:05.713520 94.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  1448. 2022-10-11 13:10:05.713520 94.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  1449. 2022-10-11 13:10:05.713520 94.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^1000002.*' OR pattern = '^100000.*' OR pattern = '^10000.*' OR pattern = '^1000.*' OR pattern = '^100.*' OR pattern = '^10.*' OR pattern = '^1.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 1 OR accountid=16)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1
  1450. 2022-10-11 13:10:05.713520 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] call_direction:::::: outbound
  1451. 2022-10-11 13:10:05.713520 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  1452. 2022-10-11 13:10:05.713520 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  1453. 2022-10-11 13:10:05.713520 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  1454. 2022-10-11 13:10:05.713520 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  1455. 2022-10-11 13:10:05.713520 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.20000
  1456. 2022-10-11 13:10:05.713520 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] comment : USA
  1457. 2022-10-11 13:10:05.713520 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
  1458. 2022-10-11 13:10:05.713520 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 16
  1459. 2022-10-11 13:10:05.713520 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 0
  1460. 2022-10-11 13:10:05.713520 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  1461. 2022-10-11 13:10:05.713520 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  1462. 2022-10-11 13:10:05.713520 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your95.8 balance Accountid 16 !!!
  1463. 2022-10-11 13:10:05.713520 94.27% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting call to config max length 100 mins!
  1464. 2022-10-11 13:10:05.713520 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max length duration : 100 minutes
  1465. 2022-10-11 13:10:05.713520 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 1
  1466. 2022-10-11 13:10:05.713520 94.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=1 ORDER by id asc
  1467. 2022-10-11 13:10:05.733520 94.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.sip_cid_type,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^1000002.*' OR pattern = '^100000.*' OR pattern = '^10000.*' OR pattern = '^1000.*' OR pattern = '^100.*' OR pattern = '^10.*' OR pattern = '^1.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (1) ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence
  1468. 2022-10-11 13:10:05.733520 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  1469. 2022-10-11 13:10:05.733520 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  1470. 2022-10-11 13:10:05.733520 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^1.*
  1471. 2022-10-11 13:10:05.733520 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : USA
  1472. 2022-10-11 13:10:05.733520 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  1473. 2022-10-11 13:10:05.733520 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  1474. 2022-10-11 13:10:05.733520 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^1.*
  1475. 2022-10-11 13:10:05.733520 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  1476. 2022-10-11 13:10:05.733520 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  1477. 2022-10-11 13:10:05.733520 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 1
  1478. 2022-10-11 13:10:05.733520 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : YourProvider
  1479. 2022-10-11 13:10:05.733520 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  1480. 2022-10-11 13:10:05.733520 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  1481. 2022-10-11 13:10:05.733520 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  1482. 2022-10-11 13:10:05.733520 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  1483. 2022-10-11 13:10:05.733520 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : YourProvider
  1484. 2022-10-11 13:10:05.733520 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  1485. 2022-10-11 13:10:05.733520 94.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 16 AND status=0 LIMIT 1
  1486. 2022-10-11 13:10:05.733520 94.27% [INFO] switch_cpp.cpp:1465 [ASTPP] maxlength::::::::: 100
  1487. 2022-10-11 13:10:05.733520 94.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  1488. 2022-10-11 13:10:05.733520 94.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 1) AND status=0 limit 1
  1489. 2022-10-11 13:10:05.733520 94.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate FROM localization WHERE id=(SELECT localization_id from accounts where id = 3) AND status=0 limit 1
  1490. 2022-10-11 13:10:05.733520 94.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  1491. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  1492. <document type="freeswitch/xml">
  1493. <section name="dialplan" description="ASTPP Dialplan">
  1494. <context name="default">
  1495. <extension name="1000002">
  1496. <condition field="destination_number" expression="1000002">
  1497. <action application="set" data="effective_destination_number=1000002"/>
  1498. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  1499. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  1500. <action application="set" data="callstart=2022-10-11 13:10:04"/>
  1501. <action application="set" data="hangup_after_bridge=true"/>
  1502. <action application="set" data="continue_on_fail=TRUE"/>
  1503. <action application="set" data="account_id=16"/>
  1504. <action application="set" data="parent_id=0"/>
  1505. <action application="set" data="entity_id=0"/>
  1506. <action application="set" data="call_processed=internal"/>
  1507. <action application="set" data="call_direction=outbound"/>
  1508. <action application="set" data="accountname=default"/>
  1509. <action application="set" data="origination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:16"/>
  1510. <action application="set" data="original_caller_id_name=3613818599"/>
  1511. <action application="set" data="original_caller_id_number=1000002"/>
  1512.  
  1513. <action application="set" data="calltype=BROADCAST"/>
  1514. <action application="set" data="sip_user=3613818599"/>
  1515. <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"/>
  1516. <action application="set" data="trunk_id=1"/>
  1517. <action application="set" data="provider_id=3"/>
  1518. <action application="set" data="rate_flag=0"/>
  1519. <action application="set" data="force_trunk_flag=1"/>
  1520. <action application="export" data="presence_data=trunk_id=1"/>
  1521. <action application="set" data="intcall=0"/>
  1522. <action application="export" data="presence_data=x|||Alpesh(3613818599)|||^1.* // USA // 0.20000 // trunk_id=0|||YourProvider // ^1.* // USA // 0.10000 // trunk_id=1|||STD"/>
  1523. <action application="bridge" data="{sip_cid_type=}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/1000002"/>
  1524. </condition>
  1525. </extension>
  1526. </context>
  1527. </section>
  1528. </document>
  1529. Dialplan: sofia/default/1000002@46.101.114.158 parsing [default->1000002] continue=false
  1530. Dialplan: sofia/default/1000002@46.101.114.158 Regex (PASS) [1000002] destination_number(1000002) =~ /1000002/ break=on-false
  1531. Dialplan: sofia/default/1000002@46.101.114.158 Action set(effective_destination_number=1000002)
  1532. Dialplan: sofia/default/1000002@46.101.114.158 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  1533. Dialplan: sofia/default/1000002@46.101.114.158 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  1534. Dialplan: sofia/default/1000002@46.101.114.158 Action set(callstart=2022-10-11 13:10:04)
  1535. Dialplan: sofia/default/1000002@46.101.114.158 Action set(hangup_after_bridge=true)
  1536. Dialplan: sofia/default/1000002@46.101.114.158 Action set(continue_on_fail=TRUE)
  1537. Dialplan: sofia/default/1000002@46.101.114.158 Action set(account_id=16)
  1538. Dialplan: sofia/default/1000002@46.101.114.158 Action set(parent_id=0)
  1539. Dialplan: sofia/default/1000002@46.101.114.158 Action set(entity_id=0)
  1540. Dialplan: sofia/default/1000002@46.101.114.158 Action set(call_processed=internal)
  1541. Dialplan: sofia/default/1000002@46.101.114.158 Action set(call_direction=outbound)
  1542. Dialplan: sofia/default/1000002@46.101.114.158 Action set(accountname=default)
  1543. Dialplan: sofia/default/1000002@46.101.114.158 Action set(origination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:16)
  1544. Dialplan: sofia/default/1000002@46.101.114.158 Action set(original_caller_id_name=3613818599)
  1545. Dialplan: sofia/default/1000002@46.101.114.158 Action set(original_caller_id_number=1000002)
  1546. Dialplan: sofia/default/1000002@46.101.114.158 Action set(calltype=BROADCAST)
  1547. Dialplan: sofia/default/1000002@46.101.114.158 Action set(sip_user=3613818599)
  1548. Dialplan: sofia/default/1000002@46.101.114.158 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)
  1549. Dialplan: sofia/default/1000002@46.101.114.158 Action set(trunk_id=1)
  1550. Dialplan: sofia/default/1000002@46.101.114.158 Action set(provider_id=3)
  1551. Dialplan: sofia/default/1000002@46.101.114.158 Action set(rate_flag=0)
  1552. Dialplan: sofia/default/1000002@46.101.114.158 Action set(force_trunk_flag=1)
  1553. Dialplan: sofia/default/1000002@46.101.114.158 Action export(presence_data=trunk_id=1)
  1554. Dialplan: sofia/default/1000002@46.101.114.158 Action set(intcall=0)
  1555. Dialplan: sofia/default/1000002@46.101.114.158 Action export(presence_data=x|||Alpesh(3613818599)|||^1.* // USA // 0.20000 // trunk_id=0|||YourProvider // ^1.* // USA // 0.10000 // trunk_id=1|||STD)
  1556. Dialplan: sofia/default/1000002@46.101.114.158 Action bridge({sip_cid_type=}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/1000002)
  1557. 2022-10-11 13:10:05.733520 94.27% [DEBUG] switch_core_state_machine.c:281 (sofia/default/1000002@46.101.114.158) State Change CS_ROUTING -> CS_EXECUTE
  1558. 2022-10-11 13:10:05.733520 94.27% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1000002@46.101.114.158) State ROUTING going to sleep
  1559. 2022-10-11 13:10:05.733520 94.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000002@46.101.114.158) Running State Change CS_EXECUTE (Cur 8 Tot 180)
  1560. 2022-10-11 13:10:05.733520 94.27% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1000002@46.101.114.158) State EXECUTE
  1561. 2022-10-11 13:10:05.733520 94.27% [DEBUG] mod_sofia.c:213 sofia/default/1000002@46.101.114.158 SOFIA EXECUTE
  1562. 2022-10-11 13:10:05.733520 94.27% [DEBUG] switch_core_state_machine.c:323 sofia/default/1000002@46.101.114.158 Standard EXECUTE
  1563. EXECUTE [depth=0] sofia/default/1000002@46.101.114.158 set(effective_destination_number=1000002)
  1564. 2022-10-11 13:10:05.733520 94.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000002@46.101.114.158 [effective_destination_number]=[1000002]
  1565. EXECUTE [depth=0] sofia/default/1000002@46.101.114.158 set(bridge_pre_execute_bleg_app=sched_hangup)
  1566. 2022-10-11 13:10:05.733520 94.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000002@46.101.114.158 [bridge_pre_execute_bleg_app]=[sched_hangup]
  1567. EXECUTE [depth=0] sofia/default/1000002@46.101.114.158 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  1568. 2022-10-11 13:10:05.733520 94.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000002@46.101.114.158 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  1569. EXECUTE [depth=0] sofia/default/1000002@46.101.114.158 set(callstart=2022-10-11 13:10:04)
  1570. 2022-10-11 13:10:05.733520 94.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000002@46.101.114.158 [callstart]=[2022-10-11 13:10:04]
  1571. EXECUTE [depth=0] sofia/default/1000002@46.101.114.158 set(hangup_after_bridge=true)
  1572. 2022-10-11 13:10:05.733520 94.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000002@46.101.114.158 [hangup_after_bridge]=[true]
  1573. EXECUTE [depth=0] sofia/default/1000002@46.101.114.158 set(continue_on_fail=TRUE)
  1574. 2022-10-11 13:10:05.733520 94.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000002@46.101.114.158 [continue_on_fail]=[TRUE]
  1575. EXECUTE [depth=0] sofia/default/1000002@46.101.114.158 set(account_id=16)
  1576. 2022-10-11 13:10:05.733520 94.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000002@46.101.114.158 [account_id]=[16]
  1577. EXECUTE [depth=0] sofia/default/1000002@46.101.114.158 set(parent_id=0)
  1578. 2022-10-11 13:10:05.733520 94.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000002@46.101.114.158 [parent_id]=[0]
  1579. EXECUTE [depth=0] sofia/default/1000002@46.101.114.158 set(entity_id=0)
  1580. 2022-10-11 13:10:05.733520 94.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000002@46.101.114.158 [entity_id]=[0]
  1581. EXECUTE [depth=0] sofia/default/1000002@46.101.114.158 set(call_processed=internal)
  1582. 2022-10-11 13:10:05.733520 94.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000002@46.101.114.158 [call_processed]=[internal]
  1583. EXECUTE [depth=0] sofia/default/1000002@46.101.114.158 set(call_direction=outbound)
  1584. 2022-10-11 13:10:05.733520 94.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000002@46.101.114.158 [call_direction]=[outbound]
  1585. EXECUTE [depth=0] sofia/default/1000002@46.101.114.158 set(accountname=default)
  1586. 2022-10-11 13:10:05.733520 94.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000002@46.101.114.158 [accountname]=[default]
  1587. EXECUTE [depth=0] sofia/default/1000002@46.101.114.158 set(origination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:16)
  1588. 2022-10-11 13:10:05.733520 94.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000002@46.101.114.158 [origination_rates]=[ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:16]
  1589. EXECUTE [depth=0] sofia/default/1000002@46.101.114.158 set(original_caller_id_name=3613818599)
  1590. 2022-10-11 13:10:05.733520 94.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000002@46.101.114.158 [original_caller_id_name]=[3613818599]
  1591. EXECUTE [depth=0] sofia/default/1000002@46.101.114.158 set(original_caller_id_number=1000002)
  1592. 2022-10-11 13:10:05.733520 94.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000002@46.101.114.158 [original_caller_id_number]=[1000002]
  1593. EXECUTE [depth=0] sofia/default/1000002@46.101.114.158 set(calltype=BROADCAST)
  1594. 2022-10-11 13:10:05.733520 94.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000002@46.101.114.158 [calltype]=[BROADCAST]
  1595. EXECUTE [depth=0] sofia/default/1000002@46.101.114.158 set(sip_user=3613818599)
  1596. 2022-10-11 13:10:05.733520 94.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000002@46.101.114.158 [sip_user]=[3613818599]
  1597. EXECUTE [depth=0] sofia/default/1000002@46.101.114.158 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)
  1598. 2022-10-11 13:10:05.733520 94.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000002@46.101.114.158 [termination_rates]=[ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.10000|INC:60|INITIALBLOCK:30|TRUNK:1|PROVIDER:3]
  1599. EXECUTE [depth=0] sofia/default/1000002@46.101.114.158 set(trunk_id=1)
  1600. 2022-10-11 13:10:05.733520 94.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000002@46.101.114.158 [trunk_id]=[1]
  1601. EXECUTE [depth=0] sofia/default/1000002@46.101.114.158 set(provider_id=3)
  1602. 2022-10-11 13:10:05.733520 94.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000002@46.101.114.158 [provider_id]=[3]
  1603. EXECUTE [depth=0] sofia/default/1000002@46.101.114.158 set(rate_flag=0)
  1604. 2022-10-11 13:10:05.733520 94.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000002@46.101.114.158 [rate_flag]=[0]
  1605. EXECUTE [depth=0] sofia/default/1000002@46.101.114.158 set(force_trunk_flag=1)
  1606. 2022-10-11 13:10:05.733520 94.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000002@46.101.114.158 [force_trunk_flag]=[1]
  1607. EXECUTE [depth=0] sofia/default/1000002@46.101.114.158 export(presence_data=trunk_id=1)
  1608. 2022-10-11 13:10:05.733520 94.27% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=1]
  1609. EXECUTE [depth=0] sofia/default/1000002@46.101.114.158 set(intcall=0)
  1610. 2022-10-11 13:10:05.733520 94.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000002@46.101.114.158 [intcall]=[0]
  1611. EXECUTE [depth=0] sofia/default/1000002@46.101.114.158 export(presence_data=x|||Alpesh(3613818599)|||^1.* // USA // 0.20000 // trunk_id=0|||YourProvider // ^1.* // USA // 0.10000 // trunk_id=1|||STD)
  1612. 2022-10-11 13:10:05.733520 94.27% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Alpesh(3613818599)|||^1.* // USA // 0.20000 // trunk_id=0|||YourProvider // ^1.* // USA // 0.10000 // trunk_id=1|||STD]
  1613. EXECUTE [depth=0] sofia/default/1000002@46.101.114.158 bridge({sip_cid_type=}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/1000002)
  1614. 2022-10-11 13:10:05.733520 94.27% [DEBUG] switch_channel.c:1269 sofia/default/1000002@46.101.114.158 EXPORTING[export_vars] [presence_data]=[x|||Alpesh(3613818599)|||^1.* // USA // 0.20000 // trunk_id=0|||YourProvider // ^1.* // USA // 0.10000 // trunk_id=1|||STD] to event
  1615. 2022-10-11 13:10:05.733520 94.27% [DEBUG] switch_channel.c:1269 sofia/default/1000002@46.101.114.158 EXPORTING[export_vars] [presence_data]=[x|||Alpesh(3613818599)|||^1.* // USA // 0.20000 // trunk_id=0|||YourProvider // ^1.* // USA // 0.10000 // trunk_id=1|||STD] to event
  1616. 2022-10-11 13:10:05.733520 94.27% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  1617. 2022-10-11 13:10:05.733520 94.27% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  1618. 2022-10-11 13:10:05.733520 94.27% [NOTICE] switch_channel.c:1123 New Channel sofia/default/1000002 [58b0ec63-da4c-4352-8fc3-fece1b4025b4]
  1619. 2022-10-11 13:10:05.733520 94.27% [DEBUG] mod_sofia.c:5121 (sofia/default/1000002) State Change CS_NEW -> CS_INIT
  1620. 2022-10-11 13:10:05.733520 94.27% [DEBUG] switch_ivr_originate.c:3151 sofia/default/1000002 Setting leg timeout to 30
  1621. 2022-10-11 13:10:05.733520 94.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000002) Running State Change CS_INIT (Cur 9 Tot 181)
  1622. 2022-10-11 13:10:05.733520 94.27% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1000002) State INIT
  1623. 2022-10-11 13:10:05.733520 94.27% [DEBUG] mod_sofia.c:97 sofia/default/1000002 SOFIA INIT
  1624. 2022-10-11 13:10:05.733520 94.27% [INFO] sofia_glue.c:1651 sofia/default/1000002 sending invite call-id: (null)
  1625. 2022-10-11 13:10:05.733520 94.27% [DEBUG] sofia_glue.c:1654 sofia/default/1000002 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
  1626. Local SDP:
  1627. v=0
  1628. o=FreeSWITCH 1665467567 1665467568 IN IP4 46.101.114.158
  1629. s=FreeSWITCH
  1630. c=IN IP4 46.101.114.158
  1631. t=0 0
  1632. m=audio 26238 RTP/AVP 8 18 101
  1633. a=rtpmap:8 PCMA/8000
  1634. a=rtpmap:18 G729/8000
  1635. a=rtpmap:101 telephone-event/8000
  1636. a=fmtp:101 0-15
  1637. a=ptime:20
  1638. a=sendrecv
  1639.  
  1640. 2022-10-11 13:10:05.733520 94.27% [DEBUG] switch_core_state_machine.c:40 sofia/default/1000002 Standard INIT
  1641. 2022-10-11 13:10:05.733520 94.27% [DEBUG] switch_core_state_machine.c:48 (sofia/default/1000002) State Change CS_INIT -> CS_ROUTING
  1642. 2022-10-11 13:10:05.733520 94.27% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1000002) State INIT going to sleep
  1643. 2022-10-11 13:10:05.733520 94.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000002) Running State Change CS_ROUTING (Cur 9 Tot 181)
  1644. 2022-10-11 13:10:05.733520 94.27% [DEBUG] sofia.c:7499 Channel sofia/default/1000002 entering state [calling][0]
  1645. 2022-10-11 13:10:05.733520 94.27% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1000002) State ROUTING
  1646. 2022-10-11 13:10:05.733520 94.27% [DEBUG] mod_sofia.c:158 sofia/default/1000002 SOFIA ROUTING
  1647. 2022-10-11 13:10:05.733520 94.27% [DEBUG] switch_ivr_originate.c:67 (sofia/default/1000002) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  1648. 2022-10-11 13:10:05.733520 94.27% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1000002) State ROUTING going to sleep
  1649. 2022-10-11 13:10:05.733520 94.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000002) Running State Change CS_CONSUME_MEDIA (Cur 9 Tot 181)
  1650. 2022-10-11 13:10:05.733520 94.27% [DEBUG] switch_core_state_machine.c:659 (sofia/default/1000002) State CONSUME_MEDIA
  1651. 2022-10-11 13:10:05.733520 94.27% [DEBUG] switch_core_state_machine.c:659 (sofia/default/1000002) State CONSUME_MEDIA going to sleep
  1652. 2022-10-11 13:10:05.813517 94.27% [DEBUG] switch_ivr_bridge.c:655 sofia/default/1000001 Bridge execute app sched_hangup(+6000 normal_clearing)
  1653. 2022-10-11 13:10:05.833524 94.27% [DEBUG] sofia.c:7499 Channel sofia/default/1000002 entering state [completing][200]
  1654. 2022-10-11 13:10:05.833524 94.27% [DEBUG] sofia.c:7509 Remote SDP:
  1655. v=0
  1656. o=root 1695691048 1695691048 IN IP4 159.203.131.36
  1657. s=Asterisk PBX 16.4.0
  1658. c=IN IP4 159.203.131.36
  1659. t=0 0
  1660. m=audio 11798 RTP/AVP 8 101
  1661. a=rtpmap:8 PCMA/8000
  1662. a=rtpmap:101 telephone-event/8000
  1663. a=fmtp:101 0-16
  1664. a=maxptime:150
  1665.  
  1666. 2022-10-11 13:10:05.833524 94.27% [DEBUG] sofia.c:7499 Channel sofia/default/1000002 entering state [ready][200]
  1667. 2022-10-11 13:10:05.833524 94.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1]
  1668. 2022-10-11 13:10:05.833524 94.27% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  1669. 2022-10-11 13:10:05.833524 94.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[G729:18:8000:20:8000:1]
  1670. 2022-10-11 13:10:05.833524 94.27% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  1671. 2022-10-11 13:10:05.833524 94.27% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/1000002 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  1672. 2022-10-11 13:10:05.833524 94.27% [DEBUG] switch_core_codec.c:111 sofia/default/1000002 Original read codec set to PCMA:8
  1673. 2022-10-11 13:10:05.833524 94.27% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  1674. 2022-10-11 13:10:05.833524 94.27% [DEBUG] switch_core_media.c:5973 sofia/default/1000002 Set 2833 dtmf send payload to 101 recv payload to 101
  1675. 2022-10-11 13:10:05.833524 94.27% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/1000002] 46.101.114.158 port 26238 -> 159.203.131.36 port 11798 codec: 8 ms: 20
  1676. 2022-10-11 13:10:05.833524 94.27% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  1677. 2022-10-11 13:10:05.833524 94.27% [DEBUG] switch_core_media.c:9089 sofia/default/1000002 Set 2833 dtmf send payload to 101
  1678. 2022-10-11 13:10:05.833524 94.27% [DEBUG] switch_core_media.c:9096 sofia/default/1000002 Set 2833 dtmf receive payload to 101
  1679. 2022-10-11 13:10:05.833524 94.27% [DEBUG] switch_core_media.c:9119 sofia/default/1000002 Set rtp dtmf delay to 40
  1680. 2022-10-11 13:10:05.833524 94.27% [NOTICE] sofia.c:8683 Channel [sofia/default/1000002] has been answered
  1681. 2022-10-11 13:10:05.833524 94.27% [DEBUG] switch_channel.c:3950 (sofia/default/1000002) Callstate Change DOWN -> ACTIVE
  1682. 2022-10-11 13:10:05.833524 94.27% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  1683. 2022-10-11 13:10:05.833524 94.27% [DEBUG] switch_ivr.c:632 sofia/default/1000001 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  1684. EXECUTE [depth=0] sofia/default/1000001 sched_hangup(+6000 normal_clearing)
  1685. 2022-10-11 13:10:05.833524 94.27% [DEBUG] switch_scheduler.c:263 Added task 47 switch_ivr_schedule_hangup (d0497d9c-6b36-43dd-bed0-a9ec90f110d6) to run at 1665499805
  1686. 2022-10-11 13:10:05.833524 94.27% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  1687. 2022-10-11 13:10:05.833524 94.27% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/1000002@46.101.114.158] 46.101.114.158 port 30448 -> 46.101.114.158 port 31266 codec: 8 ms: 20
  1688. 2022-10-11 13:10:05.833524 94.27% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  1689. 2022-10-11 13:10:05.833524 94.27% [DEBUG] switch_core_media.c:9089 sofia/default/1000002@46.101.114.158 Set 2833 dtmf send payload to 101
  1690. 2022-10-11 13:10:05.833524 94.27% [DEBUG] switch_core_media.c:9096 sofia/default/1000002@46.101.114.158 Set 2833 dtmf receive payload to 101
  1691. 2022-10-11 13:10:05.833524 94.27% [DEBUG] switch_core_media.c:9119 sofia/default/1000002@46.101.114.158 Set rtp dtmf delay to 40
  1692. 2022-10-11 13:10:05.833524 94.27% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/1000002@46.101.114.158:
  1693. v=0
  1694. o=FreeSWITCH 1665463357 1665463358 IN IP4 46.101.114.158
  1695. s=FreeSWITCH
  1696. c=IN IP4 46.101.114.158
  1697. t=0 0
  1698. m=audio 30448 RTP/AVP 8 101
  1699. a=rtpmap:8 PCMA/8000
  1700. a=rtpmap:101 telephone-event/8000
  1701. a=fmtp:101 0-15
  1702. a=ptime:20
  1703. a=sendrecv
  1704.  
  1705. 2022-10-11 13:10:05.833524 94.27% [DEBUG] sofia.c:7499 Channel sofia/default/1000002@46.101.114.158 entering state [completed][200]
  1706. 2022-10-11 13:10:05.853520 94.27% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/default/1000002@46.101.114.158] has been answered
  1707. 2022-10-11 13:10:05.853520 94.27% [DEBUG] switch_channel.c:3950 (sofia/default/1000002@46.101.114.158) Callstate Change RINGING -> ACTIVE
  1708. 2022-10-11 13:10:05.853520 94.27% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/1000002] Peer UUID: 58b0ec63-da4c-4352-8fc3-fece1b4025b4
  1709. 2022-10-11 13:10:05.853520 94.27% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/1000002) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  1710. 2022-10-11 13:10:05.853520 94.27% [DEBUG] sofia.c:7499 Channel sofia/default/1000002@46.101.114.158:5064 entering state [completing][200]
  1711. 2022-10-11 13:10:05.853520 94.27% [DEBUG] sofia.c:7509 Remote SDP:
  1712. v=0
  1713. o=FreeSWITCH 1665463357 1665463358 IN IP4 46.101.114.158
  1714. s=FreeSWITCH
  1715. c=IN IP4 46.101.114.158
  1716. t=0 0
  1717. m=audio 30448 RTP/AVP 8 101
  1718. a=rtpmap:8 PCMA/8000
  1719. a=rtpmap:101 telephone-event/8000
  1720. a=fmtp:101 0-15
  1721. a=ptime:20
  1722.  
  1723. 2022-10-11 13:10:05.853520 94.27% [DEBUG] sofia.c:7499 Channel sofia/default/1000002@46.101.114.158:5064 entering state [ready][200]
  1724. 2022-10-11 13:10:05.853520 94.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1725. 2022-10-11 13:10:05.853520 94.27% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  1726. 2022-10-11 13:10:05.853520 94.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1727. 2022-10-11 13:10:05.853520 94.27% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  1728. 2022-10-11 13:10:05.853520 94.27% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/1000002@46.101.114.158:5064 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  1729. 2022-10-11 13:10:05.853520 94.27% [DEBUG] switch_core_codec.c:111 sofia/default/1000002@46.101.114.158:5064 Original read codec set to PCMA:8
  1730. 2022-10-11 13:10:05.853520 94.27% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  1731. 2022-10-11 13:10:05.853520 94.27% [DEBUG] switch_core_media.c:5973 sofia/default/1000002@46.101.114.158:5064 Set 2833 dtmf send payload to 101 recv payload to 101
  1732. 2022-10-11 13:10:05.853520 94.27% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/1000002@46.101.114.158:5064] 46.101.114.158 port 31266 -> 46.101.114.158 port 30448 codec: 8 ms: 20
  1733. 2022-10-11 13:10:05.853520 94.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000002) Running State Change CS_EXCHANGE_MEDIA (Cur 9 Tot 181)
  1734. 2022-10-11 13:10:05.853520 94.27% [DEBUG] switch_core_state_machine.c:650 (sofia/default/1000002) State EXCHANGE_MEDIA
  1735. 2022-10-11 13:10:05.853520 94.27% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  1736. 2022-10-11 13:10:05.853520 94.27% [DEBUG] sofia.c:7499 Channel sofia/default/1000002@46.101.114.158 entering state [ready][200]
  1737. 2022-10-11 13:10:05.853520 94.27% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  1738. 2022-10-11 13:10:05.853520 94.27% [DEBUG] switch_core_media.c:9089 sofia/default/1000002@46.101.114.158:5064 Set 2833 dtmf send payload to 101
  1739. 2022-10-11 13:10:05.853520 94.27% [DEBUG] switch_core_media.c:9096 sofia/default/1000002@46.101.114.158:5064 Set 2833 dtmf receive payload to 101
  1740. 2022-10-11 13:10:05.853520 94.27% [DEBUG] switch_core_media.c:9119 sofia/default/1000002@46.101.114.158:5064 Set rtp dtmf delay to 40
  1741. 2022-10-11 13:10:05.853520 94.27% [NOTICE] sofia.c:8683 Channel [sofia/default/1000002@46.101.114.158:5064] has been answered
  1742. 2022-10-11 13:10:05.853520 94.27% [DEBUG] switch_channel.c:3950 (sofia/default/1000002@46.101.114.158:5064) Callstate Change DOWN -> ACTIVE
  1743. 2022-10-11 13:10:05.853520 94.27% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/1000002@46.101.114.158:5064] Peer UUID: 655cdde1-3683-430e-98f5-2f530db1b3cf
  1744. 2022-10-11 13:10:05.853520 94.27% [INFO] switch_channel.c:3270 sofia/default/1000002@46.101.114.158:5064 Flipping CID from "3613818599" <1000002> to "Outbound Call" <1000002>
  1745. 2022-10-11 13:10:05.853520 94.27% [DEBUG] mod_commands.c:5169 (sofia/default/1000002@46.101.114.158:5064) State Change CS_CONSUME_MEDIA -> CS_EXECUTE
  1746. 2022-10-11 13:10:05.853520 94.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000002@46.101.114.158:5064) Running State Change CS_EXECUTE (Cur 9 Tot 181)
  1747. 2022-10-11 13:10:05.853520 94.27% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1000002@46.101.114.158:5064) State EXECUTE
  1748. 2022-10-11 13:10:05.853520 94.27% [DEBUG] mod_sofia.c:213 sofia/default/1000002@46.101.114.158:5064 SOFIA EXECUTE
  1749. 2022-10-11 13:10:05.853520 94.27% [DEBUG] switch_core_state_machine.c:323 sofia/default/1000002@46.101.114.158:5064 Standard EXECUTE
  1750. EXECUTE [depth=0] sofia/default/1000002@46.101.114.158:5064 playback(/opt/ASTPP/web_interface/astpp/upload/voice_broadcast/file_example_WAV_1MG_.wav)
  1751. 2022-10-11 13:10:05.853520 94.27% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur.
  1752. 2022-10-11 13:10:05.853520 94.27% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  1753. 2022-10-11 13:10:05.893548 94.27% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  1754. 2022-10-11 13:10:06.033524 94.27% [DEBUG] switch_ivr_bridge.c:655 sofia/default/1000002 Bridge execute app sched_hangup(+6000 normal_clearing)
  1755. 2022-10-11 13:10:06.053522 94.27% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  1756. 2022-10-11 13:10:06.053522 94.27% [DEBUG] switch_ivr.c:632 sofia/default/1000002 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  1757. EXECUTE [depth=0] sofia/default/1000002 sched_hangup(+6000 normal_clearing)
  1758. 2022-10-11 13:10:06.053522 94.27% [DEBUG] switch_scheduler.c:263 Added task 48 switch_ivr_schedule_hangup (58b0ec63-da4c-4352-8fc3-fece1b4025b4) to run at 1665499806
  1759. 2022-10-11 13:10:06.053522 94.27% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  1760. 2022-10-11 13:10:07.873535 92.33% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  1761. 2022-10-11 13:10:07.873535 92.33% [NOTICE] switch_channel.c:1123 New Channel sofia/default/1000003@46.101.114.158:5064 [a37b4428-3c52-42be-964f-ce1ddbbeb848]
  1762. 2022-10-11 13:10:07.873535 92.33% [DEBUG] mod_sofia.c:5121 (sofia/default/1000003@46.101.114.158:5064) State Change CS_NEW -> CS_INIT
  1763. 2022-10-11 13:10:07.873535 92.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000003@46.101.114.158:5064) Running State Change CS_INIT (Cur 10 Tot 182)
  1764. 2022-10-11 13:10:07.873535 92.33% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1000003@46.101.114.158:5064) State INIT
  1765. 2022-10-11 13:10:07.873535 92.33% [DEBUG] mod_sofia.c:97 sofia/default/1000003@46.101.114.158:5064 SOFIA INIT
  1766. 2022-10-11 13:10:07.873535 92.33% [INFO] sofia_glue.c:1651 sofia/default/1000003@46.101.114.158:5064 sending invite call-id: (null)
  1767. 2022-10-11 13:10:07.873535 92.33% [DEBUG] sofia_glue.c:1654 sofia/default/1000003@46.101.114.158:5064 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
  1768. Local SDP:
  1769. v=0
  1770. o=FreeSWITCH 1665477329 1665477330 IN IP4 46.101.114.158
  1771. s=FreeSWITCH
  1772. c=IN IP4 46.101.114.158
  1773. t=0 0
  1774. m=audio 16478 RTP/AVP 8 0 101
  1775. a=rtpmap:8 PCMA/8000
  1776. a=rtpmap:0 PCMU/8000
  1777. a=rtpmap:101 telephone-event/8000
  1778. a=fmtp:101 0-15
  1779. a=ptime:20
  1780. a=sendrecv
  1781.  
  1782. 2022-10-11 13:10:07.873535 92.33% [NOTICE] switch_channel.c:1123 New Channel sofia/default/1000003@46.101.114.158 [6498dde4-3a32-4c3f-a705-3acc21306aa0]
  1783. 2022-10-11 13:10:07.873535 92.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000003@46.101.114.158) Running State Change CS_NEW (Cur 11 Tot 183)
  1784. 2022-10-11 13:10:07.873535 92.33% [INFO] sofia.c:10462 sofia/default/1000003@46.101.114.158 receiving invite from 46.101.114.158:5064 version: 1.10.7 -release-19-883d2cb662 64bit call-id: de34688a-c408-123b-8ea3-ba05d31eb9f9
  1785. 2022-10-11 13:10:07.873535 92.33% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 46.101.114.158:0.
  1786. 2022-10-11 13:10:07.873535 92.33% [DEBUG] sofia.c:7499 Channel sofia/default/1000003@46.101.114.158 entering state [received][100]
  1787. 2022-10-11 13:10:07.873535 92.33% [DEBUG] sofia.c:7509 Remote SDP:
  1788. v=0
  1789. o=FreeSWITCH 1665477329 1665477330 IN IP4 46.101.114.158
  1790. s=FreeSWITCH
  1791. c=IN IP4 46.101.114.158
  1792. t=0 0
  1793. m=audio 16478 RTP/AVP 8 0 101
  1794. a=rtpmap:8 PCMA/8000
  1795. a=rtpmap:0 PCMU/8000
  1796. a=rtpmap:101 telephone-event/8000
  1797. a=fmtp:101 0-15
  1798. a=ptime:20
  1799.  
  1800. 2022-10-11 13:10:07.873535 92.33% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1801. 2022-10-11 13:10:07.873535 92.33% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  1802. 2022-10-11 13:10:07.873535 92.33% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1803. 2022-10-11 13:10:07.873535 92.33% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1804. 2022-10-11 13:10:07.873535 92.33% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1805. 2022-10-11 13:10:07.873535 92.33% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  1806. 2022-10-11 13:10:07.873535 92.33% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  1807. 2022-10-11 13:10:07.873535 92.33% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/1000003@46.101.114.158 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  1808. 2022-10-11 13:10:07.873535 92.33% [DEBUG] switch_core_codec.c:111 sofia/default/1000003@46.101.114.158 Original read codec set to PCMA:8
  1809. 2022-10-11 13:10:07.873535 92.33% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  1810. 2022-10-11 13:10:07.873535 92.33% [DEBUG] switch_core_media.c:5973 sofia/default/1000003@46.101.114.158 Set 2833 dtmf send payload to 101 recv payload to 101
  1811. 2022-10-11 13:10:07.873535 92.33% [DEBUG] sofia.c:7933 (sofia/default/1000003@46.101.114.158) State Change CS_NEW -> CS_INIT
  1812. 2022-10-11 13:10:07.873535 92.33% [DEBUG] switch_core_state_machine.c:600 (sofia/default/1000003@46.101.114.158) State NEW
  1813. 2022-10-11 13:10:07.873535 92.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000003@46.101.114.158) Running State Change CS_INIT (Cur 11 Tot 183)
  1814. 2022-10-11 13:10:07.873535 92.33% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1000003@46.101.114.158) State INIT
  1815. 2022-10-11 13:10:07.873535 92.33% [DEBUG] mod_sofia.c:97 sofia/default/1000003@46.101.114.158 SOFIA INIT
  1816. 2022-10-11 13:10:07.873535 92.33% [DEBUG] switch_core_state_machine.c:40 sofia/default/1000003@46.101.114.158 Standard INIT
  1817. 2022-10-11 13:10:07.873535 92.33% [DEBUG] switch_core_state_machine.c:48 (sofia/default/1000003@46.101.114.158) State Change CS_INIT -> CS_ROUTING
  1818. 2022-10-11 13:10:07.873535 92.33% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1000003@46.101.114.158) State INIT going to sleep
  1819. 2022-10-11 13:10:07.873535 92.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000003@46.101.114.158) Running State Change CS_ROUTING (Cur 11 Tot 183)
  1820. 2022-10-11 13:10:07.873535 92.33% [DEBUG] switch_channel.c:2380 (sofia/default/1000003@46.101.114.158) Callstate Change DOWN -> RINGING
  1821. 2022-10-11 13:10:07.873535 92.33% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1000003@46.101.114.158) State ROUTING
  1822. 2022-10-11 13:10:07.873535 92.33% [DEBUG] mod_sofia.c:158 sofia/default/1000003@46.101.114.158 SOFIA ROUTING
  1823. 2022-10-11 13:10:07.873535 92.33% [DEBUG] switch_core_state_machine.c:230 sofia/default/1000003@46.101.114.158 Standard ROUTING
  1824. 2022-10-11 13:10:07.873535 92.33% [INFO] mod_dialplan_xml.c:639 Processing 3613818599 <1000003>->1000003 in context default
  1825. 2022-10-11 13:10:07.873535 92.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  1826. 2022-10-11 13:10:07.873535 92.33% [DEBUG] switch_core_state_machine.c:40 sofia/default/1000003@46.101.114.158:5064 Standard INIT
  1827. 2022-10-11 13:10:07.873535 92.33% [DEBUG] switch_core_state_machine.c:48 (sofia/default/1000003@46.101.114.158:5064) State Change CS_INIT -> CS_ROUTING
  1828. 2022-10-11 13:10:07.873535 92.33% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1000003@46.101.114.158:5064) State INIT going to sleep
  1829. 2022-10-11 13:10:07.873535 92.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000003@46.101.114.158:5064) Running State Change CS_ROUTING (Cur 11 Tot 183)
  1830. 2022-10-11 13:10:07.873535 92.33% [DEBUG] sofia.c:7499 Channel sofia/default/1000003@46.101.114.158:5064 entering state [calling][0]
  1831. 2022-10-11 13:10:07.873535 92.33% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1000003@46.101.114.158:5064) State ROUTING
  1832. 2022-10-11 13:10:07.873535 92.33% [DEBUG] mod_sofia.c:158 sofia/default/1000003@46.101.114.158:5064 SOFIA ROUTING
  1833. 2022-10-11 13:10:07.873535 92.33% [DEBUG] switch_ivr_originate.c:67 (sofia/default/1000003@46.101.114.158:5064) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  1834. 2022-10-11 13:10:07.873535 92.33% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1000003@46.101.114.158:5064) State ROUTING going to sleep
  1835. 2022-10-11 13:10:07.873535 92.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000003@46.101.114.158:5064) Running State Change CS_CONSUME_MEDIA (Cur 11 Tot 183)
  1836. 2022-10-11 13:10:07.873535 92.33% [DEBUG] switch_core_state_machine.c:659 (sofia/default/1000003@46.101.114.158:5064) State CONSUME_MEDIA
  1837. 2022-10-11 13:10:07.873535 92.33% [DEBUG] switch_core_state_machine.c:659 (sofia/default/1000003@46.101.114.158:5064) State CONSUME_MEDIA going to sleep
  1838. 2022-10-11 13:10:07.873535 92.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1839. 2022-10-11 13:10:07.893550 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 1000003
  1840. 2022-10-11 13:10:07.893550 92.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Clicktocall Destination Number 1000003
  1841. 2022-10-11 13:10:07.893550 92.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '1000003' AND status=0 limit 1
  1842. 2022-10-11 13:10:07.893550 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 3613818599 / 1000003
  1843. 2022-10-11 13:10:07.893550 92.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1000003" LIMIT 1
  1844. 2022-10-11 13:10:07.893550 92.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="1000003" limit 1
  1845. 2022-10-11 13:10:07.893550 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  1846. 2022-10-11 13:10:07.893550 92.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("46.101.114.158") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 -  SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1))  AND "1000003"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  1847. 2022-10-11 13:10:07.893550 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 3613818599]
  1848. 2022-10-11 13:10:07.893550 92.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3613818599" AND deleted = 0 limit 1
  1849. 2022-10-11 13:10:07.893550 92.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^1000003.*' OR blocked_patterns = '^100000.*' OR blocked_patterns = '^10000.*' OR blocked_patterns = '^1000.*' OR blocked_patterns = '^100.*' OR blocked_patterns = '^10.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 16 limit 1
  1850. 2022-10-11 13:10:07.893550 92.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="1000003" AND A.accountid = '16' limit 1
  1851. 2022-10-11 13:10:07.893550 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 1000003
  1852. 2022-10-11 13:10:07.893550 92.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1000003" LIMIT 1
  1853. 2022-10-11 13:10:07.913521 92.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="1000003" limit 1
  1854. 2022-10-11 13:10:07.913521 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call direction : outbound
  1855. 2022-10-11 13:10:07.913521 92.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="1000003" AND (accountid = 0 OR status = 1) LIMIT 1
  1856. 2022-10-11 13:10:07.913521 92.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^1000003.*' OR patterns = '^100000.*' OR patterns = '^10000.*' OR patterns = '^1000.*' OR patterns = '^100.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 16 ORDER BY LENGTH(PKGPTR.patterns) DESC
  1857. 2022-10-11 13:10:07.913521 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  1858. 2022-10-11 13:10:07.913521 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 16
  1859. 2022-10-11 13:10:07.913521 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 3613818599
  1860. 2022-10-11 13:10:07.913521 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 95.8
  1861. 2022-10-11 13:10:07.913521 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  1862. 2022-10-11 13:10:07.913521 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  1863. 2022-10-11 13:10:07.913521 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  1864. 2022-10-11 13:10:07.913521 92.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  1865. 2022-10-11 13:10:07.933521 92.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  1866. 2022-10-11 13:10:07.933521 92.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^1000003.*' OR pattern = '^100000.*' OR pattern = '^10000.*' OR pattern = '^1000.*' OR pattern = '^100.*' OR pattern = '^10.*' OR pattern = '^1.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 1 OR accountid=16)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1
  1867. 2022-10-11 13:10:07.933521 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] call_direction:::::: outbound
  1868. 2022-10-11 13:10:07.933521 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  1869. 2022-10-11 13:10:07.933521 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  1870. 2022-10-11 13:10:07.933521 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  1871. 2022-10-11 13:10:07.933521 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  1872. 2022-10-11 13:10:07.933521 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.20000
  1873. 2022-10-11 13:10:07.933521 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] comment : USA
  1874. 2022-10-11 13:10:07.933521 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
  1875. 2022-10-11 13:10:07.933521 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 16
  1876. 2022-10-11 13:10:07.933521 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 0
  1877. 2022-10-11 13:10:07.933521 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  1878. 2022-10-11 13:10:07.933521 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  1879. 2022-10-11 13:10:07.933521 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your95.8 balance Accountid 16 !!!
  1880. 2022-10-11 13:10:07.933521 92.33% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting call to config max length 100 mins!
  1881. 2022-10-11 13:10:07.933521 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max length duration : 100 minutes
  1882. 2022-10-11 13:10:07.933521 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 1
  1883. 2022-10-11 13:10:07.933521 92.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=1 ORDER by id asc
  1884. 2022-10-11 13:10:07.933521 92.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.sip_cid_type,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^1000003.*' OR pattern = '^100000.*' OR pattern = '^10000.*' OR pattern = '^1000.*' OR pattern = '^100.*' OR pattern = '^10.*' OR pattern = '^1.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (1) ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence
  1885. 2022-10-11 13:10:07.933521 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  1886. 2022-10-11 13:10:07.933521 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  1887. 2022-10-11 13:10:07.933521 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^1.*
  1888. 2022-10-11 13:10:07.933521 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : USA
  1889. 2022-10-11 13:10:07.933521 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  1890. 2022-10-11 13:10:07.933521 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  1891. 2022-10-11 13:10:07.933521 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^1.*
  1892. 2022-10-11 13:10:07.933521 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  1893. 2022-10-11 13:10:07.933521 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  1894. 2022-10-11 13:10:07.933521 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 1
  1895. 2022-10-11 13:10:07.933521 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : YourProvider
  1896. 2022-10-11 13:10:07.933521 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  1897. 2022-10-11 13:10:07.933521 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  1898. 2022-10-11 13:10:07.933521 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  1899. 2022-10-11 13:10:07.933521 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  1900. 2022-10-11 13:10:07.933521 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : YourProvider
  1901. 2022-10-11 13:10:07.933521 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  1902. 2022-10-11 13:10:07.933521 92.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 16 AND status=0 LIMIT 1
  1903. 2022-10-11 13:10:07.933521 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] maxlength::::::::: 100
  1904. 2022-10-11 13:10:07.933521 92.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  1905. 2022-10-11 13:10:07.933521 92.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 1) AND status=0 limit 1
  1906. 2022-10-11 13:10:07.933521 92.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate FROM localization WHERE id=(SELECT localization_id from accounts where id = 3) AND status=0 limit 1
  1907. 2022-10-11 13:10:07.953521 92.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  1908. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  1909. <document type="freeswitch/xml">
  1910. <section name="dialplan" description="ASTPP Dialplan">
  1911. <context name="default">
  1912. <extension name="1000003">
  1913. <condition field="destination_number" expression="1000003">
  1914. <action application="set" data="effective_destination_number=1000003"/>
  1915. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  1916. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  1917. <action application="set" data="callstart=2022-10-11 13:10:06"/>
  1918. <action application="set" data="hangup_after_bridge=true"/>
  1919. <action application="set" data="continue_on_fail=TRUE"/>
  1920. <action application="set" data="account_id=16"/>
  1921. <action application="set" data="parent_id=0"/>
  1922. <action application="set" data="entity_id=0"/>
  1923. <action application="set" data="call_processed=internal"/>
  1924. <action application="set" data="call_direction=outbound"/>
  1925. <action application="set" data="accountname=default"/>
  1926. <action application="set" data="origination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:16"/>
  1927. <action application="set" data="original_caller_id_name=3613818599"/>
  1928. <action application="set" data="original_caller_id_number=1000003"/>
  1929.  
  1930. <action application="set" data="calltype=BROADCAST"/>
  1931. <action application="set" data="sip_user=3613818599"/>
  1932. <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"/>
  1933. <action application="set" data="trunk_id=1"/>
  1934. <action application="set" data="provider_id=3"/>
  1935. <action application="set" data="rate_flag=0"/>
  1936. <action application="set" data="force_trunk_flag=1"/>
  1937. <action application="export" data="presence_data=trunk_id=1"/>
  1938. <action application="set" data="intcall=0"/>
  1939. <action application="export" data="presence_data=x|||Alpesh(3613818599)|||^1.* // USA // 0.20000 // trunk_id=0|||YourProvider // ^1.* // USA // 0.10000 // trunk_id=1|||STD"/>
  1940. <action application="bridge" data="{sip_cid_type=}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/1000003"/>
  1941. </condition>
  1942. </extension>
  1943. </context>
  1944. </section>
  1945. </document>
  1946. Dialplan: sofia/default/1000003@46.101.114.158 parsing [default->1000003] continue=false
  1947. Dialplan: sofia/default/1000003@46.101.114.158 Regex (PASS) [1000003] destination_number(1000003) =~ /1000003/ break=on-false
  1948. Dialplan: sofia/default/1000003@46.101.114.158 Action set(effective_destination_number=1000003)
  1949. Dialplan: sofia/default/1000003@46.101.114.158 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  1950. Dialplan: sofia/default/1000003@46.101.114.158 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  1951. Dialplan: sofia/default/1000003@46.101.114.158 Action set(callstart=2022-10-11 13:10:06)
  1952. Dialplan: sofia/default/1000003@46.101.114.158 Action set(hangup_after_bridge=true)
  1953. Dialplan: sofia/default/1000003@46.101.114.158 Action set(continue_on_fail=TRUE)
  1954. Dialplan: sofia/default/1000003@46.101.114.158 Action set(account_id=16)
  1955. Dialplan: sofia/default/1000003@46.101.114.158 Action set(parent_id=0)
  1956. Dialplan: sofia/default/1000003@46.101.114.158 Action set(entity_id=0)
  1957. Dialplan: sofia/default/1000003@46.101.114.158 Action set(call_processed=internal)
  1958. Dialplan: sofia/default/1000003@46.101.114.158 Action set(call_direction=outbound)
  1959. Dialplan: sofia/default/1000003@46.101.114.158 Action set(accountname=default)
  1960. Dialplan: sofia/default/1000003@46.101.114.158 Action set(origination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:16)
  1961. Dialplan: sofia/default/1000003@46.101.114.158 Action set(original_caller_id_name=3613818599)
  1962. Dialplan: sofia/default/1000003@46.101.114.158 Action set(original_caller_id_number=1000003)
  1963. Dialplan: sofia/default/1000003@46.101.114.158 Action set(calltype=BROADCAST)
  1964. Dialplan: sofia/default/1000003@46.101.114.158 Action set(sip_user=3613818599)
  1965. Dialplan: sofia/default/1000003@46.101.114.158 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)
  1966. Dialplan: sofia/default/1000003@46.101.114.158 Action set(trunk_id=1)
  1967. Dialplan: sofia/default/1000003@46.101.114.158 Action set(provider_id=3)
  1968. Dialplan: sofia/default/1000003@46.101.114.158 Action set(rate_flag=0)
  1969. Dialplan: sofia/default/1000003@46.101.114.158 Action set(force_trunk_flag=1)
  1970. Dialplan: sofia/default/1000003@46.101.114.158 Action export(presence_data=trunk_id=1)
  1971. Dialplan: sofia/default/1000003@46.101.114.158 Action set(intcall=0)
  1972. Dialplan: sofia/default/1000003@46.101.114.158 Action export(presence_data=x|||Alpesh(3613818599)|||^1.* // USA // 0.20000 // trunk_id=0|||YourProvider // ^1.* // USA // 0.10000 // trunk_id=1|||STD)
  1973. Dialplan: sofia/default/1000003@46.101.114.158 Action bridge({sip_cid_type=}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/1000003)
  1974. 2022-10-11 13:10:07.953521 92.33% [DEBUG] switch_core_state_machine.c:281 (sofia/default/1000003@46.101.114.158) State Change CS_ROUTING -> CS_EXECUTE
  1975. 2022-10-11 13:10:07.953521 92.33% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1000003@46.101.114.158) State ROUTING going to sleep
  1976. 2022-10-11 13:10:07.953521 92.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000003@46.101.114.158) Running State Change CS_EXECUTE (Cur 11 Tot 183)
  1977. 2022-10-11 13:10:07.953521 92.33% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1000003@46.101.114.158) State EXECUTE
  1978. 2022-10-11 13:10:07.953521 92.33% [DEBUG] mod_sofia.c:213 sofia/default/1000003@46.101.114.158 SOFIA EXECUTE
  1979. 2022-10-11 13:10:07.953521 92.33% [DEBUG] switch_core_state_machine.c:323 sofia/default/1000003@46.101.114.158 Standard EXECUTE
  1980. EXECUTE [depth=0] sofia/default/1000003@46.101.114.158 set(effective_destination_number=1000003)
  1981. 2022-10-11 13:10:07.953521 92.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000003@46.101.114.158 [effective_destination_number]=[1000003]
  1982. EXECUTE [depth=0] sofia/default/1000003@46.101.114.158 set(bridge_pre_execute_bleg_app=sched_hangup)
  1983. 2022-10-11 13:10:07.953521 92.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000003@46.101.114.158 [bridge_pre_execute_bleg_app]=[sched_hangup]
  1984. EXECUTE [depth=0] sofia/default/1000003@46.101.114.158 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  1985. 2022-10-11 13:10:07.953521 92.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000003@46.101.114.158 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  1986. EXECUTE [depth=0] sofia/default/1000003@46.101.114.158 set(callstart=2022-10-11 13:10:06)
  1987. 2022-10-11 13:10:07.953521 92.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000003@46.101.114.158 [callstart]=[2022-10-11 13:10:06]
  1988. EXECUTE [depth=0] sofia/default/1000003@46.101.114.158 set(hangup_after_bridge=true)
  1989. 2022-10-11 13:10:07.953521 92.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000003@46.101.114.158 [hangup_after_bridge]=[true]
  1990. EXECUTE [depth=0] sofia/default/1000003@46.101.114.158 set(continue_on_fail=TRUE)
  1991. 2022-10-11 13:10:07.953521 92.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000003@46.101.114.158 [continue_on_fail]=[TRUE]
  1992. EXECUTE [depth=0] sofia/default/1000003@46.101.114.158 set(account_id=16)
  1993. 2022-10-11 13:10:07.953521 92.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000003@46.101.114.158 [account_id]=[16]
  1994. EXECUTE [depth=0] sofia/default/1000003@46.101.114.158 set(parent_id=0)
  1995. 2022-10-11 13:10:07.953521 92.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000003@46.101.114.158 [parent_id]=[0]
  1996. EXECUTE [depth=0] sofia/default/1000003@46.101.114.158 set(entity_id=0)
  1997. 2022-10-11 13:10:07.953521 92.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000003@46.101.114.158 [entity_id]=[0]
  1998. EXECUTE [depth=0] sofia/default/1000003@46.101.114.158 set(call_processed=internal)
  1999. 2022-10-11 13:10:07.953521 92.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000003@46.101.114.158 [call_processed]=[internal]
  2000. EXECUTE [depth=0] sofia/default/1000003@46.101.114.158 set(call_direction=outbound)
  2001. 2022-10-11 13:10:07.953521 92.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000003@46.101.114.158 [call_direction]=[outbound]
  2002. EXECUTE [depth=0] sofia/default/1000003@46.101.114.158 set(accountname=default)
  2003. 2022-10-11 13:10:07.953521 92.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000003@46.101.114.158 [accountname]=[default]
  2004. EXECUTE [depth=0] sofia/default/1000003@46.101.114.158 set(origination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:16)
  2005. 2022-10-11 13:10:07.953521 92.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000003@46.101.114.158 [origination_rates]=[ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:16]
  2006. EXECUTE [depth=0] sofia/default/1000003@46.101.114.158 set(original_caller_id_name=3613818599)
  2007. 2022-10-11 13:10:07.953521 92.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000003@46.101.114.158 [original_caller_id_name]=[3613818599]
  2008. EXECUTE [depth=0] sofia/default/1000003@46.101.114.158 set(original_caller_id_number=1000003)
  2009. 2022-10-11 13:10:07.953521 92.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000003@46.101.114.158 [original_caller_id_number]=[1000003]
  2010. EXECUTE [depth=0] sofia/default/1000003@46.101.114.158 set(calltype=BROADCAST)
  2011. 2022-10-11 13:10:07.953521 92.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000003@46.101.114.158 [calltype]=[BROADCAST]
  2012. EXECUTE [depth=0] sofia/default/1000003@46.101.114.158 set(sip_user=3613818599)
  2013. 2022-10-11 13:10:07.953521 92.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000003@46.101.114.158 [sip_user]=[3613818599]
  2014. EXECUTE [depth=0] sofia/default/1000003@46.101.114.158 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)
  2015. 2022-10-11 13:10:07.953521 92.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000003@46.101.114.158 [termination_rates]=[ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.10000|INC:60|INITIALBLOCK:30|TRUNK:1|PROVIDER:3]
  2016. EXECUTE [depth=0] sofia/default/1000003@46.101.114.158 set(trunk_id=1)
  2017. 2022-10-11 13:10:07.953521 92.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000003@46.101.114.158 [trunk_id]=[1]
  2018. EXECUTE [depth=0] sofia/default/1000003@46.101.114.158 set(provider_id=3)
  2019. 2022-10-11 13:10:07.953521 92.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000003@46.101.114.158 [provider_id]=[3]
  2020. EXECUTE [depth=0] sofia/default/1000003@46.101.114.158 set(rate_flag=0)
  2021. 2022-10-11 13:10:07.953521 92.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000003@46.101.114.158 [rate_flag]=[0]
  2022. EXECUTE [depth=0] sofia/default/1000003@46.101.114.158 set(force_trunk_flag=1)
  2023. 2022-10-11 13:10:07.953521 92.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000003@46.101.114.158 [force_trunk_flag]=[1]
  2024. EXECUTE [depth=0] sofia/default/1000003@46.101.114.158 export(presence_data=trunk_id=1)
  2025. 2022-10-11 13:10:07.953521 92.33% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=1]
  2026. EXECUTE [depth=0] sofia/default/1000003@46.101.114.158 set(intcall=0)
  2027. 2022-10-11 13:10:07.953521 92.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000003@46.101.114.158 [intcall]=[0]
  2028. EXECUTE [depth=0] sofia/default/1000003@46.101.114.158 export(presence_data=x|||Alpesh(3613818599)|||^1.* // USA // 0.20000 // trunk_id=0|||YourProvider // ^1.* // USA // 0.10000 // trunk_id=1|||STD)
  2029. 2022-10-11 13:10:07.953521 92.33% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Alpesh(3613818599)|||^1.* // USA // 0.20000 // trunk_id=0|||YourProvider // ^1.* // USA // 0.10000 // trunk_id=1|||STD]
  2030. EXECUTE [depth=0] sofia/default/1000003@46.101.114.158 bridge({sip_cid_type=}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/1000003)
  2031. 2022-10-11 13:10:07.953521 92.33% [DEBUG] switch_channel.c:1269 sofia/default/1000003@46.101.114.158 EXPORTING[export_vars] [presence_data]=[x|||Alpesh(3613818599)|||^1.* // USA // 0.20000 // trunk_id=0|||YourProvider // ^1.* // USA // 0.10000 // trunk_id=1|||STD] to event
  2032. 2022-10-11 13:10:07.953521 92.33% [DEBUG] switch_channel.c:1269 sofia/default/1000003@46.101.114.158 EXPORTING[export_vars] [presence_data]=[x|||Alpesh(3613818599)|||^1.* // USA // 0.20000 // trunk_id=0|||YourProvider // ^1.* // USA // 0.10000 // trunk_id=1|||STD] to event
  2033. 2022-10-11 13:10:07.953521 92.33% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  2034. 2022-10-11 13:10:07.953521 92.33% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  2035. 2022-10-11 13:10:07.953521 92.33% [NOTICE] switch_channel.c:1123 New Channel sofia/default/1000003 [fa297718-45f8-4841-88c9-30a32c507d15]
  2036. 2022-10-11 13:10:07.953521 92.33% [DEBUG] mod_sofia.c:5121 (sofia/default/1000003) State Change CS_NEW -> CS_INIT
  2037. 2022-10-11 13:10:07.953521 92.33% [DEBUG] switch_ivr_originate.c:3151 sofia/default/1000003 Setting leg timeout to 30
  2038. 2022-10-11 13:10:07.953521 92.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000003) Running State Change CS_INIT (Cur 12 Tot 184)
  2039. 2022-10-11 13:10:07.953521 92.33% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1000003) State INIT
  2040. 2022-10-11 13:10:07.953521 92.33% [DEBUG] mod_sofia.c:97 sofia/default/1000003 SOFIA INIT
  2041. 2022-10-11 13:10:07.953521 92.33% [INFO] sofia_glue.c:1651 sofia/default/1000003 sending invite call-id: (null)
  2042. 2022-10-11 13:10:07.953521 92.33% [DEBUG] sofia_glue.c:1654 sofia/default/1000003 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
  2043. Local SDP:
  2044. v=0
  2045. o=FreeSWITCH 1665469893 1665469894 IN IP4 46.101.114.158
  2046. s=FreeSWITCH
  2047. c=IN IP4 46.101.114.158
  2048. t=0 0
  2049. m=audio 23914 RTP/AVP 8 18 101
  2050. a=rtpmap:8 PCMA/8000
  2051. a=rtpmap:18 G729/8000
  2052. a=rtpmap:101 telephone-event/8000
  2053. a=fmtp:101 0-15
  2054. a=ptime:20
  2055. a=sendrecv
  2056.  
  2057. 2022-10-11 13:10:07.953521 92.33% [DEBUG] switch_core_state_machine.c:40 sofia/default/1000003 Standard INIT
  2058. 2022-10-11 13:10:07.953521 92.33% [DEBUG] switch_core_state_machine.c:48 (sofia/default/1000003) State Change CS_INIT -> CS_ROUTING
  2059. 2022-10-11 13:10:07.953521 92.33% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1000003) State INIT going to sleep
  2060. 2022-10-11 13:10:07.953521 92.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000003) Running State Change CS_ROUTING (Cur 12 Tot 184)
  2061. 2022-10-11 13:10:07.953521 92.33% [DEBUG] sofia.c:7499 Channel sofia/default/1000003 entering state [calling][0]
  2062. 2022-10-11 13:10:07.953521 92.33% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1000003) State ROUTING
  2063. 2022-10-11 13:10:07.953521 92.33% [DEBUG] mod_sofia.c:158 sofia/default/1000003 SOFIA ROUTING
  2064. 2022-10-11 13:10:07.953521 92.33% [DEBUG] switch_ivr_originate.c:67 (sofia/default/1000003) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  2065. 2022-10-11 13:10:07.953521 92.33% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1000003) State ROUTING going to sleep
  2066. 2022-10-11 13:10:07.953521 92.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000003) Running State Change CS_CONSUME_MEDIA (Cur 12 Tot 184)
  2067. 2022-10-11 13:10:07.953521 92.33% [DEBUG] switch_core_state_machine.c:659 (sofia/default/1000003) State CONSUME_MEDIA
  2068. 2022-10-11 13:10:07.953521 92.33% [DEBUG] switch_core_state_machine.c:659 (sofia/default/1000003) State CONSUME_MEDIA going to sleep
  2069. 2022-10-11 13:10:08.053517 92.33% [DEBUG] sofia.c:7499 Channel sofia/default/1000003 entering state [completing][200]
  2070. 2022-10-11 13:10:08.053517 92.33% [DEBUG] sofia.c:7509 Remote SDP:
  2071. v=0
  2072. o=root 1523179005 1523179005 IN IP4 159.203.131.36
  2073. s=Asterisk PBX 16.4.0
  2074. c=IN IP4 159.203.131.36
  2075. t=0 0
  2076. m=audio 11632 RTP/AVP 8 101
  2077. a=rtpmap:8 PCMA/8000
  2078. a=rtpmap:101 telephone-event/8000
  2079. a=fmtp:101 0-16
  2080. a=maxptime:150
  2081.  
  2082. 2022-10-11 13:10:08.053517 92.33% [DEBUG] sofia.c:7499 Channel sofia/default/1000003 entering state [ready][200]
  2083. 2022-10-11 13:10:08.053517 92.33% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1]
  2084. 2022-10-11 13:10:08.053517 92.33% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  2085. 2022-10-11 13:10:08.053517 92.33% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[G729:18:8000:20:8000:1]
  2086. 2022-10-11 13:10:08.053517 92.33% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  2087. 2022-10-11 13:10:08.053517 92.33% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/1000003 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  2088. 2022-10-11 13:10:08.053517 92.33% [DEBUG] switch_core_codec.c:111 sofia/default/1000003 Original read codec set to PCMA:8
  2089. 2022-10-11 13:10:08.053517 92.33% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  2090. 2022-10-11 13:10:08.053517 92.33% [DEBUG] switch_core_media.c:5973 sofia/default/1000003 Set 2833 dtmf send payload to 101 recv payload to 101
  2091. 2022-10-11 13:10:08.053517 92.33% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/1000003] 46.101.114.158 port 23914 -> 159.203.131.36 port 11632 codec: 8 ms: 20
  2092. 2022-10-11 13:10:08.053517 92.33% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  2093. 2022-10-11 13:10:08.053517 92.33% [DEBUG] switch_core_media.c:9089 sofia/default/1000003 Set 2833 dtmf send payload to 101
  2094. 2022-10-11 13:10:08.053517 92.33% [DEBUG] switch_core_media.c:9096 sofia/default/1000003 Set 2833 dtmf receive payload to 101
  2095. 2022-10-11 13:10:08.053517 92.33% [DEBUG] switch_core_media.c:9119 sofia/default/1000003 Set rtp dtmf delay to 40
  2096. 2022-10-11 13:10:08.053517 92.33% [NOTICE] sofia.c:8683 Channel [sofia/default/1000003] has been answered
  2097. 2022-10-11 13:10:08.053517 92.33% [DEBUG] switch_channel.c:3950 (sofia/default/1000003) Callstate Change DOWN -> ACTIVE
  2098. 2022-10-11 13:10:08.053517 92.33% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/1000003@46.101.114.158] 46.101.114.158 port 27894 -> 46.101.114.158 port 16478 codec: 8 ms: 20
  2099. 2022-10-11 13:10:08.053517 92.33% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  2100. 2022-10-11 13:10:08.073516 92.33% [DEBUG] switch_core_media.c:9089 sofia/default/1000003@46.101.114.158 Set 2833 dtmf send payload to 101
  2101. 2022-10-11 13:10:08.073516 92.33% [DEBUG] switch_core_media.c:9096 sofia/default/1000003@46.101.114.158 Set 2833 dtmf receive payload to 101
  2102. 2022-10-11 13:10:08.073516 92.33% [DEBUG] switch_core_media.c:9119 sofia/default/1000003@46.101.114.158 Set rtp dtmf delay to 40
  2103. 2022-10-11 13:10:08.073516 92.33% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/1000003@46.101.114.158:
  2104. v=0
  2105. o=FreeSWITCH 1665465914 1665465915 IN IP4 46.101.114.158
  2106. s=FreeSWITCH
  2107. c=IN IP4 46.101.114.158
  2108. t=0 0
  2109. m=audio 27894 RTP/AVP 8 101
  2110. a=rtpmap:8 PCMA/8000
  2111. a=rtpmap:101 telephone-event/8000
  2112. a=fmtp:101 0-15
  2113. a=ptime:20
  2114. a=sendrecv
  2115.  
  2116. 2022-10-11 13:10:08.073516 92.33% [DEBUG] sofia.c:7499 Channel sofia/default/1000003@46.101.114.158 entering state [completed][200]
  2117. 2022-10-11 13:10:08.073516 92.33% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/default/1000003@46.101.114.158] has been answered
  2118. 2022-10-11 13:10:08.073516 92.33% [DEBUG] switch_channel.c:3950 (sofia/default/1000003@46.101.114.158) Callstate Change RINGING -> ACTIVE
  2119. 2022-10-11 13:10:08.073516 92.33% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/1000003] Peer UUID: fa297718-45f8-4841-88c9-30a32c507d15
  2120. 2022-10-11 13:10:08.073516 92.33% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/1000003) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  2121. 2022-10-11 13:10:08.073516 92.33% [DEBUG] sofia.c:7499 Channel sofia/default/1000003@46.101.114.158:5064 entering state [completing][200]
  2122. 2022-10-11 13:10:08.073516 92.33% [DEBUG] sofia.c:7509 Remote SDP:
  2123. v=0
  2124. o=FreeSWITCH 1665465914 1665465915 IN IP4 46.101.114.158
  2125. s=FreeSWITCH
  2126. c=IN IP4 46.101.114.158
  2127. t=0 0
  2128. m=audio 27894 RTP/AVP 8 101
  2129. a=rtpmap:8 PCMA/8000
  2130. a=rtpmap:101 telephone-event/8000
  2131. a=fmtp:101 0-15
  2132. a=ptime:20
  2133.  
  2134. 2022-10-11 13:10:08.073516 92.33% [DEBUG] sofia.c:7499 Channel sofia/default/1000003@46.101.114.158:5064 entering state [ready][200]
  2135. 2022-10-11 13:10:08.073516 92.33% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  2136. 2022-10-11 13:10:08.073516 92.33% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  2137. 2022-10-11 13:10:08.073516 92.33% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  2138. 2022-10-11 13:10:08.073516 92.33% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  2139. 2022-10-11 13:10:08.073516 92.33% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/1000003@46.101.114.158:5064 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  2140. 2022-10-11 13:10:08.073516 92.33% [DEBUG] switch_core_codec.c:111 sofia/default/1000003@46.101.114.158:5064 Original read codec set to PCMA:8
  2141. 2022-10-11 13:10:08.073516 92.33% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  2142. 2022-10-11 13:10:08.073516 92.33% [DEBUG] switch_core_media.c:5973 sofia/default/1000003@46.101.114.158:5064 Set 2833 dtmf send payload to 101 recv payload to 101
  2143. 2022-10-11 13:10:08.073516 92.33% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/1000003@46.101.114.158:5064] 46.101.114.158 port 16478 -> 46.101.114.158 port 27894 codec: 8 ms: 20
  2144. 2022-10-11 13:10:08.073516 92.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000003) Running State Change CS_EXCHANGE_MEDIA (Cur 12 Tot 184)
  2145. 2022-10-11 13:10:08.073516 92.33% [DEBUG] switch_core_state_machine.c:650 (sofia/default/1000003) State EXCHANGE_MEDIA
  2146. 2022-10-11 13:10:08.073516 92.33% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  2147. 2022-10-11 13:10:08.073516 92.33% [DEBUG] sofia.c:7499 Channel sofia/default/1000003@46.101.114.158 entering state [ready][200]
  2148. 2022-10-11 13:10:08.073516 92.33% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  2149. 2022-10-11 13:10:08.073516 92.33% [DEBUG] switch_core_media.c:9089 sofia/default/1000003@46.101.114.158:5064 Set 2833 dtmf send payload to 101
  2150. 2022-10-11 13:10:08.073516 92.33% [DEBUG] switch_core_media.c:9096 sofia/default/1000003@46.101.114.158:5064 Set 2833 dtmf receive payload to 101
  2151. 2022-10-11 13:10:08.073516 92.33% [DEBUG] switch_core_media.c:9119 sofia/default/1000003@46.101.114.158:5064 Set rtp dtmf delay to 40
  2152. 2022-10-11 13:10:08.073516 92.33% [NOTICE] sofia.c:8683 Channel [sofia/default/1000003@46.101.114.158:5064] has been answered
  2153. 2022-10-11 13:10:08.073516 92.33% [DEBUG] switch_channel.c:3950 (sofia/default/1000003@46.101.114.158:5064) Callstate Change DOWN -> ACTIVE
  2154. 2022-10-11 13:10:08.073516 92.33% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/1000003@46.101.114.158:5064] Peer UUID: a37b4428-3c52-42be-964f-ce1ddbbeb848
  2155. 2022-10-11 13:10:08.073516 92.33% [INFO] switch_channel.c:3270 sofia/default/1000003@46.101.114.158:5064 Flipping CID from "3613818599" <1000003> to "Outbound Call" <1000003>
  2156. 2022-10-11 13:10:08.073516 92.33% [DEBUG] mod_commands.c:5169 (sofia/default/1000003@46.101.114.158:5064) State Change CS_CONSUME_MEDIA -> CS_EXECUTE
  2157. 2022-10-11 13:10:08.073516 92.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000003@46.101.114.158:5064) Running State Change CS_EXECUTE (Cur 12 Tot 184)
  2158. 2022-10-11 13:10:08.073516 92.33% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1000003@46.101.114.158:5064) State EXECUTE
  2159. 2022-10-11 13:10:08.073516 92.33% [DEBUG] mod_sofia.c:213 sofia/default/1000003@46.101.114.158:5064 SOFIA EXECUTE
  2160. 2022-10-11 13:10:08.073516 92.33% [DEBUG] switch_core_state_machine.c:323 sofia/default/1000003@46.101.114.158:5064 Standard EXECUTE
  2161. EXECUTE [depth=0] sofia/default/1000003@46.101.114.158:5064 playback(/opt/ASTPP/web_interface/astpp/upload/voice_broadcast/file_example_WAV_1MG_.wav)
  2162. 2022-10-11 13:10:08.073516 92.33% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur.
  2163. 2022-10-11 13:10:08.073516 92.33% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  2164. 2022-10-11 13:10:08.093517 92.33% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  2165. 2022-10-11 13:10:08.093517 92.33% [NOTICE] switch_channel.c:1123 New Channel sofia/default/1000004@46.101.114.158:5064 [36385dd4-d1df-4087-a79d-2920cd4a31c4]
  2166. 2022-10-11 13:10:08.093517 92.33% [DEBUG] mod_sofia.c:5121 (sofia/default/1000004@46.101.114.158:5064) State Change CS_NEW -> CS_INIT
  2167. 2022-10-11 13:10:08.093517 92.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000004@46.101.114.158:5064) Running State Change CS_INIT (Cur 13 Tot 185)
  2168. 2022-10-11 13:10:08.093517 92.33% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1000004@46.101.114.158:5064) State INIT
  2169. 2022-10-11 13:10:08.093517 92.33% [DEBUG] mod_sofia.c:97 sofia/default/1000004@46.101.114.158:5064 SOFIA INIT
  2170. 2022-10-11 13:10:08.093517 92.33% [INFO] sofia_glue.c:1651 sofia/default/1000004@46.101.114.158:5064 sending invite call-id: (null)
  2171. 2022-10-11 13:10:08.093517 92.33% [DEBUG] sofia_glue.c:1654 sofia/default/1000004@46.101.114.158:5064 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
  2172. Local SDP:
  2173. v=0
  2174. o=FreeSWITCH 1665463968 1665463969 IN IP4 46.101.114.158
  2175. s=FreeSWITCH
  2176. c=IN IP4 46.101.114.158
  2177. t=0 0
  2178. m=audio 29840 RTP/AVP 8 0 101
  2179. a=rtpmap:8 PCMA/8000
  2180. a=rtpmap:0 PCMU/8000
  2181. a=rtpmap:101 telephone-event/8000
  2182. a=fmtp:101 0-15
  2183. a=ptime:20
  2184. a=sendrecv
  2185.  
  2186. 2022-10-11 13:10:08.093517 92.33% [NOTICE] switch_channel.c:1123 New Channel sofia/default/1000004@46.101.114.158 [ed4858a2-dac6-4df6-9bb1-0b95c8758169]
  2187. 2022-10-11 13:10:08.093517 92.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000004@46.101.114.158) Running State Change CS_NEW (Cur 14 Tot 186)
  2188. 2022-10-11 13:10:08.093517 92.33% [INFO] sofia.c:10462 sofia/default/1000004@46.101.114.158 receiving invite from 46.101.114.158:5064 version: 1.10.7 -release-19-883d2cb662 64bit call-id: de55f3bf-c408-123b-8ea3-ba05d31eb9f9
  2189. 2022-10-11 13:10:08.093517 92.33% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 46.101.114.158:0.
  2190. 2022-10-11 13:10:08.093517 92.33% [DEBUG] sofia.c:7499 Channel sofia/default/1000004@46.101.114.158 entering state [received][100]
  2191. 2022-10-11 13:10:08.093517 92.33% [DEBUG] sofia.c:7509 Remote SDP:
  2192. v=0
  2193. o=FreeSWITCH 1665463968 1665463969 IN IP4 46.101.114.158
  2194. s=FreeSWITCH
  2195. c=IN IP4 46.101.114.158
  2196. t=0 0
  2197. m=audio 29840 RTP/AVP 8 0 101
  2198. a=rtpmap:8 PCMA/8000
  2199. a=rtpmap:0 PCMU/8000
  2200. a=rtpmap:101 telephone-event/8000
  2201. a=fmtp:101 0-15
  2202. a=ptime:20
  2203.  
  2204. 2022-10-11 13:10:08.093517 92.33% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  2205. 2022-10-11 13:10:08.093517 92.33% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  2206. 2022-10-11 13:10:08.093517 92.33% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  2207. 2022-10-11 13:10:08.093517 92.33% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  2208. 2022-10-11 13:10:08.093517 92.33% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  2209. 2022-10-11 13:10:08.093517 92.33% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  2210. 2022-10-11 13:10:08.093517 92.33% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  2211. 2022-10-11 13:10:08.093517 92.33% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/1000004@46.101.114.158 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  2212. 2022-10-11 13:10:08.093517 92.33% [DEBUG] switch_core_codec.c:111 sofia/default/1000004@46.101.114.158 Original read codec set to PCMA:8
  2213. 2022-10-11 13:10:08.093517 92.33% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  2214. 2022-10-11 13:10:08.093517 92.33% [DEBUG] switch_core_media.c:5973 sofia/default/1000004@46.101.114.158 Set 2833 dtmf send payload to 101 recv payload to 101
  2215. 2022-10-11 13:10:08.093517 92.33% [DEBUG] sofia.c:7933 (sofia/default/1000004@46.101.114.158) State Change CS_NEW -> CS_INIT
  2216. 2022-10-11 13:10:08.093517 92.33% [DEBUG] switch_core_state_machine.c:600 (sofia/default/1000004@46.101.114.158) State NEW
  2217. 2022-10-11 13:10:08.093517 92.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000004@46.101.114.158) Running State Change CS_INIT (Cur 14 Tot 186)
  2218. 2022-10-11 13:10:08.093517 92.33% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1000004@46.101.114.158) State INIT
  2219. 2022-10-11 13:10:08.093517 92.33% [DEBUG] mod_sofia.c:97 sofia/default/1000004@46.101.114.158 SOFIA INIT
  2220. 2022-10-11 13:10:08.093517 92.33% [DEBUG] switch_core_state_machine.c:40 sofia/default/1000004@46.101.114.158 Standard INIT
  2221. 2022-10-11 13:10:08.093517 92.33% [DEBUG] switch_core_state_machine.c:48 (sofia/default/1000004@46.101.114.158) State Change CS_INIT -> CS_ROUTING
  2222. 2022-10-11 13:10:08.093517 92.33% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1000004@46.101.114.158) State INIT going to sleep
  2223. 2022-10-11 13:10:08.093517 92.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000004@46.101.114.158) Running State Change CS_ROUTING (Cur 14 Tot 186)
  2224. 2022-10-11 13:10:08.093517 92.33% [DEBUG] switch_channel.c:2380 (sofia/default/1000004@46.101.114.158) Callstate Change DOWN -> RINGING
  2225. 2022-10-11 13:10:08.093517 92.33% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1000004@46.101.114.158) State ROUTING
  2226. 2022-10-11 13:10:08.093517 92.33% [DEBUG] mod_sofia.c:158 sofia/default/1000004@46.101.114.158 SOFIA ROUTING
  2227. 2022-10-11 13:10:08.093517 92.33% [DEBUG] switch_core_state_machine.c:230 sofia/default/1000004@46.101.114.158 Standard ROUTING
  2228. 2022-10-11 13:10:08.093517 92.33% [INFO] mod_dialplan_xml.c:639 Processing 3613818599 <1000004>->1000004 in context default
  2229. 2022-10-11 13:10:08.093517 92.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  2230. 2022-10-11 13:10:08.093517 92.33% [DEBUG] switch_core_state_machine.c:40 sofia/default/1000004@46.101.114.158:5064 Standard INIT
  2231. 2022-10-11 13:10:08.093517 92.33% [DEBUG] switch_core_state_machine.c:48 (sofia/default/1000004@46.101.114.158:5064) State Change CS_INIT -> CS_ROUTING
  2232. 2022-10-11 13:10:08.093517 92.33% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1000004@46.101.114.158:5064) State INIT going to sleep
  2233. 2022-10-11 13:10:08.093517 92.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000004@46.101.114.158:5064) Running State Change CS_ROUTING (Cur 14 Tot 186)
  2234. 2022-10-11 13:10:08.093517 92.33% [DEBUG] sofia.c:7499 Channel sofia/default/1000004@46.101.114.158:5064 entering state [calling][0]
  2235. 2022-10-11 13:10:08.093517 92.33% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1000004@46.101.114.158:5064) State ROUTING
  2236. 2022-10-11 13:10:08.093517 92.33% [DEBUG] mod_sofia.c:158 sofia/default/1000004@46.101.114.158:5064 SOFIA ROUTING
  2237. 2022-10-11 13:10:08.093517 92.33% [DEBUG] switch_ivr_originate.c:67 (sofia/default/1000004@46.101.114.158:5064) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  2238. 2022-10-11 13:10:08.093517 92.33% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1000004@46.101.114.158:5064) State ROUTING going to sleep
  2239. 2022-10-11 13:10:08.093517 92.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000004@46.101.114.158:5064) Running State Change CS_CONSUME_MEDIA (Cur 14 Tot 186)
  2240. 2022-10-11 13:10:08.093517 92.33% [DEBUG] switch_core_state_machine.c:659 (sofia/default/1000004@46.101.114.158:5064) State CONSUME_MEDIA
  2241. 2022-10-11 13:10:08.093517 92.33% [DEBUG] switch_core_state_machine.c:659 (sofia/default/1000004@46.101.114.158:5064) State CONSUME_MEDIA going to sleep
  2242. 2022-10-11 13:10:08.093517 92.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  2243. 2022-10-11 13:10:08.113532 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 1000004
  2244. 2022-10-11 13:10:08.113532 92.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Clicktocall Destination Number 1000004
  2245. 2022-10-11 13:10:08.113532 92.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '1000004' AND status=0 limit 1
  2246. 2022-10-11 13:10:08.113532 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 3613818599 / 1000004
  2247. 2022-10-11 13:10:08.113532 92.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1000004" LIMIT 1
  2248. 2022-10-11 13:10:08.113532 92.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="1000004" limit 1
  2249. 2022-10-11 13:10:08.113532 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  2250. 2022-10-11 13:10:08.113532 92.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("46.101.114.158") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 -  SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1))  AND "1000004"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  2251. 2022-10-11 13:10:08.113532 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 3613818599]
  2252. 2022-10-11 13:10:08.113532 92.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3613818599" AND deleted = 0 limit 1
  2253. 2022-10-11 13:10:08.133519 92.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^1000004.*' OR blocked_patterns = '^100000.*' OR blocked_patterns = '^10000.*' OR blocked_patterns = '^1000.*' OR blocked_patterns = '^100.*' OR blocked_patterns = '^10.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 16 limit 1
  2254. 2022-10-11 13:10:08.133519 92.33% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  2255. 2022-10-11 13:10:08.133519 92.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="1000004" AND A.accountid = '16' limit 1
  2256. 2022-10-11 13:10:08.133519 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 1000004
  2257. 2022-10-11 13:10:08.133519 92.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1000004" LIMIT 1
  2258. 2022-10-11 13:10:08.133519 92.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="1000004" limit 1
  2259. 2022-10-11 13:10:08.133519 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call direction : outbound
  2260. 2022-10-11 13:10:08.133519 92.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="1000004" AND (accountid = 0 OR status = 1) LIMIT 1
  2261. 2022-10-11 13:10:08.133519 92.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^1000004.*' OR patterns = '^100000.*' OR patterns = '^10000.*' OR patterns = '^1000.*' OR patterns = '^100.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 16 ORDER BY LENGTH(PKGPTR.patterns) DESC
  2262. 2022-10-11 13:10:08.133519 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  2263. 2022-10-11 13:10:08.133519 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 16
  2264. 2022-10-11 13:10:08.133519 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 3613818599
  2265. 2022-10-11 13:10:08.133519 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 95.8
  2266. 2022-10-11 13:10:08.133519 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  2267. 2022-10-11 13:10:08.133519 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  2268. 2022-10-11 13:10:08.133519 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  2269. 2022-10-11 13:10:08.133519 92.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  2270. 2022-10-11 13:10:08.153519 92.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  2271. 2022-10-11 13:10:08.153519 92.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^1000004.*' OR pattern = '^100000.*' OR pattern = '^10000.*' OR pattern = '^1000.*' OR pattern = '^100.*' OR pattern = '^10.*' OR pattern = '^1.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 1 OR accountid=16)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1
  2272. 2022-10-11 13:10:08.153519 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] call_direction:::::: outbound
  2273. 2022-10-11 13:10:08.153519 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  2274. 2022-10-11 13:10:08.153519 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  2275. 2022-10-11 13:10:08.153519 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  2276. 2022-10-11 13:10:08.153519 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  2277. 2022-10-11 13:10:08.153519 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.20000
  2278. 2022-10-11 13:10:08.153519 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] comment : USA
  2279. 2022-10-11 13:10:08.153519 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
  2280. 2022-10-11 13:10:08.153519 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 16
  2281. 2022-10-11 13:10:08.153519 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 0
  2282. 2022-10-11 13:10:08.153519 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  2283. 2022-10-11 13:10:08.153519 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  2284. 2022-10-11 13:10:08.153519 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your95.8 balance Accountid 16 !!!
  2285. 2022-10-11 13:10:08.153519 92.33% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting call to config max length 100 mins!
  2286. 2022-10-11 13:10:08.153519 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max length duration : 100 minutes
  2287. 2022-10-11 13:10:08.153519 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 1
  2288. 2022-10-11 13:10:08.153519 92.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=1 ORDER by id asc
  2289. 2022-10-11 13:10:08.153519 92.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.sip_cid_type,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^1000004.*' OR pattern = '^100000.*' OR pattern = '^10000.*' OR pattern = '^1000.*' OR pattern = '^100.*' OR pattern = '^10.*' OR pattern = '^1.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (1) ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence
  2290. 2022-10-11 13:10:08.153519 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  2291. 2022-10-11 13:10:08.153519 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  2292. 2022-10-11 13:10:08.153519 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^1.*
  2293. 2022-10-11 13:10:08.153519 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : USA
  2294. 2022-10-11 13:10:08.153519 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  2295. 2022-10-11 13:10:08.153519 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  2296. 2022-10-11 13:10:08.153519 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^1.*
  2297. 2022-10-11 13:10:08.153519 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  2298. 2022-10-11 13:10:08.153519 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  2299. 2022-10-11 13:10:08.153519 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 1
  2300. 2022-10-11 13:10:08.153519 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : YourProvider
  2301. 2022-10-11 13:10:08.153519 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  2302. 2022-10-11 13:10:08.153519 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  2303. 2022-10-11 13:10:08.153519 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  2304. 2022-10-11 13:10:08.153519 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  2305. 2022-10-11 13:10:08.153519 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : YourProvider
  2306. 2022-10-11 13:10:08.153519 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  2307. 2022-10-11 13:10:08.153519 92.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 16 AND status=0 LIMIT 1
  2308. 2022-10-11 13:10:08.173517 92.33% [INFO] switch_cpp.cpp:1465 [ASTPP] maxlength::::::::: 100
  2309. 2022-10-11 13:10:08.173517 92.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  2310. 2022-10-11 13:10:08.173517 92.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 1) AND status=0 limit 1
  2311. 2022-10-11 13:10:08.173517 92.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate FROM localization WHERE id=(SELECT localization_id from accounts where id = 3) AND status=0 limit 1
  2312. 2022-10-11 13:10:08.173517 92.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  2313. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2314. <document type="freeswitch/xml">
  2315. <section name="dialplan" description="ASTPP Dialplan">
  2316. <context name="default">
  2317. <extension name="1000004">
  2318. <condition field="destination_number" expression="1000004">
  2319. <action application="set" data="effective_destination_number=1000004"/>
  2320. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  2321. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  2322. <action application="set" data="callstart=2022-10-11 13:10:07"/>
  2323. <action application="set" data="hangup_after_bridge=true"/>
  2324. <action application="set" data="continue_on_fail=TRUE"/>
  2325. <action application="set" data="account_id=16"/>
  2326. <action application="set" data="parent_id=0"/>
  2327. <action application="set" data="entity_id=0"/>
  2328. <action application="set" data="call_processed=internal"/>
  2329. <action application="set" data="call_direction=outbound"/>
  2330. <action application="set" data="accountname=default"/>
  2331. <action application="set" data="origination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:16"/>
  2332. <action application="set" data="original_caller_id_name=3613818599"/>
  2333. <action application="set" data="original_caller_id_number=1000004"/>
  2334.  
  2335. <action application="set" data="calltype=BROADCAST"/>
  2336. <action application="set" data="sip_user=3613818599"/>
  2337. <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"/>
  2338. <action application="set" data="trunk_id=1"/>
  2339. <action application="set" data="provider_id=3"/>
  2340. <action application="set" data="rate_flag=0"/>
  2341. <action application="set" data="force_trunk_flag=1"/>
  2342. <action application="export" data="presence_data=trunk_id=1"/>
  2343. <action application="set" data="intcall=0"/>
  2344. <action application="export" data="presence_data=x|||Alpesh(3613818599)|||^1.* // USA // 0.20000 // trunk_id=0|||YourProvider // ^1.* // USA // 0.10000 // trunk_id=1|||STD"/>
  2345. <action application="bridge" data="{sip_cid_type=}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/1000004"/>
  2346. </condition>
  2347. </extension>
  2348. </context>
  2349. </section>
  2350. </document>
  2351. Dialplan: sofia/default/1000004@46.101.114.158 parsing [default->1000004] continue=false
  2352. Dialplan: sofia/default/1000004@46.101.114.158 Regex (PASS) [1000004] destination_number(1000004) =~ /1000004/ break=on-false
  2353. Dialplan: sofia/default/1000004@46.101.114.158 Action set(effective_destination_number=1000004)
  2354. Dialplan: sofia/default/1000004@46.101.114.158 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  2355. Dialplan: sofia/default/1000004@46.101.114.158 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  2356. Dialplan: sofia/default/1000004@46.101.114.158 Action set(callstart=2022-10-11 13:10:07)
  2357. Dialplan: sofia/default/1000004@46.101.114.158 Action set(hangup_after_bridge=true)
  2358. Dialplan: sofia/default/1000004@46.101.114.158 Action set(continue_on_fail=TRUE)
  2359. Dialplan: sofia/default/1000004@46.101.114.158 Action set(account_id=16)
  2360. Dialplan: sofia/default/1000004@46.101.114.158 Action set(parent_id=0)
  2361. Dialplan: sofia/default/1000004@46.101.114.158 Action set(entity_id=0)
  2362. Dialplan: sofia/default/1000004@46.101.114.158 Action set(call_processed=internal)
  2363. Dialplan: sofia/default/1000004@46.101.114.158 Action set(call_direction=outbound)
  2364. Dialplan: sofia/default/1000004@46.101.114.158 Action set(accountname=default)
  2365. Dialplan: sofia/default/1000004@46.101.114.158 Action set(origination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:16)
  2366. Dialplan: sofia/default/1000004@46.101.114.158 Action set(original_caller_id_name=3613818599)
  2367. Dialplan: sofia/default/1000004@46.101.114.158 Action set(original_caller_id_number=1000004)
  2368. Dialplan: sofia/default/1000004@46.101.114.158 Action set(calltype=BROADCAST)
  2369. Dialplan: sofia/default/1000004@46.101.114.158 Action set(sip_user=3613818599)
  2370. Dialplan: sofia/default/1000004@46.101.114.158 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)
  2371. Dialplan: sofia/default/1000004@46.101.114.158 Action set(trunk_id=1)
  2372. Dialplan: sofia/default/1000004@46.101.114.158 Action set(provider_id=3)
  2373. Dialplan: sofia/default/1000004@46.101.114.158 Action set(rate_flag=0)
  2374. Dialplan: sofia/default/1000004@46.101.114.158 Action set(force_trunk_flag=1)
  2375. Dialplan: sofia/default/1000004@46.101.114.158 Action export(presence_data=trunk_id=1)
  2376. Dialplan: sofia/default/1000004@46.101.114.158 Action set(intcall=0)
  2377. Dialplan: sofia/default/1000004@46.101.114.158 Action export(presence_data=x|||Alpesh(3613818599)|||^1.* // USA // 0.20000 // trunk_id=0|||YourProvider // ^1.* // USA // 0.10000 // trunk_id=1|||STD)
  2378. Dialplan: sofia/default/1000004@46.101.114.158 Action bridge({sip_cid_type=}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/1000004)
  2379. 2022-10-11 13:10:08.173517 92.33% [DEBUG] switch_core_state_machine.c:281 (sofia/default/1000004@46.101.114.158) State Change CS_ROUTING -> CS_EXECUTE
  2380. 2022-10-11 13:10:08.173517 92.33% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1000004@46.101.114.158) State ROUTING going to sleep
  2381. 2022-10-11 13:10:08.173517 92.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000004@46.101.114.158) Running State Change CS_EXECUTE (Cur 14 Tot 186)
  2382. 2022-10-11 13:10:08.173517 92.33% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1000004@46.101.114.158) State EXECUTE
  2383. 2022-10-11 13:10:08.173517 92.33% [DEBUG] mod_sofia.c:213 sofia/default/1000004@46.101.114.158 SOFIA EXECUTE
  2384. 2022-10-11 13:10:08.173517 92.33% [DEBUG] switch_core_state_machine.c:323 sofia/default/1000004@46.101.114.158 Standard EXECUTE
  2385. EXECUTE [depth=0] sofia/default/1000004@46.101.114.158 set(effective_destination_number=1000004)
  2386. 2022-10-11 13:10:08.173517 92.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000004@46.101.114.158 [effective_destination_number]=[1000004]
  2387. EXECUTE [depth=0] sofia/default/1000004@46.101.114.158 set(bridge_pre_execute_bleg_app=sched_hangup)
  2388. 2022-10-11 13:10:08.173517 92.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000004@46.101.114.158 [bridge_pre_execute_bleg_app]=[sched_hangup]
  2389. EXECUTE [depth=0] sofia/default/1000004@46.101.114.158 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  2390. 2022-10-11 13:10:08.173517 92.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000004@46.101.114.158 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  2391. EXECUTE [depth=0] sofia/default/1000004@46.101.114.158 set(callstart=2022-10-11 13:10:07)
  2392. 2022-10-11 13:10:08.173517 92.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000004@46.101.114.158 [callstart]=[2022-10-11 13:10:07]
  2393. EXECUTE [depth=0] sofia/default/1000004@46.101.114.158 set(hangup_after_bridge=true)
  2394. 2022-10-11 13:10:08.173517 92.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000004@46.101.114.158 [hangup_after_bridge]=[true]
  2395. EXECUTE [depth=0] sofia/default/1000004@46.101.114.158 set(continue_on_fail=TRUE)
  2396. 2022-10-11 13:10:08.173517 92.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000004@46.101.114.158 [continue_on_fail]=[TRUE]
  2397. EXECUTE [depth=0] sofia/default/1000004@46.101.114.158 set(account_id=16)
  2398. 2022-10-11 13:10:08.173517 92.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000004@46.101.114.158 [account_id]=[16]
  2399. EXECUTE [depth=0] sofia/default/1000004@46.101.114.158 set(parent_id=0)
  2400. 2022-10-11 13:10:08.173517 92.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000004@46.101.114.158 [parent_id]=[0]
  2401. EXECUTE [depth=0] sofia/default/1000004@46.101.114.158 set(entity_id=0)
  2402. 2022-10-11 13:10:08.173517 92.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000004@46.101.114.158 [entity_id]=[0]
  2403. EXECUTE [depth=0] sofia/default/1000004@46.101.114.158 set(call_processed=internal)
  2404. 2022-10-11 13:10:08.173517 92.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000004@46.101.114.158 [call_processed]=[internal]
  2405. EXECUTE [depth=0] sofia/default/1000004@46.101.114.158 set(call_direction=outbound)
  2406. 2022-10-11 13:10:08.173517 92.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000004@46.101.114.158 [call_direction]=[outbound]
  2407. EXECUTE [depth=0] sofia/default/1000004@46.101.114.158 set(accountname=default)
  2408. 2022-10-11 13:10:08.173517 92.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000004@46.101.114.158 [accountname]=[default]
  2409. EXECUTE [depth=0] sofia/default/1000004@46.101.114.158 set(origination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:16)
  2410. 2022-10-11 13:10:08.173517 92.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000004@46.101.114.158 [origination_rates]=[ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:16]
  2411. EXECUTE [depth=0] sofia/default/1000004@46.101.114.158 set(original_caller_id_name=3613818599)
  2412. 2022-10-11 13:10:08.173517 92.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000004@46.101.114.158 [original_caller_id_name]=[3613818599]
  2413. EXECUTE [depth=0] sofia/default/1000004@46.101.114.158 set(original_caller_id_number=1000004)
  2414. 2022-10-11 13:10:08.173517 92.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000004@46.101.114.158 [original_caller_id_number]=[1000004]
  2415. EXECUTE [depth=0] sofia/default/1000004@46.101.114.158 set(calltype=BROADCAST)
  2416. 2022-10-11 13:10:08.173517 92.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000004@46.101.114.158 [calltype]=[BROADCAST]
  2417. EXECUTE [depth=0] sofia/default/1000004@46.101.114.158 set(sip_user=3613818599)
  2418. 2022-10-11 13:10:08.173517 92.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000004@46.101.114.158 [sip_user]=[3613818599]
  2419. EXECUTE [depth=0] sofia/default/1000004@46.101.114.158 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)
  2420. 2022-10-11 13:10:08.173517 92.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000004@46.101.114.158 [termination_rates]=[ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.10000|INC:60|INITIALBLOCK:30|TRUNK:1|PROVIDER:3]
  2421. EXECUTE [depth=0] sofia/default/1000004@46.101.114.158 set(trunk_id=1)
  2422. 2022-10-11 13:10:08.173517 92.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000004@46.101.114.158 [trunk_id]=[1]
  2423. EXECUTE [depth=0] sofia/default/1000004@46.101.114.158 set(provider_id=3)
  2424. 2022-10-11 13:10:08.173517 92.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000004@46.101.114.158 [provider_id]=[3]
  2425. EXECUTE [depth=0] sofia/default/1000004@46.101.114.158 set(rate_flag=0)
  2426. 2022-10-11 13:10:08.173517 92.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000004@46.101.114.158 [rate_flag]=[0]
  2427. EXECUTE [depth=0] sofia/default/1000004@46.101.114.158 set(force_trunk_flag=1)
  2428. 2022-10-11 13:10:08.173517 92.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000004@46.101.114.158 [force_trunk_flag]=[1]
  2429. EXECUTE [depth=0] sofia/default/1000004@46.101.114.158 export(presence_data=trunk_id=1)
  2430. 2022-10-11 13:10:08.173517 92.33% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=1]
  2431. EXECUTE [depth=0] sofia/default/1000004@46.101.114.158 set(intcall=0)
  2432. 2022-10-11 13:10:08.173517 92.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000004@46.101.114.158 [intcall]=[0]
  2433. EXECUTE [depth=0] sofia/default/1000004@46.101.114.158 export(presence_data=x|||Alpesh(3613818599)|||^1.* // USA // 0.20000 // trunk_id=0|||YourProvider // ^1.* // USA // 0.10000 // trunk_id=1|||STD)
  2434. 2022-10-11 13:10:08.173517 92.33% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Alpesh(3613818599)|||^1.* // USA // 0.20000 // trunk_id=0|||YourProvider // ^1.* // USA // 0.10000 // trunk_id=1|||STD]
  2435. EXECUTE [depth=0] sofia/default/1000004@46.101.114.158 bridge({sip_cid_type=}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/1000004)
  2436. 2022-10-11 13:10:08.173517 92.33% [DEBUG] switch_channel.c:1269 sofia/default/1000004@46.101.114.158 EXPORTING[export_vars] [presence_data]=[x|||Alpesh(3613818599)|||^1.* // USA // 0.20000 // trunk_id=0|||YourProvider // ^1.* // USA // 0.10000 // trunk_id=1|||STD] to event
  2437. 2022-10-11 13:10:08.173517 92.33% [DEBUG] switch_channel.c:1269 sofia/default/1000004@46.101.114.158 EXPORTING[export_vars] [presence_data]=[x|||Alpesh(3613818599)|||^1.* // USA // 0.20000 // trunk_id=0|||YourProvider // ^1.* // USA // 0.10000 // trunk_id=1|||STD] to event
  2438. 2022-10-11 13:10:08.173517 92.33% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  2439. 2022-10-11 13:10:08.173517 92.33% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  2440. 2022-10-11 13:10:08.173517 92.33% [NOTICE] switch_channel.c:1123 New Channel sofia/default/1000004 [b60fa2a0-5231-49a9-b02c-bcb5ed48e022]
  2441. 2022-10-11 13:10:08.173517 92.33% [DEBUG] mod_sofia.c:5121 (sofia/default/1000004) State Change CS_NEW -> CS_INIT
  2442. 2022-10-11 13:10:08.173517 92.33% [DEBUG] switch_ivr_originate.c:3151 sofia/default/1000004 Setting leg timeout to 30
  2443. 2022-10-11 13:10:08.173517 92.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000004) Running State Change CS_INIT (Cur 15 Tot 187)
  2444. 2022-10-11 13:10:08.173517 92.33% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1000004) State INIT
  2445. 2022-10-11 13:10:08.173517 92.33% [DEBUG] mod_sofia.c:97 sofia/default/1000004 SOFIA INIT
  2446. 2022-10-11 13:10:08.173517 92.33% [INFO] sofia_glue.c:1651 sofia/default/1000004 sending invite call-id: (null)
  2447. 2022-10-11 13:10:08.173517 92.33% [DEBUG] sofia_glue.c:1654 sofia/default/1000004 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
  2448. Local SDP:
  2449. v=0
  2450. o=FreeSWITCH 1665472296 1665472297 IN IP4 46.101.114.158
  2451. s=FreeSWITCH
  2452. c=IN IP4 46.101.114.158
  2453. t=0 0
  2454. m=audio 21512 RTP/AVP 8 18 101
  2455. a=rtpmap:8 PCMA/8000
  2456. a=rtpmap:18 G729/8000
  2457. a=rtpmap:101 telephone-event/8000
  2458. a=fmtp:101 0-15
  2459. a=ptime:20
  2460. a=sendrecv
  2461.  
  2462. 2022-10-11 13:10:08.173517 92.33% [DEBUG] switch_core_state_machine.c:40 sofia/default/1000004 Standard INIT
  2463. 2022-10-11 13:10:08.173517 92.33% [DEBUG] switch_core_state_machine.c:48 (sofia/default/1000004) State Change CS_INIT -> CS_ROUTING
  2464. 2022-10-11 13:10:08.173517 92.33% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1000004) State INIT going to sleep
  2465. 2022-10-11 13:10:08.173517 92.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000004) Running State Change CS_ROUTING (Cur 15 Tot 187)
  2466. 2022-10-11 13:10:08.173517 92.33% [DEBUG] sofia.c:7499 Channel sofia/default/1000004 entering state [calling][0]
  2467. 2022-10-11 13:10:08.173517 92.33% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1000004) State ROUTING
  2468. 2022-10-11 13:10:08.173517 92.33% [DEBUG] mod_sofia.c:158 sofia/default/1000004 SOFIA ROUTING
  2469. 2022-10-11 13:10:08.173517 92.33% [DEBUG] switch_ivr_originate.c:67 (sofia/default/1000004) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  2470. 2022-10-11 13:10:08.173517 92.33% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1000004) State ROUTING going to sleep
  2471. 2022-10-11 13:10:08.173517 92.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000004) Running State Change CS_CONSUME_MEDIA (Cur 15 Tot 187)
  2472. 2022-10-11 13:10:08.173517 92.33% [DEBUG] switch_core_state_machine.c:659 (sofia/default/1000004) State CONSUME_MEDIA
  2473. 2022-10-11 13:10:08.173517 92.33% [DEBUG] switch_core_state_machine.c:659 (sofia/default/1000004) State CONSUME_MEDIA going to sleep
  2474. 2022-10-11 13:10:08.253518 91.13% [DEBUG] switch_ivr_bridge.c:655 sofia/default/1000003 Bridge execute app sched_hangup(+6000 normal_clearing)
  2475. 2022-10-11 13:10:08.273521 91.13% [DEBUG] sofia.c:7499 Channel sofia/default/1000004 entering state [completing][200]
  2476. 2022-10-11 13:10:08.273521 91.13% [DEBUG] sofia.c:7509 Remote SDP:
  2477. v=0
  2478. o=root 1955811919 1955811919 IN IP4 159.203.131.36
  2479. s=Asterisk PBX 16.4.0
  2480. c=IN IP4 159.203.131.36
  2481. t=0 0
  2482. m=audio 12352 RTP/AVP 8 101
  2483. a=rtpmap:8 PCMA/8000
  2484. a=rtpmap:101 telephone-event/8000
  2485. a=fmtp:101 0-16
  2486. a=maxptime:150
  2487.  
  2488. 2022-10-11 13:10:08.273521 91.13% [DEBUG] sofia.c:7499 Channel sofia/default/1000004 entering state [ready][200]
  2489. 2022-10-11 13:10:08.273521 91.13% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1]
  2490. 2022-10-11 13:10:08.273521 91.13% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  2491. 2022-10-11 13:10:08.273521 91.13% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[G729:18:8000:20:8000:1]
  2492. 2022-10-11 13:10:08.273521 91.13% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  2493. 2022-10-11 13:10:08.273521 91.13% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/1000004 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  2494. 2022-10-11 13:10:08.273521 91.13% [DEBUG] switch_core_codec.c:111 sofia/default/1000004 Original read codec set to PCMA:8
  2495. 2022-10-11 13:10:08.273521 91.13% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  2496. 2022-10-11 13:10:08.273521 91.13% [DEBUG] switch_core_media.c:5973 sofia/default/1000004 Set 2833 dtmf send payload to 101 recv payload to 101
  2497. 2022-10-11 13:10:08.273521 91.13% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/1000004] 46.101.114.158 port 21512 -> 159.203.131.36 port 12352 codec: 8 ms: 20
  2498. 2022-10-11 13:10:08.273521 91.13% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  2499. 2022-10-11 13:10:08.273521 91.13% [DEBUG] switch_ivr.c:632 sofia/default/1000003 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  2500. EXECUTE [depth=0] sofia/default/1000003 sched_hangup(+6000 normal_clearing)
  2501. 2022-10-11 13:10:08.273521 91.13% [DEBUG] switch_scheduler.c:263 Added task 49 switch_ivr_schedule_hangup (fa297718-45f8-4841-88c9-30a32c507d15) to run at 1665499808
  2502. 2022-10-11 13:10:08.273521 91.13% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  2503. 2022-10-11 13:10:08.273521 91.13% [DEBUG] switch_core_media.c:9089 sofia/default/1000004 Set 2833 dtmf send payload to 101
  2504. 2022-10-11 13:10:08.273521 91.13% [DEBUG] switch_core_media.c:9096 sofia/default/1000004 Set 2833 dtmf receive payload to 101
  2505. 2022-10-11 13:10:08.273521 91.13% [DEBUG] switch_core_media.c:9119 sofia/default/1000004 Set rtp dtmf delay to 40
  2506. 2022-10-11 13:10:08.273521 91.13% [NOTICE] sofia.c:8683 Channel [sofia/default/1000004] has been answered
  2507. 2022-10-11 13:10:08.273521 91.13% [DEBUG] switch_channel.c:3950 (sofia/default/1000004) Callstate Change DOWN -> ACTIVE
  2508. 2022-10-11 13:10:08.273521 91.13% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  2509. 2022-10-11 13:10:08.273521 91.13% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/1000004@46.101.114.158] 46.101.114.158 port 26708 -> 46.101.114.158 port 29840 codec: 8 ms: 20
  2510. 2022-10-11 13:10:08.273521 91.13% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  2511. 2022-10-11 13:10:08.293517 91.13% [DEBUG] switch_core_media.c:9089 sofia/default/1000004@46.101.114.158 Set 2833 dtmf send payload to 101
  2512. 2022-10-11 13:10:08.293517 91.13% [DEBUG] switch_core_media.c:9096 sofia/default/1000004@46.101.114.158 Set 2833 dtmf receive payload to 101
  2513. 2022-10-11 13:10:08.293517 91.13% [DEBUG] switch_core_media.c:9119 sofia/default/1000004@46.101.114.158 Set rtp dtmf delay to 40
  2514. 2022-10-11 13:10:08.293517 91.13% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/1000004@46.101.114.158:
  2515. v=0
  2516. o=FreeSWITCH 1665467100 1665467101 IN IP4 46.101.114.158
  2517. s=FreeSWITCH
  2518. c=IN IP4 46.101.114.158
  2519. t=0 0
  2520. m=audio 26708 RTP/AVP 8 101
  2521. a=rtpmap:8 PCMA/8000
  2522. a=rtpmap:101 telephone-event/8000
  2523. a=fmtp:101 0-15
  2524. a=ptime:20
  2525. a=sendrecv
  2526.  
  2527. 2022-10-11 13:10:08.293517 91.13% [DEBUG] sofia.c:7499 Channel sofia/default/1000004@46.101.114.158 entering state [completed][200]
  2528. 2022-10-11 13:10:08.293517 91.13% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/default/1000004@46.101.114.158] has been answered
  2529. 2022-10-11 13:10:08.293517 91.13% [DEBUG] switch_channel.c:3950 (sofia/default/1000004@46.101.114.158) Callstate Change RINGING -> ACTIVE
  2530. 2022-10-11 13:10:08.293517 91.13% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/1000004] Peer UUID: b60fa2a0-5231-49a9-b02c-bcb5ed48e022
  2531. 2022-10-11 13:10:08.293517 91.13% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/1000004) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  2532. 2022-10-11 13:10:08.293517 91.13% [DEBUG] sofia.c:7499 Channel sofia/default/1000004@46.101.114.158:5064 entering state [completing][200]
  2533. 2022-10-11 13:10:08.293517 91.13% [DEBUG] sofia.c:7509 Remote SDP:
  2534. v=0
  2535. o=FreeSWITCH 1665467100 1665467101 IN IP4 46.101.114.158
  2536. s=FreeSWITCH
  2537. c=IN IP4 46.101.114.158
  2538. t=0 0
  2539. m=audio 26708 RTP/AVP 8 101
  2540. a=rtpmap:8 PCMA/8000
  2541. a=rtpmap:101 telephone-event/8000
  2542. a=fmtp:101 0-15
  2543. a=ptime:20
  2544.  
  2545. 2022-10-11 13:10:08.293517 91.13% [DEBUG] sofia.c:7499 Channel sofia/default/1000004@46.101.114.158:5064 entering state [ready][200]
  2546. 2022-10-11 13:10:08.293517 91.13% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  2547. 2022-10-11 13:10:08.293517 91.13% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  2548. 2022-10-11 13:10:08.293517 91.13% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  2549. 2022-10-11 13:10:08.293517 91.13% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  2550. 2022-10-11 13:10:08.293517 91.13% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/1000004@46.101.114.158:5064 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  2551. 2022-10-11 13:10:08.293517 91.13% [DEBUG] switch_core_codec.c:111 sofia/default/1000004@46.101.114.158:5064 Original read codec set to PCMA:8
  2552. 2022-10-11 13:10:08.293517 91.13% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  2553. 2022-10-11 13:10:08.293517 91.13% [DEBUG] switch_core_media.c:5973 sofia/default/1000004@46.101.114.158:5064 Set 2833 dtmf send payload to 101 recv payload to 101
  2554. 2022-10-11 13:10:08.293517 91.13% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/1000004@46.101.114.158:5064] 46.101.114.158 port 29840 -> 46.101.114.158 port 26708 codec: 8 ms: 20
  2555. 2022-10-11 13:10:08.293517 91.13% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000004) Running State Change CS_EXCHANGE_MEDIA (Cur 15 Tot 187)
  2556. 2022-10-11 13:10:08.293517 91.13% [DEBUG] switch_core_state_machine.c:650 (sofia/default/1000004) State EXCHANGE_MEDIA
  2557. 2022-10-11 13:10:08.293517 91.13% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  2558. 2022-10-11 13:10:08.293517 91.13% [DEBUG] sofia.c:7499 Channel sofia/default/1000004@46.101.114.158 entering state [ready][200]
  2559. 2022-10-11 13:10:08.293517 91.13% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  2560. 2022-10-11 13:10:08.293517 91.13% [DEBUG] switch_core_media.c:9089 sofia/default/1000004@46.101.114.158:5064 Set 2833 dtmf send payload to 101
  2561. 2022-10-11 13:10:08.293517 91.13% [DEBUG] switch_core_media.c:9096 sofia/default/1000004@46.101.114.158:5064 Set 2833 dtmf receive payload to 101
  2562. 2022-10-11 13:10:08.293517 91.13% [DEBUG] switch_core_media.c:9119 sofia/default/1000004@46.101.114.158:5064 Set rtp dtmf delay to 40
  2563. 2022-10-11 13:10:08.293517 91.13% [NOTICE] sofia.c:8683 Channel [sofia/default/1000004@46.101.114.158:5064] has been answered
  2564. 2022-10-11 13:10:08.293517 91.13% [DEBUG] switch_channel.c:3950 (sofia/default/1000004@46.101.114.158:5064) Callstate Change DOWN -> ACTIVE
  2565. 2022-10-11 13:10:08.293517 91.13% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/1000004@46.101.114.158:5064] Peer UUID: 36385dd4-d1df-4087-a79d-2920cd4a31c4
  2566. 2022-10-11 13:10:08.293517 91.13% [INFO] switch_channel.c:3270 sofia/default/1000004@46.101.114.158:5064 Flipping CID from "3613818599" <1000004> to "Outbound Call" <1000004>
  2567. 2022-10-11 13:10:08.293517 91.13% [DEBUG] mod_commands.c:5169 (sofia/default/1000004@46.101.114.158:5064) State Change CS_CONSUME_MEDIA -> CS_EXECUTE
  2568. 2022-10-11 13:10:08.293517 91.13% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000004@46.101.114.158:5064) Running State Change CS_EXECUTE (Cur 15 Tot 187)
  2569. 2022-10-11 13:10:08.293517 91.13% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1000004@46.101.114.158:5064) State EXECUTE
  2570. 2022-10-11 13:10:08.293517 91.13% [DEBUG] mod_sofia.c:213 sofia/default/1000004@46.101.114.158:5064 SOFIA EXECUTE
  2571. 2022-10-11 13:10:08.293517 91.13% [DEBUG] switch_core_state_machine.c:323 sofia/default/1000004@46.101.114.158:5064 Standard EXECUTE
  2572. EXECUTE [depth=0] sofia/default/1000004@46.101.114.158:5064 playback(/opt/ASTPP/web_interface/astpp/upload/voice_broadcast/file_example_WAV_1MG_.wav)
  2573. 2022-10-11 13:10:08.293517 91.13% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur.
  2574. 2022-10-11 13:10:08.293517 91.13% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  2575. 2022-10-11 13:10:08.333539 91.13% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  2576. 2022-10-11 13:10:08.453522 91.13% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  2577. 2022-10-11 13:10:08.453522 91.13% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  2578. 2022-10-11 13:10:08.473549 91.13% [DEBUG] switch_ivr_bridge.c:655 sofia/default/1000004 Bridge execute app sched_hangup(+6000 normal_clearing)
  2579. 2022-10-11 13:10:08.493546 91.13% [DEBUG] switch_ivr.c:632 sofia/default/1000004 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  2580. EXECUTE [depth=0] sofia/default/1000004 sched_hangup(+6000 normal_clearing)
  2581. 2022-10-11 13:10:08.493546 91.13% [DEBUG] switch_scheduler.c:263 Added task 50 switch_ivr_schedule_hangup (b60fa2a0-5231-49a9-b02c-bcb5ed48e022) to run at 1665499808
  2582. 2022-10-11 13:10:09.093526 91.13% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  2583. 2022-10-11 13:10:09.473520 90.40% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  2584. 2022-10-11 13:10:09.913535 90.40% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  2585. 2022-10-11 13:10:10.313523 89.73% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  2586. 2022-10-11 13:10:10.313523 89.73% [NOTICE] switch_channel.c:1123 New Channel sofia/default/1000005@46.101.114.158:5064 [1015f060-1d92-412e-a48f-84135759cd17]
  2587. 2022-10-11 13:10:10.313523 89.73% [DEBUG] mod_sofia.c:5121 (sofia/default/1000005@46.101.114.158:5064) State Change CS_NEW -> CS_INIT
  2588. 2022-10-11 13:10:10.313523 89.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000005@46.101.114.158:5064) Running State Change CS_INIT (Cur 16 Tot 188)
  2589. 2022-10-11 13:10:10.313523 89.73% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1000005@46.101.114.158:5064) State INIT
  2590. 2022-10-11 13:10:10.313523 89.73% [DEBUG] mod_sofia.c:97 sofia/default/1000005@46.101.114.158:5064 SOFIA INIT
  2591. 2022-10-11 13:10:10.313523 89.73% [INFO] sofia_glue.c:1651 sofia/default/1000005@46.101.114.158:5064 sending invite call-id: (null)
  2592. 2022-10-11 13:10:10.313523 89.73% [DEBUG] sofia_glue.c:1654 sofia/default/1000005@46.101.114.158:5064 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
  2593. Local SDP:
  2594. v=0
  2595. o=FreeSWITCH 1665473576 1665473577 IN IP4 46.101.114.158
  2596. s=FreeSWITCH
  2597. c=IN IP4 46.101.114.158
  2598. t=0 0
  2599. m=audio 20234 RTP/AVP 8 0 101
  2600. a=rtpmap:8 PCMA/8000
  2601. a=rtpmap:0 PCMU/8000
  2602. a=rtpmap:101 telephone-event/8000
  2603. a=fmtp:101 0-15
  2604. a=ptime:20
  2605. a=sendrecv
  2606.  
  2607. 2022-10-11 13:10:10.313523 89.73% [NOTICE] switch_channel.c:1123 New Channel sofia/default/1000005@46.101.114.158 [98d9564d-77b3-449d-a0f1-2c304f993c3f]
  2608. 2022-10-11 13:10:10.313523 89.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000005@46.101.114.158) Running State Change CS_NEW (Cur 17 Tot 189)
  2609. 2022-10-11 13:10:10.313523 89.73% [INFO] sofia.c:10462 sofia/default/1000005@46.101.114.158 receiving invite from 46.101.114.158:5064 version: 1.10.7 -release-19-883d2cb662 64bit call-id: dfa8f847-c408-123b-8ea3-ba05d31eb9f9
  2610. 2022-10-11 13:10:10.313523 89.73% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 46.101.114.158:0.
  2611. 2022-10-11 13:10:10.313523 89.73% [DEBUG] sofia.c:7499 Channel sofia/default/1000005@46.101.114.158 entering state [received][100]
  2612. 2022-10-11 13:10:10.313523 89.73% [DEBUG] sofia.c:7509 Remote SDP:
  2613. v=0
  2614. o=FreeSWITCH 1665473576 1665473577 IN IP4 46.101.114.158
  2615. s=FreeSWITCH
  2616. c=IN IP4 46.101.114.158
  2617. t=0 0
  2618. m=audio 20234 RTP/AVP 8 0 101
  2619. a=rtpmap:8 PCMA/8000
  2620. a=rtpmap:0 PCMU/8000
  2621. a=rtpmap:101 telephone-event/8000
  2622. a=fmtp:101 0-15
  2623. a=ptime:20
  2624.  
  2625. 2022-10-11 13:10:10.313523 89.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  2626. 2022-10-11 13:10:10.313523 89.73% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  2627. 2022-10-11 13:10:10.313523 89.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  2628. 2022-10-11 13:10:10.313523 89.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  2629. 2022-10-11 13:10:10.313523 89.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  2630. 2022-10-11 13:10:10.313523 89.73% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  2631. 2022-10-11 13:10:10.313523 89.73% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  2632. 2022-10-11 13:10:10.313523 89.73% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/1000005@46.101.114.158 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  2633. 2022-10-11 13:10:10.313523 89.73% [DEBUG] switch_core_codec.c:111 sofia/default/1000005@46.101.114.158 Original read codec set to PCMA:8
  2634. 2022-10-11 13:10:10.313523 89.73% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  2635. 2022-10-11 13:10:10.313523 89.73% [DEBUG] switch_core_media.c:5973 sofia/default/1000005@46.101.114.158 Set 2833 dtmf send payload to 101 recv payload to 101
  2636. 2022-10-11 13:10:10.313523 89.73% [DEBUG] sofia.c:7933 (sofia/default/1000005@46.101.114.158) State Change CS_NEW -> CS_INIT
  2637. 2022-10-11 13:10:10.313523 89.73% [DEBUG] switch_core_state_machine.c:600 (sofia/default/1000005@46.101.114.158) State NEW
  2638. 2022-10-11 13:10:10.313523 89.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000005@46.101.114.158) Running State Change CS_INIT (Cur 17 Tot 189)
  2639. 2022-10-11 13:10:10.313523 89.73% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1000005@46.101.114.158) State INIT
  2640. 2022-10-11 13:10:10.313523 89.73% [DEBUG] mod_sofia.c:97 sofia/default/1000005@46.101.114.158 SOFIA INIT
  2641. 2022-10-11 13:10:10.313523 89.73% [DEBUG] switch_core_state_machine.c:40 sofia/default/1000005@46.101.114.158 Standard INIT
  2642. 2022-10-11 13:10:10.313523 89.73% [DEBUG] switch_core_state_machine.c:48 (sofia/default/1000005@46.101.114.158) State Change CS_INIT -> CS_ROUTING
  2643. 2022-10-11 13:10:10.313523 89.73% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1000005@46.101.114.158) State INIT going to sleep
  2644. 2022-10-11 13:10:10.313523 89.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000005@46.101.114.158) Running State Change CS_ROUTING (Cur 17 Tot 189)
  2645. 2022-10-11 13:10:10.313523 89.73% [DEBUG] switch_channel.c:2380 (sofia/default/1000005@46.101.114.158) Callstate Change DOWN -> RINGING
  2646. 2022-10-11 13:10:10.313523 89.73% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1000005@46.101.114.158) State ROUTING
  2647. 2022-10-11 13:10:10.313523 89.73% [DEBUG] mod_sofia.c:158 sofia/default/1000005@46.101.114.158 SOFIA ROUTING
  2648. 2022-10-11 13:10:10.313523 89.73% [DEBUG] switch_core_state_machine.c:230 sofia/default/1000005@46.101.114.158 Standard ROUTING
  2649. 2022-10-11 13:10:10.313523 89.73% [INFO] mod_dialplan_xml.c:639 Processing 3613818599 <1000005>->1000005 in context default
  2650. 2022-10-11 13:10:10.313523 89.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  2651. 2022-10-11 13:10:10.313523 89.73% [DEBUG] switch_core_state_machine.c:40 sofia/default/1000005@46.101.114.158:5064 Standard INIT
  2652. 2022-10-11 13:10:10.313523 89.73% [DEBUG] switch_core_state_machine.c:48 (sofia/default/1000005@46.101.114.158:5064) State Change CS_INIT -> CS_ROUTING
  2653. 2022-10-11 13:10:10.313523 89.73% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1000005@46.101.114.158:5064) State INIT going to sleep
  2654. 2022-10-11 13:10:10.313523 89.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000005@46.101.114.158:5064) Running State Change CS_ROUTING (Cur 17 Tot 189)
  2655. 2022-10-11 13:10:10.313523 89.73% [DEBUG] sofia.c:7499 Channel sofia/default/1000005@46.101.114.158:5064 entering state [calling][0]
  2656. 2022-10-11 13:10:10.313523 89.73% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1000005@46.101.114.158:5064) State ROUTING
  2657. 2022-10-11 13:10:10.313523 89.73% [DEBUG] mod_sofia.c:158 sofia/default/1000005@46.101.114.158:5064 SOFIA ROUTING
  2658. 2022-10-11 13:10:10.313523 89.73% [DEBUG] switch_ivr_originate.c:67 (sofia/default/1000005@46.101.114.158:5064) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  2659. 2022-10-11 13:10:10.313523 89.73% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1000005@46.101.114.158:5064) State ROUTING going to sleep
  2660. 2022-10-11 13:10:10.313523 89.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000005@46.101.114.158:5064) Running State Change CS_CONSUME_MEDIA (Cur 17 Tot 189)
  2661. 2022-10-11 13:10:10.313523 89.73% [DEBUG] switch_core_state_machine.c:659 (sofia/default/1000005@46.101.114.158:5064) State CONSUME_MEDIA
  2662. 2022-10-11 13:10:10.313523 89.73% [DEBUG] switch_core_state_machine.c:659 (sofia/default/1000005@46.101.114.158:5064) State CONSUME_MEDIA going to sleep
  2663. 2022-10-11 13:10:10.313523 89.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  2664. 2022-10-11 13:10:10.333539 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 1000005
  2665. 2022-10-11 13:10:10.333539 89.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Clicktocall Destination Number 1000005
  2666. 2022-10-11 13:10:10.333539 89.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '1000005' AND status=0 limit 1
  2667. 2022-10-11 13:10:10.333539 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 3613818599 / 1000005
  2668. 2022-10-11 13:10:10.333539 89.73% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1000005" LIMIT 1
  2669. 2022-10-11 13:10:10.333539 89.73% [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 WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="1000005" limit 1
  2670. 2022-10-11 13:10:10.333539 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  2671. 2022-10-11 13:10:10.333539 89.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("46.101.114.158") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 -  SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1))  AND "1000005"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  2672. 2022-10-11 13:10:10.333539 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 3613818599]
  2673. 2022-10-11 13:10:10.333539 89.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3613818599" AND deleted = 0 limit 1
  2674. 2022-10-11 13:10:10.333539 89.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^1000005.*' OR blocked_patterns = '^100000.*' OR blocked_patterns = '^10000.*' OR blocked_patterns = '^1000.*' OR blocked_patterns = '^100.*' OR blocked_patterns = '^10.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 16 limit 1
  2675. 2022-10-11 13:10:10.353519 89.73% [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 ="1000005" AND A.accountid = '16' limit 1
  2676. 2022-10-11 13:10:10.353519 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 1000005
  2677. 2022-10-11 13:10:10.353519 89.73% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1000005" LIMIT 1
  2678. 2022-10-11 13:10:10.353519 89.73% [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 WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="1000005" limit 1
  2679. 2022-10-11 13:10:10.353519 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call direction : outbound
  2680. 2022-10-11 13:10:10.353519 89.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="1000005" AND (accountid = 0 OR status = 1) LIMIT 1
  2681. 2022-10-11 13:10:10.353519 89.73% [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 (patterns = '^1000005.*' OR patterns = '^100000.*' OR patterns = '^10000.*' OR patterns = '^1000.*' OR patterns = '^100.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 16 ORDER BY LENGTH(PKGPTR.patterns) DESC
  2682. 2022-10-11 13:10:10.373518 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  2683. 2022-10-11 13:10:10.373518 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 16
  2684. 2022-10-11 13:10:10.373518 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 3613818599
  2685. 2022-10-11 13:10:10.373518 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 95.8
  2686. 2022-10-11 13:10:10.373518 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  2687. 2022-10-11 13:10:10.373518 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  2688. 2022-10-11 13:10:10.373518 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  2689. 2022-10-11 13:10:10.373518 89.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  2690. 2022-10-11 13:10:10.373518 89.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  2691. 2022-10-11 13:10:10.373518 89.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^1000005.*' OR pattern = '^100000.*' OR pattern = '^10000.*' OR pattern = '^1000.*' OR pattern = '^100.*' OR pattern = '^10.*' OR pattern = '^1.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 1 OR accountid=16)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1
  2692. 2022-10-11 13:10:10.373518 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] call_direction:::::: outbound
  2693. 2022-10-11 13:10:10.373518 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  2694. 2022-10-11 13:10:10.373518 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  2695. 2022-10-11 13:10:10.373518 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  2696. 2022-10-11 13:10:10.373518 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  2697. 2022-10-11 13:10:10.373518 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.20000
  2698. 2022-10-11 13:10:10.373518 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] comment : USA
  2699. 2022-10-11 13:10:10.373518 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
  2700. 2022-10-11 13:10:10.373518 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 16
  2701. 2022-10-11 13:10:10.373518 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 0
  2702. 2022-10-11 13:10:10.373518 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  2703. 2022-10-11 13:10:10.373518 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  2704. 2022-10-11 13:10:10.373518 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your95.8 balance Accountid 16 !!!
  2705. 2022-10-11 13:10:10.373518 89.73% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting call to config max length 100 mins!
  2706. 2022-10-11 13:10:10.373518 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max length duration : 100 minutes
  2707. 2022-10-11 13:10:10.373518 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 1
  2708. 2022-10-11 13:10:10.373518 89.73% [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
  2709. 2022-10-11 13:10:10.373518 89.73% [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 = '^1000005.*' OR pattern = '^100000.*' OR pattern = '^10000.*' OR pattern = '^1000.*' OR pattern = '^100.*' OR pattern = '^10.*' OR pattern = '^1.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (1) ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence
  2710. 2022-10-11 13:10:10.393522 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  2711. 2022-10-11 13:10:10.393522 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  2712. 2022-10-11 13:10:10.393522 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^1.*
  2713. 2022-10-11 13:10:10.393522 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : USA
  2714. 2022-10-11 13:10:10.393522 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  2715. 2022-10-11 13:10:10.393522 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  2716. 2022-10-11 13:10:10.393522 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^1.*
  2717. 2022-10-11 13:10:10.393522 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  2718. 2022-10-11 13:10:10.393522 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  2719. 2022-10-11 13:10:10.393522 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 1
  2720. 2022-10-11 13:10:10.393522 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : YourProvider
  2721. 2022-10-11 13:10:10.393522 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  2722. 2022-10-11 13:10:10.393522 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  2723. 2022-10-11 13:10:10.393522 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  2724. 2022-10-11 13:10:10.393522 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  2725. 2022-10-11 13:10:10.393522 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : YourProvider
  2726. 2022-10-11 13:10:10.393522 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  2727. 2022-10-11 13:10:10.393522 89.73% [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 = 16 AND status=0 LIMIT 1
  2728. 2022-10-11 13:10:10.393522 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] maxlength::::::::: 100
  2729. 2022-10-11 13:10:10.393522 89.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  2730. 2022-10-11 13:10:10.393522 89.73% [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
  2731. 2022-10-11 13:10:10.393522 89.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate FROM localization WHERE id=(SELECT localization_id from accounts where id = 3) AND status=0 limit 1
  2732. 2022-10-11 13:10:10.393522 89.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  2733. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2734. <document type="freeswitch/xml">
  2735. <section name="dialplan" description="ASTPP Dialplan">
  2736. <context name="default">
  2737. <extension name="1000005">
  2738. <condition field="destination_number" expression="1000005">
  2739. <action application="set" data="effective_destination_number=1000005"/>
  2740. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  2741. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  2742. <action application="set" data="callstart=2022-10-11 13:10:09"/>
  2743. <action application="set" data="hangup_after_bridge=true"/>
  2744. <action application="set" data="continue_on_fail=TRUE"/>
  2745. <action application="set" data="account_id=16"/>
  2746. <action application="set" data="parent_id=0"/>
  2747. <action application="set" data="entity_id=0"/>
  2748. <action application="set" data="call_processed=internal"/>
  2749. <action application="set" data="call_direction=outbound"/>
  2750. <action application="set" data="accountname=default"/>
  2751. <action application="set" data="origination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:16"/>
  2752. <action application="set" data="original_caller_id_name=3613818599"/>
  2753. <action application="set" data="original_caller_id_number=1000005"/>
  2754.  
  2755. <action application="set" data="calltype=BROADCAST"/>
  2756. <action application="set" data="sip_user=3613818599"/>
  2757. <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"/>
  2758. <action application="set" data="trunk_id=1"/>
  2759. <action application="set" data="provider_id=3"/>
  2760. <action application="set" data="rate_flag=0"/>
  2761. <action application="set" data="force_trunk_flag=1"/>
  2762. <action application="export" data="presence_data=trunk_id=1"/>
  2763. <action application="set" data="intcall=0"/>
  2764. <action application="export" data="presence_data=x|||Alpesh(3613818599)|||^1.* // USA // 0.20000 // trunk_id=0|||YourProvider // ^1.* // USA // 0.10000 // trunk_id=1|||STD"/>
  2765. <action application="bridge" data="{sip_cid_type=}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/1000005"/>
  2766. </condition>
  2767. </extension>
  2768. </context>
  2769. </section>
  2770. </document>
  2771. Dialplan: sofia/default/1000005@46.101.114.158 parsing [default->1000005] continue=false
  2772. Dialplan: sofia/default/1000005@46.101.114.158 Regex (PASS) [1000005] destination_number(1000005) =~ /1000005/ break=on-false
  2773. Dialplan: sofia/default/1000005@46.101.114.158 Action set(effective_destination_number=1000005)
  2774. Dialplan: sofia/default/1000005@46.101.114.158 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  2775. Dialplan: sofia/default/1000005@46.101.114.158 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  2776. Dialplan: sofia/default/1000005@46.101.114.158 Action set(callstart=2022-10-11 13:10:09)
  2777. Dialplan: sofia/default/1000005@46.101.114.158 Action set(hangup_after_bridge=true)
  2778. Dialplan: sofia/default/1000005@46.101.114.158 Action set(continue_on_fail=TRUE)
  2779. Dialplan: sofia/default/1000005@46.101.114.158 Action set(account_id=16)
  2780. Dialplan: sofia/default/1000005@46.101.114.158 Action set(parent_id=0)
  2781. Dialplan: sofia/default/1000005@46.101.114.158 Action set(entity_id=0)
  2782. Dialplan: sofia/default/1000005@46.101.114.158 Action set(call_processed=internal)
  2783. Dialplan: sofia/default/1000005@46.101.114.158 Action set(call_direction=outbound)
  2784. Dialplan: sofia/default/1000005@46.101.114.158 Action set(accountname=default)
  2785. Dialplan: sofia/default/1000005@46.101.114.158 Action set(origination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:16)
  2786. Dialplan: sofia/default/1000005@46.101.114.158 Action set(original_caller_id_name=3613818599)
  2787. Dialplan: sofia/default/1000005@46.101.114.158 Action set(original_caller_id_number=1000005)
  2788. Dialplan: sofia/default/1000005@46.101.114.158 Action set(calltype=BROADCAST)
  2789. Dialplan: sofia/default/1000005@46.101.114.158 Action set(sip_user=3613818599)
  2790. Dialplan: sofia/default/1000005@46.101.114.158 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)
  2791. Dialplan: sofia/default/1000005@46.101.114.158 Action set(trunk_id=1)
  2792. Dialplan: sofia/default/1000005@46.101.114.158 Action set(provider_id=3)
  2793. Dialplan: sofia/default/1000005@46.101.114.158 Action set(rate_flag=0)
  2794. Dialplan: sofia/default/1000005@46.101.114.158 Action set(force_trunk_flag=1)
  2795. Dialplan: sofia/default/1000005@46.101.114.158 Action export(presence_data=trunk_id=1)
  2796. Dialplan: sofia/default/1000005@46.101.114.158 Action set(intcall=0)
  2797. Dialplan: sofia/default/1000005@46.101.114.158 Action export(presence_data=x|||Alpesh(3613818599)|||^1.* // USA // 0.20000 // trunk_id=0|||YourProvider // ^1.* // USA // 0.10000 // trunk_id=1|||STD)
  2798. Dialplan: sofia/default/1000005@46.101.114.158 Action bridge({sip_cid_type=}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/1000005)
  2799. 2022-10-11 13:10:10.393522 89.73% [DEBUG] switch_core_state_machine.c:281 (sofia/default/1000005@46.101.114.158) State Change CS_ROUTING -> CS_EXECUTE
  2800. 2022-10-11 13:10:10.393522 89.73% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1000005@46.101.114.158) State ROUTING going to sleep
  2801. 2022-10-11 13:10:10.393522 89.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000005@46.101.114.158) Running State Change CS_EXECUTE (Cur 17 Tot 189)
  2802. 2022-10-11 13:10:10.393522 89.73% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1000005@46.101.114.158) State EXECUTE
  2803. 2022-10-11 13:10:10.393522 89.73% [DEBUG] mod_sofia.c:213 sofia/default/1000005@46.101.114.158 SOFIA EXECUTE
  2804. 2022-10-11 13:10:10.393522 89.73% [DEBUG] switch_core_state_machine.c:323 sofia/default/1000005@46.101.114.158 Standard EXECUTE
  2805. EXECUTE [depth=0] sofia/default/1000005@46.101.114.158 set(effective_destination_number=1000005)
  2806. 2022-10-11 13:10:10.393522 89.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000005@46.101.114.158 [effective_destination_number]=[1000005]
  2807. EXECUTE [depth=0] sofia/default/1000005@46.101.114.158 set(bridge_pre_execute_bleg_app=sched_hangup)
  2808. 2022-10-11 13:10:10.393522 89.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000005@46.101.114.158 [bridge_pre_execute_bleg_app]=[sched_hangup]
  2809. EXECUTE [depth=0] sofia/default/1000005@46.101.114.158 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  2810. 2022-10-11 13:10:10.393522 89.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000005@46.101.114.158 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  2811. EXECUTE [depth=0] sofia/default/1000005@46.101.114.158 set(callstart=2022-10-11 13:10:09)
  2812. 2022-10-11 13:10:10.393522 89.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000005@46.101.114.158 [callstart]=[2022-10-11 13:10:09]
  2813. EXECUTE [depth=0] sofia/default/1000005@46.101.114.158 set(hangup_after_bridge=true)
  2814. 2022-10-11 13:10:10.393522 89.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000005@46.101.114.158 [hangup_after_bridge]=[true]
  2815. EXECUTE [depth=0] sofia/default/1000005@46.101.114.158 set(continue_on_fail=TRUE)
  2816. 2022-10-11 13:10:10.393522 89.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000005@46.101.114.158 [continue_on_fail]=[TRUE]
  2817. EXECUTE [depth=0] sofia/default/1000005@46.101.114.158 set(account_id=16)
  2818. 2022-10-11 13:10:10.393522 89.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000005@46.101.114.158 [account_id]=[16]
  2819. EXECUTE [depth=0] sofia/default/1000005@46.101.114.158 set(parent_id=0)
  2820. 2022-10-11 13:10:10.393522 89.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000005@46.101.114.158 [parent_id]=[0]
  2821. EXECUTE [depth=0] sofia/default/1000005@46.101.114.158 set(entity_id=0)
  2822. 2022-10-11 13:10:10.393522 89.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000005@46.101.114.158 [entity_id]=[0]
  2823. EXECUTE [depth=0] sofia/default/1000005@46.101.114.158 set(call_processed=internal)
  2824. 2022-10-11 13:10:10.393522 89.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000005@46.101.114.158 [call_processed]=[internal]
  2825. EXECUTE [depth=0] sofia/default/1000005@46.101.114.158 set(call_direction=outbound)
  2826. 2022-10-11 13:10:10.393522 89.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000005@46.101.114.158 [call_direction]=[outbound]
  2827. EXECUTE [depth=0] sofia/default/1000005@46.101.114.158 set(accountname=default)
  2828. 2022-10-11 13:10:10.393522 89.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000005@46.101.114.158 [accountname]=[default]
  2829. EXECUTE [depth=0] sofia/default/1000005@46.101.114.158 set(origination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:16)
  2830. 2022-10-11 13:10:10.393522 89.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000005@46.101.114.158 [origination_rates]=[ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:16]
  2831. EXECUTE [depth=0] sofia/default/1000005@46.101.114.158 set(original_caller_id_name=3613818599)
  2832. 2022-10-11 13:10:10.393522 89.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000005@46.101.114.158 [original_caller_id_name]=[3613818599]
  2833. EXECUTE [depth=0] sofia/default/1000005@46.101.114.158 set(original_caller_id_number=1000005)
  2834. 2022-10-11 13:10:10.393522 89.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000005@46.101.114.158 [original_caller_id_number]=[1000005]
  2835. EXECUTE [depth=0] sofia/default/1000005@46.101.114.158 set(calltype=BROADCAST)
  2836. 2022-10-11 13:10:10.393522 89.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000005@46.101.114.158 [calltype]=[BROADCAST]
  2837. EXECUTE [depth=0] sofia/default/1000005@46.101.114.158 set(sip_user=3613818599)
  2838. 2022-10-11 13:10:10.393522 89.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000005@46.101.114.158 [sip_user]=[3613818599]
  2839. EXECUTE [depth=0] sofia/default/1000005@46.101.114.158 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)
  2840. 2022-10-11 13:10:10.393522 89.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000005@46.101.114.158 [termination_rates]=[ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.10000|INC:60|INITIALBLOCK:30|TRUNK:1|PROVIDER:3]
  2841. EXECUTE [depth=0] sofia/default/1000005@46.101.114.158 set(trunk_id=1)
  2842. 2022-10-11 13:10:10.393522 89.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000005@46.101.114.158 [trunk_id]=[1]
  2843. EXECUTE [depth=0] sofia/default/1000005@46.101.114.158 set(provider_id=3)
  2844. 2022-10-11 13:10:10.393522 89.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000005@46.101.114.158 [provider_id]=[3]
  2845. EXECUTE [depth=0] sofia/default/1000005@46.101.114.158 set(rate_flag=0)
  2846. 2022-10-11 13:10:10.393522 89.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000005@46.101.114.158 [rate_flag]=[0]
  2847. EXECUTE [depth=0] sofia/default/1000005@46.101.114.158 set(force_trunk_flag=1)
  2848. 2022-10-11 13:10:10.393522 89.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000005@46.101.114.158 [force_trunk_flag]=[1]
  2849. EXECUTE [depth=0] sofia/default/1000005@46.101.114.158 export(presence_data=trunk_id=1)
  2850. 2022-10-11 13:10:10.393522 89.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=1]
  2851. EXECUTE [depth=0] sofia/default/1000005@46.101.114.158 set(intcall=0)
  2852. 2022-10-11 13:10:10.393522 89.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000005@46.101.114.158 [intcall]=[0]
  2853. EXECUTE [depth=0] sofia/default/1000005@46.101.114.158 export(presence_data=x|||Alpesh(3613818599)|||^1.* // USA // 0.20000 // trunk_id=0|||YourProvider // ^1.* // USA // 0.10000 // trunk_id=1|||STD)
  2854. 2022-10-11 13:10:10.393522 89.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Alpesh(3613818599)|||^1.* // USA // 0.20000 // trunk_id=0|||YourProvider // ^1.* // USA // 0.10000 // trunk_id=1|||STD]
  2855. EXECUTE [depth=0] sofia/default/1000005@46.101.114.158 bridge({sip_cid_type=}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/1000005)
  2856. 2022-10-11 13:10:10.393522 89.73% [DEBUG] switch_channel.c:1269 sofia/default/1000005@46.101.114.158 EXPORTING[export_vars] [presence_data]=[x|||Alpesh(3613818599)|||^1.* // USA // 0.20000 // trunk_id=0|||YourProvider // ^1.* // USA // 0.10000 // trunk_id=1|||STD] to event
  2857. 2022-10-11 13:10:10.393522 89.73% [DEBUG] switch_channel.c:1269 sofia/default/1000005@46.101.114.158 EXPORTING[export_vars] [presence_data]=[x|||Alpesh(3613818599)|||^1.* // USA // 0.20000 // trunk_id=0|||YourProvider // ^1.* // USA // 0.10000 // trunk_id=1|||STD] to event
  2858. 2022-10-11 13:10:10.393522 89.73% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  2859. 2022-10-11 13:10:10.393522 89.73% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  2860. 2022-10-11 13:10:10.393522 89.73% [NOTICE] switch_channel.c:1123 New Channel sofia/default/1000005 [7f232dac-9c5f-49e7-be50-4cd8400f7d7b]
  2861. 2022-10-11 13:10:10.393522 89.73% [DEBUG] mod_sofia.c:5121 (sofia/default/1000005) State Change CS_NEW -> CS_INIT
  2862. 2022-10-11 13:10:10.393522 89.73% [DEBUG] switch_ivr_originate.c:3151 sofia/default/1000005 Setting leg timeout to 30
  2863. 2022-10-11 13:10:10.393522 89.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000005) Running State Change CS_INIT (Cur 18 Tot 190)
  2864. 2022-10-11 13:10:10.393522 89.73% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1000005) State INIT
  2865. 2022-10-11 13:10:10.393522 89.73% [DEBUG] mod_sofia.c:97 sofia/default/1000005 SOFIA INIT
  2866. 2022-10-11 13:10:10.393522 89.73% [INFO] sofia_glue.c:1651 sofia/default/1000005 sending invite call-id: (null)
  2867. 2022-10-11 13:10:10.393522 89.73% [DEBUG] sofia_glue.c:1654 sofia/default/1000005 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
  2868. Local SDP:
  2869. v=0
  2870. o=FreeSWITCH 1665462034 1665462035 IN IP4 46.101.114.158
  2871. s=FreeSWITCH
  2872. c=IN IP4 46.101.114.158
  2873. t=0 0
  2874. m=audio 31776 RTP/AVP 8 18 101
  2875. a=rtpmap:8 PCMA/8000
  2876. a=rtpmap:18 G729/8000
  2877. a=rtpmap:101 telephone-event/8000
  2878. a=fmtp:101 0-15
  2879. a=ptime:20
  2880. a=sendrecv
  2881.  
  2882. 2022-10-11 13:10:10.393522 89.73% [DEBUG] switch_core_state_machine.c:40 sofia/default/1000005 Standard INIT
  2883. 2022-10-11 13:10:10.393522 89.73% [DEBUG] switch_core_state_machine.c:48 (sofia/default/1000005) State Change CS_INIT -> CS_ROUTING
  2884. 2022-10-11 13:10:10.393522 89.73% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1000005) State INIT going to sleep
  2885. 2022-10-11 13:10:10.393522 89.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000005) Running State Change CS_ROUTING (Cur 18 Tot 190)
  2886. 2022-10-11 13:10:10.393522 89.73% [DEBUG] sofia.c:7499 Channel sofia/default/1000005 entering state [calling][0]
  2887. 2022-10-11 13:10:10.393522 89.73% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1000005) State ROUTING
  2888. 2022-10-11 13:10:10.393522 89.73% [DEBUG] mod_sofia.c:158 sofia/default/1000005 SOFIA ROUTING
  2889. 2022-10-11 13:10:10.393522 89.73% [DEBUG] switch_ivr_originate.c:67 (sofia/default/1000005) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  2890. 2022-10-11 13:10:10.393522 89.73% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1000005) State ROUTING going to sleep
  2891. 2022-10-11 13:10:10.393522 89.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000005) Running State Change CS_CONSUME_MEDIA (Cur 18 Tot 190)
  2892. 2022-10-11 13:10:10.393522 89.73% [DEBUG] switch_core_state_machine.c:659 (sofia/default/1000005) State CONSUME_MEDIA
  2893. 2022-10-11 13:10:10.393522 89.73% [DEBUG] switch_core_state_machine.c:659 (sofia/default/1000005) State CONSUME_MEDIA going to sleep
  2894. 2022-10-11 13:10:10.473517 89.73% [DEBUG] sofia.c:7499 Channel sofia/default/1000005 entering state [completing][200]
  2895. 2022-10-11 13:10:10.473517 89.73% [DEBUG] sofia.c:7509 Remote SDP:
  2896. v=0
  2897. o=root 256197239 256197239 IN IP4 159.203.131.36
  2898. s=Asterisk PBX 16.4.0
  2899. c=IN IP4 159.203.131.36
  2900. t=0 0
  2901. m=audio 10388 RTP/AVP 8 101
  2902. a=rtpmap:8 PCMA/8000
  2903. a=rtpmap:101 telephone-event/8000
  2904. a=fmtp:101 0-16
  2905. a=maxptime:150
  2906.  
  2907. 2022-10-11 13:10:10.473517 89.73% [DEBUG] sofia.c:7499 Channel sofia/default/1000005 entering state [ready][200]
  2908. 2022-10-11 13:10:10.473517 89.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1]
  2909. 2022-10-11 13:10:10.473517 89.73% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  2910. 2022-10-11 13:10:10.473517 89.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[G729:18:8000:20:8000:1]
  2911. 2022-10-11 13:10:10.473517 89.73% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  2912. 2022-10-11 13:10:10.473517 89.73% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/1000005 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  2913. 2022-10-11 13:10:10.473517 89.73% [DEBUG] switch_core_codec.c:111 sofia/default/1000005 Original read codec set to PCMA:8
  2914. 2022-10-11 13:10:10.493520 89.73% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  2915. 2022-10-11 13:10:10.493520 89.73% [DEBUG] switch_core_media.c:5973 sofia/default/1000005 Set 2833 dtmf send payload to 101 recv payload to 101
  2916. 2022-10-11 13:10:10.493520 89.73% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/1000005] 46.101.114.158 port 31776 -> 159.203.131.36 port 10388 codec: 8 ms: 20
  2917. 2022-10-11 13:10:10.493520 89.73% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  2918. 2022-10-11 13:10:10.493520 89.73% [DEBUG] switch_core_media.c:9089 sofia/default/1000005 Set 2833 dtmf send payload to 101
  2919. 2022-10-11 13:10:10.493520 89.73% [DEBUG] switch_core_media.c:9096 sofia/default/1000005 Set 2833 dtmf receive payload to 101
  2920. 2022-10-11 13:10:10.493520 89.73% [DEBUG] switch_core_media.c:9119 sofia/default/1000005 Set rtp dtmf delay to 40
  2921. 2022-10-11 13:10:10.493520 89.73% [NOTICE] sofia.c:8683 Channel [sofia/default/1000005] has been answered
  2922. 2022-10-11 13:10:10.493520 89.73% [DEBUG] switch_channel.c:3950 (sofia/default/1000005) Callstate Change DOWN -> ACTIVE
  2923. 2022-10-11 13:10:10.493520 89.73% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/1000005@46.101.114.158] 46.101.114.158 port 23242 -> 46.101.114.158 port 20234 codec: 8 ms: 20
  2924. 2022-10-11 13:10:10.493520 89.73% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  2925. 2022-10-11 13:10:10.493520 89.73% [DEBUG] switch_core_media.c:9089 sofia/default/1000005@46.101.114.158 Set 2833 dtmf send payload to 101
  2926. 2022-10-11 13:10:10.493520 89.73% [DEBUG] switch_core_media.c:9096 sofia/default/1000005@46.101.114.158 Set 2833 dtmf receive payload to 101
  2927. 2022-10-11 13:10:10.493520 89.73% [DEBUG] switch_core_media.c:9119 sofia/default/1000005@46.101.114.158 Set rtp dtmf delay to 40
  2928. 2022-10-11 13:10:10.493520 89.73% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/1000005@46.101.114.158:
  2929. v=0
  2930. o=FreeSWITCH 1665470568 1665470569 IN IP4 46.101.114.158
  2931. s=FreeSWITCH
  2932. c=IN IP4 46.101.114.158
  2933. t=0 0
  2934. m=audio 23242 RTP/AVP 8 101
  2935. a=rtpmap:8 PCMA/8000
  2936. a=rtpmap:101 telephone-event/8000
  2937. a=fmtp:101 0-15
  2938. a=ptime:20
  2939. a=sendrecv
  2940.  
  2941. 2022-10-11 13:10:10.493520 89.73% [DEBUG] sofia.c:7499 Channel sofia/default/1000005@46.101.114.158 entering state [completed][200]
  2942. 2022-10-11 13:10:10.493520 89.73% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/default/1000005@46.101.114.158] has been answered
  2943. 2022-10-11 13:10:10.513522 89.73% [DEBUG] switch_channel.c:3950 (sofia/default/1000005@46.101.114.158) Callstate Change RINGING -> ACTIVE
  2944. 2022-10-11 13:10:10.513522 89.73% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/1000005] Peer UUID: 7f232dac-9c5f-49e7-be50-4cd8400f7d7b
  2945. 2022-10-11 13:10:10.513522 89.73% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/1000005) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  2946. 2022-10-11 13:10:10.513522 89.73% [DEBUG] sofia.c:7499 Channel sofia/default/1000005@46.101.114.158:5064 entering state [completing][200]
  2947. 2022-10-11 13:10:10.513522 89.73% [DEBUG] sofia.c:7509 Remote SDP:
  2948. v=0
  2949. o=FreeSWITCH 1665470568 1665470569 IN IP4 46.101.114.158
  2950. s=FreeSWITCH
  2951. c=IN IP4 46.101.114.158
  2952. t=0 0
  2953. m=audio 23242 RTP/AVP 8 101
  2954. a=rtpmap:8 PCMA/8000
  2955. a=rtpmap:101 telephone-event/8000
  2956. a=fmtp:101 0-15
  2957. a=ptime:20
  2958.  
  2959. 2022-10-11 13:10:10.513522 89.73% [DEBUG] sofia.c:7499 Channel sofia/default/1000005@46.101.114.158:5064 entering state [ready][200]
  2960. 2022-10-11 13:10:10.513522 89.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  2961. 2022-10-11 13:10:10.513522 89.73% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  2962. 2022-10-11 13:10:10.513522 89.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  2963. 2022-10-11 13:10:10.513522 89.73% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  2964. 2022-10-11 13:10:10.513522 89.73% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/1000005@46.101.114.158:5064 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  2965. 2022-10-11 13:10:10.513522 89.73% [DEBUG] switch_core_codec.c:111 sofia/default/1000005@46.101.114.158:5064 Original read codec set to PCMA:8
  2966. 2022-10-11 13:10:10.513522 89.73% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  2967. 2022-10-11 13:10:10.513522 89.73% [DEBUG] switch_core_media.c:5973 sofia/default/1000005@46.101.114.158:5064 Set 2833 dtmf send payload to 101 recv payload to 101
  2968. 2022-10-11 13:10:10.513522 89.73% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/1000005@46.101.114.158:5064] 46.101.114.158 port 20234 -> 46.101.114.158 port 23242 codec: 8 ms: 20
  2969. 2022-10-11 13:10:10.513522 89.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000005) Running State Change CS_EXCHANGE_MEDIA (Cur 18 Tot 190)
  2970. 2022-10-11 13:10:10.513522 89.73% [DEBUG] switch_core_state_machine.c:650 (sofia/default/1000005) State EXCHANGE_MEDIA
  2971. 2022-10-11 13:10:10.513522 89.73% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  2972. 2022-10-11 13:10:10.513522 89.73% [DEBUG] sofia.c:7499 Channel sofia/default/1000005@46.101.114.158 entering state [ready][200]
  2973. 2022-10-11 13:10:10.513522 89.73% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  2974. 2022-10-11 13:10:10.513522 89.73% [DEBUG] switch_core_media.c:9089 sofia/default/1000005@46.101.114.158:5064 Set 2833 dtmf send payload to 101
  2975. 2022-10-11 13:10:10.513522 89.73% [DEBUG] switch_core_media.c:9096 sofia/default/1000005@46.101.114.158:5064 Set 2833 dtmf receive payload to 101
  2976. 2022-10-11 13:10:10.513522 89.73% [DEBUG] switch_core_media.c:9119 sofia/default/1000005@46.101.114.158:5064 Set rtp dtmf delay to 40
  2977. 2022-10-11 13:10:10.513522 89.73% [NOTICE] sofia.c:8683 Channel [sofia/default/1000005@46.101.114.158:5064] has been answered
  2978. 2022-10-11 13:10:10.513522 89.73% [DEBUG] switch_channel.c:3950 (sofia/default/1000005@46.101.114.158:5064) Callstate Change DOWN -> ACTIVE
  2979. 2022-10-11 13:10:10.513522 89.73% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/1000005@46.101.114.158:5064] Peer UUID: 1015f060-1d92-412e-a48f-84135759cd17
  2980. 2022-10-11 13:10:10.513522 89.73% [INFO] switch_channel.c:3270 sofia/default/1000005@46.101.114.158:5064 Flipping CID from "3613818599" <1000005> to "Outbound Call" <1000005>
  2981. 2022-10-11 13:10:10.513522 89.73% [DEBUG] mod_commands.c:5169 (sofia/default/1000005@46.101.114.158:5064) State Change CS_CONSUME_MEDIA -> CS_EXECUTE
  2982. 2022-10-11 13:10:10.513522 89.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000005@46.101.114.158:5064) Running State Change CS_EXECUTE (Cur 18 Tot 190)
  2983. 2022-10-11 13:10:10.513522 89.73% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1000005@46.101.114.158:5064) State EXECUTE
  2984. 2022-10-11 13:10:10.513522 89.73% [DEBUG] mod_sofia.c:213 sofia/default/1000005@46.101.114.158:5064 SOFIA EXECUTE
  2985. 2022-10-11 13:10:10.513522 89.73% [DEBUG] switch_core_state_machine.c:323 sofia/default/1000005@46.101.114.158:5064 Standard EXECUTE
  2986. EXECUTE [depth=0] sofia/default/1000005@46.101.114.158:5064 playback(/opt/ASTPP/web_interface/astpp/upload/voice_broadcast/file_example_WAV_1MG_.wav)
  2987. 2022-10-11 13:10:10.513522 89.73% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur.
  2988. 2022-10-11 13:10:10.513522 89.73% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  2989. 2022-10-11 13:10:10.533522 89.73% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  2990. 2022-10-11 13:10:10.533522 89.73% [NOTICE] switch_channel.c:1123 New Channel sofia/default/1000006@46.101.114.158:5064 [facb01d4-5e2b-4a32-a6fc-b412b180c514]
  2991. 2022-10-11 13:10:10.533522 89.73% [DEBUG] mod_sofia.c:5121 (sofia/default/1000006@46.101.114.158:5064) State Change CS_NEW -> CS_INIT
  2992. 2022-10-11 13:10:10.533522 89.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000006@46.101.114.158:5064) Running State Change CS_INIT (Cur 19 Tot 191)
  2993. 2022-10-11 13:10:10.533522 89.73% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1000006@46.101.114.158:5064) State INIT
  2994. 2022-10-11 13:10:10.533522 89.73% [DEBUG] mod_sofia.c:97 sofia/default/1000006@46.101.114.158:5064 SOFIA INIT
  2995. 2022-10-11 13:10:10.533522 89.73% [INFO] sofia_glue.c:1651 sofia/default/1000006@46.101.114.158:5064 sending invite call-id: (null)
  2996. 2022-10-11 13:10:10.533522 89.73% [DEBUG] sofia_glue.c:1654 sofia/default/1000006@46.101.114.158:5064 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
  2997. Local SDP:
  2998. v=0
  2999. o=FreeSWITCH 1665470528 1665470529 IN IP4 46.101.114.158
  3000. s=FreeSWITCH
  3001. c=IN IP4 46.101.114.158
  3002. t=0 0
  3003. m=audio 23282 RTP/AVP 8 0 101
  3004. a=rtpmap:8 PCMA/8000
  3005. a=rtpmap:0 PCMU/8000
  3006. a=rtpmap:101 telephone-event/8000
  3007. a=fmtp:101 0-15
  3008. a=ptime:20
  3009. a=sendrecv
  3010.  
  3011. 2022-10-11 13:10:10.533522 89.73% [NOTICE] switch_channel.c:1123 New Channel sofia/default/1000006@46.101.114.158 [0c5c8855-5c48-4ebe-b5fd-3531476dc267]
  3012. 2022-10-11 13:10:10.533522 89.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000006@46.101.114.158) Running State Change CS_NEW (Cur 20 Tot 192)
  3013. 2022-10-11 13:10:10.533522 89.73% [INFO] sofia.c:10462 sofia/default/1000006@46.101.114.158 receiving invite from 46.101.114.158:5064 version: 1.10.7 -release-19-883d2cb662 64bit call-id: dfca2a3e-c408-123b-8ea3-ba05d31eb9f9
  3014. 2022-10-11 13:10:10.533522 89.73% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 46.101.114.158:0.
  3015. 2022-10-11 13:10:10.533522 89.73% [DEBUG] sofia.c:7499 Channel sofia/default/1000006@46.101.114.158 entering state [received][100]
  3016. 2022-10-11 13:10:10.533522 89.73% [DEBUG] sofia.c:7509 Remote SDP:
  3017. v=0
  3018. o=FreeSWITCH 1665470528 1665470529 IN IP4 46.101.114.158
  3019. s=FreeSWITCH
  3020. c=IN IP4 46.101.114.158
  3021. t=0 0
  3022. m=audio 23282 RTP/AVP 8 0 101
  3023. a=rtpmap:8 PCMA/8000
  3024. a=rtpmap:0 PCMU/8000
  3025. a=rtpmap:101 telephone-event/8000
  3026. a=fmtp:101 0-15
  3027. a=ptime:20
  3028.  
  3029. 2022-10-11 13:10:10.533522 89.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  3030. 2022-10-11 13:10:10.533522 89.73% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  3031. 2022-10-11 13:10:10.533522 89.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  3032. 2022-10-11 13:10:10.533522 89.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  3033. 2022-10-11 13:10:10.533522 89.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  3034. 2022-10-11 13:10:10.533522 89.73% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  3035. 2022-10-11 13:10:10.533522 89.73% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  3036. 2022-10-11 13:10:10.533522 89.73% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/1000006@46.101.114.158 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  3037. 2022-10-11 13:10:10.533522 89.73% [DEBUG] switch_core_codec.c:111 sofia/default/1000006@46.101.114.158 Original read codec set to PCMA:8
  3038. 2022-10-11 13:10:10.533522 89.73% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  3039. 2022-10-11 13:10:10.533522 89.73% [DEBUG] switch_core_media.c:5973 sofia/default/1000006@46.101.114.158 Set 2833 dtmf send payload to 101 recv payload to 101
  3040. 2022-10-11 13:10:10.533522 89.73% [DEBUG] sofia.c:7933 (sofia/default/1000006@46.101.114.158) State Change CS_NEW -> CS_INIT
  3041. 2022-10-11 13:10:10.533522 89.73% [DEBUG] switch_core_state_machine.c:600 (sofia/default/1000006@46.101.114.158) State NEW
  3042. 2022-10-11 13:10:10.533522 89.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000006@46.101.114.158) Running State Change CS_INIT (Cur 20 Tot 192)
  3043. 2022-10-11 13:10:10.533522 89.73% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1000006@46.101.114.158) State INIT
  3044. 2022-10-11 13:10:10.533522 89.73% [DEBUG] mod_sofia.c:97 sofia/default/1000006@46.101.114.158 SOFIA INIT
  3045. 2022-10-11 13:10:10.533522 89.73% [DEBUG] switch_core_state_machine.c:40 sofia/default/1000006@46.101.114.158 Standard INIT
  3046. 2022-10-11 13:10:10.533522 89.73% [DEBUG] switch_core_state_machine.c:48 (sofia/default/1000006@46.101.114.158) State Change CS_INIT -> CS_ROUTING
  3047. 2022-10-11 13:10:10.533522 89.73% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1000006@46.101.114.158) State INIT going to sleep
  3048. 2022-10-11 13:10:10.533522 89.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000006@46.101.114.158) Running State Change CS_ROUTING (Cur 20 Tot 192)
  3049. 2022-10-11 13:10:10.533522 89.73% [DEBUG] switch_channel.c:2380 (sofia/default/1000006@46.101.114.158) Callstate Change DOWN -> RINGING
  3050. 2022-10-11 13:10:10.533522 89.73% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1000006@46.101.114.158) State ROUTING
  3051. 2022-10-11 13:10:10.533522 89.73% [DEBUG] mod_sofia.c:158 sofia/default/1000006@46.101.114.158 SOFIA ROUTING
  3052. 2022-10-11 13:10:10.533522 89.73% [DEBUG] switch_core_state_machine.c:230 sofia/default/1000006@46.101.114.158 Standard ROUTING
  3053. 2022-10-11 13:10:10.533522 89.73% [INFO] mod_dialplan_xml.c:639 Processing 3613818599 <1000006>->1000006 in context default
  3054. 2022-10-11 13:10:10.533522 89.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  3055. 2022-10-11 13:10:10.533522 89.73% [DEBUG] switch_core_state_machine.c:40 sofia/default/1000006@46.101.114.158:5064 Standard INIT
  3056. 2022-10-11 13:10:10.533522 89.73% [DEBUG] switch_core_state_machine.c:48 (sofia/default/1000006@46.101.114.158:5064) State Change CS_INIT -> CS_ROUTING
  3057. 2022-10-11 13:10:10.533522 89.73% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1000006@46.101.114.158:5064) State INIT going to sleep
  3058. 2022-10-11 13:10:10.533522 89.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000006@46.101.114.158:5064) Running State Change CS_ROUTING (Cur 20 Tot 192)
  3059. 2022-10-11 13:10:10.533522 89.73% [DEBUG] sofia.c:7499 Channel sofia/default/1000006@46.101.114.158:5064 entering state [calling][0]
  3060. 2022-10-11 13:10:10.533522 89.73% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1000006@46.101.114.158:5064) State ROUTING
  3061. 2022-10-11 13:10:10.533522 89.73% [DEBUG] mod_sofia.c:158 sofia/default/1000006@46.101.114.158:5064 SOFIA ROUTING
  3062. 2022-10-11 13:10:10.533522 89.73% [DEBUG] switch_ivr_originate.c:67 (sofia/default/1000006@46.101.114.158:5064) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  3063. 2022-10-11 13:10:10.533522 89.73% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1000006@46.101.114.158:5064) State ROUTING going to sleep
  3064. 2022-10-11 13:10:10.533522 89.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000006@46.101.114.158:5064) Running State Change CS_CONSUME_MEDIA (Cur 20 Tot 192)
  3065. 2022-10-11 13:10:10.533522 89.73% [DEBUG] switch_core_state_machine.c:659 (sofia/default/1000006@46.101.114.158:5064) State CONSUME_MEDIA
  3066. 2022-10-11 13:10:10.533522 89.73% [DEBUG] switch_core_state_machine.c:659 (sofia/default/1000006@46.101.114.158:5064) State CONSUME_MEDIA going to sleep
  3067. 2022-10-11 13:10:10.533522 89.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  3068. 2022-10-11 13:10:10.553535 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 1000006
  3069. 2022-10-11 13:10:10.553535 89.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Clicktocall Destination Number 1000006
  3070. 2022-10-11 13:10:10.553535 89.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '1000006' AND status=0 limit 1
  3071. 2022-10-11 13:10:10.553535 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 3613818599 / 1000006
  3072. 2022-10-11 13:10:10.553535 89.73% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1000006" LIMIT 1
  3073. 2022-10-11 13:10:10.553535 89.73% [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 WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="1000006" limit 1
  3074. 2022-10-11 13:10:10.553535 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  3075. 2022-10-11 13:10:10.553535 89.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("46.101.114.158") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 -  SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1))  AND "1000006"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  3076. 2022-10-11 13:10:10.553535 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 3613818599]
  3077. 2022-10-11 13:10:10.553535 89.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3613818599" AND deleted = 0 limit 1
  3078. 2022-10-11 13:10:10.553535 89.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^1000006.*' OR blocked_patterns = '^100000.*' OR blocked_patterns = '^10000.*' OR blocked_patterns = '^1000.*' OR blocked_patterns = '^100.*' OR blocked_patterns = '^10.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 16 limit 1
  3079. 2022-10-11 13:10:10.553535 89.73% [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 ="1000006" AND A.accountid = '16' limit 1
  3080. 2022-10-11 13:10:10.553535 89.73% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  3081. 2022-10-11 13:10:10.553535 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 1000006
  3082. 2022-10-11 13:10:10.553535 89.73% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1000006" LIMIT 1
  3083. 2022-10-11 13:10:10.573522 89.73% [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 WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="1000006" limit 1
  3084. 2022-10-11 13:10:10.573522 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call direction : outbound
  3085. 2022-10-11 13:10:10.573522 89.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="1000006" AND (accountid = 0 OR status = 1) LIMIT 1
  3086. 2022-10-11 13:10:10.573522 89.73% [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 (patterns = '^1000006.*' OR patterns = '^100000.*' OR patterns = '^10000.*' OR patterns = '^1000.*' OR patterns = '^100.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 16 ORDER BY LENGTH(PKGPTR.patterns) DESC
  3087. 2022-10-11 13:10:10.593535 89.73% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  3088. 2022-10-11 13:10:10.593535 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  3089. 2022-10-11 13:10:10.593535 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 16
  3090. 2022-10-11 13:10:10.593535 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 3613818599
  3091. 2022-10-11 13:10:10.593535 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 95.8
  3092. 2022-10-11 13:10:10.593535 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  3093. 2022-10-11 13:10:10.593535 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  3094. 2022-10-11 13:10:10.593535 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  3095. 2022-10-11 13:10:10.593535 89.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  3096. 2022-10-11 13:10:10.593535 89.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  3097. 2022-10-11 13:10:10.593535 89.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^1000006.*' OR pattern = '^100000.*' OR pattern = '^10000.*' OR pattern = '^1000.*' OR pattern = '^100.*' OR pattern = '^10.*' OR pattern = '^1.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 1 OR accountid=16)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1
  3098. 2022-10-11 13:10:10.593535 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] call_direction:::::: outbound
  3099. 2022-10-11 13:10:10.593535 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  3100. 2022-10-11 13:10:10.593535 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  3101. 2022-10-11 13:10:10.593535 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  3102. 2022-10-11 13:10:10.593535 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  3103. 2022-10-11 13:10:10.593535 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.20000
  3104. 2022-10-11 13:10:10.593535 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] comment : USA
  3105. 2022-10-11 13:10:10.593535 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
  3106. 2022-10-11 13:10:10.593535 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 16
  3107. 2022-10-11 13:10:10.593535 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 0
  3108. 2022-10-11 13:10:10.593535 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  3109. 2022-10-11 13:10:10.593535 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  3110. 2022-10-11 13:10:10.593535 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your95.8 balance Accountid 16 !!!
  3111. 2022-10-11 13:10:10.593535 89.73% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting call to config max length 100 mins!
  3112. 2022-10-11 13:10:10.593535 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max length duration : 100 minutes
  3113. 2022-10-11 13:10:10.593535 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 1
  3114. 2022-10-11 13:10:10.593535 89.73% [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
  3115. 2022-10-11 13:10:10.593535 89.73% [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 = '^1000006.*' OR pattern = '^100000.*' OR pattern = '^10000.*' OR pattern = '^1000.*' OR pattern = '^100.*' OR pattern = '^10.*' OR pattern = '^1.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (1) ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence
  3116. 2022-10-11 13:10:10.613519 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  3117. 2022-10-11 13:10:10.613519 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  3118. 2022-10-11 13:10:10.613519 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^1.*
  3119. 2022-10-11 13:10:10.613519 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : USA
  3120. 2022-10-11 13:10:10.613519 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  3121. 2022-10-11 13:10:10.613519 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  3122. 2022-10-11 13:10:10.613519 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^1.*
  3123. 2022-10-11 13:10:10.613519 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  3124. 2022-10-11 13:10:10.613519 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  3125. 2022-10-11 13:10:10.613519 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 1
  3126. 2022-10-11 13:10:10.613519 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : YourProvider
  3127. 2022-10-11 13:10:10.613519 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  3128. 2022-10-11 13:10:10.613519 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  3129. 2022-10-11 13:10:10.613519 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  3130. 2022-10-11 13:10:10.613519 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  3131. 2022-10-11 13:10:10.613519 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : YourProvider
  3132. 2022-10-11 13:10:10.613519 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  3133. 2022-10-11 13:10:10.613519 89.73% [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 = 16 AND status=0 LIMIT 1
  3134. 2022-10-11 13:10:10.613519 89.73% [INFO] switch_cpp.cpp:1465 [ASTPP] maxlength::::::::: 100
  3135. 2022-10-11 13:10:10.613519 89.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  3136. 2022-10-11 13:10:10.613519 89.73% [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
  3137. 2022-10-11 13:10:10.613519 89.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate FROM localization WHERE id=(SELECT localization_id from accounts where id = 3) AND status=0 limit 1
  3138. 2022-10-11 13:10:10.613519 89.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  3139. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  3140. <document type="freeswitch/xml">
  3141. <section name="dialplan" description="ASTPP Dialplan">
  3142. <context name="default">
  3143. <extension name="1000006">
  3144. <condition field="destination_number" expression="1000006">
  3145. <action application="set" data="effective_destination_number=1000006"/>
  3146. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  3147. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  3148. <action application="set" data="callstart=2022-10-11 13:10:09"/>
  3149. <action application="set" data="hangup_after_bridge=true"/>
  3150. <action application="set" data="continue_on_fail=TRUE"/>
  3151. <action application="set" data="account_id=16"/>
  3152. <action application="set" data="parent_id=0"/>
  3153. <action application="set" data="entity_id=0"/>
  3154. <action application="set" data="call_processed=internal"/>
  3155. <action application="set" data="call_direction=outbound"/>
  3156. <action application="set" data="accountname=default"/>
  3157. <action application="set" data="origination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:16"/>
  3158. <action application="set" data="original_caller_id_name=3613818599"/>
  3159. <action application="set" data="original_caller_id_number=1000006"/>
  3160.  
  3161. <action application="set" data="calltype=BROADCAST"/>
  3162. <action application="set" data="sip_user=3613818599"/>
  3163. <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"/>
  3164. <action application="set" data="trunk_id=1"/>
  3165. <action application="set" data="provider_id=3"/>
  3166. <action application="set" data="rate_flag=0"/>
  3167. <action application="set" data="force_trunk_flag=1"/>
  3168. <action application="export" data="presence_data=trunk_id=1"/>
  3169. <action application="set" data="intcall=0"/>
  3170. <action application="export" data="presence_data=x|||Alpesh(3613818599)|||^1.* // USA // 0.20000 // trunk_id=0|||YourProvider // ^1.* // USA // 0.10000 // trunk_id=1|||STD"/>
  3171. <action application="bridge" data="{sip_cid_type=}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/1000006"/>
  3172. </condition>
  3173. </extension>
  3174. </context>
  3175. </section>
  3176. </document>
  3177. Dialplan: sofia/default/1000006@46.101.114.158 parsing [default->1000006] continue=false
  3178. Dialplan: sofia/default/1000006@46.101.114.158 Regex (PASS) [1000006] destination_number(1000006) =~ /1000006/ break=on-false
  3179. Dialplan: sofia/default/1000006@46.101.114.158 Action set(effective_destination_number=1000006)
  3180. Dialplan: sofia/default/1000006@46.101.114.158 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  3181. Dialplan: sofia/default/1000006@46.101.114.158 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  3182. Dialplan: sofia/default/1000006@46.101.114.158 Action set(callstart=2022-10-11 13:10:09)
  3183. Dialplan: sofia/default/1000006@46.101.114.158 Action set(hangup_after_bridge=true)
  3184. Dialplan: sofia/default/1000006@46.101.114.158 Action set(continue_on_fail=TRUE)
  3185. Dialplan: sofia/default/1000006@46.101.114.158 Action set(account_id=16)
  3186. Dialplan: sofia/default/1000006@46.101.114.158 Action set(parent_id=0)
  3187. Dialplan: sofia/default/1000006@46.101.114.158 Action set(entity_id=0)
  3188. Dialplan: sofia/default/1000006@46.101.114.158 Action set(call_processed=internal)
  3189. Dialplan: sofia/default/1000006@46.101.114.158 Action set(call_direction=outbound)
  3190. Dialplan: sofia/default/1000006@46.101.114.158 Action set(accountname=default)
  3191. Dialplan: sofia/default/1000006@46.101.114.158 Action set(origination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:16)
  3192. Dialplan: sofia/default/1000006@46.101.114.158 Action set(original_caller_id_name=3613818599)
  3193. Dialplan: sofia/default/1000006@46.101.114.158 Action set(original_caller_id_number=1000006)
  3194. Dialplan: sofia/default/1000006@46.101.114.158 Action set(calltype=BROADCAST)
  3195. Dialplan: sofia/default/1000006@46.101.114.158 Action set(sip_user=3613818599)
  3196. Dialplan: sofia/default/1000006@46.101.114.158 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)
  3197. Dialplan: sofia/default/1000006@46.101.114.158 Action set(trunk_id=1)
  3198. Dialplan: sofia/default/1000006@46.101.114.158 Action set(provider_id=3)
  3199. Dialplan: sofia/default/1000006@46.101.114.158 Action set(rate_flag=0)
  3200. Dialplan: sofia/default/1000006@46.101.114.158 Action set(force_trunk_flag=1)
  3201. Dialplan: sofia/default/1000006@46.101.114.158 Action export(presence_data=trunk_id=1)
  3202. Dialplan: sofia/default/1000006@46.101.114.158 Action set(intcall=0)
  3203. Dialplan: sofia/default/1000006@46.101.114.158 Action export(presence_data=x|||Alpesh(3613818599)|||^1.* // USA // 0.20000 // trunk_id=0|||YourProvider // ^1.* // USA // 0.10000 // trunk_id=1|||STD)
  3204. Dialplan: sofia/default/1000006@46.101.114.158 Action bridge({sip_cid_type=}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/1000006)
  3205. 2022-10-11 13:10:10.613519 89.73% [DEBUG] switch_core_state_machine.c:281 (sofia/default/1000006@46.101.114.158) State Change CS_ROUTING -> CS_EXECUTE
  3206. 2022-10-11 13:10:10.613519 89.73% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1000006@46.101.114.158) State ROUTING going to sleep
  3207. 2022-10-11 13:10:10.613519 89.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000006@46.101.114.158) Running State Change CS_EXECUTE (Cur 20 Tot 192)
  3208. 2022-10-11 13:10:10.613519 89.73% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1000006@46.101.114.158) State EXECUTE
  3209. 2022-10-11 13:10:10.613519 89.73% [DEBUG] mod_sofia.c:213 sofia/default/1000006@46.101.114.158 SOFIA EXECUTE
  3210. 2022-10-11 13:10:10.613519 89.73% [DEBUG] switch_core_state_machine.c:323 sofia/default/1000006@46.101.114.158 Standard EXECUTE
  3211. EXECUTE [depth=0] sofia/default/1000006@46.101.114.158 set(effective_destination_number=1000006)
  3212. 2022-10-11 13:10:10.613519 89.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000006@46.101.114.158 [effective_destination_number]=[1000006]
  3213. EXECUTE [depth=0] sofia/default/1000006@46.101.114.158 set(bridge_pre_execute_bleg_app=sched_hangup)
  3214. 2022-10-11 13:10:10.613519 89.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000006@46.101.114.158 [bridge_pre_execute_bleg_app]=[sched_hangup]
  3215. EXECUTE [depth=0] sofia/default/1000006@46.101.114.158 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  3216. 2022-10-11 13:10:10.613519 89.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000006@46.101.114.158 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  3217. EXECUTE [depth=0] sofia/default/1000006@46.101.114.158 set(callstart=2022-10-11 13:10:09)
  3218. 2022-10-11 13:10:10.613519 89.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000006@46.101.114.158 [callstart]=[2022-10-11 13:10:09]
  3219. EXECUTE [depth=0] sofia/default/1000006@46.101.114.158 set(hangup_after_bridge=true)
  3220. 2022-10-11 13:10:10.613519 89.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000006@46.101.114.158 [hangup_after_bridge]=[true]
  3221. EXECUTE [depth=0] sofia/default/1000006@46.101.114.158 set(continue_on_fail=TRUE)
  3222. 2022-10-11 13:10:10.613519 89.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000006@46.101.114.158 [continue_on_fail]=[TRUE]
  3223. EXECUTE [depth=0] sofia/default/1000006@46.101.114.158 set(account_id=16)
  3224. 2022-10-11 13:10:10.613519 89.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000006@46.101.114.158 [account_id]=[16]
  3225. EXECUTE [depth=0] sofia/default/1000006@46.101.114.158 set(parent_id=0)
  3226. 2022-10-11 13:10:10.613519 89.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000006@46.101.114.158 [parent_id]=[0]
  3227. EXECUTE [depth=0] sofia/default/1000006@46.101.114.158 set(entity_id=0)
  3228. 2022-10-11 13:10:10.613519 89.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000006@46.101.114.158 [entity_id]=[0]
  3229. EXECUTE [depth=0] sofia/default/1000006@46.101.114.158 set(call_processed=internal)
  3230. 2022-10-11 13:10:10.613519 89.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000006@46.101.114.158 [call_processed]=[internal]
  3231. EXECUTE [depth=0] sofia/default/1000006@46.101.114.158 set(call_direction=outbound)
  3232. 2022-10-11 13:10:10.613519 89.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000006@46.101.114.158 [call_direction]=[outbound]
  3233. EXECUTE [depth=0] sofia/default/1000006@46.101.114.158 set(accountname=default)
  3234. 2022-10-11 13:10:10.613519 89.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000006@46.101.114.158 [accountname]=[default]
  3235. EXECUTE [depth=0] sofia/default/1000006@46.101.114.158 set(origination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:16)
  3236. 2022-10-11 13:10:10.613519 89.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000006@46.101.114.158 [origination_rates]=[ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:16]
  3237. EXECUTE [depth=0] sofia/default/1000006@46.101.114.158 set(original_caller_id_name=3613818599)
  3238. 2022-10-11 13:10:10.613519 89.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000006@46.101.114.158 [original_caller_id_name]=[3613818599]
  3239. EXECUTE [depth=0] sofia/default/1000006@46.101.114.158 set(original_caller_id_number=1000006)
  3240. 2022-10-11 13:10:10.633520 89.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000006@46.101.114.158 [original_caller_id_number]=[1000006]
  3241. EXECUTE [depth=0] sofia/default/1000006@46.101.114.158 set(calltype=BROADCAST)
  3242. 2022-10-11 13:10:10.633520 89.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000006@46.101.114.158 [calltype]=[BROADCAST]
  3243. EXECUTE [depth=0] sofia/default/1000006@46.101.114.158 set(sip_user=3613818599)
  3244. 2022-10-11 13:10:10.633520 89.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000006@46.101.114.158 [sip_user]=[3613818599]
  3245. EXECUTE [depth=0] sofia/default/1000006@46.101.114.158 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)
  3246. 2022-10-11 13:10:10.633520 89.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000006@46.101.114.158 [termination_rates]=[ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.10000|INC:60|INITIALBLOCK:30|TRUNK:1|PROVIDER:3]
  3247. EXECUTE [depth=0] sofia/default/1000006@46.101.114.158 set(trunk_id=1)
  3248. 2022-10-11 13:10:10.633520 89.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000006@46.101.114.158 [trunk_id]=[1]
  3249. EXECUTE [depth=0] sofia/default/1000006@46.101.114.158 set(provider_id=3)
  3250. 2022-10-11 13:10:10.633520 89.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000006@46.101.114.158 [provider_id]=[3]
  3251. EXECUTE [depth=0] sofia/default/1000006@46.101.114.158 set(rate_flag=0)
  3252. 2022-10-11 13:10:10.633520 89.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000006@46.101.114.158 [rate_flag]=[0]
  3253. EXECUTE [depth=0] sofia/default/1000006@46.101.114.158 set(force_trunk_flag=1)
  3254. 2022-10-11 13:10:10.633520 89.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000006@46.101.114.158 [force_trunk_flag]=[1]
  3255. EXECUTE [depth=0] sofia/default/1000006@46.101.114.158 export(presence_data=trunk_id=1)
  3256. 2022-10-11 13:10:10.633520 89.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=1]
  3257. EXECUTE [depth=0] sofia/default/1000006@46.101.114.158 set(intcall=0)
  3258. 2022-10-11 13:10:10.633520 89.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/1000006@46.101.114.158 [intcall]=[0]
  3259. EXECUTE [depth=0] sofia/default/1000006@46.101.114.158 export(presence_data=x|||Alpesh(3613818599)|||^1.* // USA // 0.20000 // trunk_id=0|||YourProvider // ^1.* // USA // 0.10000 // trunk_id=1|||STD)
  3260. 2022-10-11 13:10:10.633520 89.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Alpesh(3613818599)|||^1.* // USA // 0.20000 // trunk_id=0|||YourProvider // ^1.* // USA // 0.10000 // trunk_id=1|||STD]
  3261. EXECUTE [depth=0] sofia/default/1000006@46.101.114.158 bridge({sip_cid_type=}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/1000006)
  3262. 2022-10-11 13:10:10.633520 89.73% [DEBUG] switch_channel.c:1269 sofia/default/1000006@46.101.114.158 EXPORTING[export_vars] [presence_data]=[x|||Alpesh(3613818599)|||^1.* // USA // 0.20000 // trunk_id=0|||YourProvider // ^1.* // USA // 0.10000 // trunk_id=1|||STD] to event
  3263. 2022-10-11 13:10:10.633520 89.73% [DEBUG] switch_channel.c:1269 sofia/default/1000006@46.101.114.158 EXPORTING[export_vars] [presence_data]=[x|||Alpesh(3613818599)|||^1.* // USA // 0.20000 // trunk_id=0|||YourProvider // ^1.* // USA // 0.10000 // trunk_id=1|||STD] to event
  3264. 2022-10-11 13:10:10.633520 89.73% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  3265. 2022-10-11 13:10:10.633520 89.73% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  3266. 2022-10-11 13:10:10.633520 89.73% [NOTICE] switch_channel.c:1123 New Channel sofia/default/1000006 [5bc73af5-1009-4fdb-9a22-3627f679fa7a]
  3267. 2022-10-11 13:10:10.633520 89.73% [DEBUG] mod_sofia.c:5121 (sofia/default/1000006) State Change CS_NEW -> CS_INIT
  3268. 2022-10-11 13:10:10.633520 89.73% [DEBUG] switch_ivr_originate.c:3151 sofia/default/1000006 Setting leg timeout to 30
  3269. 2022-10-11 13:10:10.633520 89.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000006) Running State Change CS_INIT (Cur 21 Tot 193)
  3270. 2022-10-11 13:10:10.633520 89.73% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1000006) State INIT
  3271. 2022-10-11 13:10:10.633520 89.73% [DEBUG] mod_sofia.c:97 sofia/default/1000006 SOFIA INIT
  3272. 2022-10-11 13:10:10.633520 89.73% [INFO] sofia_glue.c:1651 sofia/default/1000006 sending invite call-id: (null)
  3273. 2022-10-11 13:10:10.633520 89.73% [DEBUG] sofia_glue.c:1654 sofia/default/1000006 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
  3274. Local SDP:
  3275. v=0
  3276. o=FreeSWITCH 1665466874 1665466875 IN IP4 46.101.114.158
  3277. s=FreeSWITCH
  3278. c=IN IP4 46.101.114.158
  3279. t=0 0
  3280. m=audio 26936 RTP/AVP 8 18 101
  3281. a=rtpmap:8 PCMA/8000
  3282. a=rtpmap:18 G729/8000
  3283. a=rtpmap:101 telephone-event/8000
  3284. a=fmtp:101 0-15
  3285. a=ptime:20
  3286. a=sendrecv
  3287.  
  3288. 2022-10-11 13:10:10.633520 89.73% [DEBUG] switch_core_state_machine.c:40 sofia/default/1000006 Standard INIT
  3289. 2022-10-11 13:10:10.633520 89.73% [DEBUG] switch_core_state_machine.c:48 (sofia/default/1000006) State Change CS_INIT -> CS_ROUTING
  3290. 2022-10-11 13:10:10.633520 89.73% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1000006) State INIT going to sleep
  3291. 2022-10-11 13:10:10.633520 89.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000006) Running State Change CS_ROUTING (Cur 21 Tot 193)
  3292. 2022-10-11 13:10:10.633520 89.73% [DEBUG] sofia.c:7499 Channel sofia/default/1000006 entering state [calling][0]
  3293. 2022-10-11 13:10:10.633520 89.73% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1000006) State ROUTING
  3294. 2022-10-11 13:10:10.633520 89.73% [DEBUG] mod_sofia.c:158 sofia/default/1000006 SOFIA ROUTING
  3295. 2022-10-11 13:10:10.633520 89.73% [DEBUG] switch_ivr_originate.c:67 (sofia/default/1000006) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  3296. 2022-10-11 13:10:10.633520 89.73% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1000006) State ROUTING going to sleep
  3297. 2022-10-11 13:10:10.633520 89.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000006) Running State Change CS_CONSUME_MEDIA (Cur 21 Tot 193)
  3298. 2022-10-11 13:10:10.633520 89.73% [DEBUG] switch_core_state_machine.c:659 (sofia/default/1000006) State CONSUME_MEDIA
  3299. 2022-10-11 13:10:10.633520 89.73% [DEBUG] switch_core_state_machine.c:659 (sofia/default/1000006) State CONSUME_MEDIA going to sleep
  3300. 2022-10-11 13:10:10.693522 89.73% [DEBUG] switch_ivr_bridge.c:655 sofia/default/1000005 Bridge execute app sched_hangup(+6000 normal_clearing)
  3301. 2022-10-11 13:10:10.713517 89.73% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  3302. 2022-10-11 13:10:10.713517 89.73% [DEBUG] switch_ivr.c:632 sofia/default/1000005 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  3303. EXECUTE [depth=0] sofia/default/1000005 sched_hangup(+6000 normal_clearing)
  3304. 2022-10-11 13:10:10.713517 89.73% [DEBUG] switch_scheduler.c:263 Added task 51 switch_ivr_schedule_hangup (7f232dac-9c5f-49e7-be50-4cd8400f7d7b) to run at 1665499810
  3305. 2022-10-11 13:10:10.713517 89.73% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  3306. 2022-10-11 13:10:10.713517 89.73% [DEBUG] sofia.c:7499 Channel sofia/default/1000006 entering state [completing][200]
  3307. 2022-10-11 13:10:10.713517 89.73% [DEBUG] sofia.c:7509 Remote SDP:
  3308. v=0
  3309. o=root 226800207 226800207 IN IP4 159.203.131.36
  3310. s=Asterisk PBX 16.4.0
  3311. c=IN IP4 159.203.131.36
  3312. t=0 0
  3313. m=audio 19730 RTP/AVP 8 101
  3314. a=rtpmap:8 PCMA/8000
  3315. a=rtpmap:101 telephone-event/8000
  3316. a=fmtp:101 0-16
  3317. a=maxptime:150
  3318.  
  3319. 2022-10-11 13:10:10.713517 89.73% [DEBUG] sofia.c:7499 Channel sofia/default/1000006 entering state [ready][200]
  3320. 2022-10-11 13:10:10.713517 89.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1]
  3321. 2022-10-11 13:10:10.713517 89.73% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  3322. 2022-10-11 13:10:10.713517 89.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[G729:18:8000:20:8000:1]
  3323. 2022-10-11 13:10:10.713517 89.73% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  3324. 2022-10-11 13:10:10.713517 89.73% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/1000006 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  3325. 2022-10-11 13:10:10.713517 89.73% [DEBUG] switch_core_codec.c:111 sofia/default/1000006 Original read codec set to PCMA:8
  3326. 2022-10-11 13:10:10.713517 89.73% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  3327. 2022-10-11 13:10:10.713517 89.73% [DEBUG] switch_core_media.c:5973 sofia/default/1000006 Set 2833 dtmf send payload to 101 recv payload to 101
  3328. 2022-10-11 13:10:10.713517 89.73% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/1000006] 46.101.114.158 port 26936 -> 159.203.131.36 port 19730 codec: 8 ms: 20
  3329. 2022-10-11 13:10:10.713517 89.73% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  3330. 2022-10-11 13:10:10.713517 89.73% [DEBUG] switch_core_media.c:9089 sofia/default/1000006 Set 2833 dtmf send payload to 101
  3331. 2022-10-11 13:10:10.713517 89.73% [DEBUG] switch_core_media.c:9096 sofia/default/1000006 Set 2833 dtmf receive payload to 101
  3332. 2022-10-11 13:10:10.713517 89.73% [DEBUG] switch_core_media.c:9119 sofia/default/1000006 Set rtp dtmf delay to 40
  3333. 2022-10-11 13:10:10.713517 89.73% [NOTICE] sofia.c:8683 Channel [sofia/default/1000006] has been answered
  3334. 2022-10-11 13:10:10.713517 89.73% [DEBUG] switch_channel.c:3950 (sofia/default/1000006) Callstate Change DOWN -> ACTIVE
  3335. 2022-10-11 13:10:10.733526 89.73% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/1000006@46.101.114.158] 46.101.114.158 port 18270 -> 46.101.114.158 port 23282 codec: 8 ms: 20
  3336. 2022-10-11 13:10:10.733526 89.73% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  3337. 2022-10-11 13:10:10.733526 89.73% [DEBUG] switch_core_media.c:9089 sofia/default/1000006@46.101.114.158 Set 2833 dtmf send payload to 101
  3338. 2022-10-11 13:10:10.733526 89.73% [DEBUG] switch_core_media.c:9096 sofia/default/1000006@46.101.114.158 Set 2833 dtmf receive payload to 101
  3339. 2022-10-11 13:10:10.733526 89.73% [DEBUG] switch_core_media.c:9119 sofia/default/1000006@46.101.114.158 Set rtp dtmf delay to 40
  3340. 2022-10-11 13:10:10.733526 89.73% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/1000006@46.101.114.158:
  3341. v=0
  3342. o=FreeSWITCH 1665475540 1665475541 IN IP4 46.101.114.158
  3343. s=FreeSWITCH
  3344. c=IN IP4 46.101.114.158
  3345. t=0 0
  3346. m=audio 18270 RTP/AVP 8 101
  3347. a=rtpmap:8 PCMA/8000
  3348. a=rtpmap:101 telephone-event/8000
  3349. a=fmtp:101 0-15
  3350. a=ptime:20
  3351. a=sendrecv
  3352.  
  3353. 2022-10-11 13:10:10.733526 89.73% [DEBUG] sofia.c:7499 Channel sofia/default/1000006@46.101.114.158 entering state [completed][200]
  3354. 2022-10-11 13:10:10.733526 89.73% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/default/1000006@46.101.114.158] has been answered
  3355. 2022-10-11 13:10:10.733526 89.73% [DEBUG] switch_channel.c:3950 (sofia/default/1000006@46.101.114.158) Callstate Change RINGING -> ACTIVE
  3356. 2022-10-11 13:10:10.733526 89.73% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/1000006] Peer UUID: 5bc73af5-1009-4fdb-9a22-3627f679fa7a
  3357. 2022-10-11 13:10:10.733526 89.73% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/1000006) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  3358. 2022-10-11 13:10:10.733526 89.73% [DEBUG] sofia.c:7499 Channel sofia/default/1000006@46.101.114.158:5064 entering state [completing][200]
  3359. 2022-10-11 13:10:10.733526 89.73% [DEBUG] sofia.c:7509 Remote SDP:
  3360. v=0
  3361. o=FreeSWITCH 1665475540 1665475541 IN IP4 46.101.114.158
  3362. s=FreeSWITCH
  3363. c=IN IP4 46.101.114.158
  3364. t=0 0
  3365. m=audio 18270 RTP/AVP 8 101
  3366. a=rtpmap:8 PCMA/8000
  3367. a=rtpmap:101 telephone-event/8000
  3368. a=fmtp:101 0-15
  3369. a=ptime:20
  3370.  
  3371. 2022-10-11 13:10:10.733526 89.73% [DEBUG] sofia.c:7499 Channel sofia/default/1000006@46.101.114.158:5064 entering state [ready][200]
  3372. 2022-10-11 13:10:10.733526 89.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  3373. 2022-10-11 13:10:10.733526 89.73% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  3374. 2022-10-11 13:10:10.733526 89.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  3375. 2022-10-11 13:10:10.733526 89.73% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  3376. 2022-10-11 13:10:10.733526 89.73% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/1000006@46.101.114.158:5064 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  3377. 2022-10-11 13:10:10.733526 89.73% [DEBUG] switch_core_codec.c:111 sofia/default/1000006@46.101.114.158:5064 Original read codec set to PCMA:8
  3378. 2022-10-11 13:10:10.733526 89.73% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  3379. 2022-10-11 13:10:10.733526 89.73% [DEBUG] switch_core_media.c:5973 sofia/default/1000006@46.101.114.158:5064 Set 2833 dtmf send payload to 101 recv payload to 101
  3380. 2022-10-11 13:10:10.733526 89.73% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/1000006@46.101.114.158:5064] 46.101.114.158 port 23282 -> 46.101.114.158 port 18270 codec: 8 ms: 20
  3381. 2022-10-11 13:10:10.733526 89.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000006) Running State Change CS_EXCHANGE_MEDIA (Cur 21 Tot 193)
  3382. 2022-10-11 13:10:10.733526 89.73% [DEBUG] switch_core_state_machine.c:650 (sofia/default/1000006) State EXCHANGE_MEDIA
  3383. 2022-10-11 13:10:10.733526 89.73% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  3384. 2022-10-11 13:10:10.733526 89.73% [DEBUG] sofia.c:7499 Channel sofia/default/1000006@46.101.114.158 entering state [ready][200]
  3385. 2022-10-11 13:10:10.733526 89.73% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  3386. 2022-10-11 13:10:10.733526 89.73% [DEBUG] switch_core_media.c:9089 sofia/default/1000006@46.101.114.158:5064 Set 2833 dtmf send payload to 101
  3387. 2022-10-11 13:10:10.733526 89.73% [DEBUG] switch_core_media.c:9096 sofia/default/1000006@46.101.114.158:5064 Set 2833 dtmf receive payload to 101
  3388. 2022-10-11 13:10:10.733526 89.73% [DEBUG] switch_core_media.c:9119 sofia/default/1000006@46.101.114.158:5064 Set rtp dtmf delay to 40
  3389. 2022-10-11 13:10:10.733526 89.73% [NOTICE] sofia.c:8683 Channel [sofia/default/1000006@46.101.114.158:5064] has been answered
  3390. 2022-10-11 13:10:10.733526 89.73% [DEBUG] switch_channel.c:3950 (sofia/default/1000006@46.101.114.158:5064) Callstate Change DOWN -> ACTIVE
  3391. 2022-10-11 13:10:10.753518 89.73% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/1000006@46.101.114.158:5064] Peer UUID: facb01d4-5e2b-4a32-a6fc-b412b180c514
  3392. 2022-10-11 13:10:10.753518 89.73% [INFO] switch_channel.c:3270 sofia/default/1000006@46.101.114.158:5064 Flipping CID from "3613818599" <1000006> to "Outbound Call" <1000006>
  3393. 2022-10-11 13:10:10.753518 89.73% [DEBUG] mod_commands.c:5169 (sofia/default/1000006@46.101.114.158:5064) State Change CS_CONSUME_MEDIA -> CS_EXECUTE
  3394. 2022-10-11 13:10:10.753518 89.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000006@46.101.114.158:5064) Running State Change CS_EXECUTE (Cur 21 Tot 193)
  3395. 2022-10-11 13:10:10.753518 89.73% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1000006@46.101.114.158:5064) State EXECUTE
  3396. 2022-10-11 13:10:10.753518 89.73% [DEBUG] mod_sofia.c:213 sofia/default/1000006@46.101.114.158:5064 SOFIA EXECUTE
  3397. 2022-10-11 13:10:10.753518 89.73% [DEBUG] switch_core_state_machine.c:323 sofia/default/1000006@46.101.114.158:5064 Standard EXECUTE
  3398. EXECUTE [depth=0] sofia/default/1000006@46.101.114.158:5064 playback(/opt/ASTPP/web_interface/astpp/upload/voice_broadcast/file_example_WAV_1MG_.wav)
  3399. 2022-10-11 13:10:10.753518 89.73% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur.
  3400. 2022-10-11 13:10:10.753518 89.73% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  3401. 2022-10-11 13:10:10.793536 89.73% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  3402. 2022-10-11 13:10:10.913529 89.73% [DEBUG] switch_ivr_bridge.c:655 sofia/default/1000006 Bridge execute app sched_hangup(+6000 normal_clearing)
  3403. 2022-10-11 13:10:10.933542 89.73% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  3404. 2022-10-11 13:10:10.933542 89.73% [DEBUG] switch_ivr.c:632 sofia/default/1000006 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  3405. EXECUTE [depth=0] sofia/default/1000006 sched_hangup(+6000 normal_clearing)
  3406. 2022-10-11 13:10:10.933542 89.73% [DEBUG] switch_scheduler.c:263 Added task 52 switch_ivr_schedule_hangup (5bc73af5-1009-4fdb-9a22-3627f679fa7a) to run at 1665499810
  3407. 2022-10-11 13:10:10.933542 89.73% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  3408. 2022-10-11 13:10:11.053523 89.73% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  3409. 2022-10-11 13:10:11.793533 88.07% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  3410. 2022-10-11 13:10:16.913546 84.87% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [9804893591@entdemo.astppbilling.org] from ip 103.240.35.46
  3411. 2022-10-11 13:10:17.073527 84.87% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [8918403149@entdemo.astppbilling.org] from ip 103.240.35.46
  3412. 2022-10-11 13:10:17.073527 84.87% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [9846029962@entdemo.astppbilling.org] from ip 103.240.35.46
  3413. 2022-10-11 13:10:17.553525 84.40% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [9804893591@entdemo.astppbilling.org] from ip 103.240.35.46
  3414. 2022-10-11 13:10:17.613518 84.40% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [8918403149@entdemo.astppbilling.org] from ip 103.240.35.46
  3415. 2022-10-11 13:10:17.773550 84.40% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [9846029962@entdemo.astppbilling.org] from ip 103.240.35.46
  3416. 2022-10-11 13:10:30.013530 77.77% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  3417. 2022-10-11 13:10:30.533532 77.10% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  3418. 2022-10-11 13:10:36.953536 77.63% [DEBUG] switch_ivr_play_say.c:2001 done playing file /opt/ASTPP/web_interface/astpp/upload/voice_broadcast/file_example_WAV_1MG_.wav
  3419. 2022-10-11 13:10:36.953536 77.63% [NOTICE] switch_core_state_machine.c:382 sofia/default/1000000@46.101.114.158:5064 has executed the last dialplan instruction, hanging up.
  3420. 2022-10-11 13:10:36.953536 77.63% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/default/1000000@46.101.114.158:5064 [CS_EXECUTE] [NORMAL_CLEARING]
  3421. 2022-10-11 13:10:36.953536 77.63% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1000000@46.101.114.158:5064) State EXECUTE going to sleep
  3422. 2022-10-11 13:10:36.953536 77.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000000@46.101.114.158:5064) Running State Change CS_HANGUP (Cur 21 Tot 193)
  3423. 2022-10-11 13:10:36.953536 77.63% [DEBUG] switch_core_state_machine.c:844 (sofia/default/1000000@46.101.114.158:5064) Callstate Change ACTIVE -> HANGUP
  3424. 2022-10-11 13:10:36.953536 77.63% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1000000@46.101.114.158:5064) State HANGUP
  3425. 2022-10-11 13:10:36.953536 77.63% [DEBUG] mod_sofia.c:468 Channel sofia/default/1000000@46.101.114.158:5064 hanging up, cause: NORMAL_CLEARING
  3426. 2022-10-11 13:10:36.953536 77.63% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/1000000@46.101.114.158:5064
  3427. 2022-10-11 13:10:36.953536 77.63% [DEBUG] switch_core_state_machine.c:59 sofia/default/1000000@46.101.114.158:5064 Standard HANGUP, cause: NORMAL_CLEARING
  3428. 2022-10-11 13:10:36.953536 77.63% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1000000@46.101.114.158:5064) State HANGUP going to sleep
  3429. 2022-10-11 13:10:36.953536 77.63% [DEBUG] switch_core_state_machine.c:616 (sofia/default/1000000@46.101.114.158:5064) State Change CS_HANGUP -> CS_REPORTING
  3430. 2022-10-11 13:10:36.953536 77.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000000@46.101.114.158:5064) Running State Change CS_REPORTING (Cur 21 Tot 193)
  3431. 2022-10-11 13:10:36.953536 77.63% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1000000@46.101.114.158:5064) State REPORTING
  3432. 2022-10-11 13:10:36.953536 77.63% [INFO] mod_json_cdr.c:271 Process [73a8ad49-abfe-4bdc-a3cc-5e4d36b3322b.cdr.json]
  3433. 2022-10-11 13:10:36.973522 77.63% [NOTICE] sofia.c:1065 Hangup sofia/default/1000000@46.101.114.158 [CS_EXECUTE] [NORMAL_CLEARING]
  3434. 2022-10-11 13:10:36.973522 77.63% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/1000000@46.101.114.158]
  3435. 2022-10-11 13:10:36.973522 77.63% [DEBUG] switch_core_state_machine.c:168 sofia/default/1000000@46.101.114.158:5064 Standard REPORTING, cause: NORMAL_CLEARING
  3436. 2022-10-11 13:10:36.973522 77.63% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1000000@46.101.114.158:5064) State REPORTING going to sleep
  3437. 2022-10-11 13:10:36.973522 77.63% [DEBUG] switch_core_state_machine.c:607 (sofia/default/1000000@46.101.114.158:5064) State Change CS_REPORTING -> CS_DESTROY
  3438. 2022-10-11 13:10:36.973522 77.63% [DEBUG] switch_core_session.c:1753 Session 173 (sofia/default/1000000@46.101.114.158:5064) Locked, Waiting on external entities
  3439. 2022-10-11 13:10:36.973522 77.63% [NOTICE] switch_core_session.c:1771 Session 173 (sofia/default/1000000@46.101.114.158:5064) Ended
  3440. 2022-10-11 13:10:36.973522 77.63% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/1000000@46.101.114.158:5064 [CS_DESTROY]
  3441. 2022-10-11 13:10:36.973522 77.63% [DEBUG] switch_core_state_machine.c:735 (sofia/default/1000000@46.101.114.158:5064) Running State Change CS_DESTROY (Cur 20 Tot 193)
  3442. 2022-10-11 13:10:36.973522 77.63% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1000000@46.101.114.158:5064) State DESTROY
  3443. 2022-10-11 13:10:36.973522 77.63% [DEBUG] mod_sofia.c:379 sofia/default/1000000@46.101.114.158:5064 SOFIA DESTROY
  3444. 2022-10-11 13:10:36.973522 77.63% [DEBUG] switch_core_state_machine.c:175 sofia/default/1000000@46.101.114.158:5064 Standard DESTROY
  3445. 2022-10-11 13:10:36.973522 77.63% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1000000@46.101.114.158:5064) State DESTROY going to sleep
  3446. 2022-10-11 13:10:36.973522 77.63% [DEBUG] switch_ivr_bridge.c:820 sofia/default/1000000@46.101.114.158 ending bridge by request from write function
  3447. 2022-10-11 13:10:36.973522 77.63% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/1000000]
  3448. 2022-10-11 13:10:36.973522 77.63% [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/1000000 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  3449. 2022-10-11 13:10:36.973522 77.63% [DEBUG] switch_core_state_machine.c:650 (sofia/default/1000000) State EXCHANGE_MEDIA going to sleep
  3450. 2022-10-11 13:10:36.973522 77.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000000) Running State Change CS_HANGUP (Cur 20 Tot 193)
  3451. 2022-10-11 13:10:36.973522 77.63% [DEBUG] switch_core_state_machine.c:844 (sofia/default/1000000) Callstate Change ACTIVE -> HANGUP
  3452. 2022-10-11 13:10:36.973522 77.63% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1000000) State HANGUP
  3453. 2022-10-11 13:10:36.973522 77.63% [DEBUG] mod_sofia.c:462 sofia/default/1000000 Overriding SIP cause 480 with 200 from the other leg
  3454. 2022-10-11 13:10:36.973522 77.63% [DEBUG] mod_sofia.c:468 Channel sofia/default/1000000 hanging up, cause: NORMAL_CLEARING
  3455. 2022-10-11 13:10:36.973522 77.63% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/1000000
  3456. 2022-10-11 13:10:36.973522 77.63% [DEBUG] switch_core_state_machine.c:59 sofia/default/1000000 Standard HANGUP, cause: NORMAL_CLEARING
  3457. 2022-10-11 13:10:36.973522 77.63% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1000000) State HANGUP going to sleep
  3458. 2022-10-11 13:10:36.973522 77.63% [DEBUG] switch_core_state_machine.c:616 (sofia/default/1000000) State Change CS_HANGUP -> CS_REPORTING
  3459. 2022-10-11 13:10:36.973522 77.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000000) Running State Change CS_REPORTING (Cur 20 Tot 193)
  3460. 2022-10-11 13:10:36.973522 77.63% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1000000) State REPORTING
  3461. 2022-10-11 13:10:36.973522 77.63% [INFO] mod_json_cdr.c:271 Process [f6fecbc4-1d7a-47b5-bf0e-2b2721f9d4ae.cdr.json]
  3462. 2022-10-11 13:10:36.973522 77.63% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/1000000 skip receive message [UNBRIDGE] (channel is hungup already)
  3463. 2022-10-11 13:10:36.973522 77.63% [DEBUG] switch_ivr_bridge.c:1895 sofia/default/1000000@46.101.114.158 skip receive message [UNBRIDGE] (channel is hungup already)
  3464. 2022-10-11 13:10:36.973522 77.63% [DEBUG] switch_core_session.c:2983 sofia/default/1000000@46.101.114.158 skip receive message [PHONE_EVENT] (channel is hungup already)
  3465. 2022-10-11 13:10:36.973522 77.63% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1000000@46.101.114.158) State EXECUTE going to sleep
  3466. 2022-10-11 13:10:36.973522 77.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000000@46.101.114.158) Running State Change CS_HANGUP (Cur 20 Tot 193)
  3467. 2022-10-11 13:10:36.973522 77.63% [DEBUG] switch_core_state_machine.c:844 (sofia/default/1000000@46.101.114.158) Callstate Change ACTIVE -> HANGUP
  3468. 2022-10-11 13:10:36.973522 77.63% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1000000@46.101.114.158) State HANGUP
  3469. 2022-10-11 13:10:36.973522 77.63% [DEBUG] mod_sofia.c:468 Channel sofia/default/1000000@46.101.114.158 hanging up, cause: NORMAL_CLEARING
  3470. 2022-10-11 13:10:36.973522 77.63% [DEBUG] switch_core_state_machine.c:59 sofia/default/1000000@46.101.114.158 Standard HANGUP, cause: NORMAL_CLEARING
  3471. 2022-10-11 13:10:36.973522 77.63% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1000000@46.101.114.158) State HANGUP going to sleep
  3472. 2022-10-11 13:10:36.973522 77.63% [DEBUG] switch_core_state_machine.c:616 (sofia/default/1000000@46.101.114.158) State Change CS_HANGUP -> CS_REPORTING
  3473. 2022-10-11 13:10:36.973522 77.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000000@46.101.114.158) Running State Change CS_REPORTING (Cur 20 Tot 193)
  3474. 2022-10-11 13:10:36.973522 77.63% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1000000@46.101.114.158) State REPORTING
  3475. 2022-10-11 13:10:36.973522 77.63% [INFO] mod_json_cdr.c:271 Process [4cd83260-94e0-40d2-9ec6-076a00a545be.cdr.json]
  3476. 2022-10-11 13:10:36.993516 77.63% [DEBUG] switch_core_state_machine.c:168 sofia/default/1000000 Standard REPORTING, cause: NORMAL_CLEARING
  3477. 2022-10-11 13:10:36.993516 77.63% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1000000) State REPORTING going to sleep
  3478. 2022-10-11 13:10:36.993516 77.63% [DEBUG] switch_core_state_machine.c:607 (sofia/default/1000000) State Change CS_REPORTING -> CS_DESTROY
  3479. 2022-10-11 13:10:36.993516 77.63% [DEBUG] switch_core_session.c:1753 Session 175 (sofia/default/1000000) Locked, Waiting on external entities
  3480. 2022-10-11 13:10:36.993516 77.63% [NOTICE] switch_core_session.c:1771 Session 175 (sofia/default/1000000) Ended
  3481. 2022-10-11 13:10:36.993516 77.63% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/1000000 [CS_DESTROY]
  3482. 2022-10-11 13:10:36.993516 77.63% [DEBUG] switch_core_state_machine.c:735 (sofia/default/1000000) Running State Change CS_DESTROY (Cur 19 Tot 193)
  3483. 2022-10-11 13:10:36.993516 77.63% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1000000) State DESTROY
  3484. 2022-10-11 13:10:36.993516 77.63% [DEBUG] mod_sofia.c:379 sofia/default/1000000 SOFIA DESTROY
  3485. 2022-10-11 13:10:36.993516 77.63% [DEBUG] switch_core_state_machine.c:175 sofia/default/1000000 Standard DESTROY
  3486. 2022-10-11 13:10:36.993516 77.63% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1000000) State DESTROY going to sleep
  3487. 2022-10-11 13:10:37.013531 77.63% [DEBUG] switch_core_state_machine.c:168 sofia/default/1000000@46.101.114.158 Standard REPORTING, cause: NORMAL_CLEARING
  3488. 2022-10-11 13:10:37.013531 77.63% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1000000@46.101.114.158) State REPORTING going to sleep
  3489. 2022-10-11 13:10:37.013531 77.63% [DEBUG] switch_core_state_machine.c:607 (sofia/default/1000000@46.101.114.158) State Change CS_REPORTING -> CS_DESTROY
  3490. 2022-10-11 13:10:37.013531 77.63% [DEBUG] switch_core_session.c:1753 Session 174 (sofia/default/1000000@46.101.114.158) Locked, Waiting on external entities
  3491. 2022-10-11 13:10:37.013531 77.63% [NOTICE] switch_core_session.c:1771 Session 174 (sofia/default/1000000@46.101.114.158) Ended
  3492. 2022-10-11 13:10:37.013531 77.63% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/1000000@46.101.114.158 [CS_DESTROY]
  3493. 2022-10-11 13:10:37.013531 77.63% [DEBUG] switch_core_state_machine.c:735 (sofia/default/1000000@46.101.114.158) Running State Change CS_DESTROY (Cur 18 Tot 193)
  3494. 2022-10-11 13:10:37.013531 77.63% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1000000@46.101.114.158) State DESTROY
  3495. 2022-10-11 13:10:37.013531 77.63% [DEBUG] mod_sofia.c:379 sofia/default/1000000@46.101.114.158 SOFIA DESTROY
  3496. 2022-10-11 13:10:37.013531 77.63% [DEBUG] switch_core_state_machine.c:175 sofia/default/1000000@46.101.114.158 Standard DESTROY
  3497. 2022-10-11 13:10:37.013531 77.63% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1000000@46.101.114.158) State DESTROY going to sleep
  3498. 2022-10-11 13:10:37.433530 77.47% [DEBUG] switch_scheduler.c:147 Deleting task 46 switch_ivr_schedule_hangup (f6fecbc4-1d7a-47b5-bf0e-2b2721f9d4ae)
  3499. 2022-10-11 13:10:39.173525 78.27% [DEBUG] switch_ivr_play_say.c:2001 done playing file /opt/ASTPP/web_interface/astpp/upload/voice_broadcast/file_example_WAV_1MG_.wav
  3500. 2022-10-11 13:10:39.173525 78.27% [NOTICE] switch_core_state_machine.c:382 sofia/default/1000001@46.101.114.158:5064 has executed the last dialplan instruction, hanging up.
  3501. 2022-10-11 13:10:39.173525 78.27% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/default/1000001@46.101.114.158:5064 [CS_EXECUTE] [NORMAL_CLEARING]
  3502. 2022-10-11 13:10:39.173525 78.27% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1000001@46.101.114.158:5064) State EXECUTE going to sleep
  3503. 2022-10-11 13:10:39.173525 78.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000001@46.101.114.158:5064) Running State Change CS_HANGUP (Cur 18 Tot 193)
  3504. 2022-10-11 13:10:39.173525 78.27% [DEBUG] switch_core_state_machine.c:844 (sofia/default/1000001@46.101.114.158:5064) Callstate Change ACTIVE -> HANGUP
  3505. 2022-10-11 13:10:39.173525 78.27% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1000001@46.101.114.158:5064) State HANGUP
  3506. 2022-10-11 13:10:39.173525 78.27% [DEBUG] mod_sofia.c:468 Channel sofia/default/1000001@46.101.114.158:5064 hanging up, cause: NORMAL_CLEARING
  3507. 2022-10-11 13:10:39.173525 78.27% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/1000001@46.101.114.158:5064
  3508. 2022-10-11 13:10:39.173525 78.27% [DEBUG] switch_core_state_machine.c:59 sofia/default/1000001@46.101.114.158:5064 Standard HANGUP, cause: NORMAL_CLEARING
  3509. 2022-10-11 13:10:39.173525 78.27% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1000001@46.101.114.158:5064) State HANGUP going to sleep
  3510. 2022-10-11 13:10:39.173525 78.27% [DEBUG] switch_core_state_machine.c:616 (sofia/default/1000001@46.101.114.158:5064) State Change CS_HANGUP -> CS_REPORTING
  3511. 2022-10-11 13:10:39.173525 78.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000001@46.101.114.158:5064) Running State Change CS_REPORTING (Cur 18 Tot 193)
  3512. 2022-10-11 13:10:39.173525 78.27% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1000001@46.101.114.158:5064) State REPORTING
  3513. 2022-10-11 13:10:39.173525 78.27% [INFO] mod_json_cdr.c:271 Process [672d99e7-2409-4586-af3a-eb9fa07ff1db.cdr.json]
  3514. 2022-10-11 13:10:39.193531 78.27% [DEBUG] switch_core_state_machine.c:168 sofia/default/1000001@46.101.114.158:5064 Standard REPORTING, cause: NORMAL_CLEARING
  3515. 2022-10-11 13:10:39.193531 78.27% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1000001@46.101.114.158:5064) State REPORTING going to sleep
  3516. 2022-10-11 13:10:39.193531 78.27% [DEBUG] switch_core_state_machine.c:607 (sofia/default/1000001@46.101.114.158:5064) State Change CS_REPORTING -> CS_DESTROY
  3517. 2022-10-11 13:10:39.193531 78.27% [DEBUG] switch_core_session.c:1753 Session 176 (sofia/default/1000001@46.101.114.158:5064) Locked, Waiting on external entities
  3518. 2022-10-11 13:10:39.193531 78.27% [NOTICE] switch_core_session.c:1771 Session 176 (sofia/default/1000001@46.101.114.158:5064) Ended
  3519. 2022-10-11 13:10:39.193531 78.27% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/1000001@46.101.114.158:5064 [CS_DESTROY]
  3520. 2022-10-11 13:10:39.193531 78.27% [DEBUG] switch_core_state_machine.c:735 (sofia/default/1000001@46.101.114.158:5064) Running State Change CS_DESTROY (Cur 17 Tot 193)
  3521. 2022-10-11 13:10:39.193531 78.27% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1000001@46.101.114.158:5064) State DESTROY
  3522. 2022-10-11 13:10:39.193531 78.27% [DEBUG] mod_sofia.c:379 sofia/default/1000001@46.101.114.158:5064 SOFIA DESTROY
  3523. 2022-10-11 13:10:39.193531 78.27% [DEBUG] switch_core_state_machine.c:175 sofia/default/1000001@46.101.114.158:5064 Standard DESTROY
  3524. 2022-10-11 13:10:39.193531 78.27% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1000001@46.101.114.158:5064) State DESTROY going to sleep
  3525. 2022-10-11 13:10:39.193531 78.27% [NOTICE] sofia.c:1065 Hangup sofia/default/1000001@46.101.114.158 [CS_EXECUTE] [NORMAL_CLEARING]
  3526. 2022-10-11 13:10:39.193531 78.27% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/1000001@46.101.114.158]
  3527. 2022-10-11 13:10:39.193531 78.27% [DEBUG] switch_ivr_bridge.c:820 sofia/default/1000001@46.101.114.158 ending bridge by request from write function
  3528. 2022-10-11 13:10:39.193531 78.27% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/1000001]
  3529. 2022-10-11 13:10:39.193531 78.27% [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/1000001 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  3530. 2022-10-11 13:10:39.193531 78.27% [DEBUG] switch_core_state_machine.c:650 (sofia/default/1000001) State EXCHANGE_MEDIA going to sleep
  3531. 2022-10-11 13:10:39.193531 78.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000001) Running State Change CS_HANGUP (Cur 17 Tot 193)
  3532. 2022-10-11 13:10:39.193531 78.27% [DEBUG] switch_core_state_machine.c:844 (sofia/default/1000001) Callstate Change ACTIVE -> HANGUP
  3533. 2022-10-11 13:10:39.193531 78.27% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1000001) State HANGUP
  3534. 2022-10-11 13:10:39.193531 78.27% [DEBUG] mod_sofia.c:462 sofia/default/1000001 Overriding SIP cause 480 with 200 from the other leg
  3535. 2022-10-11 13:10:39.193531 78.27% [DEBUG] mod_sofia.c:468 Channel sofia/default/1000001 hanging up, cause: NORMAL_CLEARING
  3536. 2022-10-11 13:10:39.193531 78.27% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/1000001
  3537. 2022-10-11 13:10:39.193531 78.27% [DEBUG] switch_core_state_machine.c:59 sofia/default/1000001 Standard HANGUP, cause: NORMAL_CLEARING
  3538. 2022-10-11 13:10:39.193531 78.27% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1000001) State HANGUP going to sleep
  3539. 2022-10-11 13:10:39.193531 78.27% [DEBUG] switch_core_state_machine.c:616 (sofia/default/1000001) State Change CS_HANGUP -> CS_REPORTING
  3540. 2022-10-11 13:10:39.193531 78.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000001) Running State Change CS_REPORTING (Cur 17 Tot 193)
  3541. 2022-10-11 13:10:39.193531 78.27% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1000001) State REPORTING
  3542. 2022-10-11 13:10:39.193531 78.27% [INFO] mod_json_cdr.c:271 Process [d0497d9c-6b36-43dd-bed0-a9ec90f110d6.cdr.json]
  3543. 2022-10-11 13:10:39.193531 78.27% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/1000001 skip receive message [UNBRIDGE] (channel is hungup already)
  3544. 2022-10-11 13:10:39.193531 78.27% [DEBUG] switch_ivr_bridge.c:1895 sofia/default/1000001@46.101.114.158 skip receive message [UNBRIDGE] (channel is hungup already)
  3545. 2022-10-11 13:10:39.193531 78.27% [DEBUG] switch_core_session.c:2983 sofia/default/1000001@46.101.114.158 skip receive message [PHONE_EVENT] (channel is hungup already)
  3546. 2022-10-11 13:10:39.193531 78.27% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1000001@46.101.114.158) State EXECUTE going to sleep
  3547. 2022-10-11 13:10:39.193531 78.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000001@46.101.114.158) Running State Change CS_HANGUP (Cur 17 Tot 193)
  3548. 2022-10-11 13:10:39.193531 78.27% [DEBUG] switch_core_state_machine.c:844 (sofia/default/1000001@46.101.114.158) Callstate Change ACTIVE -> HANGUP
  3549. 2022-10-11 13:10:39.193531 78.27% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1000001@46.101.114.158) State HANGUP
  3550. 2022-10-11 13:10:39.193531 78.27% [DEBUG] mod_sofia.c:468 Channel sofia/default/1000001@46.101.114.158 hanging up, cause: NORMAL_CLEARING
  3551. 2022-10-11 13:10:39.193531 78.27% [DEBUG] switch_core_state_machine.c:59 sofia/default/1000001@46.101.114.158 Standard HANGUP, cause: NORMAL_CLEARING
  3552. 2022-10-11 13:10:39.193531 78.27% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1000001@46.101.114.158) State HANGUP going to sleep
  3553. 2022-10-11 13:10:39.193531 78.27% [DEBUG] switch_core_state_machine.c:616 (sofia/default/1000001@46.101.114.158) State Change CS_HANGUP -> CS_REPORTING
  3554. 2022-10-11 13:10:39.193531 78.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000001@46.101.114.158) Running State Change CS_REPORTING (Cur 17 Tot 193)
  3555. 2022-10-11 13:10:39.193531 78.27% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1000001@46.101.114.158) State REPORTING
  3556. 2022-10-11 13:10:39.193531 78.27% [INFO] mod_json_cdr.c:271 Process [dedd61c4-b9d9-487b-887f-7f44e24c61a0.cdr.json]
  3557. 2022-10-11 13:10:39.213521 78.27% [DEBUG] switch_core_state_machine.c:168 sofia/default/1000001 Standard REPORTING, cause: NORMAL_CLEARING
  3558. 2022-10-11 13:10:39.213521 78.27% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1000001) State REPORTING going to sleep
  3559. 2022-10-11 13:10:39.213521 78.27% [DEBUG] switch_core_state_machine.c:607 (sofia/default/1000001) State Change CS_REPORTING -> CS_DESTROY
  3560. 2022-10-11 13:10:39.213521 78.27% [DEBUG] switch_core_session.c:1753 Session 178 (sofia/default/1000001) Locked, Waiting on external entities
  3561. 2022-10-11 13:10:39.213521 78.27% [NOTICE] switch_core_session.c:1771 Session 178 (sofia/default/1000001) Ended
  3562. 2022-10-11 13:10:39.213521 78.27% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/1000001 [CS_DESTROY]
  3563. 2022-10-11 13:10:39.213521 78.27% [DEBUG] switch_core_state_machine.c:735 (sofia/default/1000001) Running State Change CS_DESTROY (Cur 16 Tot 193)
  3564. 2022-10-11 13:10:39.213521 78.27% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1000001) State DESTROY
  3565. 2022-10-11 13:10:39.213521 78.27% [DEBUG] mod_sofia.c:379 sofia/default/1000001 SOFIA DESTROY
  3566. 2022-10-11 13:10:39.213521 78.27% [DEBUG] switch_core_state_machine.c:175 sofia/default/1000001 Standard DESTROY
  3567. 2022-10-11 13:10:39.213521 78.27% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1000001) State DESTROY going to sleep
  3568. 2022-10-11 13:10:39.233527 78.27% [DEBUG] switch_core_state_machine.c:168 sofia/default/1000001@46.101.114.158 Standard REPORTING, cause: NORMAL_CLEARING
  3569. 2022-10-11 13:10:39.233527 78.27% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1000001@46.101.114.158) State REPORTING going to sleep
  3570. 2022-10-11 13:10:39.233527 78.27% [DEBUG] switch_core_state_machine.c:607 (sofia/default/1000001@46.101.114.158) State Change CS_REPORTING -> CS_DESTROY
  3571. 2022-10-11 13:10:39.233527 78.27% [DEBUG] switch_core_session.c:1753 Session 177 (sofia/default/1000001@46.101.114.158) Locked, Waiting on external entities
  3572. 2022-10-11 13:10:39.233527 78.27% [NOTICE] switch_core_session.c:1771 Session 177 (sofia/default/1000001@46.101.114.158) Ended
  3573. 2022-10-11 13:10:39.233527 78.27% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/1000001@46.101.114.158 [CS_DESTROY]
  3574. 2022-10-11 13:10:39.233527 78.27% [DEBUG] switch_core_state_machine.c:735 (sofia/default/1000001@46.101.114.158) Running State Change CS_DESTROY (Cur 15 Tot 193)
  3575. 2022-10-11 13:10:39.233527 78.27% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1000001@46.101.114.158) State DESTROY
  3576. 2022-10-11 13:10:39.233527 78.27% [DEBUG] mod_sofia.c:379 sofia/default/1000001@46.101.114.158 SOFIA DESTROY
  3577. 2022-10-11 13:10:39.233527 78.27% [DEBUG] switch_core_state_machine.c:175 sofia/default/1000001@46.101.114.158 Standard DESTROY
  3578. 2022-10-11 13:10:39.233527 78.27% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1000001@46.101.114.158) State DESTROY going to sleep
  3579. 2022-10-11 13:10:39.393536 78.37% [DEBUG] switch_ivr_play_say.c:2001 done playing file /opt/ASTPP/web_interface/astpp/upload/voice_broadcast/file_example_WAV_1MG_.wav
  3580. 2022-10-11 13:10:39.393536 78.37% [NOTICE] switch_core_state_machine.c:382 sofia/default/1000002@46.101.114.158:5064 has executed the last dialplan instruction, hanging up.
  3581. 2022-10-11 13:10:39.393536 78.37% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/default/1000002@46.101.114.158:5064 [CS_EXECUTE] [NORMAL_CLEARING]
  3582. 2022-10-11 13:10:39.393536 78.37% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1000002@46.101.114.158:5064) State EXECUTE going to sleep
  3583. 2022-10-11 13:10:39.393536 78.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000002@46.101.114.158:5064) Running State Change CS_HANGUP (Cur 15 Tot 193)
  3584. 2022-10-11 13:10:39.393536 78.37% [DEBUG] switch_core_state_machine.c:844 (sofia/default/1000002@46.101.114.158:5064) Callstate Change ACTIVE -> HANGUP
  3585. 2022-10-11 13:10:39.393536 78.37% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1000002@46.101.114.158:5064) State HANGUP
  3586. 2022-10-11 13:10:39.393536 78.37% [DEBUG] mod_sofia.c:468 Channel sofia/default/1000002@46.101.114.158:5064 hanging up, cause: NORMAL_CLEARING
  3587. 2022-10-11 13:10:39.393536 78.37% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/1000002@46.101.114.158:5064
  3588. 2022-10-11 13:10:39.393536 78.37% [DEBUG] switch_core_state_machine.c:59 sofia/default/1000002@46.101.114.158:5064 Standard HANGUP, cause: NORMAL_CLEARING
  3589. 2022-10-11 13:10:39.393536 78.37% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1000002@46.101.114.158:5064) State HANGUP going to sleep
  3590. 2022-10-11 13:10:39.393536 78.37% [DEBUG] switch_core_state_machine.c:616 (sofia/default/1000002@46.101.114.158:5064) State Change CS_HANGUP -> CS_REPORTING
  3591. 2022-10-11 13:10:39.393536 78.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000002@46.101.114.158:5064) Running State Change CS_REPORTING (Cur 15 Tot 193)
  3592. 2022-10-11 13:10:39.393536 78.37% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1000002@46.101.114.158:5064) State REPORTING
  3593. 2022-10-11 13:10:39.393536 78.37% [INFO] mod_json_cdr.c:271 Process [655cdde1-3683-430e-98f5-2f530db1b3cf.cdr.json]
  3594. 2022-10-11 13:10:39.393536 78.37% [DEBUG] switch_core_state_machine.c:168 sofia/default/1000002@46.101.114.158:5064 Standard REPORTING, cause: NORMAL_CLEARING
  3595. 2022-10-11 13:10:39.393536 78.37% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1000002@46.101.114.158:5064) State REPORTING going to sleep
  3596. 2022-10-11 13:10:39.393536 78.37% [DEBUG] switch_core_state_machine.c:607 (sofia/default/1000002@46.101.114.158:5064) State Change CS_REPORTING -> CS_DESTROY
  3597. 2022-10-11 13:10:39.393536 78.37% [DEBUG] switch_core_session.c:1753 Session 179 (sofia/default/1000002@46.101.114.158:5064) Locked, Waiting on external entities
  3598. 2022-10-11 13:10:39.393536 78.37% [NOTICE] switch_core_session.c:1771 Session 179 (sofia/default/1000002@46.101.114.158:5064) Ended
  3599. 2022-10-11 13:10:39.393536 78.37% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/1000002@46.101.114.158:5064 [CS_DESTROY]
  3600. 2022-10-11 13:10:39.393536 78.37% [DEBUG] switch_core_state_machine.c:735 (sofia/default/1000002@46.101.114.158:5064) Running State Change CS_DESTROY (Cur 14 Tot 193)
  3601. 2022-10-11 13:10:39.393536 78.37% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1000002@46.101.114.158:5064) State DESTROY
  3602. 2022-10-11 13:10:39.393536 78.37% [DEBUG] mod_sofia.c:379 sofia/default/1000002@46.101.114.158:5064 SOFIA DESTROY
  3603. 2022-10-11 13:10:39.393536 78.37% [DEBUG] switch_core_state_machine.c:175 sofia/default/1000002@46.101.114.158:5064 Standard DESTROY
  3604. 2022-10-11 13:10:39.393536 78.37% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1000002@46.101.114.158:5064) State DESTROY going to sleep
  3605. 2022-10-11 13:10:39.393536 78.37% [NOTICE] sofia.c:1065 Hangup sofia/default/1000002@46.101.114.158 [CS_EXECUTE] [NORMAL_CLEARING]
  3606. 2022-10-11 13:10:39.413520 78.37% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/1000002@46.101.114.158]
  3607. 2022-10-11 13:10:39.413520 78.37% [DEBUG] switch_ivr_bridge.c:820 sofia/default/1000002@46.101.114.158 ending bridge by request from write function
  3608. 2022-10-11 13:10:39.413520 78.37% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/1000002]
  3609. 2022-10-11 13:10:39.413520 78.37% [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/1000002 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  3610. 2022-10-11 13:10:39.413520 78.37% [DEBUG] switch_core_state_machine.c:650 (sofia/default/1000002) State EXCHANGE_MEDIA going to sleep
  3611. 2022-10-11 13:10:39.413520 78.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000002) Running State Change CS_HANGUP (Cur 14 Tot 193)
  3612. 2022-10-11 13:10:39.413520 78.37% [DEBUG] switch_core_state_machine.c:844 (sofia/default/1000002) Callstate Change ACTIVE -> HANGUP
  3613. 2022-10-11 13:10:39.413520 78.37% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1000002) State HANGUP
  3614. 2022-10-11 13:10:39.413520 78.37% [DEBUG] mod_sofia.c:462 sofia/default/1000002 Overriding SIP cause 480 with 200 from the other leg
  3615. 2022-10-11 13:10:39.413520 78.37% [DEBUG] mod_sofia.c:468 Channel sofia/default/1000002 hanging up, cause: NORMAL_CLEARING
  3616. 2022-10-11 13:10:39.413520 78.37% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/1000002
  3617. 2022-10-11 13:10:39.413520 78.37% [DEBUG] switch_core_state_machine.c:59 sofia/default/1000002 Standard HANGUP, cause: NORMAL_CLEARING
  3618. 2022-10-11 13:10:39.413520 78.37% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1000002) State HANGUP going to sleep
  3619. 2022-10-11 13:10:39.413520 78.37% [DEBUG] switch_core_state_machine.c:616 (sofia/default/1000002) State Change CS_HANGUP -> CS_REPORTING
  3620. 2022-10-11 13:10:39.413520 78.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000002) Running State Change CS_REPORTING (Cur 14 Tot 193)
  3621. 2022-10-11 13:10:39.413520 78.37% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1000002) State REPORTING
  3622. 2022-10-11 13:10:39.413520 78.37% [INFO] mod_json_cdr.c:271 Process [58b0ec63-da4c-4352-8fc3-fece1b4025b4.cdr.json]
  3623. 2022-10-11 13:10:39.413520 78.37% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/1000002 skip receive message [UNBRIDGE] (channel is hungup already)
  3624. 2022-10-11 13:10:39.413520 78.37% [DEBUG] switch_ivr_bridge.c:1895 sofia/default/1000002@46.101.114.158 skip receive message [UNBRIDGE] (channel is hungup already)
  3625. 2022-10-11 13:10:39.413520 78.37% [DEBUG] switch_core_session.c:2983 sofia/default/1000002@46.101.114.158 skip receive message [PHONE_EVENT] (channel is hungup already)
  3626. 2022-10-11 13:10:39.413520 78.37% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1000002@46.101.114.158) State EXECUTE going to sleep
  3627. 2022-10-11 13:10:39.413520 78.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000002@46.101.114.158) Running State Change CS_HANGUP (Cur 14 Tot 193)
  3628. 2022-10-11 13:10:39.413520 78.37% [DEBUG] switch_core_state_machine.c:844 (sofia/default/1000002@46.101.114.158) Callstate Change ACTIVE -> HANGUP
  3629. 2022-10-11 13:10:39.413520 78.37% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1000002@46.101.114.158) State HANGUP
  3630. 2022-10-11 13:10:39.413520 78.37% [DEBUG] mod_sofia.c:468 Channel sofia/default/1000002@46.101.114.158 hanging up, cause: NORMAL_CLEARING
  3631. 2022-10-11 13:10:39.413520 78.37% [DEBUG] switch_core_state_machine.c:59 sofia/default/1000002@46.101.114.158 Standard HANGUP, cause: NORMAL_CLEARING
  3632. 2022-10-11 13:10:39.413520 78.37% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1000002@46.101.114.158) State HANGUP going to sleep
  3633. 2022-10-11 13:10:39.413520 78.37% [DEBUG] switch_core_state_machine.c:616 (sofia/default/1000002@46.101.114.158) State Change CS_HANGUP -> CS_REPORTING
  3634. 2022-10-11 13:10:39.413520 78.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000002@46.101.114.158) Running State Change CS_REPORTING (Cur 14 Tot 193)
  3635. 2022-10-11 13:10:39.413520 78.37% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1000002@46.101.114.158) State REPORTING
  3636. 2022-10-11 13:10:39.413520 78.37% [INFO] mod_json_cdr.c:271 Process [4f406fea-a553-463b-8e97-0772c02903d6.cdr.json]
  3637. 2022-10-11 13:10:39.413520 78.37% [DEBUG] switch_core_state_machine.c:168 sofia/default/1000002 Standard REPORTING, cause: NORMAL_CLEARING
  3638. 2022-10-11 13:10:39.413520 78.37% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1000002) State REPORTING going to sleep
  3639. 2022-10-11 13:10:39.413520 78.37% [DEBUG] switch_core_state_machine.c:607 (sofia/default/1000002) State Change CS_REPORTING -> CS_DESTROY
  3640. 2022-10-11 13:10:39.413520 78.37% [DEBUG] switch_core_session.c:1753 Session 181 (sofia/default/1000002) Locked, Waiting on external entities
  3641. 2022-10-11 13:10:39.413520 78.37% [NOTICE] switch_core_session.c:1771 Session 181 (sofia/default/1000002) Ended
  3642. 2022-10-11 13:10:39.413520 78.37% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/1000002 [CS_DESTROY]
  3643. 2022-10-11 13:10:39.413520 78.37% [DEBUG] switch_core_state_machine.c:735 (sofia/default/1000002) Running State Change CS_DESTROY (Cur 13 Tot 193)
  3644. 2022-10-11 13:10:39.413520 78.37% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1000002) State DESTROY
  3645. 2022-10-11 13:10:39.413520 78.37% [DEBUG] mod_sofia.c:379 sofia/default/1000002 SOFIA DESTROY
  3646. 2022-10-11 13:10:39.413520 78.37% [DEBUG] switch_core_state_machine.c:175 sofia/default/1000002 Standard DESTROY
  3647. 2022-10-11 13:10:39.413520 78.37% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1000002) State DESTROY going to sleep
  3648. 2022-10-11 13:10:39.433524 78.37% [DEBUG] switch_core_state_machine.c:168 sofia/default/1000002@46.101.114.158 Standard REPORTING, cause: NORMAL_CLEARING
  3649. 2022-10-11 13:10:39.433524 78.37% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1000002@46.101.114.158) State REPORTING going to sleep
  3650. 2022-10-11 13:10:39.433524 78.37% [DEBUG] switch_core_state_machine.c:607 (sofia/default/1000002@46.101.114.158) State Change CS_REPORTING -> CS_DESTROY
  3651. 2022-10-11 13:10:39.433524 78.37% [DEBUG] switch_core_session.c:1753 Session 180 (sofia/default/1000002@46.101.114.158) Locked, Waiting on external entities
  3652. 2022-10-11 13:10:39.433524 78.37% [NOTICE] switch_core_session.c:1771 Session 180 (sofia/default/1000002@46.101.114.158) Ended
  3653. 2022-10-11 13:10:39.433524 78.37% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/1000002@46.101.114.158 [CS_DESTROY]
  3654. 2022-10-11 13:10:39.433524 78.37% [DEBUG] switch_core_state_machine.c:735 (sofia/default/1000002@46.101.114.158) Running State Change CS_DESTROY (Cur 12 Tot 193)
  3655. 2022-10-11 13:10:39.433524 78.37% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1000002@46.101.114.158) State DESTROY
  3656. 2022-10-11 13:10:39.433524 78.37% [DEBUG] mod_sofia.c:379 sofia/default/1000002@46.101.114.158 SOFIA DESTROY
  3657. 2022-10-11 13:10:39.433524 78.37% [DEBUG] switch_core_state_machine.c:175 sofia/default/1000002@46.101.114.158 Standard DESTROY
  3658. 2022-10-11 13:10:39.433524 78.37% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1000002@46.101.114.158) State DESTROY going to sleep
  3659. 2022-10-11 13:10:39.433524 78.37% [DEBUG] switch_scheduler.c:147 Deleting task 47 switch_ivr_schedule_hangup (d0497d9c-6b36-43dd-bed0-a9ec90f110d6)
  3660. 2022-10-11 13:10:39.433524 78.37% [DEBUG] switch_scheduler.c:147 Deleting task 48 switch_ivr_schedule_hangup (58b0ec63-da4c-4352-8fc3-fece1b4025b4)
  3661. 2022-10-11 13:10:41.613520 80.43% [DEBUG] switch_ivr_play_say.c:2001 done playing file /opt/ASTPP/web_interface/astpp/upload/voice_broadcast/file_example_WAV_1MG_.wav
  3662. 2022-10-11 13:10:41.613520 80.43% [NOTICE] switch_core_state_machine.c:382 sofia/default/1000003@46.101.114.158:5064 has executed the last dialplan instruction, hanging up.
  3663. 2022-10-11 13:10:41.613520 80.43% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/default/1000003@46.101.114.158:5064 [CS_EXECUTE] [NORMAL_CLEARING]
  3664. 2022-10-11 13:10:41.613520 80.43% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1000003@46.101.114.158:5064) State EXECUTE going to sleep
  3665. 2022-10-11 13:10:41.613520 80.43% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000003@46.101.114.158:5064) Running State Change CS_HANGUP (Cur 12 Tot 193)
  3666. 2022-10-11 13:10:41.613520 80.43% [DEBUG] switch_core_state_machine.c:844 (sofia/default/1000003@46.101.114.158:5064) Callstate Change ACTIVE -> HANGUP
  3667. 2022-10-11 13:10:41.613520 80.43% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1000003@46.101.114.158:5064) State HANGUP
  3668. 2022-10-11 13:10:41.613520 80.43% [DEBUG] mod_sofia.c:468 Channel sofia/default/1000003@46.101.114.158:5064 hanging up, cause: NORMAL_CLEARING
  3669. 2022-10-11 13:10:41.613520 80.43% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/1000003@46.101.114.158:5064
  3670. 2022-10-11 13:10:41.613520 80.43% [DEBUG] switch_core_state_machine.c:59 sofia/default/1000003@46.101.114.158:5064 Standard HANGUP, cause: NORMAL_CLEARING
  3671. 2022-10-11 13:10:41.613520 80.43% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1000003@46.101.114.158:5064) State HANGUP going to sleep
  3672. 2022-10-11 13:10:41.613520 80.43% [DEBUG] switch_core_state_machine.c:616 (sofia/default/1000003@46.101.114.158:5064) State Change CS_HANGUP -> CS_REPORTING
  3673. 2022-10-11 13:10:41.613520 80.43% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000003@46.101.114.158:5064) Running State Change CS_REPORTING (Cur 12 Tot 193)
  3674. 2022-10-11 13:10:41.613520 80.43% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1000003@46.101.114.158:5064) State REPORTING
  3675. 2022-10-11 13:10:41.613520 80.43% [INFO] mod_json_cdr.c:271 Process [a37b4428-3c52-42be-964f-ce1ddbbeb848.cdr.json]
  3676. 2022-10-11 13:10:41.613520 80.43% [DEBUG] switch_core_state_machine.c:168 sofia/default/1000003@46.101.114.158:5064 Standard REPORTING, cause: NORMAL_CLEARING
  3677. 2022-10-11 13:10:41.613520 80.43% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1000003@46.101.114.158:5064) State REPORTING going to sleep
  3678. 2022-10-11 13:10:41.613520 80.43% [DEBUG] switch_core_state_machine.c:607 (sofia/default/1000003@46.101.114.158:5064) State Change CS_REPORTING -> CS_DESTROY
  3679. 2022-10-11 13:10:41.613520 80.43% [DEBUG] switch_core_session.c:1753 Session 182 (sofia/default/1000003@46.101.114.158:5064) Locked, Waiting on external entities
  3680. 2022-10-11 13:10:41.613520 80.43% [NOTICE] switch_core_session.c:1771 Session 182 (sofia/default/1000003@46.101.114.158:5064) Ended
  3681. 2022-10-11 13:10:41.613520 80.43% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/1000003@46.101.114.158:5064 [CS_DESTROY]
  3682. 2022-10-11 13:10:41.613520 80.43% [DEBUG] switch_core_state_machine.c:735 (sofia/default/1000003@46.101.114.158:5064) Running State Change CS_DESTROY (Cur 11 Tot 193)
  3683. 2022-10-11 13:10:41.613520 80.43% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1000003@46.101.114.158:5064) State DESTROY
  3684. 2022-10-11 13:10:41.613520 80.43% [DEBUG] mod_sofia.c:379 sofia/default/1000003@46.101.114.158:5064 SOFIA DESTROY
  3685. 2022-10-11 13:10:41.613520 80.43% [DEBUG] switch_core_state_machine.c:175 sofia/default/1000003@46.101.114.158:5064 Standard DESTROY
  3686. 2022-10-11 13:10:41.613520 80.43% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1000003@46.101.114.158:5064) State DESTROY going to sleep
  3687. 2022-10-11 13:10:41.633545 80.43% [NOTICE] sofia.c:1065 Hangup sofia/default/1000003@46.101.114.158 [CS_EXECUTE] [NORMAL_CLEARING]
  3688. 2022-10-11 13:10:41.633545 80.43% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/1000003@46.101.114.158]
  3689. 2022-10-11 13:10:41.633545 80.43% [DEBUG] switch_ivr_bridge.c:820 sofia/default/1000003@46.101.114.158 ending bridge by request from write function
  3690. 2022-10-11 13:10:41.633545 80.43% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/1000003]
  3691. 2022-10-11 13:10:41.633545 80.43% [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/1000003 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  3692. 2022-10-11 13:10:41.633545 80.43% [DEBUG] switch_core_state_machine.c:650 (sofia/default/1000003) State EXCHANGE_MEDIA going to sleep
  3693. 2022-10-11 13:10:41.633545 80.43% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000003) Running State Change CS_HANGUP (Cur 11 Tot 193)
  3694. 2022-10-11 13:10:41.633545 80.43% [DEBUG] switch_core_state_machine.c:844 (sofia/default/1000003) Callstate Change ACTIVE -> HANGUP
  3695. 2022-10-11 13:10:41.633545 80.43% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1000003) State HANGUP
  3696. 2022-10-11 13:10:41.633545 80.43% [DEBUG] mod_sofia.c:462 sofia/default/1000003 Overriding SIP cause 480 with 200 from the other leg
  3697. 2022-10-11 13:10:41.633545 80.43% [DEBUG] mod_sofia.c:468 Channel sofia/default/1000003 hanging up, cause: NORMAL_CLEARING
  3698. 2022-10-11 13:10:41.633545 80.43% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/1000003
  3699. 2022-10-11 13:10:41.633545 80.43% [DEBUG] switch_core_state_machine.c:59 sofia/default/1000003 Standard HANGUP, cause: NORMAL_CLEARING
  3700. 2022-10-11 13:10:41.633545 80.43% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1000003) State HANGUP going to sleep
  3701. 2022-10-11 13:10:41.633545 80.43% [DEBUG] switch_core_state_machine.c:616 (sofia/default/1000003) State Change CS_HANGUP -> CS_REPORTING
  3702. 2022-10-11 13:10:41.633545 80.43% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000003) Running State Change CS_REPORTING (Cur 11 Tot 193)
  3703. 2022-10-11 13:10:41.633545 80.43% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1000003) State REPORTING
  3704. 2022-10-11 13:10:41.633545 80.43% [INFO] mod_json_cdr.c:271 Process [fa297718-45f8-4841-88c9-30a32c507d15.cdr.json]
  3705. 2022-10-11 13:10:41.633545 80.43% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/1000003 skip receive message [UNBRIDGE] (channel is hungup already)
  3706. 2022-10-11 13:10:41.633545 80.43% [DEBUG] switch_ivr_bridge.c:1895 sofia/default/1000003@46.101.114.158 skip receive message [UNBRIDGE] (channel is hungup already)
  3707. 2022-10-11 13:10:41.633545 80.43% [DEBUG] switch_core_session.c:2983 sofia/default/1000003@46.101.114.158 skip receive message [PHONE_EVENT] (channel is hungup already)
  3708. 2022-10-11 13:10:41.633545 80.43% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1000003@46.101.114.158) State EXECUTE going to sleep
  3709. 2022-10-11 13:10:41.633545 80.43% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000003@46.101.114.158) Running State Change CS_HANGUP (Cur 11 Tot 193)
  3710. 2022-10-11 13:10:41.633545 80.43% [DEBUG] switch_core_state_machine.c:844 (sofia/default/1000003@46.101.114.158) Callstate Change ACTIVE -> HANGUP
  3711. 2022-10-11 13:10:41.633545 80.43% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1000003@46.101.114.158) State HANGUP
  3712. 2022-10-11 13:10:41.633545 80.43% [DEBUG] mod_sofia.c:468 Channel sofia/default/1000003@46.101.114.158 hanging up, cause: NORMAL_CLEARING
  3713. 2022-10-11 13:10:41.633545 80.43% [DEBUG] switch_core_state_machine.c:59 sofia/default/1000003@46.101.114.158 Standard HANGUP, cause: NORMAL_CLEARING
  3714. 2022-10-11 13:10:41.633545 80.43% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1000003@46.101.114.158) State HANGUP going to sleep
  3715. 2022-10-11 13:10:41.633545 80.43% [DEBUG] switch_core_state_machine.c:616 (sofia/default/1000003@46.101.114.158) State Change CS_HANGUP -> CS_REPORTING
  3716. 2022-10-11 13:10:41.633545 80.43% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000003@46.101.114.158) Running State Change CS_REPORTING (Cur 11 Tot 193)
  3717. 2022-10-11 13:10:41.633545 80.43% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1000003@46.101.114.158) State REPORTING
  3718. 2022-10-11 13:10:41.633545 80.43% [INFO] mod_json_cdr.c:271 Process [6498dde4-3a32-4c3f-a705-3acc21306aa0.cdr.json]
  3719. 2022-10-11 13:10:41.633545 80.43% [DEBUG] switch_core_state_machine.c:168 sofia/default/1000003 Standard REPORTING, cause: NORMAL_CLEARING
  3720. 2022-10-11 13:10:41.633545 80.43% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1000003) State REPORTING going to sleep
  3721. 2022-10-11 13:10:41.633545 80.43% [DEBUG] switch_core_state_machine.c:607 (sofia/default/1000003) State Change CS_REPORTING -> CS_DESTROY
  3722. 2022-10-11 13:10:41.633545 80.43% [DEBUG] switch_core_session.c:1753 Session 184 (sofia/default/1000003) Locked, Waiting on external entities
  3723. 2022-10-11 13:10:41.633545 80.43% [NOTICE] switch_core_session.c:1771 Session 184 (sofia/default/1000003) Ended
  3724. 2022-10-11 13:10:41.633545 80.43% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/1000003 [CS_DESTROY]
  3725. 2022-10-11 13:10:41.633545 80.43% [DEBUG] switch_core_state_machine.c:735 (sofia/default/1000003) Running State Change CS_DESTROY (Cur 10 Tot 193)
  3726. 2022-10-11 13:10:41.633545 80.43% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1000003) State DESTROY
  3727. 2022-10-11 13:10:41.633545 80.43% [DEBUG] mod_sofia.c:379 sofia/default/1000003 SOFIA DESTROY
  3728. 2022-10-11 13:10:41.633545 80.43% [DEBUG] switch_core_state_machine.c:175 sofia/default/1000003 Standard DESTROY
  3729. 2022-10-11 13:10:41.633545 80.43% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1000003) State DESTROY going to sleep
  3730. 2022-10-11 13:10:41.673521 80.43% [DEBUG] switch_core_state_machine.c:168 sofia/default/1000003@46.101.114.158 Standard REPORTING, cause: NORMAL_CLEARING
  3731. 2022-10-11 13:10:41.673521 80.43% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1000003@46.101.114.158) State REPORTING going to sleep
  3732. 2022-10-11 13:10:41.673521 80.43% [DEBUG] switch_core_state_machine.c:607 (sofia/default/1000003@46.101.114.158) State Change CS_REPORTING -> CS_DESTROY
  3733. 2022-10-11 13:10:41.673521 80.43% [DEBUG] switch_core_session.c:1753 Session 183 (sofia/default/1000003@46.101.114.158) Locked, Waiting on external entities
  3734. 2022-10-11 13:10:41.673521 80.43% [NOTICE] switch_core_session.c:1771 Session 183 (sofia/default/1000003@46.101.114.158) Ended
  3735. 2022-10-11 13:10:41.673521 80.43% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/1000003@46.101.114.158 [CS_DESTROY]
  3736. 2022-10-11 13:10:41.673521 80.43% [DEBUG] switch_core_state_machine.c:735 (sofia/default/1000003@46.101.114.158) Running State Change CS_DESTROY (Cur 9 Tot 193)
  3737. 2022-10-11 13:10:41.673521 80.43% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1000003@46.101.114.158) State DESTROY
  3738. 2022-10-11 13:10:41.673521 80.43% [DEBUG] mod_sofia.c:379 sofia/default/1000003@46.101.114.158 SOFIA DESTROY
  3739. 2022-10-11 13:10:41.673521 80.43% [DEBUG] switch_core_state_machine.c:175 sofia/default/1000003@46.101.114.158 Standard DESTROY
  3740. 2022-10-11 13:10:41.673521 80.43% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1000003@46.101.114.158) State DESTROY going to sleep
  3741. 2022-10-11 13:10:41.833534 80.43% [DEBUG] switch_ivr_play_say.c:2001 done playing file /opt/ASTPP/web_interface/astpp/upload/voice_broadcast/file_example_WAV_1MG_.wav
  3742. 2022-10-11 13:10:41.833534 80.43% [NOTICE] switch_core_state_machine.c:382 sofia/default/1000004@46.101.114.158:5064 has executed the last dialplan instruction, hanging up.
  3743. 2022-10-11 13:10:41.833534 80.43% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/default/1000004@46.101.114.158:5064 [CS_EXECUTE] [NORMAL_CLEARING]
  3744. 2022-10-11 13:10:41.833534 80.43% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1000004@46.101.114.158:5064) State EXECUTE going to sleep
  3745. 2022-10-11 13:10:41.833534 80.43% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000004@46.101.114.158:5064) Running State Change CS_HANGUP (Cur 9 Tot 193)
  3746. 2022-10-11 13:10:41.833534 80.43% [DEBUG] switch_core_state_machine.c:844 (sofia/default/1000004@46.101.114.158:5064) Callstate Change ACTIVE -> HANGUP
  3747. 2022-10-11 13:10:41.833534 80.43% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1000004@46.101.114.158:5064) State HANGUP
  3748. 2022-10-11 13:10:41.833534 80.43% [DEBUG] mod_sofia.c:468 Channel sofia/default/1000004@46.101.114.158:5064 hanging up, cause: NORMAL_CLEARING
  3749. 2022-10-11 13:10:41.833534 80.43% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/1000004@46.101.114.158:5064
  3750. 2022-10-11 13:10:41.833534 80.43% [DEBUG] switch_core_state_machine.c:59 sofia/default/1000004@46.101.114.158:5064 Standard HANGUP, cause: NORMAL_CLEARING
  3751. 2022-10-11 13:10:41.833534 80.43% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1000004@46.101.114.158:5064) State HANGUP going to sleep
  3752. 2022-10-11 13:10:41.833534 80.43% [DEBUG] switch_core_state_machine.c:616 (sofia/default/1000004@46.101.114.158:5064) State Change CS_HANGUP -> CS_REPORTING
  3753. 2022-10-11 13:10:41.833534 80.43% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000004@46.101.114.158:5064) Running State Change CS_REPORTING (Cur 9 Tot 193)
  3754. 2022-10-11 13:10:41.833534 80.43% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1000004@46.101.114.158:5064) State REPORTING
  3755. 2022-10-11 13:10:41.833534 80.43% [INFO] mod_json_cdr.c:271 Process [36385dd4-d1df-4087-a79d-2920cd4a31c4.cdr.json]
  3756. 2022-10-11 13:10:41.833534 80.43% [DEBUG] switch_core_state_machine.c:168 sofia/default/1000004@46.101.114.158:5064 Standard REPORTING, cause: NORMAL_CLEARING
  3757. 2022-10-11 13:10:41.833534 80.43% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1000004@46.101.114.158:5064) State REPORTING going to sleep
  3758. 2022-10-11 13:10:41.833534 80.43% [DEBUG] switch_core_state_machine.c:607 (sofia/default/1000004@46.101.114.158:5064) State Change CS_REPORTING -> CS_DESTROY
  3759. 2022-10-11 13:10:41.833534 80.43% [DEBUG] switch_core_session.c:1753 Session 185 (sofia/default/1000004@46.101.114.158:5064) Locked, Waiting on external entities
  3760. 2022-10-11 13:10:41.833534 80.43% [NOTICE] switch_core_session.c:1771 Session 185 (sofia/default/1000004@46.101.114.158:5064) Ended
  3761. 2022-10-11 13:10:41.833534 80.43% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/1000004@46.101.114.158:5064 [CS_DESTROY]
  3762. 2022-10-11 13:10:41.833534 80.43% [DEBUG] switch_core_state_machine.c:735 (sofia/default/1000004@46.101.114.158:5064) Running State Change CS_DESTROY (Cur 8 Tot 193)
  3763. 2022-10-11 13:10:41.833534 80.43% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1000004@46.101.114.158:5064) State DESTROY
  3764. 2022-10-11 13:10:41.833534 80.43% [DEBUG] mod_sofia.c:379 sofia/default/1000004@46.101.114.158:5064 SOFIA DESTROY
  3765. 2022-10-11 13:10:41.833534 80.43% [DEBUG] switch_core_state_machine.c:175 sofia/default/1000004@46.101.114.158:5064 Standard DESTROY
  3766. 2022-10-11 13:10:41.833534 80.43% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1000004@46.101.114.158:5064) State DESTROY going to sleep
  3767. 2022-10-11 13:10:41.853518 80.43% [NOTICE] sofia.c:1065 Hangup sofia/default/1000004@46.101.114.158 [CS_EXECUTE] [NORMAL_CLEARING]
  3768. 2022-10-11 13:10:41.853518 80.43% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/1000004@46.101.114.158]
  3769. 2022-10-11 13:10:41.853518 80.43% [DEBUG] switch_ivr_bridge.c:820 sofia/default/1000004@46.101.114.158 ending bridge by request from write function
  3770. 2022-10-11 13:10:41.853518 80.43% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/1000004]
  3771. 2022-10-11 13:10:41.853518 80.43% [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/1000004 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  3772. 2022-10-11 13:10:41.853518 80.43% [DEBUG] switch_core_state_machine.c:650 (sofia/default/1000004) State EXCHANGE_MEDIA going to sleep
  3773. 2022-10-11 13:10:41.853518 80.43% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000004) Running State Change CS_HANGUP (Cur 8 Tot 193)
  3774. 2022-10-11 13:10:41.853518 80.43% [DEBUG] switch_core_state_machine.c:844 (sofia/default/1000004) Callstate Change ACTIVE -> HANGUP
  3775. 2022-10-11 13:10:41.853518 80.43% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1000004) State HANGUP
  3776. 2022-10-11 13:10:41.853518 80.43% [DEBUG] mod_sofia.c:462 sofia/default/1000004 Overriding SIP cause 480 with 200 from the other leg
  3777. 2022-10-11 13:10:41.853518 80.43% [DEBUG] mod_sofia.c:468 Channel sofia/default/1000004 hanging up, cause: NORMAL_CLEARING
  3778. 2022-10-11 13:10:41.853518 80.43% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/1000004
  3779. 2022-10-11 13:10:41.853518 80.43% [DEBUG] switch_core_state_machine.c:59 sofia/default/1000004 Standard HANGUP, cause: NORMAL_CLEARING
  3780. 2022-10-11 13:10:41.853518 80.43% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1000004) State HANGUP going to sleep
  3781. 2022-10-11 13:10:41.853518 80.43% [DEBUG] switch_core_state_machine.c:616 (sofia/default/1000004) State Change CS_HANGUP -> CS_REPORTING
  3782. 2022-10-11 13:10:41.853518 80.43% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000004) Running State Change CS_REPORTING (Cur 8 Tot 193)
  3783. 2022-10-11 13:10:41.853518 80.43% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1000004) State REPORTING
  3784. 2022-10-11 13:10:41.853518 80.43% [INFO] mod_json_cdr.c:271 Process [b60fa2a0-5231-49a9-b02c-bcb5ed48e022.cdr.json]
  3785. 2022-10-11 13:10:41.853518 80.43% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/1000004 skip receive message [UNBRIDGE] (channel is hungup already)
  3786. 2022-10-11 13:10:41.853518 80.43% [DEBUG] switch_ivr_bridge.c:1895 sofia/default/1000004@46.101.114.158 skip receive message [UNBRIDGE] (channel is hungup already)
  3787. 2022-10-11 13:10:41.853518 80.43% [DEBUG] switch_core_session.c:2983 sofia/default/1000004@46.101.114.158 skip receive message [PHONE_EVENT] (channel is hungup already)
  3788. 2022-10-11 13:10:41.853518 80.43% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1000004@46.101.114.158) State EXECUTE going to sleep
  3789. 2022-10-11 13:10:41.853518 80.43% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000004@46.101.114.158) Running State Change CS_HANGUP (Cur 8 Tot 193)
  3790. 2022-10-11 13:10:41.853518 80.43% [DEBUG] switch_core_state_machine.c:844 (sofia/default/1000004@46.101.114.158) Callstate Change ACTIVE -> HANGUP
  3791. 2022-10-11 13:10:41.853518 80.43% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1000004@46.101.114.158) State HANGUP
  3792. 2022-10-11 13:10:41.853518 80.43% [DEBUG] mod_sofia.c:468 Channel sofia/default/1000004@46.101.114.158 hanging up, cause: NORMAL_CLEARING
  3793. 2022-10-11 13:10:41.853518 80.43% [DEBUG] switch_core_state_machine.c:59 sofia/default/1000004@46.101.114.158 Standard HANGUP, cause: NORMAL_CLEARING
  3794. 2022-10-11 13:10:41.853518 80.43% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1000004@46.101.114.158) State HANGUP going to sleep
  3795. 2022-10-11 13:10:41.853518 80.43% [DEBUG] switch_core_state_machine.c:616 (sofia/default/1000004@46.101.114.158) State Change CS_HANGUP -> CS_REPORTING
  3796. 2022-10-11 13:10:41.853518 80.43% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000004@46.101.114.158) Running State Change CS_REPORTING (Cur 8 Tot 193)
  3797. 2022-10-11 13:10:41.853518 80.43% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1000004@46.101.114.158) State REPORTING
  3798. 2022-10-11 13:10:41.853518 80.43% [INFO] mod_json_cdr.c:271 Process [ed4858a2-dac6-4df6-9bb1-0b95c8758169.cdr.json]
  3799. 2022-10-11 13:10:41.853518 80.43% [DEBUG] switch_core_state_machine.c:168 sofia/default/1000004 Standard REPORTING, cause: NORMAL_CLEARING
  3800. 2022-10-11 13:10:41.853518 80.43% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1000004) State REPORTING going to sleep
  3801. 2022-10-11 13:10:41.853518 80.43% [DEBUG] switch_core_state_machine.c:607 (sofia/default/1000004) State Change CS_REPORTING -> CS_DESTROY
  3802. 2022-10-11 13:10:41.853518 80.43% [DEBUG] switch_core_session.c:1753 Session 187 (sofia/default/1000004) Locked, Waiting on external entities
  3803. 2022-10-11 13:10:41.853518 80.43% [NOTICE] switch_core_session.c:1771 Session 187 (sofia/default/1000004) Ended
  3804. 2022-10-11 13:10:41.853518 80.43% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/1000004 [CS_DESTROY]
  3805. 2022-10-11 13:10:41.853518 80.43% [DEBUG] switch_core_state_machine.c:735 (sofia/default/1000004) Running State Change CS_DESTROY (Cur 7 Tot 193)
  3806. 2022-10-11 13:10:41.853518 80.43% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1000004) State DESTROY
  3807. 2022-10-11 13:10:41.853518 80.43% [DEBUG] mod_sofia.c:379 sofia/default/1000004 SOFIA DESTROY
  3808. 2022-10-11 13:10:41.853518 80.43% [DEBUG] switch_core_state_machine.c:175 sofia/default/1000004 Standard DESTROY
  3809. 2022-10-11 13:10:41.853518 80.43% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1000004) State DESTROY going to sleep
  3810. 2022-10-11 13:10:41.873521 80.43% [DEBUG] switch_core_state_machine.c:168 sofia/default/1000004@46.101.114.158 Standard REPORTING, cause: NORMAL_CLEARING
  3811. 2022-10-11 13:10:41.873521 80.43% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1000004@46.101.114.158) State REPORTING going to sleep
  3812. 2022-10-11 13:10:41.873521 80.43% [DEBUG] switch_core_state_machine.c:607 (sofia/default/1000004@46.101.114.158) State Change CS_REPORTING -> CS_DESTROY
  3813. 2022-10-11 13:10:41.873521 80.43% [DEBUG] switch_core_session.c:1753 Session 186 (sofia/default/1000004@46.101.114.158) Locked, Waiting on external entities
  3814. 2022-10-11 13:10:41.873521 80.43% [NOTICE] switch_core_session.c:1771 Session 186 (sofia/default/1000004@46.101.114.158) Ended
  3815. 2022-10-11 13:10:41.873521 80.43% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/1000004@46.101.114.158 [CS_DESTROY]
  3816. 2022-10-11 13:10:41.873521 80.43% [DEBUG] switch_core_state_machine.c:735 (sofia/default/1000004@46.101.114.158) Running State Change CS_DESTROY (Cur 6 Tot 193)
  3817. 2022-10-11 13:10:41.873521 80.43% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1000004@46.101.114.158) State DESTROY
  3818. 2022-10-11 13:10:41.873521 80.43% [DEBUG] mod_sofia.c:379 sofia/default/1000004@46.101.114.158 SOFIA DESTROY
  3819. 2022-10-11 13:10:41.873521 80.43% [DEBUG] switch_core_state_machine.c:175 sofia/default/1000004@46.101.114.158 Standard DESTROY
  3820. 2022-10-11 13:10:41.873521 80.43% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1000004@46.101.114.158) State DESTROY going to sleep
  3821. 2022-10-11 13:10:41.933544 80.43% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  3822. 2022-10-11 13:10:41.933544 80.43% [DEBUG] switch_scheduler.c:147 Deleting task 49 switch_ivr_schedule_hangup (fa297718-45f8-4841-88c9-30a32c507d15)
  3823. 2022-10-11 13:10:41.933544 80.43% [DEBUG] switch_scheduler.c:147 Deleting task 50 switch_ivr_schedule_hangup (b60fa2a0-5231-49a9-b02c-bcb5ed48e022)
  3824. 2022-10-11 13:10:42.513520 80.50% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  3825. 2022-10-11 13:10:43.293539 81.03% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  3826. 2022-10-11 13:10:43.873547 81.03% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [3613818599@entdemo.astppbilling.org] from ip 103.240.35.46
  3827. 2022-10-11 13:10:44.053544 81.03% [DEBUG] switch_ivr_play_say.c:2001 done playing file /opt/ASTPP/web_interface/astpp/upload/voice_broadcast/file_example_WAV_1MG_.wav
  3828. 2022-10-11 13:10:44.053544 81.03% [NOTICE] switch_core_state_machine.c:382 sofia/default/1000005@46.101.114.158:5064 has executed the last dialplan instruction, hanging up.
  3829. 2022-10-11 13:10:44.053544 81.03% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/default/1000005@46.101.114.158:5064 [CS_EXECUTE] [NORMAL_CLEARING]
  3830. 2022-10-11 13:10:44.053544 81.03% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1000005@46.101.114.158:5064) State EXECUTE going to sleep
  3831. 2022-10-11 13:10:44.053544 81.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000005@46.101.114.158:5064) Running State Change CS_HANGUP (Cur 6 Tot 193)
  3832. 2022-10-11 13:10:44.053544 81.03% [DEBUG] switch_core_state_machine.c:844 (sofia/default/1000005@46.101.114.158:5064) Callstate Change ACTIVE -> HANGUP
  3833. 2022-10-11 13:10:44.053544 81.03% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1000005@46.101.114.158:5064) State HANGUP
  3834. 2022-10-11 13:10:44.053544 81.03% [DEBUG] mod_sofia.c:468 Channel sofia/default/1000005@46.101.114.158:5064 hanging up, cause: NORMAL_CLEARING
  3835. 2022-10-11 13:10:44.053544 81.03% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/1000005@46.101.114.158:5064
  3836. 2022-10-11 13:10:44.053544 81.03% [DEBUG] switch_core_state_machine.c:59 sofia/default/1000005@46.101.114.158:5064 Standard HANGUP, cause: NORMAL_CLEARING
  3837. 2022-10-11 13:10:44.053544 81.03% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1000005@46.101.114.158:5064) State HANGUP going to sleep
  3838. 2022-10-11 13:10:44.053544 81.03% [DEBUG] switch_core_state_machine.c:616 (sofia/default/1000005@46.101.114.158:5064) State Change CS_HANGUP -> CS_REPORTING
  3839. 2022-10-11 13:10:44.053544 81.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000005@46.101.114.158:5064) Running State Change CS_REPORTING (Cur 6 Tot 193)
  3840. 2022-10-11 13:10:44.053544 81.03% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1000005@46.101.114.158:5064) State REPORTING
  3841. 2022-10-11 13:10:44.053544 81.03% [INFO] mod_json_cdr.c:271 Process [1015f060-1d92-412e-a48f-84135759cd17.cdr.json]
  3842. 2022-10-11 13:10:44.053544 81.03% [DEBUG] switch_core_state_machine.c:168 sofia/default/1000005@46.101.114.158:5064 Standard REPORTING, cause: NORMAL_CLEARING
  3843. 2022-10-11 13:10:44.053544 81.03% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1000005@46.101.114.158:5064) State REPORTING going to sleep
  3844. 2022-10-11 13:10:44.053544 81.03% [DEBUG] switch_core_state_machine.c:607 (sofia/default/1000005@46.101.114.158:5064) State Change CS_REPORTING -> CS_DESTROY
  3845. 2022-10-11 13:10:44.053544 81.03% [DEBUG] switch_core_session.c:1753 Session 188 (sofia/default/1000005@46.101.114.158:5064) Locked, Waiting on external entities
  3846. 2022-10-11 13:10:44.053544 81.03% [NOTICE] switch_core_session.c:1771 Session 188 (sofia/default/1000005@46.101.114.158:5064) Ended
  3847. 2022-10-11 13:10:44.053544 81.03% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/1000005@46.101.114.158:5064 [CS_DESTROY]
  3848. 2022-10-11 13:10:44.053544 81.03% [DEBUG] switch_core_state_machine.c:735 (sofia/default/1000005@46.101.114.158:5064) Running State Change CS_DESTROY (Cur 5 Tot 193)
  3849. 2022-10-11 13:10:44.053544 81.03% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1000005@46.101.114.158:5064) State DESTROY
  3850. 2022-10-11 13:10:44.053544 81.03% [DEBUG] mod_sofia.c:379 sofia/default/1000005@46.101.114.158:5064 SOFIA DESTROY
  3851. 2022-10-11 13:10:44.053544 81.03% [DEBUG] switch_core_state_machine.c:175 sofia/default/1000005@46.101.114.158:5064 Standard DESTROY
  3852. 2022-10-11 13:10:44.053544 81.03% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1000005@46.101.114.158:5064) State DESTROY going to sleep
  3853. 2022-10-11 13:10:44.053544 81.03% [NOTICE] sofia.c:1065 Hangup sofia/default/1000005@46.101.114.158 [CS_EXECUTE] [NORMAL_CLEARING]
  3854. 2022-10-11 13:10:44.053544 81.03% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/1000005@46.101.114.158]
  3855. 2022-10-11 13:10:44.073529 81.03% [DEBUG] switch_ivr_bridge.c:820 sofia/default/1000005@46.101.114.158 ending bridge by request from write function
  3856. 2022-10-11 13:10:44.073529 81.03% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/1000005]
  3857. 2022-10-11 13:10:44.073529 81.03% [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/1000005 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  3858. 2022-10-11 13:10:44.073529 81.03% [DEBUG] switch_core_state_machine.c:650 (sofia/default/1000005) State EXCHANGE_MEDIA going to sleep
  3859. 2022-10-11 13:10:44.073529 81.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000005) Running State Change CS_HANGUP (Cur 5 Tot 193)
  3860. 2022-10-11 13:10:44.073529 81.03% [DEBUG] switch_core_state_machine.c:844 (sofia/default/1000005) Callstate Change ACTIVE -> HANGUP
  3861. 2022-10-11 13:10:44.073529 81.03% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1000005) State HANGUP
  3862. 2022-10-11 13:10:44.073529 81.03% [DEBUG] mod_sofia.c:462 sofia/default/1000005 Overriding SIP cause 480 with 200 from the other leg
  3863. 2022-10-11 13:10:44.073529 81.03% [DEBUG] mod_sofia.c:468 Channel sofia/default/1000005 hanging up, cause: NORMAL_CLEARING
  3864. 2022-10-11 13:10:44.073529 81.03% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/1000005
  3865. 2022-10-11 13:10:44.073529 81.03% [DEBUG] switch_core_state_machine.c:59 sofia/default/1000005 Standard HANGUP, cause: NORMAL_CLEARING
  3866. 2022-10-11 13:10:44.073529 81.03% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1000005) State HANGUP going to sleep
  3867. 2022-10-11 13:10:44.073529 81.03% [DEBUG] switch_core_state_machine.c:616 (sofia/default/1000005) State Change CS_HANGUP -> CS_REPORTING
  3868. 2022-10-11 13:10:44.073529 81.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000005) Running State Change CS_REPORTING (Cur 5 Tot 193)
  3869. 2022-10-11 13:10:44.073529 81.03% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1000005) State REPORTING
  3870. 2022-10-11 13:10:44.073529 81.03% [INFO] mod_json_cdr.c:271 Process [7f232dac-9c5f-49e7-be50-4cd8400f7d7b.cdr.json]
  3871. 2022-10-11 13:10:44.073529 81.03% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/1000005 skip receive message [UNBRIDGE] (channel is hungup already)
  3872. 2022-10-11 13:10:44.073529 81.03% [DEBUG] switch_ivr_bridge.c:1895 sofia/default/1000005@46.101.114.158 skip receive message [UNBRIDGE] (channel is hungup already)
  3873. 2022-10-11 13:10:44.073529 81.03% [DEBUG] switch_core_session.c:2983 sofia/default/1000005@46.101.114.158 skip receive message [PHONE_EVENT] (channel is hungup already)
  3874. 2022-10-11 13:10:44.073529 81.03% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1000005@46.101.114.158) State EXECUTE going to sleep
  3875. 2022-10-11 13:10:44.073529 81.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000005@46.101.114.158) Running State Change CS_HANGUP (Cur 5 Tot 193)
  3876. 2022-10-11 13:10:44.073529 81.03% [DEBUG] switch_core_state_machine.c:844 (sofia/default/1000005@46.101.114.158) Callstate Change ACTIVE -> HANGUP
  3877. 2022-10-11 13:10:44.073529 81.03% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1000005@46.101.114.158) State HANGUP
  3878. 2022-10-11 13:10:44.073529 81.03% [DEBUG] mod_sofia.c:468 Channel sofia/default/1000005@46.101.114.158 hanging up, cause: NORMAL_CLEARING
  3879. 2022-10-11 13:10:44.073529 81.03% [DEBUG] switch_core_state_machine.c:59 sofia/default/1000005@46.101.114.158 Standard HANGUP, cause: NORMAL_CLEARING
  3880. 2022-10-11 13:10:44.073529 81.03% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1000005@46.101.114.158) State HANGUP going to sleep
  3881. 2022-10-11 13:10:44.073529 81.03% [DEBUG] switch_core_state_machine.c:616 (sofia/default/1000005@46.101.114.158) State Change CS_HANGUP -> CS_REPORTING
  3882. 2022-10-11 13:10:44.073529 81.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000005@46.101.114.158) Running State Change CS_REPORTING (Cur 5 Tot 193)
  3883. 2022-10-11 13:10:44.073529 81.03% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1000005@46.101.114.158) State REPORTING
  3884. 2022-10-11 13:10:44.073529 81.03% [INFO] mod_json_cdr.c:271 Process [98d9564d-77b3-449d-a0f1-2c304f993c3f.cdr.json]
  3885. 2022-10-11 13:10:44.073529 81.03% [DEBUG] switch_core_state_machine.c:168 sofia/default/1000005 Standard REPORTING, cause: NORMAL_CLEARING
  3886. 2022-10-11 13:10:44.073529 81.03% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1000005) State REPORTING going to sleep
  3887. 2022-10-11 13:10:44.073529 81.03% [DEBUG] switch_core_state_machine.c:607 (sofia/default/1000005) State Change CS_REPORTING -> CS_DESTROY
  3888. 2022-10-11 13:10:44.073529 81.03% [DEBUG] switch_core_session.c:1753 Session 190 (sofia/default/1000005) Locked, Waiting on external entities
  3889. 2022-10-11 13:10:44.073529 81.03% [NOTICE] switch_core_session.c:1771 Session 190 (sofia/default/1000005) Ended
  3890. 2022-10-11 13:10:44.073529 81.03% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/1000005 [CS_DESTROY]
  3891. 2022-10-11 13:10:44.073529 81.03% [DEBUG] switch_core_state_machine.c:735 (sofia/default/1000005) Running State Change CS_DESTROY (Cur 4 Tot 193)
  3892. 2022-10-11 13:10:44.073529 81.03% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1000005) State DESTROY
  3893. 2022-10-11 13:10:44.073529 81.03% [DEBUG] mod_sofia.c:379 sofia/default/1000005 SOFIA DESTROY
  3894. 2022-10-11 13:10:44.073529 81.03% [DEBUG] switch_core_state_machine.c:175 sofia/default/1000005 Standard DESTROY
  3895. 2022-10-11 13:10:44.073529 81.03% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1000005) State DESTROY going to sleep
  3896. 2022-10-11 13:10:44.093524 81.03% [DEBUG] switch_core_state_machine.c:168 sofia/default/1000005@46.101.114.158 Standard REPORTING, cause: NORMAL_CLEARING
  3897. 2022-10-11 13:10:44.093524 81.03% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1000005@46.101.114.158) State REPORTING going to sleep
  3898. 2022-10-11 13:10:44.093524 81.03% [DEBUG] switch_core_state_machine.c:607 (sofia/default/1000005@46.101.114.158) State Change CS_REPORTING -> CS_DESTROY
  3899. 2022-10-11 13:10:44.093524 81.03% [DEBUG] switch_core_session.c:1753 Session 189 (sofia/default/1000005@46.101.114.158) Locked, Waiting on external entities
  3900. 2022-10-11 13:10:44.093524 81.03% [NOTICE] switch_core_session.c:1771 Session 189 (sofia/default/1000005@46.101.114.158) Ended
  3901. 2022-10-11 13:10:44.093524 81.03% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/1000005@46.101.114.158 [CS_DESTROY]
  3902. 2022-10-11 13:10:44.093524 81.03% [DEBUG] switch_core_state_machine.c:735 (sofia/default/1000005@46.101.114.158) Running State Change CS_DESTROY (Cur 3 Tot 193)
  3903. 2022-10-11 13:10:44.093524 81.03% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1000005@46.101.114.158) State DESTROY
  3904. 2022-10-11 13:10:44.093524 81.03% [DEBUG] mod_sofia.c:379 sofia/default/1000005@46.101.114.158 SOFIA DESTROY
  3905. 2022-10-11 13:10:44.093524 81.03% [DEBUG] switch_core_state_machine.c:175 sofia/default/1000005@46.101.114.158 Standard DESTROY
  3906. 2022-10-11 13:10:44.093524 81.03% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1000005@46.101.114.158) State DESTROY going to sleep
  3907. 2022-10-11 13:10:44.273549 81.33% [DEBUG] switch_ivr_play_say.c:2001 done playing file /opt/ASTPP/web_interface/astpp/upload/voice_broadcast/file_example_WAV_1MG_.wav
  3908. 2022-10-11 13:10:44.273549 81.33% [NOTICE] switch_core_state_machine.c:382 sofia/default/1000006@46.101.114.158:5064 has executed the last dialplan instruction, hanging up.
  3909. 2022-10-11 13:10:44.273549 81.33% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/default/1000006@46.101.114.158:5064 [CS_EXECUTE] [NORMAL_CLEARING]
  3910. 2022-10-11 13:10:44.273549 81.33% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1000006@46.101.114.158:5064) State EXECUTE going to sleep
  3911. 2022-10-11 13:10:44.273549 81.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000006@46.101.114.158:5064) Running State Change CS_HANGUP (Cur 3 Tot 193)
  3912. 2022-10-11 13:10:44.273549 81.33% [DEBUG] switch_core_state_machine.c:844 (sofia/default/1000006@46.101.114.158:5064) Callstate Change ACTIVE -> HANGUP
  3913. 2022-10-11 13:10:44.273549 81.33% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1000006@46.101.114.158:5064) State HANGUP
  3914. 2022-10-11 13:10:44.273549 81.33% [DEBUG] mod_sofia.c:468 Channel sofia/default/1000006@46.101.114.158:5064 hanging up, cause: NORMAL_CLEARING
  3915. 2022-10-11 13:10:44.273549 81.33% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/1000006@46.101.114.158:5064
  3916. 2022-10-11 13:10:44.273549 81.33% [DEBUG] switch_core_state_machine.c:59 sofia/default/1000006@46.101.114.158:5064 Standard HANGUP, cause: NORMAL_CLEARING
  3917. 2022-10-11 13:10:44.273549 81.33% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1000006@46.101.114.158:5064) State HANGUP going to sleep
  3918. 2022-10-11 13:10:44.273549 81.33% [DEBUG] switch_core_state_machine.c:616 (sofia/default/1000006@46.101.114.158:5064) State Change CS_HANGUP -> CS_REPORTING
  3919. 2022-10-11 13:10:44.273549 81.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000006@46.101.114.158:5064) Running State Change CS_REPORTING (Cur 3 Tot 193)
  3920. 2022-10-11 13:10:44.273549 81.33% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1000006@46.101.114.158:5064) State REPORTING
  3921. 2022-10-11 13:10:44.273549 81.33% [INFO] mod_json_cdr.c:271 Process [facb01d4-5e2b-4a32-a6fc-b412b180c514.cdr.json]
  3922. 2022-10-11 13:10:44.293517 81.33% [DEBUG] switch_core_state_machine.c:168 sofia/default/1000006@46.101.114.158:5064 Standard REPORTING, cause: NORMAL_CLEARING
  3923. 2022-10-11 13:10:44.293517 81.33% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1000006@46.101.114.158:5064) State REPORTING going to sleep
  3924. 2022-10-11 13:10:44.293517 81.33% [DEBUG] switch_core_state_machine.c:607 (sofia/default/1000006@46.101.114.158:5064) State Change CS_REPORTING -> CS_DESTROY
  3925. 2022-10-11 13:10:44.293517 81.33% [DEBUG] switch_core_session.c:1753 Session 191 (sofia/default/1000006@46.101.114.158:5064) Locked, Waiting on external entities
  3926. 2022-10-11 13:10:44.293517 81.33% [NOTICE] switch_core_session.c:1771 Session 191 (sofia/default/1000006@46.101.114.158:5064) Ended
  3927. 2022-10-11 13:10:44.293517 81.33% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/1000006@46.101.114.158:5064 [CS_DESTROY]
  3928. 2022-10-11 13:10:44.293517 81.33% [DEBUG] switch_core_state_machine.c:735 (sofia/default/1000006@46.101.114.158:5064) Running State Change CS_DESTROY (Cur 2 Tot 193)
  3929. 2022-10-11 13:10:44.293517 81.33% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1000006@46.101.114.158:5064) State DESTROY
  3930. 2022-10-11 13:10:44.293517 81.33% [DEBUG] mod_sofia.c:379 sofia/default/1000006@46.101.114.158:5064 SOFIA DESTROY
  3931. 2022-10-11 13:10:44.293517 81.33% [DEBUG] switch_core_state_machine.c:175 sofia/default/1000006@46.101.114.158:5064 Standard DESTROY
  3932. 2022-10-11 13:10:44.293517 81.33% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1000006@46.101.114.158:5064) State DESTROY going to sleep
  3933. 2022-10-11 13:10:44.293517 81.33% [NOTICE] sofia.c:1065 Hangup sofia/default/1000006@46.101.114.158 [CS_EXECUTE] [NORMAL_CLEARING]
  3934. 2022-10-11 13:10:44.293517 81.33% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/1000006@46.101.114.158]
  3935. 2022-10-11 13:10:44.293517 81.33% [DEBUG] switch_ivr_bridge.c:820 sofia/default/1000006@46.101.114.158 ending bridge by request from write function
  3936. 2022-10-11 13:10:44.293517 81.33% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/1000006]
  3937. 2022-10-11 13:10:44.293517 81.33% [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/1000006 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  3938. 2022-10-11 13:10:44.293517 81.33% [DEBUG] switch_core_state_machine.c:650 (sofia/default/1000006) State EXCHANGE_MEDIA going to sleep
  3939. 2022-10-11 13:10:44.293517 81.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000006) Running State Change CS_HANGUP (Cur 2 Tot 193)
  3940. 2022-10-11 13:10:44.293517 81.33% [DEBUG] switch_core_state_machine.c:844 (sofia/default/1000006) Callstate Change ACTIVE -> HANGUP
  3941. 2022-10-11 13:10:44.293517 81.33% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1000006) State HANGUP
  3942. 2022-10-11 13:10:44.293517 81.33% [DEBUG] mod_sofia.c:462 sofia/default/1000006 Overriding SIP cause 480 with 200 from the other leg
  3943. 2022-10-11 13:10:44.293517 81.33% [DEBUG] mod_sofia.c:468 Channel sofia/default/1000006 hanging up, cause: NORMAL_CLEARING
  3944. 2022-10-11 13:10:44.293517 81.33% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/1000006
  3945. 2022-10-11 13:10:44.293517 81.33% [DEBUG] switch_core_state_machine.c:59 sofia/default/1000006 Standard HANGUP, cause: NORMAL_CLEARING
  3946. 2022-10-11 13:10:44.293517 81.33% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1000006) State HANGUP going to sleep
  3947. 2022-10-11 13:10:44.293517 81.33% [DEBUG] switch_core_state_machine.c:616 (sofia/default/1000006) State Change CS_HANGUP -> CS_REPORTING
  3948. 2022-10-11 13:10:44.293517 81.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000006) Running State Change CS_REPORTING (Cur 2 Tot 193)
  3949. 2022-10-11 13:10:44.293517 81.33% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1000006) State REPORTING
  3950. 2022-10-11 13:10:44.293517 81.33% [INFO] mod_json_cdr.c:271 Process [5bc73af5-1009-4fdb-9a22-3627f679fa7a.cdr.json]
  3951. 2022-10-11 13:10:44.293517 81.33% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/1000006 skip receive message [UNBRIDGE] (channel is hungup already)
  3952. 2022-10-11 13:10:44.293517 81.33% [DEBUG] switch_ivr_bridge.c:1895 sofia/default/1000006@46.101.114.158 skip receive message [UNBRIDGE] (channel is hungup already)
  3953. 2022-10-11 13:10:44.293517 81.33% [DEBUG] switch_core_session.c:2983 sofia/default/1000006@46.101.114.158 skip receive message [PHONE_EVENT] (channel is hungup already)
  3954. 2022-10-11 13:10:44.293517 81.33% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1000006@46.101.114.158) State EXECUTE going to sleep
  3955. 2022-10-11 13:10:44.293517 81.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000006@46.101.114.158) Running State Change CS_HANGUP (Cur 2 Tot 193)
  3956. 2022-10-11 13:10:44.293517 81.33% [DEBUG] switch_core_state_machine.c:844 (sofia/default/1000006@46.101.114.158) Callstate Change ACTIVE -> HANGUP
  3957. 2022-10-11 13:10:44.293517 81.33% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1000006@46.101.114.158) State HANGUP
  3958. 2022-10-11 13:10:44.293517 81.33% [DEBUG] mod_sofia.c:468 Channel sofia/default/1000006@46.101.114.158 hanging up, cause: NORMAL_CLEARING
  3959. 2022-10-11 13:10:44.293517 81.33% [DEBUG] switch_core_state_machine.c:59 sofia/default/1000006@46.101.114.158 Standard HANGUP, cause: NORMAL_CLEARING
  3960. 2022-10-11 13:10:44.293517 81.33% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1000006@46.101.114.158) State HANGUP going to sleep
  3961. 2022-10-11 13:10:44.293517 81.33% [DEBUG] switch_core_state_machine.c:616 (sofia/default/1000006@46.101.114.158) State Change CS_HANGUP -> CS_REPORTING
  3962. 2022-10-11 13:10:44.293517 81.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000006@46.101.114.158) Running State Change CS_REPORTING (Cur 2 Tot 193)
  3963. 2022-10-11 13:10:44.293517 81.33% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1000006@46.101.114.158) State REPORTING
  3964. 2022-10-11 13:10:44.293517 81.33% [INFO] mod_json_cdr.c:271 Process [0c5c8855-5c48-4ebe-b5fd-3531476dc267.cdr.json]
  3965. 2022-10-11 13:10:44.313547 81.33% [DEBUG] switch_core_state_machine.c:168 sofia/default/1000006 Standard REPORTING, cause: NORMAL_CLEARING
  3966. 2022-10-11 13:10:44.313547 81.33% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1000006) State REPORTING going to sleep
  3967. 2022-10-11 13:10:44.313547 81.33% [DEBUG] switch_core_state_machine.c:607 (sofia/default/1000006) State Change CS_REPORTING -> CS_DESTROY
  3968. 2022-10-11 13:10:44.313547 81.33% [DEBUG] switch_core_session.c:1753 Session 193 (sofia/default/1000006) Locked, Waiting on external entities
  3969. 2022-10-11 13:10:44.313547 81.33% [NOTICE] switch_core_session.c:1771 Session 193 (sofia/default/1000006) Ended
  3970. 2022-10-11 13:10:44.313547 81.33% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/1000006 [CS_DESTROY]
  3971. 2022-10-11 13:10:44.313547 81.33% [DEBUG] switch_core_state_machine.c:735 (sofia/default/1000006) Running State Change CS_DESTROY (Cur 1 Tot 193)
  3972. 2022-10-11 13:10:44.313547 81.33% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1000006) State DESTROY
  3973. 2022-10-11 13:10:44.313547 81.33% [DEBUG] mod_sofia.c:379 sofia/default/1000006 SOFIA DESTROY
  3974. 2022-10-11 13:10:44.313547 81.33% [DEBUG] switch_core_state_machine.c:175 sofia/default/1000006 Standard DESTROY
  3975. 2022-10-11 13:10:44.313547 81.33% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1000006) State DESTROY going to sleep
  3976. 2022-10-11 13:10:44.313547 81.33% [DEBUG] switch_core_state_machine.c:168 sofia/default/1000006@46.101.114.158 Standard REPORTING, cause: NORMAL_CLEARING
  3977. 2022-10-11 13:10:44.313547 81.33% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1000006@46.101.114.158) State REPORTING going to sleep
  3978. 2022-10-11 13:10:44.313547 81.33% [DEBUG] switch_core_state_machine.c:607 (sofia/default/1000006@46.101.114.158) State Change CS_REPORTING -> CS_DESTROY
  3979. 2022-10-11 13:10:44.313547 81.33% [DEBUG] switch_core_session.c:1753 Session 192 (sofia/default/1000006@46.101.114.158) Locked, Waiting on external entities
  3980. 2022-10-11 13:10:44.313547 81.33% [NOTICE] switch_core_session.c:1771 Session 192 (sofia/default/1000006@46.101.114.158) Ended
  3981. 2022-10-11 13:10:44.313547 81.33% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/1000006@46.101.114.158 [CS_DESTROY]
  3982. 2022-10-11 13:10:44.313547 81.33% [DEBUG] switch_core_state_machine.c:735 (sofia/default/1000006@46.101.114.158) Running State Change CS_DESTROY (Cur 0 Tot 193)
  3983. 2022-10-11 13:10:44.313547 81.33% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1000006@46.101.114.158) State DESTROY
  3984. 2022-10-11 13:10:44.313547 81.33% [DEBUG] mod_sofia.c:379 sofia/default/1000006@46.101.114.158 SOFIA DESTROY
  3985. 2022-10-11 13:10:44.313547 81.33% [DEBUG] switch_core_state_machine.c:175 sofia/default/1000006@46.101.114.158 Standard DESTROY
  3986. 2022-10-11 13:10:44.313547 81.33% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1000006@46.101.114.158) State DESTROY going to sleep
  3987. 2022-10-11 13:10:44.433545 81.33% [DEBUG] switch_scheduler.c:147 Deleting task 51 switch_ivr_schedule_hangup (7f232dac-9c5f-49e7-be50-4cd8400f7d7b)
  3988. 2022-10-11 13:10:44.433545 81.33% [DEBUG] switch_scheduler.c:147 Deleting task 52 switch_ivr_schedule_hangup (5bc73af5-1009-4fdb-9a22-3627f679fa7a)
  3989. 2022-10-11 13:10:47.213522 82.27% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [9804893591@entdemo.astppbilling.org] from ip 103.240.35.46
  3990.