From Prashant Kumar, 2 Years ago, written in FreeSWITCH.
- view diff
Embed
  1. +OK log level  [7]
  2. freeswitch@BetaQA>
  3. freeswitch@BetaQA>
  4. freeswitch@BetaQA>
  5. freeswitch@BetaQA>
  6. freeswitch@BetaQA>
  7. freeswitch@BetaQA>
  8. 2023-01-09 09:26:40.178811 95.57% [NOTICE] switch_channel.c:1123 New Channel sofia/default/90060@168.119.48.166 [216ae078-98e4-4dd9-a3a7-12ac4cf916ce]
  9. 2023-01-09 09:26:40.178811 95.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/90060@168.119.48.166) Running State Change CS_NEW (Cur 1 Tot 34)
  10. 2023-01-09 09:26:40.178811 95.57% [INFO] sofia.c:10462 sofia/default/90060@168.119.48.166 receiving invite from 168.119.48.166:5078 version: 1.10.7 -release 64bit call-id: 90625966-0aa2-123c-50b7-960001673637
  11. 2023-01-09 09:26:40.178811 95.57% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 168.119.48.166:0.
  12. 2023-01-09 09:26:40.178811 95.57% [DEBUG] sofia.c:10585 IP 168.119.48.166 Approved by acl "default[]". Access Granted.
  13. 2023-01-09 09:26:40.178811 95.57% [DEBUG] sofia.c:7499 Channel sofia/default/90060@168.119.48.166 entering state [received][100]
  14. 2023-01-09 09:26:40.178811 95.57% [DEBUG] sofia.c:7509 Remote SDP:
  15. v=0
  16. o=FreeSWITCH 1673233870 1673233871 IN IP4 168.119.48.166
  17. s=FreeSWITCH
  18. c=IN IP4 168.119.48.166
  19. t=0 0
  20. m=audio 22530 RTP/AVP 8 101
  21. a=rtpmap:8 PCMA/8000
  22. a=rtpmap:101 telephone-event/8000
  23. a=fmtp:101 0-15
  24. a=ptime:20
  25.  
  26. 2023-01-09 09:26:40.178811 95.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  27. 2023-01-09 09:26:40.178811 95.57% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  28. 2023-01-09 09:26:40.178811 95.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  29. 2023-01-09 09:26:40.178811 95.57% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  30. 2023-01-09 09:26:40.178811 95.57% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/90060@168.119.48.166 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  31. 2023-01-09 09:26:40.178811 95.57% [DEBUG] switch_core_codec.c:111 sofia/default/90060@168.119.48.166 Original read codec set to PCMA:8
  32. 2023-01-09 09:26:40.178811 95.57% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  33. 2023-01-09 09:26:40.178811 95.57% [DEBUG] switch_core_media.c:5973 sofia/default/90060@168.119.48.166 Set 2833 dtmf send payload to 101 recv payload to 101
  34. 2023-01-09 09:26:40.178811 95.57% [DEBUG] sofia.c:7933 (sofia/default/90060@168.119.48.166) State Change CS_NEW -> CS_INIT
  35. 2023-01-09 09:26:40.178811 95.57% [DEBUG] switch_core_state_machine.c:600 (sofia/default/90060@168.119.48.166) State NEW
  36. 2023-01-09 09:26:40.178811 95.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/90060@168.119.48.166) Running State Change CS_INIT (Cur 1 Tot 34)
  37. 2023-01-09 09:26:40.178811 95.57% [DEBUG] switch_core_state_machine.c:624 (sofia/default/90060@168.119.48.166) State INIT
  38. 2023-01-09 09:26:40.178811 95.57% [DEBUG] mod_sofia.c:97 sofia/default/90060@168.119.48.166 SOFIA INIT
  39. 2023-01-09 09:26:40.178811 95.57% [DEBUG] switch_core_state_machine.c:40 sofia/default/90060@168.119.48.166 Standard INIT
  40. 2023-01-09 09:26:40.178811 95.57% [DEBUG] switch_core_state_machine.c:48 (sofia/default/90060@168.119.48.166) State Change CS_INIT -> CS_ROUTING
  41. 2023-01-09 09:26:40.178811 95.57% [DEBUG] switch_core_state_machine.c:624 (sofia/default/90060@168.119.48.166) State INIT going to sleep
  42. 2023-01-09 09:26:40.178811 95.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/90060@168.119.48.166) Running State Change CS_ROUTING (Cur 1 Tot 34)
  43. 2023-01-09 09:26:40.178811 95.57% [DEBUG] switch_channel.c:2380 (sofia/default/90060@168.119.48.166) Callstate Change DOWN -> RINGING
  44. 2023-01-09 09:26:40.178811 95.57% [DEBUG] switch_core_state_machine.c:640 (sofia/default/90060@168.119.48.166) State ROUTING
  45. 2023-01-09 09:26:40.178811 95.57% [DEBUG] mod_sofia.c:158 sofia/default/90060@168.119.48.166 SOFIA ROUTING
  46. 2023-01-09 09:26:40.178811 95.57% [DEBUG] switch_core_state_machine.c:230 sofia/default/90060@168.119.48.166 Standard ROUTING
  47. 2023-01-09 09:26:40.178811 95.57% [INFO] mod_dialplan_xml.c:639 Processing 90060 <90060>->110003 in context default
  48. 2023-01-09 09:26:40.198793 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  49. 2023-01-09 09:26:40.198793 95.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  50. 2023-01-09 09:26:40.198793 95.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  51. 2023-01-09 09:26:40.198793 95.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  52. 2023-01-09 09:26:40.198793 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 110003
  53. 2023-01-09 09:26:40.198793 95.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  54. 2023-01-09 09:26:40.198793 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERadmin
  55. 2023-01-09 09:26:40.198793 95.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  56. 2023-01-09 09:26:40.198793 95.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '110003' limit 1
  57. 2023-01-09 09:26:40.198793 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 90060 / 90060
  58. 2023-01-09 09:26:40.198793 95.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  59. 2023-01-09 09:26:40.198793 95.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  60. 2023-01-09 09:26:40.198793 95.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  61. 2023-01-09 09:26:40.198793 95.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="110003" LIMIT 1
  62. 2023-01-09 09:26:40.198793 95.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="110003" LIMIT 1
  63. 2023-01-09 09:26:40.198793 95.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  64. 2023-01-09 09:26:40.198793 95.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="13" and did_id ="41" and number ="90060" and status = '0' LIMIT 1
  65. 2023-01-09 09:26:40.198793 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  66. 2023-01-09 09:26:40.198793 95.57% [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("168.119.48.166") 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 "110003"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  67. 2023-01-09 09:26:40.198793 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 3673942894]
  68. 2023-01-09 09:26:40.198793 95.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =110003
  69. 2023-01-09 09:26:40.198793 95.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3673942894" AND deleted = 0 limit 1
  70. 2023-01-09 09:26:40.198793 95.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =13
  71. 2023-01-09 09:26:40.198793 95.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  72. 2023-01-09 09:26:40.198793 95.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]1
  73. 2023-01-09 09:26:40.198793 95.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  74. 2023-01-09 09:26:40.198793 95.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 13
  75. 2023-01-09 09:26:40.198793 95.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE P.is_terminated = 0 AND (patterns = '^110003.*' OR patterns = '^11000.*' OR patterns = '^1100.*' OR patterns = '^110.*' OR patterns = '^11.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 13 ORDER BY LENGTH(PKGPTR.patterns) DESC
  76. 2023-01-09 09:26:40.198793 95.57% [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 ="110003" AND A.accountid = '3' limit 1
  77. 2023-01-09 09:26:40.198793 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 110003
  78. 2023-01-09 09:26:40.198793 95.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  79. 2023-01-09 09:26:40.198793 95.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  80. 2023-01-09 09:26:40.198793 95.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  81. 2023-01-09 09:26:40.198793 95.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="110003" LIMIT 1
  82. 2023-01-09 09:26:40.198793 95.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="110003" LIMIT 1
  83. 2023-01-09 09:26:40.198793 95.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  84. 2023-01-09 09:26:40.218794 95.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="13" and did_id ="41" and number ="90060" and status = '0' LIMIT 1
  85. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  86. 2023-01-09 09:26:40.218794 95.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '110003' OR number = '11000' OR number = '1100' OR number = '110' OR number = '11' OR number = '1' OR number ='--') OR (number = '110003*' OR number = '11000*' OR number = '1100*' OR number = '110*' OR number = '11*' OR number = '1*' OR number ='--') OR (number = '90060' OR number = '9006' OR number = '900' OR number = '90' OR number = '9' OR number ='--') OR (number = '90060*' OR number = '9006*' OR number = '900*' OR number = '90*' OR number = '9*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  87. 2023-01-09 09:26:40.218794 95.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  88. 2023-01-09 09:26:40.218794 95.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '110003' OR routing_prefix = '11000' OR routing_prefix = '1100' OR routing_prefix = '110' OR routing_prefix = '11' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  89. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  90. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 3
  91. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 3673942894
  92. 2023-01-09 09:26:40.218794 95.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =13
  93. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 1641.1
  94. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  95. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  96. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  97. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  98. 2023-01-09 09:26:40.218794 95.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  99. 2023-01-09 09:26:40.218794 95.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1
  100. 2023-01-09 09:26:40.218794 95.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  101. 2023-01-09 09:26:40.218794 95.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="110003" LIMIT 1
  102. 2023-01-09 09:26:40.218794 95.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="110003" LIMIT 1
  103. 2023-01-09 09:26:40.218794 95.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  104. 2023-01-09 09:26:40.218794 95.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="13" and did_id ="41" and number ="90060" and status = '0' LIMIT 1
  105. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  106. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  107. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:2.50000
  108. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:1
  109. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday,timezone_name from demand_based_routing where pricelist_id = '1' and status=0
  110. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] holiday_based_routing :
  111. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Holiday Query :SELECT gmttime from timezone where id = '118'
  112. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Holiday Data :GMT+00:00
  113. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Holiday Plus timezone
  114. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]If Holiday timezone like = -05:00 :
  115. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Converted Holiday current_time_date:09
  116. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Converted Holiday current_time_month:Jan
  117. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Hliday today_date :09-1
  118. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Hliday today_date :0
  119. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Hliday today_date :09-1
  120. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Hliday today_date in:9-1
  121. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] today_date mday:-
  122. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] today_date mday:-
  123. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] today_date mday:-
  124. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] today_date mday:-
  125. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] demand_based_condition :
  126. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT gmttime from timezone where id = '118'
  127. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Data :GMT+00:00
  128. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Plus timezone
  129. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]If timezone like = +05:00 :
  130. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Converted current_time: 09.26
  131. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] BEFORE current_wday :Mon
  132. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]If Holiday timezone like = -00:00 :
  133. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Converted DAY current_wday:Mon
  134. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] AFTER current_wday :Mon
  135. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Current Day Number2
  136. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Demand based routing Match emand_based_condition_value['wday'][1] :6-7
  137. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Demand based routing Match emand_based_condition_value['wday'][1] :5-7
  138. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Demand based routing Match emand_based_condition_value['wday'][1] :6-7
  139. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:2.50000
  140. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  141. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 41
  142. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  143. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  144. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 2.50000
  145. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 110003
  146. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 110
  147. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 3
  148. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  149. 2023-01-09 09:26:40.218794 95.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =13
  150. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your1641.1 balance Accountid 3 !!!
  151. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 656.44 minutes
  152. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  153. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  154. 2023-01-09 09:26:40.218794 95.57% [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 = 3 AND status=0 LIMIT 1
  155. 2023-01-09 09:26:40.218794 95.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "13" AND deleted = 0 limit 1
  156. 2023-01-09 09:26:40.218794 95.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =13
  157. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:3
  158. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:3
  159. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 3
  160. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 656.44
  161. 2023-01-09 09:26:40.218794 95.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  162. 2023-01-09 09:26:40.218794 95.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0
  163. 2023-01-09 09:26:40.218794 95.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 13  and status = 0 limit 1
  164. 2023-01-09 09:26:40.218794 95.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_0
  165. 2023-01-09 09:26:40.218794 95.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
  166. 2023-01-09 09:26:40.218794 95.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] Query :SELECT apns_token,callkit_token,mobile_type FROM dialer_device_info WHERE username='990002'
  167. 2023-01-09 09:26:40.218794 95.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT 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="990002" limit 1
  168. 2023-01-09 09:26:40.218794 95.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  169. <document type="freeswitch/xml">
  170. <section name="dialplan" description="ASTPP Dialplan">
  171. <context name="default">
  172. <extension name="110003">
  173. <condition field="destination_number" expression="110003">
  174. <action application="set" data="effective_destination_number=110003"/>
  175. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  176. <action application="set" data="bridge_pre_execute_bleg_data=+39386.4 normal_clearing"/>
  177. <action application="set" data="type=3"/>
  178. <action application="set" data="callstart=2023-01-09 09:26:40"/>
  179. <action application="set" data="hangup_after_bridge=true"/>
  180. <action application="set" data="continue_on_fail=TRUE"/>
  181. <action application="set" data="account_id=3"/>
  182. <action application="set" data="parent_id=0"/>
  183. <action application="set" data="entity_id=3"/>
  184. <action application="set" data="call_processed=internal"/>
  185. <action application="set" data="call_direction=inbound"/>
  186. <action application="set" data="accountname=ALPHA"/>
  187. <action application="export" data="t38_passthru=true"/>
  188. <action application="set" data="fax_enable_t38=true"/>
  189. <action application="set" data="fax_enable_t38_request=true"/>
  190. <action application="set" data="origination_rates_did=ID:41|CODE:^110003.*|DESTINATION:110003|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:2.50000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:110|ACCID:13"/>
  191. <action application="set" data="origination_rates=0"/>
  192. <action application="set" data="original_caller_id_name=90060"/>
  193. <action application="set" data="original_caller_id_number=90060"/>
  194. <action application="export" data="is_recording=1"/>
  195. <action application="export" data="media_bug_answer_req=true"/>
  196. <action application="export" data="record_sample_rate=8000"/>
  197. <action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}DID-LOCAL_13.wav"/>
  198. <action application="set" data="effective_caller_id_name=90060"/>
  199. <action application="set" data="effective_caller_id_number=90060"/>
  200. <action application="set" data="receiver_accid=13"/>
  201. <action application="set" data="did_id=41"/>
  202. <action application="set" data="transfer_call_type=4"/>
  203. <action application="set" data="transfer_extensions="/>
  204. <action application="set" data="busy_status=1"/>
  205. <action application="set" data="no_answer_status=1"/>
  206. <action application="set" data="always_status=1"/>
  207. <action application="set" data="transfer_status=1"/>
  208. <action application="set" data="variable_sip_to_host=${domain_name}"/>
  209. <action application="set" data="variable_sip_network_ip=168.119.48.166"/>
  210. <action application="set" data="variable_sip_network_port=5078"/>
  211. <action application="export" data="domain_name="/>
  212. <action application="export" data="sip_to_host="/>
  213. <action application="export" data="presence_data=x|||Reseller Pk Cust(990002)|||||||||DID|||168.119.48.166"/>
  214. <action application="export" data="call_type=0"/>
  215. <action application="set" data="calltype=DID-LOCAL"/>
  216. <action application="set" data="daily_call_credit_limit=0.00000"/>
  217. <action application="set" data="monthly_call_credit_limit=0.00000"/>
  218. <action application="set" data="daily_call_used_limit=0.00000"/>
  219. <action application="set" data="monthly_call_used_limit=0.00000"/>
  220. <action application="ring_ready"/>
  221. <action application="sleep" data="5000"/>
  222. <action application="bridge" data="[leg_timeout=0]user/990002@${domain_name}"/>
  223. <condition field="${cond(${user_data 990002@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
  224. <action application="answer"/>
  225. <action application="export" data="voicemail_alternate_greet_id=110003"/>
  226. <action application="voicemail" data="default $${domain_name} 990002"/>
  227. <anti-action application="hangup" data="${originate_disposition}"/>
  228. </condition>
  229. <action application="set" data="did_id=41"/>
  230. <action application="set" data="destination_number=110003"/>
  231. <action application="set" data="leg_timeout=0"/>
  232. <action application="set" data="call_type_vm_flag=1"/>
  233. <action application="set" data="is_local_extension=1"/>
  234. <action application="lua" data="did_call_forwarding.lua"/>
  235. </condition>
  236. </extension>
  237. </context>
  238. </section>
  239. </document>
  240. Dialplan: sofia/default/90060@168.119.48.166 parsing [default->110003] continue=false
  241. Dialplan: sofia/default/90060@168.119.48.166 Regex (PASS) [110003] destination_number(110003) =~ /110003/ break=on-false
  242. Dialplan: sofia/default/90060@168.119.48.166 Action set(effective_destination_number=110003)
  243. Dialplan: sofia/default/90060@168.119.48.166 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  244. Dialplan: sofia/default/90060@168.119.48.166 Action set(bridge_pre_execute_bleg_data=+39386.4 normal_clearing)
  245. Dialplan: sofia/default/90060@168.119.48.166 Action set(type=3)
  246. Dialplan: sofia/default/90060@168.119.48.166 Action set(callstart=2023-01-09 09:26:40)
  247. Dialplan: sofia/default/90060@168.119.48.166 Action set(hangup_after_bridge=true)
  248. Dialplan: sofia/default/90060@168.119.48.166 Action set(continue_on_fail=TRUE)
  249. Dialplan: sofia/default/90060@168.119.48.166 Action set(account_id=3)
  250. Dialplan: sofia/default/90060@168.119.48.166 Action set(parent_id=0)
  251. Dialplan: sofia/default/90060@168.119.48.166 Action set(entity_id=3)
  252. Dialplan: sofia/default/90060@168.119.48.166 Action set(call_processed=internal)
  253. Dialplan: sofia/default/90060@168.119.48.166 Action set(call_direction=inbound)
  254. Dialplan: sofia/default/90060@168.119.48.166 Action set(accountname=ALPHA)
  255. Dialplan: sofia/default/90060@168.119.48.166 Action export(t38_passthru=true)
  256. Dialplan: sofia/default/90060@168.119.48.166 Action set(fax_enable_t38=true)
  257. Dialplan: sofia/default/90060@168.119.48.166 Action set(fax_enable_t38_request=true)
  258. Dialplan: sofia/default/90060@168.119.48.166 Action set(origination_rates_did=ID:41|CODE:^110003.*|DESTINATION:110003|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:2.50000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:110|ACCID:13)
  259. Dialplan: sofia/default/90060@168.119.48.166 Action set(origination_rates=0)
  260. Dialplan: sofia/default/90060@168.119.48.166 Action set(original_caller_id_name=90060)
  261. Dialplan: sofia/default/90060@168.119.48.166 Action set(original_caller_id_number=90060)
  262. Dialplan: sofia/default/90060@168.119.48.166 Action export(is_recording=1)
  263. Dialplan: sofia/default/90060@168.119.48.166 Action export(media_bug_answer_req=true)
  264. Dialplan: sofia/default/90060@168.119.48.166 Action export(record_sample_rate=8000)
  265. Dialplan: sofia/default/90060@168.119.48.166 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}DID-LOCAL_13.wav)
  266. Dialplan: sofia/default/90060@168.119.48.166 Action set(effective_caller_id_name=90060)
  267. Dialplan: sofia/default/90060@168.119.48.166 Action set(effective_caller_id_number=90060)
  268. Dialplan: sofia/default/90060@168.119.48.166 Action set(receiver_accid=13)
  269. Dialplan: sofia/default/90060@168.119.48.166 Action set(did_id=41)
  270. Dialplan: sofia/default/90060@168.119.48.166 Action set(transfer_call_type=4)
  271. Dialplan: sofia/default/90060@168.119.48.166 Action set(transfer_extensions=)
  272. Dialplan: sofia/default/90060@168.119.48.166 Action set(busy_status=1)
  273. Dialplan: sofia/default/90060@168.119.48.166 Action set(no_answer_status=1)
  274. Dialplan: sofia/default/90060@168.119.48.166 Action set(always_status=1)
  275. Dialplan: sofia/default/90060@168.119.48.166 Action set(transfer_status=1)
  276. Dialplan: sofia/default/90060@168.119.48.166 Action set(variable_sip_to_host=${domain_name})
  277. Dialplan: sofia/default/90060@168.119.48.166 Action set(variable_sip_network_ip=168.119.48.166)
  278. Dialplan: sofia/default/90060@168.119.48.166 Action set(variable_sip_network_port=5078)
  279. Dialplan: sofia/default/90060@168.119.48.166 Action export(domain_name=)
  280. Dialplan: sofia/default/90060@168.119.48.166 Action export(sip_to_host=)
  281. Dialplan: sofia/default/90060@168.119.48.166 Action export(presence_data=x|||Reseller Pk Cust(990002)|||||||||DID|||168.119.48.166)
  282. Dialplan: sofia/default/90060@168.119.48.166 Action export(call_type=0)
  283. Dialplan: sofia/default/90060@168.119.48.166 Action set(calltype=DID-LOCAL)
  284. Dialplan: sofia/default/90060@168.119.48.166 Action set(daily_call_credit_limit=0.00000)
  285. Dialplan: sofia/default/90060@168.119.48.166 Action set(monthly_call_credit_limit=0.00000)
  286. Dialplan: sofia/default/90060@168.119.48.166 Action set(daily_call_used_limit=0.00000)
  287. Dialplan: sofia/default/90060@168.119.48.166 Action set(monthly_call_used_limit=0.00000)
  288. Dialplan: sofia/default/90060@168.119.48.166 Action ring_ready()
  289. Dialplan: sofia/default/90060@168.119.48.166 Action sleep(5000)
  290. Dialplan: sofia/default/90060@168.119.48.166 Action bridge([leg_timeout=0]user/990002@${domain_name})
  291. Dialplan: sofia/default/90060@168.119.48.166 Action set(did_id=41)
  292. Dialplan: sofia/default/90060@168.119.48.166 Action set(destination_number=110003)
  293. Dialplan: sofia/default/90060@168.119.48.166 Action set(leg_timeout=0)
  294. Dialplan: sofia/default/90060@168.119.48.166 Action set(call_type_vm_flag=1)
  295. Dialplan: sofia/default/90060@168.119.48.166 Action set(is_local_extension=1)
  296. Dialplan: sofia/default/90060@168.119.48.166 Action lua(did_call_forwarding.lua)
  297. |--- Dialplan: Processing recursive conditions level:1 [110003_recur_1] require-nested=TRUE
  298. |--- Dialplan: sofia/default/90060@168.119.48.166 Regex (PASS) [110003_recur_1] ${cond(${user_data 990002@${domain_name} param vm-enabled} == true ? YES : NO)}(YES) =~ /^YES$/ break=on-false
  299. |--- Dialplan: sofia/default/90060@168.119.48.166 Action answer()
  300. |--- Dialplan: sofia/default/90060@168.119.48.166 Action export(voicemail_alternate_greet_id=110003)
  301. |--- Dialplan: sofia/default/90060@168.119.48.166 Action voicemail(default $${domain_name} 990002)
  302. 2023-01-09 09:26:40.238800 95.57% [DEBUG] switch_core_state_machine.c:281 (sofia/default/90060@168.119.48.166) State Change CS_ROUTING -> CS_EXECUTE
  303. 2023-01-09 09:26:40.238800 95.57% [DEBUG] switch_core_state_machine.c:640 (sofia/default/90060@168.119.48.166) State ROUTING going to sleep
  304. 2023-01-09 09:26:40.238800 95.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/90060@168.119.48.166) Running State Change CS_EXECUTE (Cur 1 Tot 34)
  305. 2023-01-09 09:26:40.238800 95.57% [DEBUG] switch_core_state_machine.c:647 (sofia/default/90060@168.119.48.166) State EXECUTE
  306. 2023-01-09 09:26:40.238800 95.57% [DEBUG] mod_sofia.c:213 sofia/default/90060@168.119.48.166 SOFIA EXECUTE
  307. 2023-01-09 09:26:40.238800 95.57% [DEBUG] switch_core_state_machine.c:323 sofia/default/90060@168.119.48.166 Standard EXECUTE
  308. EXECUTE [depth=0] sofia/default/90060@168.119.48.166 set(effective_destination_number=110003)
  309. 2023-01-09 09:26:40.238800 95.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/90060@168.119.48.166 [effective_destination_number]=[110003]
  310. EXECUTE [depth=0] sofia/default/90060@168.119.48.166 set(bridge_pre_execute_bleg_app=sched_hangup)
  311. 2023-01-09 09:26:40.238800 95.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/90060@168.119.48.166 [bridge_pre_execute_bleg_app]=[sched_hangup]
  312. EXECUTE [depth=0] sofia/default/90060@168.119.48.166 set(bridge_pre_execute_bleg_data=+39386.4 normal_clearing)
  313. 2023-01-09 09:26:40.238800 95.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/90060@168.119.48.166 [bridge_pre_execute_bleg_data]=[+39386.4 normal_clearing]
  314. EXECUTE [depth=0] sofia/default/90060@168.119.48.166 set(type=3)
  315. 2023-01-09 09:26:40.238800 95.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/90060@168.119.48.166 [type]=[3]
  316. EXECUTE [depth=0] sofia/default/90060@168.119.48.166 set(callstart=2023-01-09 09:26:40)
  317. 2023-01-09 09:26:40.238800 95.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/90060@168.119.48.166 [callstart]=[2023-01-09 09:26:40]
  318. EXECUTE [depth=0] sofia/default/90060@168.119.48.166 set(hangup_after_bridge=true)
  319. 2023-01-09 09:26:40.238800 95.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/90060@168.119.48.166 [hangup_after_bridge]=[true]
  320. EXECUTE [depth=0] sofia/default/90060@168.119.48.166 set(continue_on_fail=TRUE)
  321. 2023-01-09 09:26:40.238800 95.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/90060@168.119.48.166 [continue_on_fail]=[TRUE]
  322. EXECUTE [depth=0] sofia/default/90060@168.119.48.166 set(account_id=3)
  323. 2023-01-09 09:26:40.238800 95.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/90060@168.119.48.166 [account_id]=[3]
  324. EXECUTE [depth=0] sofia/default/90060@168.119.48.166 set(parent_id=0)
  325. 2023-01-09 09:26:40.238800 95.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/90060@168.119.48.166 [parent_id]=[0]
  326. EXECUTE [depth=0] sofia/default/90060@168.119.48.166 set(entity_id=3)
  327. 2023-01-09 09:26:40.238800 95.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/90060@168.119.48.166 [entity_id]=[3]
  328. EXECUTE [depth=0] sofia/default/90060@168.119.48.166 set(call_processed=internal)
  329. 2023-01-09 09:26:40.238800 95.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/90060@168.119.48.166 [call_processed]=[internal]
  330. EXECUTE [depth=0] sofia/default/90060@168.119.48.166 set(call_direction=inbound)
  331. 2023-01-09 09:26:40.238800 95.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/90060@168.119.48.166 [call_direction]=[inbound]
  332. EXECUTE [depth=0] sofia/default/90060@168.119.48.166 set(accountname=ALPHA)
  333. 2023-01-09 09:26:40.238800 95.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/90060@168.119.48.166 [accountname]=[ALPHA]
  334. EXECUTE [depth=0] sofia/default/90060@168.119.48.166 export(t38_passthru=true)
  335. 2023-01-09 09:26:40.238800 95.57% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [t38_passthru]=[true]
  336. EXECUTE [depth=0] sofia/default/90060@168.119.48.166 set(fax_enable_t38=true)
  337. 2023-01-09 09:26:40.238800 95.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/90060@168.119.48.166 [fax_enable_t38]=[true]
  338. EXECUTE [depth=0] sofia/default/90060@168.119.48.166 set(fax_enable_t38_request=true)
  339. 2023-01-09 09:26:40.238800 95.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/90060@168.119.48.166 [fax_enable_t38_request]=[true]
  340. EXECUTE [depth=0] sofia/default/90060@168.119.48.166 set(origination_rates_did=ID:41|CODE:^110003.*|DESTINATION:110003|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:2.50000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:110|ACCID:13)
  341. 2023-01-09 09:26:40.238800 95.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/90060@168.119.48.166 [origination_rates_did]=[ID:41|CODE:^110003.*|DESTINATION:110003|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:2.50000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:110|ACCID:13]
  342. EXECUTE [depth=0] sofia/default/90060@168.119.48.166 set(origination_rates=0)
  343. 2023-01-09 09:26:40.238800 95.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/90060@168.119.48.166 [origination_rates]=[0]
  344. EXECUTE [depth=0] sofia/default/90060@168.119.48.166 set(original_caller_id_name=90060)
  345. 2023-01-09 09:26:40.238800 95.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/90060@168.119.48.166 [original_caller_id_name]=[90060]
  346. EXECUTE [depth=0] sofia/default/90060@168.119.48.166 set(original_caller_id_number=90060)
  347. 2023-01-09 09:26:40.238800 95.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/90060@168.119.48.166 [original_caller_id_number]=[90060]
  348. EXECUTE [depth=0] sofia/default/90060@168.119.48.166 export(is_recording=1)
  349. 2023-01-09 09:26:40.238800 95.57% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1]
  350. EXECUTE [depth=0] sofia/default/90060@168.119.48.166 export(media_bug_answer_req=true)
  351. 2023-01-09 09:26:40.238800 95.57% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true]
  352. EXECUTE [depth=0] sofia/default/90060@168.119.48.166 export(record_sample_rate=8000)
  353. 2023-01-09 09:26:40.238800 95.57% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000]
  354. EXECUTE [depth=0] sofia/default/90060@168.119.48.166 export(execute_on_answer=record_session /usr/local/freeswitch/recordings/216ae078-98e4-4dd9-a3a7-12ac4cf916ceDID-LOCAL_13.wav)
  355. 2023-01-09 09:26:40.238800 95.57% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/216ae078-98e4-4dd9-a3a7-12ac4cf916ceDID-LOCAL_13.wav]
  356. EXECUTE [depth=0] sofia/default/90060@168.119.48.166 set(effective_caller_id_name=90060)
  357. 2023-01-09 09:26:40.238800 95.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/90060@168.119.48.166 [effective_caller_id_name]=[90060]
  358. EXECUTE [depth=0] sofia/default/90060@168.119.48.166 set(effective_caller_id_number=90060)
  359. 2023-01-09 09:26:40.238800 95.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/90060@168.119.48.166 [effective_caller_id_number]=[90060]
  360. EXECUTE [depth=0] sofia/default/90060@168.119.48.166 set(receiver_accid=13)
  361. 2023-01-09 09:26:40.238800 95.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/90060@168.119.48.166 [receiver_accid]=[13]
  362. EXECUTE [depth=0] sofia/default/90060@168.119.48.166 set(did_id=41)
  363. 2023-01-09 09:26:40.238800 95.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/90060@168.119.48.166 [did_id]=[41]
  364. EXECUTE [depth=0] sofia/default/90060@168.119.48.166 set(transfer_call_type=4)
  365. 2023-01-09 09:26:40.238800 95.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/90060@168.119.48.166 [transfer_call_type]=[4]
  366. EXECUTE [depth=0] sofia/default/90060@168.119.48.166 set(transfer_extensions=)
  367. 2023-01-09 09:26:40.238800 95.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/90060@168.119.48.166 [transfer_extensions]=[UNDEF]
  368. EXECUTE [depth=0] sofia/default/90060@168.119.48.166 set(busy_status=1)
  369. 2023-01-09 09:26:40.238800 95.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/90060@168.119.48.166 [busy_status]=[1]
  370. EXECUTE [depth=0] sofia/default/90060@168.119.48.166 set(no_answer_status=1)
  371. 2023-01-09 09:26:40.238800 95.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/90060@168.119.48.166 [no_answer_status]=[1]
  372. EXECUTE [depth=0] sofia/default/90060@168.119.48.166 set(always_status=1)
  373. 2023-01-09 09:26:40.238800 95.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/90060@168.119.48.166 [always_status]=[1]
  374. EXECUTE [depth=0] sofia/default/90060@168.119.48.166 set(transfer_status=1)
  375. 2023-01-09 09:26:40.238800 95.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/90060@168.119.48.166 [transfer_status]=[1]
  376. EXECUTE [depth=0] sofia/default/90060@168.119.48.166 set(variable_sip_to_host=142.132.184.134)
  377. 2023-01-09 09:26:40.238800 95.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/90060@168.119.48.166 [variable_sip_to_host]=[142.132.184.134]
  378. EXECUTE [depth=0] sofia/default/90060@168.119.48.166 set(variable_sip_network_ip=168.119.48.166)
  379. 2023-01-09 09:26:40.258787 95.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/90060@168.119.48.166 [variable_sip_network_ip]=[168.119.48.166]
  380. EXECUTE [depth=0] sofia/default/90060@168.119.48.166 set(variable_sip_network_port=5078)
  381. 2023-01-09 09:26:40.258787 95.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/90060@168.119.48.166 [variable_sip_network_port]=[5078]
  382. EXECUTE [depth=0] sofia/default/90060@168.119.48.166 export(domain_name=)
  383. 2023-01-09 09:26:40.258787 95.57% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[UNDEF]
  384. EXECUTE [depth=0] sofia/default/90060@168.119.48.166 export(sip_to_host=)
  385. 2023-01-09 09:26:40.258787 95.57% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[UNDEF]
  386. EXECUTE [depth=0] sofia/default/90060@168.119.48.166 export(presence_data=x|||Reseller Pk Cust(990002)|||||||||DID|||168.119.48.166)
  387. 2023-01-09 09:26:40.258787 95.57% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Reseller Pk Cust(990002)|||||||||DID|||168.119.48.166]
  388. EXECUTE [depth=0] sofia/default/90060@168.119.48.166 export(call_type=0)
  389. 2023-01-09 09:26:40.258787 95.57% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[0]
  390. EXECUTE [depth=0] sofia/default/90060@168.119.48.166 set(calltype=DID-LOCAL)
  391. 2023-01-09 09:26:40.258787 95.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/90060@168.119.48.166 [calltype]=[DID-LOCAL]
  392. EXECUTE [depth=0] sofia/default/90060@168.119.48.166 set(daily_call_credit_limit=0.00000)
  393. 2023-01-09 09:26:40.258787 95.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/90060@168.119.48.166 [daily_call_credit_limit]=[0.00000]
  394. EXECUTE [depth=0] sofia/default/90060@168.119.48.166 set(monthly_call_credit_limit=0.00000)
  395. 2023-01-09 09:26:40.258787 95.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/90060@168.119.48.166 [monthly_call_credit_limit]=[0.00000]
  396. EXECUTE [depth=0] sofia/default/90060@168.119.48.166 set(daily_call_used_limit=0.00000)
  397. 2023-01-09 09:26:40.258787 95.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/90060@168.119.48.166 [daily_call_used_limit]=[0.00000]
  398. EXECUTE [depth=0] sofia/default/90060@168.119.48.166 set(monthly_call_used_limit=0.00000)
  399. 2023-01-09 09:26:40.258787 95.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/90060@168.119.48.166 [monthly_call_used_limit]=[0.00000]
  400. EXECUTE [depth=0] sofia/default/90060@168.119.48.166 ring_ready()
  401. 2023-01-09 09:26:40.258787 95.57% [NOTICE] mod_sofia.c:2515 Ring-Ready sofia/default/90060@168.119.48.166!
  402. 2023-01-09 09:26:40.258787 95.57% [DEBUG] sofia.c:7499 Channel sofia/default/90060@168.119.48.166 entering state [early][180]
  403. 2023-01-09 09:26:40.258787 95.57% [NOTICE] mod_dptools.c:1122 Ring Ready sofia/default/90060@168.119.48.166!
  404. EXECUTE [depth=0] sofia/default/90060@168.119.48.166 sleep(5000)
  405. EXECUTE [depth=0] sofia/default/90060@168.119.48.166 bridge([leg_timeout=0]user/990002@142.132.184.134)
  406. 2023-01-09 09:26:45.258816 95.97% [DEBUG] switch_channel.c:1269 sofia/default/90060@168.119.48.166 EXPORTING[export_vars] [t38_passthru]=[true] to event
  407. 2023-01-09 09:26:45.258816 95.97% [DEBUG] switch_channel.c:1269 sofia/default/90060@168.119.48.166 EXPORTING[export_vars] [is_recording]=[1] to event
  408. 2023-01-09 09:26:45.258816 95.97% [DEBUG] switch_channel.c:1269 sofia/default/90060@168.119.48.166 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  409. 2023-01-09 09:26:45.258816 95.97% [DEBUG] switch_channel.c:1269 sofia/default/90060@168.119.48.166 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  410. 2023-01-09 09:26:45.258816 95.97% [DEBUG] switch_channel.c:1269 sofia/default/90060@168.119.48.166 EXPORTING[export_vars] [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/216ae078-98e4-4dd9-a3a7-12ac4cf916ceDID-LOCAL_13.wav] to event
  411. 2023-01-09 09:26:45.258816 95.97% [DEBUG] switch_channel.c:1269 sofia/default/90060@168.119.48.166 EXPORTING[export_vars] [presence_data]=[x|||Reseller Pk Cust(990002)|||||||||DID|||168.119.48.166] to event
  412. 2023-01-09 09:26:45.258816 95.97% [DEBUG] switch_channel.c:1269 sofia/default/90060@168.119.48.166 EXPORTING[export_vars] [call_type]=[0] to event
  413. 2023-01-09 09:26:45.258816 95.97% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  414. 2023-01-09 09:26:45.258816 95.97% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  415. 2023-01-09 09:26:45.278802 95.97% [DEBUG] switch_channel.c:1269 sofia/default/90060@168.119.48.166 EXPORTING[export_vars] [t38_passthru]=[true] to event
  416. 2023-01-09 09:26:45.278802 95.97% [DEBUG] switch_channel.c:1269 sofia/default/90060@168.119.48.166 EXPORTING[export_vars] [is_recording]=[1] to event
  417. 2023-01-09 09:26:45.278802 95.97% [DEBUG] switch_channel.c:1269 sofia/default/90060@168.119.48.166 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  418. 2023-01-09 09:26:45.278802 95.97% [DEBUG] switch_channel.c:1269 sofia/default/90060@168.119.48.166 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  419. 2023-01-09 09:26:45.278802 95.97% [DEBUG] switch_channel.c:1269 sofia/default/90060@168.119.48.166 EXPORTING[export_vars] [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/216ae078-98e4-4dd9-a3a7-12ac4cf916ceDID-LOCAL_13.wav] to event
  420. 2023-01-09 09:26:45.278802 95.97% [DEBUG] switch_channel.c:1269 sofia/default/90060@168.119.48.166 EXPORTING[export_vars] [presence_data]=[x|||Reseller Pk Cust(990002)|||||||||DID|||168.119.48.166] to event
  421. 2023-01-09 09:26:45.278802 95.97% [DEBUG] switch_channel.c:1269 sofia/default/90060@168.119.48.166 EXPORTING[export_vars] [call_type]=[0] to event
  422. 2023-01-09 09:26:45.278802 95.97% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  423. 2023-01-09 09:26:45.278802 95.97% [NOTICE] switch_channel.c:1123 New Channel sofia/default/990002@103.240.35.46:39384 [98f8ec96-9eb3-4922-b67d-3ed60e823fbf]
  424. 2023-01-09 09:26:45.278802 95.97% [DEBUG] mod_sofia.c:5121 (sofia/default/990002@103.240.35.46:39384) State Change CS_NEW -> CS_INIT
  425. 2023-01-09 09:26:45.278802 95.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/990002@103.240.35.46:39384) Running State Change CS_INIT (Cur 2 Tot 35)
  426. 2023-01-09 09:26:45.278802 95.97% [DEBUG] switch_core_state_machine.c:624 (sofia/default/990002@103.240.35.46:39384) State INIT
  427. 2023-01-09 09:26:45.278802 95.97% [DEBUG] mod_sofia.c:97 sofia/default/990002@103.240.35.46:39384 SOFIA INIT
  428. 2023-01-09 09:26:45.278802 95.97% [INFO] sofia_glue.c:1651 sofia/default/990002@103.240.35.46:39384 sending invite call-id: (null)
  429. 2023-01-09 09:26:45.278802 95.97% [DEBUG] sofia_glue.c:1654 sofia/default/990002@103.240.35.46:39384 sending invite version: 1.10.7 -release 64bit
  430. Local SDP:
  431. v=0
  432. o=FreeSWITCH 1673236099 1673236100 IN IP4 142.132.184.134
  433. s=FreeSWITCH
  434. c=IN IP4 142.132.184.134
  435. t=0 0
  436. m=audio 20306 RTP/AVP 8 101
  437. a=rtpmap:8 PCMA/8000
  438. a=rtpmap:101 telephone-event/8000
  439. a=fmtp:101 0-15
  440. a=ptime:20
  441. a=sendrecv
  442.  
  443. 2023-01-09 09:26:45.278802 95.97% [DEBUG] switch_core_state_machine.c:40 sofia/default/990002@103.240.35.46:39384 Standard INIT
  444. 2023-01-09 09:26:45.278802 95.97% [DEBUG] switch_core_state_machine.c:48 (sofia/default/990002@103.240.35.46:39384) State Change CS_INIT -> CS_ROUTING
  445. 2023-01-09 09:26:45.278802 95.97% [DEBUG] switch_core_state_machine.c:624 (sofia/default/990002@103.240.35.46:39384) State INIT going to sleep
  446. 2023-01-09 09:26:45.278802 95.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/990002@103.240.35.46:39384) Running State Change CS_ROUTING (Cur 2 Tot 35)
  447. 2023-01-09 09:26:45.278802 95.97% [DEBUG] switch_core_state_machine.c:640 (sofia/default/990002@103.240.35.46:39384) State ROUTING
  448. 2023-01-09 09:26:45.278802 95.97% [DEBUG] mod_sofia.c:158 sofia/default/990002@103.240.35.46:39384 SOFIA ROUTING
  449. 2023-01-09 09:26:45.278802 95.97% [DEBUG] switch_ivr_originate.c:67 (sofia/default/990002@103.240.35.46:39384) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  450. 2023-01-09 09:26:45.278802 95.97% [DEBUG] switch_core_state_machine.c:640 (sofia/default/990002@103.240.35.46:39384) State ROUTING going to sleep
  451. 2023-01-09 09:26:45.278802 95.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/990002@103.240.35.46:39384) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 35)
  452. 2023-01-09 09:26:45.278802 95.97% [DEBUG] sofia.c:7499 Channel sofia/default/990002@103.240.35.46:39384 entering state [calling][0]
  453. 2023-01-09 09:26:45.278802 95.97% [DEBUG] switch_core_state_machine.c:659 (sofia/default/990002@103.240.35.46:39384) State CONSUME_MEDIA
  454. 2023-01-09 09:26:45.278802 95.97% [DEBUG] switch_core_state_machine.c:659 (sofia/default/990002@103.240.35.46:39384) State CONSUME_MEDIA going to sleep
  455. 2023-01-09 09:26:45.918840 95.93% [DEBUG] sofia.c:7499 Channel sofia/default/990002@103.240.35.46:39384 entering state [proceeding][180]
  456. 2023-01-09 09:26:45.918840 95.93% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/990002@103.240.35.46:39384!
  457. 2023-01-09 09:26:45.918840 95.93% [DEBUG] switch_channel.c:3494 (sofia/default/990002@103.240.35.46:39384) Callstate Change DOWN -> RINGING
  458. 2023-01-09 09:26:45.918840 95.93% [NOTICE] switch_ivr_originate.c:565 Ring Ready sofia/default/90060@168.119.48.166!
  459. 2023-01-09 09:26:47.118807 95.97% [DEBUG] sofia.c:7499 Channel sofia/default/990002@103.240.35.46:39384 entering state [completing][200]
  460. 2023-01-09 09:26:47.118807 95.97% [DEBUG] sofia.c:7509 Remote SDP:
  461. v=0
  462. o=Z 0 3 IN IP4 103.240.35.46
  463. s=Z
  464. c=IN IP4 103.240.35.46
  465. t=0 0
  466. m=audio 8002 RTP/AVP 8 3 110 0 98 101
  467. a=rtpmap:110 speex/8000
  468. a=rtpmap:98 iLBC/8000
  469. a=fmtp:98 mode=20
  470. a=rtpmap:101 telephone-event/8000
  471. a=fmtp:101 0-15
  472.  
  473. 2023-01-09 09:26:47.118807 95.97% [DEBUG] sofia.c:7499 Channel sofia/default/990002@103.240.35.46:39384 entering state [ready][200]
  474. 2023-01-09 09:26:47.118807 95.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  475. 2023-01-09 09:26:47.118807 95.97% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  476. 2023-01-09 09:26:47.118807 95.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  477. 2023-01-09 09:26:47.118807 95.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  478. 2023-01-09 09:26:47.118807 95.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  479. 2023-01-09 09:26:47.118807 95.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  480. 2023-01-09 09:26:47.118807 95.97% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  481. 2023-01-09 09:26:47.118807 95.97% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/990002@103.240.35.46:39384 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  482. 2023-01-09 09:26:47.118807 95.97% [DEBUG] switch_core_codec.c:111 sofia/default/990002@103.240.35.46:39384 Original read codec set to PCMA:8
  483. 2023-01-09 09:26:47.118807 95.97% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  484. 2023-01-09 09:26:47.118807 95.97% [DEBUG] switch_core_media.c:5973 sofia/default/990002@103.240.35.46:39384 Set 2833 dtmf send payload to 101 recv payload to 101
  485. 2023-01-09 09:26:47.118807 95.97% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/990002@103.240.35.46:39384] 142.132.184.134 port 20306 -> 103.240.35.46 port 8002 codec: 8 ms: 20
  486. 2023-01-09 09:26:47.118807 95.97% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  487. 2023-01-09 09:26:47.118807 95.97% [DEBUG] switch_core_media.c:9089 sofia/default/990002@103.240.35.46:39384 Set 2833 dtmf send payload to 101
  488. 2023-01-09 09:26:47.118807 95.97% [DEBUG] switch_core_media.c:9096 sofia/default/990002@103.240.35.46:39384 Set 2833 dtmf receive payload to 101
  489. 2023-01-09 09:26:47.118807 95.97% [DEBUG] switch_core_media.c:9119 sofia/default/990002@103.240.35.46:39384 Set rtp dtmf delay to 40
  490. 2023-01-09 09:26:47.118807 95.97% [NOTICE] sofia.c:8683 Channel [sofia/default/990002@103.240.35.46:39384] has been answered
  491. EXECUTE [depth=1] sofia/default/990002@103.240.35.46:39384 record_session(/usr/local/freeswitch/recordings/216ae078-98e4-4dd9-a3a7-12ac4cf916ceDID-LOCAL_13.wav)
  492. 2023-01-09 09:26:47.118807 95.97% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/90060@168.119.48.166] 142.132.184.134 port 30256 -> 168.119.48.166 port 22530 codec: 8 ms: 20
  493. 2023-01-09 09:26:47.118807 95.97% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  494. 2023-01-09 09:26:47.118807 95.97% [DEBUG] switch_core_media.c:9089 sofia/default/90060@168.119.48.166 Set 2833 dtmf send payload to 101
  495. 2023-01-09 09:26:47.118807 95.97% [DEBUG] switch_core_media.c:9096 sofia/default/90060@168.119.48.166 Set 2833 dtmf receive payload to 101
  496. 2023-01-09 09:26:47.118807 95.97% [DEBUG] switch_core_media.c:9119 sofia/default/90060@168.119.48.166 Set rtp dtmf delay to 40
  497. 2023-01-09 09:26:47.118807 95.97% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/90060@168.119.48.166:
  498. v=0
  499. o=FreeSWITCH 1673226151 1673226152 IN IP4 142.132.184.134
  500. s=FreeSWITCH
  501. c=IN IP4 142.132.184.134
  502. t=0 0
  503. m=audio 30256 RTP/AVP 8 101
  504. a=rtpmap:8 PCMA/8000
  505. a=rtpmap:101 telephone-event/8000
  506. a=fmtp:101 0-15
  507. a=ptime:20
  508. a=sendrecv
  509.  
  510. 2023-01-09 09:26:47.118807 95.97% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/default/90060@168.119.48.166] has been answered
  511. 2023-01-09 09:26:47.118807 95.97% [DEBUG] sofia.c:7499 Channel sofia/default/90060@168.119.48.166 entering state [completed][200]
  512. EXECUTE [depth=0] sofia/default/90060@168.119.48.166 record_session(/usr/local/freeswitch/recordings/216ae078-98e4-4dd9-a3a7-12ac4cf916ceDID-LOCAL_13.wav)
  513. 2023-01-09 09:26:47.138822 95.97% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000
  514. 2023-01-09 09:26:47.138822 95.97% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/default/990002@103.240.35.46:39384
  515. 2023-01-09 09:26:47.138822 95.97% [DEBUG] switch_channel.c:3950 (sofia/default/990002@103.240.35.46:39384) Callstate Change RINGING -> ACTIVE
  516. 2023-01-09 09:26:47.138822 95.97% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000
  517. 2023-01-09 09:26:47.138822 95.97% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/default/90060@168.119.48.166
  518. 2023-01-09 09:26:47.138822 95.97% [DEBUG] sofia.c:7499 Channel sofia/default/90060@168.119.48.166 entering state [ready][200]
  519. 2023-01-09 09:26:47.138822 95.97% [DEBUG] switch_channel.c:3950 (sofia/default/90060@168.119.48.166) Callstate Change RINGING -> ACTIVE
  520. 2023-01-09 09:26:47.138822 95.97% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/990002@103.240.35.46:39384] Peer UUID: 98f8ec96-9eb3-4922-b67d-3ed60e823fbf
  521. 2023-01-09 09:26:47.138822 95.97% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/990002@103.240.35.46:39384] Peer UUID: 98f8ec96-9eb3-4922-b67d-3ed60e823fbf
  522. 2023-01-09 09:26:47.138822 95.97% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/990002@103.240.35.46:39384) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  523. 2023-01-09 09:26:47.138822 95.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/990002@103.240.35.46:39384) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 35)
  524. 2023-01-09 09:26:47.138822 95.97% [DEBUG] switch_core_state_machine.c:650 (sofia/default/990002@103.240.35.46:39384) State EXCHANGE_MEDIA
  525. 2023-01-09 09:26:47.138822 95.97% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  526. 2023-01-09 09:26:47.138822 95.97% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  527. 2023-01-09 09:26:47.138822 95.97% [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8
  528. 2023-01-09 09:26:47.138822 95.97% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech
  529. 2023-01-09 09:26:47.138822 95.97% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech
  530. 2023-01-09 09:26:47.318823 95.97% [DEBUG] switch_ivr_bridge.c:655 sofia/default/990002@103.240.35.46:39384 Bridge execute app sched_hangup(+39386.4 normal_clearing)
  531. 2023-01-09 09:26:47.338826 95.97% [DEBUG] switch_ivr.c:632 sofia/default/990002@103.240.35.46:39384 Command Execute [depth=0] sched_hangup(+39386.4 normal_clearing)
  532. EXECUTE [depth=0] sofia/default/990002@103.240.35.46:39384 sched_hangup(+39386.4 normal_clearing)
  533. 2023-01-09 09:26:47.338826 95.97% [DEBUG] switch_scheduler.c:263 Added task 16 switch_ivr_schedule_hangup (98f8ec96-9eb3-4922-b67d-3ed60e823fbf) to run at 1673295793
  534. 2023-01-09 09:26:52.398807 94.87% [NOTICE] sofia.c:1065 Hangup sofia/default/990002@103.240.35.46:39384 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  535. 2023-01-09 09:26:52.398807 94.87% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/990002@103.240.35.46:39384]
  536. 2023-01-09 09:26:52.398807 94.87% [DEBUG] switch_core_state_machine.c:650 (sofia/default/990002@103.240.35.46:39384) State EXCHANGE_MEDIA going to sleep
  537. 2023-01-09 09:26:52.398807 94.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/990002@103.240.35.46:39384) Running State Change CS_HANGUP (Cur 2 Tot 35)
  538. 2023-01-09 09:26:52.398807 94.87% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/216ae078-98e4-4dd9-a3a7-12ac4cf916ceDID-LOCAL_13.wav
  539. 2023-01-09 09:26:52.398807 94.87% [DEBUG] switch_ivr_async.c:1677 Channel is hung up
  540. 2023-01-09 09:26:52.398807 94.87% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/990002@103.240.35.46:39384
  541. 2023-01-09 09:26:52.398807 94.87% [DEBUG] switch_core_state_machine.c:844 (sofia/default/990002@103.240.35.46:39384) Callstate Change ACTIVE -> HANGUP
  542. 2023-01-09 09:26:52.398807 94.87% [DEBUG] switch_core_state_machine.c:846 (sofia/default/990002@103.240.35.46:39384) State HANGUP
  543. 2023-01-09 09:26:52.398807 94.87% [DEBUG] mod_sofia.c:468 Channel sofia/default/990002@103.240.35.46:39384 hanging up, cause: NORMAL_CLEARING
  544. 2023-01-09 09:26:52.398807 94.87% [DEBUG] switch_core_state_machine.c:59 sofia/default/990002@103.240.35.46:39384 Standard HANGUP, cause: NORMAL_CLEARING
  545. 2023-01-09 09:26:52.398807 94.87% [DEBUG] switch_core_state_machine.c:846 (sofia/default/990002@103.240.35.46:39384) State HANGUP going to sleep
  546. 2023-01-09 09:26:52.398807 94.87% [DEBUG] switch_core_state_machine.c:616 (sofia/default/990002@103.240.35.46:39384) State Change CS_HANGUP -> CS_REPORTING
  547. 2023-01-09 09:26:52.398807 94.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/990002@103.240.35.46:39384) Running State Change CS_REPORTING (Cur 2 Tot 35)
  548. 2023-01-09 09:26:52.398807 94.87% [DEBUG] switch_core_state_machine.c:932 (sofia/default/990002@103.240.35.46:39384) State REPORTING
  549. 2023-01-09 09:26:52.398807 94.87% [INFO] mod_json_cdr.c:271 Process [98f8ec96-9eb3-4922-b67d-3ed60e823fbf.cdr.json]
  550. 2023-01-09 09:26:52.398807 94.87% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/90060@168.119.48.166]
  551. 2023-01-09 09:26:52.398807 94.87% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/990002@103.240.35.46:39384 skip receive message [UNBRIDGE] (channel is hungup already)
  552. 2023-01-09 09:26:52.398807 94.87% [NOTICE] switch_ivr_bridge.c:1944 Hangup sofia/default/90060@168.119.48.166 [CS_EXECUTE] [NORMAL_CLEARING]
  553. 2023-01-09 09:26:52.398807 94.87% [DEBUG] switch_core_session.c:2983 sofia/default/90060@168.119.48.166 skip receive message [PHONE_EVENT] (channel is hungup already)
  554. 2023-01-09 09:26:52.398807 94.87% [DEBUG] switch_core_state_machine.c:647 (sofia/default/90060@168.119.48.166) State EXECUTE going to sleep
  555. 2023-01-09 09:26:52.398807 94.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/90060@168.119.48.166) Running State Change CS_HANGUP (Cur 2 Tot 35)
  556. 2023-01-09 09:26:52.398807 94.87% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/216ae078-98e4-4dd9-a3a7-12ac4cf916ceDID-LOCAL_13.wav
  557. 2023-01-09 09:26:52.398807 94.87% [DEBUG] switch_ivr_async.c:1677 Channel is hung up
  558. 2023-01-09 09:26:52.398807 94.87% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/90060@168.119.48.166
  559. 2023-01-09 09:26:52.398807 94.87% [DEBUG] switch_core_state_machine.c:844 (sofia/default/90060@168.119.48.166) Callstate Change ACTIVE -> HANGUP
  560. 2023-01-09 09:26:52.398807 94.87% [DEBUG] switch_core_state_machine.c:846 (sofia/default/90060@168.119.48.166) State HANGUP
  561. 2023-01-09 09:26:52.398807 94.87% [DEBUG] mod_sofia.c:462 sofia/default/90060@168.119.48.166 Overriding SIP cause 480 with 200 from the other leg
  562. 2023-01-09 09:26:52.398807 94.87% [DEBUG] mod_sofia.c:468 Channel sofia/default/90060@168.119.48.166 hanging up, cause: NORMAL_CLEARING
  563. 2023-01-09 09:26:52.398807 94.87% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/90060@168.119.48.166
  564. 2023-01-09 09:26:52.398807 94.87% [DEBUG] switch_core_state_machine.c:59 sofia/default/90060@168.119.48.166 Standard HANGUP, cause: NORMAL_CLEARING
  565. 2023-01-09 09:26:52.398807 94.87% [DEBUG] switch_core_state_machine.c:846 (sofia/default/90060@168.119.48.166) State HANGUP going to sleep
  566. 2023-01-09 09:26:52.398807 94.87% [DEBUG] switch_core_state_machine.c:616 (sofia/default/90060@168.119.48.166) State Change CS_HANGUP -> CS_REPORTING
  567. 2023-01-09 09:26:52.398807 94.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/90060@168.119.48.166) Running State Change CS_REPORTING (Cur 2 Tot 35)
  568. 2023-01-09 09:26:52.398807 94.87% [DEBUG] switch_core_state_machine.c:932 (sofia/default/90060@168.119.48.166) State REPORTING
  569. 2023-01-09 09:26:52.398807 94.87% [INFO] mod_json_cdr.c:271 Process [216ae078-98e4-4dd9-a3a7-12ac4cf916ce.cdr.json]
  570. 2023-01-09 09:26:52.418798 94.87% [DEBUG] switch_core_state_machine.c:168 sofia/default/990002@103.240.35.46:39384 Standard REPORTING, cause: NORMAL_CLEARING
  571. 2023-01-09 09:26:52.418798 94.87% [DEBUG] switch_core_state_machine.c:932 (sofia/default/990002@103.240.35.46:39384) State REPORTING going to sleep
  572. 2023-01-09 09:26:52.418798 94.87% [DEBUG] switch_core_state_machine.c:607 (sofia/default/990002@103.240.35.46:39384) State Change CS_REPORTING -> CS_DESTROY
  573. 2023-01-09 09:26:52.418798 94.87% [DEBUG] switch_core_session.c:1753 Session 35 (sofia/default/990002@103.240.35.46:39384) Locked, Waiting on external entities
  574. 2023-01-09 09:26:52.418798 94.87% [NOTICE] switch_core_session.c:1771 Session 35 (sofia/default/990002@103.240.35.46:39384) Ended
  575. 2023-01-09 09:26:52.418798 94.87% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/990002@103.240.35.46:39384 [CS_DESTROY]
  576. 2023-01-09 09:26:52.418798 94.87% [DEBUG] switch_core_state_machine.c:735 (sofia/default/990002@103.240.35.46:39384) Running State Change CS_DESTROY (Cur 1 Tot 35)
  577. 2023-01-09 09:26:52.418798 94.87% [DEBUG] switch_core_state_machine.c:745 (sofia/default/990002@103.240.35.46:39384) State DESTROY
  578. 2023-01-09 09:26:52.418798 94.87% [DEBUG] mod_sofia.c:379 sofia/default/990002@103.240.35.46:39384 SOFIA DESTROY
  579. 2023-01-09 09:26:52.418798 94.87% [DEBUG] switch_core_state_machine.c:175 sofia/default/990002@103.240.35.46:39384 Standard DESTROY
  580. 2023-01-09 09:26:52.418798 94.87% [DEBUG] switch_core_state_machine.c:745 (sofia/default/990002@103.240.35.46:39384) State DESTROY going to sleep
  581. 2023-01-09 09:26:52.438791 94.87% [DEBUG] switch_core_state_machine.c:168 sofia/default/90060@168.119.48.166 Standard REPORTING, cause: NORMAL_CLEARING
  582. 2023-01-09 09:26:52.438791 94.87% [DEBUG] switch_core_state_machine.c:932 (sofia/default/90060@168.119.48.166) State REPORTING going to sleep
  583. 2023-01-09 09:26:52.438791 94.87% [DEBUG] switch_core_state_machine.c:607 (sofia/default/90060@168.119.48.166) State Change CS_REPORTING -> CS_DESTROY
  584. 2023-01-09 09:26:52.438791 94.87% [DEBUG] switch_core_session.c:1753 Session 34 (sofia/default/90060@168.119.48.166) Locked, Waiting on external entities
  585. 2023-01-09 09:26:52.438791 94.87% [NOTICE] switch_core_session.c:1771 Session 34 (sofia/default/90060@168.119.48.166) Ended
  586. 2023-01-09 09:26:52.438791 94.87% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/90060@168.119.48.166 [CS_DESTROY]
  587. 2023-01-09 09:26:52.438791 94.87% [DEBUG] switch_core_state_machine.c:735 (sofia/default/90060@168.119.48.166) Running State Change CS_DESTROY (Cur 0 Tot 35)
  588. 2023-01-09 09:26:52.438791 94.87% [DEBUG] switch_core_state_machine.c:745 (sofia/default/90060@168.119.48.166) State DESTROY
  589. 2023-01-09 09:26:52.438791 94.87% [DEBUG] mod_sofia.c:379 sofia/default/90060@168.119.48.166 SOFIA DESTROY
  590. 2023-01-09 09:26:52.438791 94.87% [DEBUG] switch_core_state_machine.c:175 sofia/default/90060@168.119.48.166 Standard DESTROY
  591. 2023-01-09 09:26:52.438791 94.87% [DEBUG] switch_core_state_machine.c:745 (sofia/default/90060@168.119.48.166) State DESTROY going to sleep
  592. 2023-01-09 09:26:52.838807 94.43% [DEBUG] switch_scheduler.c:147 Deleting task 16 switch_ivr_schedule_hangup (98f8ec96-9eb3-4922-b67d-3ed60e823fbf)
  593. freeswitch@BetaQA>
  594. freeswitch@BetaQA>
  595. freeswitch@BetaQA>
  596. freeswitch@BetaQA>
  597. freeswitch@BetaQA>
  598. 2023-01-09 09:26:56.138802 94.43% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [101@astppqa601.astppbilling.org] from ip 103.240.35.46
  599. 2023-01-09 09:26:56.298802 94.43% [WARNING] sofia_reg.c:3223 Can't find user [101@astppqa601.astppbilling.org] from 103.240.35.46
  600. You must define a domain called 'astppqa601.astppbilling.org' in your directory and add a user with the id="101" attribute
  601. and you must configure your device to use the proper domain in its authentication credentials.
  602. 2023-01-09 09:26:56.738794 94.40% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [102@astppqa601.astppbilling.org] from ip 103.240.35.46
  603. 2023-01-09 09:26:56.898821 94.40% [WARNING] sofia_reg.c:3223 Can't find user [102@astppqa601.astppbilling.org] from 103.240.35.46
  604. You must define a domain called 'astppqa601.astppbilling.org' in your directory and add a user with the id="102" attribute
  605. and you must configure your device to use the proper domain in its authentication credentials.
  606. freeswitch@BetaQA> /exit