From Prashant Kumar, 6 Months ago, written in FreeSWITCH.
- go back
Embed
Viewing differences between and Ring-PSTN Call flow not working fine
  1. +OK log level  [7]
  2. freeswitch@ip-172-31-0-36>
  3. freeswitch@ip-172-31-0-36>
  4. freeswitch@ip-172-31-0-36>
  5. 2024-05-15 03:56:36.477532 93.40% [NOTICE] switch_channel.c:1142 New Channel sofia/default/8584990905@78.47.101.152 [d3216cf8-15d8-4f49-a0d5-a559ec2f009a]
  6. 2024-05-15 03:56:36.477532 93.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8584990905@78.47.101.152) Running State Change CS_NEW (Cur 1 Tot 871)
  7. 2024-05-15 03:56:36.477532 93.40% [INFO] sofia.c:10459 sofia/default/8584990905@78.47.101.152 receiving invite from 78.47.101.152:5076 version: 1.10.10-release  64bit call-id: f7a993d6-8d11-123d-219a-960001ee9f91
  8. 2024-05-15 03:56:36.477532 93.40% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 78.47.101.152:0.
  9. 2024-05-15 03:56:36.477532 93.40% [DEBUG] sofia.c:10582 IP 78.47.101.152 Approved by acl "default[]". Access Granted.
  10. 2024-05-15 03:56:36.477532 93.40% [DEBUG] sofia.c:7493 Channel sofia/default/8584990905@78.47.101.152 entering state [received][100]
  11. 2024-05-15 03:56:36.477532 93.40% [DEBUG] sofia.c:7503 Remote SDP:
  12. v=0
  13. o=FreeSWITCH 1715720718 1715720719 IN IP4 78.47.101.152
  14. s=FreeSWITCH
  15. c=IN IP4 78.47.101.152
  16. t=0 0
  17. m=audio 24678 RTP/AVP 8 101
  18. a=rtpmap:8 PCMA/8000
  19. a=rtpmap:101 telephone-event/8000
  20. a=fmtp:101 0-15
  21. a=ptime:20
  22.  
  23. 2024-05-15 03:56:36.477532 93.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  24. 2024-05-15 03:56:36.477532 93.40% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  25. 2024-05-15 03:56:36.477532 93.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  26. 2024-05-15 03:56:36.477532 93.40% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000
  27. 2024-05-15 03:56:36.477532 93.40% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/8584990905@78.47.101.152 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  28. 2024-05-15 03:56:36.477532 93.40% [DEBUG] switch_core_codec.c:111 sofia/default/8584990905@78.47.101.152 Original read codec set to PCMA:8
  29. 2024-05-15 03:56:36.477532 93.40% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000
  30. 2024-05-15 03:56:36.477532 93.40% [DEBUG] switch_core_media.c:5856 sofia/default/8584990905@78.47.101.152 Set 2833 dtmf send payload to 101 recv payload to 101
  31. 2024-05-15 03:56:36.477532 93.40% [DEBUG] sofia.c:7927 (sofia/default/8584990905@78.47.101.152) State Change CS_NEW -> CS_INIT
  32. 2024-05-15 03:56:36.477532 93.40% [DEBUG] switch_core_state_machine.c:600 (sofia/default/8584990905@78.47.101.152) State NEW
  33. 2024-05-15 03:56:36.477532 93.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8584990905@78.47.101.152) Running State Change CS_INIT (Cur 1 Tot 871)
  34. 2024-05-15 03:56:36.477532 93.40% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8584990905@78.47.101.152) State INIT
  35. 2024-05-15 03:56:36.477532 93.40% [DEBUG] mod_sofia.c:97 sofia/default/8584990905@78.47.101.152 SOFIA INIT
  36. 2024-05-15 03:56:36.477532 93.40% [DEBUG] switch_core_state_machine.c:40 sofia/default/8584990905@78.47.101.152 Standard INIT
  37. 2024-05-15 03:56:36.477532 93.40% [DEBUG] switch_core_state_machine.c:48 (sofia/default/8584990905@78.47.101.152) State Change CS_INIT -> CS_ROUTING
  38. 2024-05-15 03:56:36.477532 93.40% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8584990905@78.47.101.152) State INIT going to sleep
  39. 2024-05-15 03:56:36.477532 93.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8584990905@78.47.101.152) Running State Change CS_ROUTING (Cur 1 Tot 871)
  40. 2024-05-15 03:56:36.477532 93.40% [DEBUG] switch_channel.c:2399 (sofia/default/8584990905@78.47.101.152) Callstate Change DOWN -> RINGING
  41. 2024-05-15 03:56:36.477532 93.40% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8584990905@78.47.101.152) State ROUTING
  42. 2024-05-15 03:56:36.477532 93.40% [DEBUG] mod_sofia.c:158 sofia/default/8584990905@78.47.101.152 SOFIA ROUTING
  43. 2024-05-15 03:56:36.477532 93.40% [DEBUG] switch_core_state_machine.c:230 sofia/default/8584990905@78.47.101.152 Standard ROUTING
  44. 2024-05-15 03:56:36.477532 93.40% [INFO] mod_dialplan_xml.c:639 Processing 8584990905 <8584990905>->10770 in context default
  45. 2024-05-15 03:56:36.497527 93.40% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  46. 2024-05-15 03:56:36.497527 93.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  47. 2024-05-15 03:56:36.497527 93.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  48. 2024-05-15 03:56:36.497527 93.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  49. 2024-05-15 03:56:36.517525 93.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  50. 2024-05-15 03:56:36.517525 93.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  51. 2024-05-15 03:56:36.517525 93.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 10770
  52. 2024-05-15 03:56:36.517525 93.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '10770' limit 1
  53. 2024-05-15 03:56:36.517525 93.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  54. 2024-05-15 03:56:36.517525 93.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '10770' and status=0 LIMIT 1
  55. 2024-05-15 03:56:36.517525 93.40% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERFreeSWITCH
  56. 2024-05-15 03:56:36.517525 93.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  57. 2024-05-15 03:56:36.517525 93.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = '3.7.65.234' limit 1
  58. 2024-05-15 03:56:36.517525 93.40% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  59. 2024-05-15 03:56:36.517525 93.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 8584990905 / 8584990905
  60. 2024-05-15 03:56:36.517525 93.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  61. 2024-05-15 03:56:36.517525 93.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  62. 2024-05-15 03:56:36.517525 93.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  63. 2024-05-15 03:56:36.517525 93.40% [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.use_did_as_cid_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10770" LIMIT 1
  64. 2024-05-15 03:56:36.517525 93.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  65. 2024-05-15 03:56:36.517525 93.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :8584990905
  66. 2024-05-15 03:56:36.517525 93.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="2" and did_id ="3" and number ="8584990905" and status = '0' LIMIT 1
  67. 2024-05-15 03:56:36.517525 93.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  68. 2024-05-15 03:56:36.517525 93.40% [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("78.47.101.152") 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 "10770"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  69. 2024-05-15 03:56:36.517525 93.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 3673942894]
  70. 2024-05-15 03:56:36.517525 93.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "3673942894" OR id = "3673942894") AND deleted = 0 limit 1
  71. 2024-05-15 03:56:36.997531 92.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =2
  72. 2024-05-15 03:56:36.997531 92.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  73. 2024-05-15 03:56:36.997531 92.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]1
  74. 2024-05-15 03:56:36.997531 92.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  75. 2024-05-15 03:56:36.997531 92.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 2
  76. 2024-05-15 03:56:36.997531 92.17% [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 = '^10770.*' OR patterns = '^1077.*' OR patterns = '^107.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 2 ORDER BY LENGTH(PKGPTR.patterns) DESC
  77. 2024-05-15 03:56:36.997531 92.17% [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 ="10770" AND A.accountid = '3' limit 1
  78. 2024-05-15 03:56:36.997531 92.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 10770
  79. 2024-05-15 03:56:36.997531 92.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  80. 2024-05-15 03:56:36.997531 92.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  81. 2024-05-15 03:56:36.997531 92.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  82. 2024-05-15 03:56:36.997531 92.17% [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.use_did_as_cid_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10770" LIMIT 1
  83. 2024-05-15 03:56:36.997531 92.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  84. 2024-05-15 03:56:37.017532 92.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :8584990905
  85. 2024-05-15 03:56:37.017532 92.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="2" and did_id ="3" and number ="8584990905" and status = '0' LIMIT 1
  86. 2024-05-15 03:56:37.017532 92.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  87. 2024-05-15 03:56:37.017532 92.17% [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 = '10770' OR number = '1077' OR number = '107' OR number = '10' OR number = '1' OR number ='--') OR (number = '10770*' OR number = '1077*' OR number = '107*' OR number = '10*' OR number = '1*' OR number ='--') OR (number = '8584990905' OR number = '858499090' OR number = '85849909' OR number = '8584990' OR number = '858499' OR number = '85849' OR number = '8584' OR number = '858' OR number = '85' OR number = '8' OR number ='--') OR (number = '8584990905*' OR number = '858499090*' OR number = '85849909*' OR number = '8584990*' OR number = '858499*' OR number = '85849*' OR number = '8584*' OR number = '858*' OR number = '85*' OR number = '8*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  88. 2024-05-15 03:56:37.017532 92.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  89. 2024-05-15 03:56:37.017532 92.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '10770' OR routing_prefix = '1077' OR routing_prefix = '107' OR routing_prefix = '10' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  90. 2024-05-15 03:56:37.017532 92.17% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  91. 2024-05-15 03:56:37.017532 92.17% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 3
  92. 2024-05-15 03:56:37.017532 92.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 3673942894
  93. 2024-05-15 03:56:37.017532 92.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =2
  94. 2024-05-15 03:56:37.017532 92.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 9930.52
  95. 2024-05-15 03:56:37.017532 92.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  96. 2024-05-15 03:56:37.017532 92.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  97. 2024-05-15 03:56:37.017532 92.17% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  98. 2024-05-15 03:56:37.017532 92.17% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  99. 2024-05-15 03:56:37.017532 92.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  100. 2024-05-15 03:56:37.017532 92.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1
  101. 2024-05-15 03:56:37.017532 92.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  102. 2024-05-15 03:56:37.017532 92.17% [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.use_did_as_cid_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10770" LIMIT 1
  103. 2024-05-15 03:56:37.017532 92.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  104. 2024-05-15 03:56:37.017532 92.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :8584990905
  105. 2024-05-15 03:56:37.017532 92.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="2" and did_id ="3" and number ="8584990905" and status = '0' LIMIT 1
  106. 2024-05-15 03:56:37.017532 92.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 2  and status = 0 limit 1
  107. 2024-05-15 03:56:37.017532 92.17% [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.use_did_as_cid_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10770" LIMIT 1
  108. 2024-05-15 03:56:37.017532 92.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  109. 2024-05-15 03:56:37.017532 92.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :8584990905
  110. 2024-05-15 03:56:37.017532 92.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="2" and did_id ="3" and number ="8584990905" and status = '0' LIMIT 1
  111. 2024-05-15 03:56:37.017532 92.17% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  112. 2024-05-15 03:56:37.017532 92.17% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  113. 2024-05-15 03:56:37.017532 92.17% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 3
  114. 2024-05-15 03:56:37.017532 92.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  115. 2024-05-15 03:56:37.017532 92.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  116. 2024-05-15 03:56:37.017532 92.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 1.00000
  117. 2024-05-15 03:56:37.017532 92.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 10770
  118. 2024-05-15 03:56:37.017532 92.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
  119. 2024-05-15 03:56:37.017532 92.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 3
  120. 2024-05-15 03:56:37.017532 92.17% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  121. 2024-05-15 03:56:37.017532 92.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =2
  122. 2024-05-15 03:56:37.017532 92.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your9930.52 balance Accountid 3 !!!
  123. 2024-05-15 03:56:37.017532 92.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  124. 2024-05-15 03:56:37.017532 92.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  125. 2024-05-15 03:56:37.017532 92.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  126. 2024-05-15 03:56:37.017532 92.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  127. 2024-05-15 03:56:37.017532 92.17% [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
  128. 2024-05-15 03:56:37.017532 92.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "2" OR number = "2") AND deleted = 0 limit 1
  129. 2024-05-15 03:56:37.017532 92.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =2
  130. 2024-05-15 03:56:37.017532 92.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:3
  131. 2024-05-15 03:56:37.017532 92.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:3
  132. 2024-05-15 03:56:37.017532 92.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 3
  133. 2024-05-15 03:56:37.017532 92.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 2 limit 1
  134. 2024-05-15 03:56:37.017532 92.17% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : pk1betav602.astppbilling.org
  135. 2024-05-15 03:56:37.017532 92.17% [INFO] switch_cpp.cpp:1465 [ASTPP] condition working
  136. 2024-05-15 03:56:37.017532 92.17% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  137. 2024-05-15 03:56:37.017532 92.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
  138. 2024-05-15 03:56:37.017532 92.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
  139. 2024-05-15 03:56:37.017532 92.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = 'FreeSWITCH' and status = 0 limit 1
  140. 2024-05-15 03:56:37.017532 92.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  141. 2024-05-15 03:56:37.017532 92.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0
  142. 2024-05-15 03:56:37.017532 92.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  143. 2024-05-15 03:56:37.017532 92.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_record_info] Query :SELECT sip_device_routing.is_recording FROM sip_devices AS sip_devices, accounts AS accounts ,sip_device_routing AS sip_device_routing  WHERE sip_devices.accountid = accounts.id AND sip_devices.id = sip_device_routing.sip_device_id AND sip_devices.username = "1" AND accounts.status = 0
  144. 2024-05-15 03:56:37.017532 92.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Set number as redial] destination_number :10770
  145. 2024-05-15 03:56:37.017532 92.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Set number as return] destination_number :10770
  146. 2024-05-15 03:56:37.017532 92.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 2 limit 1
  147. 2024-05-15 03:56:37.017532 92.17% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : pk1betav602.astppbilling.org
  148. 2024-05-15 03:56:37.017532 92.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_RING_GROUP
  149. 2024-05-15 03:56:37.017532 92.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT daily_call_credit_limit,daily_call_used_limit,monthly_call_credit_limit,monthly_call_used_limit FROM accounts WHERE (number = 2 or id = 2 ) and status = 0 limit 1
  150. 2024-05-15 03:56:37.017532 92.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : RING_GROUP
  151. 2024-05-15 03:56:37.017532 92.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : Ring Group
  152. 2024-05-15 03:56:37.017532 92.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : Query - SELECT call_screening from accounts WHERE id = '2' LIMIT 1
  153. 2024-05-15 03:56:37.037530 92.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : Screening Option - 1
  154. 2024-05-15 03:56:37.037530 92.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : is_intro_recorded - false
  155. 2024-05-15 03:56:37.037530 92.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : introduction_recording_name -
  156. 2024-05-15 03:56:37.037530 92.17% [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,announcementid as ringgroup_announcementid,call_record as ringgroup_call_record,skip_busy as ringgroup_skip_busy,ringbackid as ringgroup_ringbackid,calleridname as ringgroup_calleridname,greetingid as ringgroup_greetingid,calleridnumber as ringgroup_calleridnumber,no_answer as ringgroup_no_answer,no_answer_call_type as no_answer_call_type,voicemail_set,no_answer_call_type_value, greetingid as ringgroup_greetingid, music_on_hold_type,music_on_hold from pbx_ringgroup WHERE id = 1 and status = 0 LIMIT 1
  157. 2024-05-15 03:56:37.037530 92.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX]  Conference greetingid::0
  158. 2024-05-15 03:56:37.037530 92.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '0' LIMIT 1
  159. 2024-05-15 03:56:37.037530 92.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :SELECT name FROM pbx_music_on_hold WHERE id = 0 ORDER BY RAND() LIMIT 1
  160. 2024-05-15 03:56:37.037530 92.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] check call route through TC to RG :SELECT username FROM sip_devices WHERE username = 'FreeSWITCH' and status = 0 limit 1
  161. 2024-05-15 03:56:37.037530 92.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 3 limit 1
  162. 2024-05-15 03:56:37.037530 92.17% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== announcement===================0
  163. 2024-05-15 03:56:37.037530 92.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Final Count : 0===
  164. 2024-05-15 03:56:37.037530 92.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="1000700005#"  AND domains.domain="pk1betav602.astppbilling.org" limit 1
  165. span style="color: green; font-weight: bold;"> 2024-05-15 03:56:37.037530 92.17% [INFO] switch_cpp.cpp:1465 [ASTPP] RingGroup Recording Flag : 1
  166. 2024-05-15 03:56:37.037530 92.17% [INFO] switch_cpp.cpp:1465 [ASTPP] RingGroup Dlr Str : [sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=3,call_timeout=15,confirm=false,announcement=no_file,announcement1=no_file,dialed_user=1000700005#,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=15]sofia/${sofia_profile_name}/1000700005@pk1betav602.astppbilling.org:5078|
  167. span style="color: green; font-weight: bold;"> 2024-05-15 03:56:37.037530 92.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '' LIMIT 1
  168. 2024-05-15 03:56:37.037530 92.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
  169. 2024-05-15 03:56:37.037530 92.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
  170. 2024-05-15 03:56:37.037530 92.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_park_in' limit 1
  171. 2024-05-15 03:56:37.037530 92.17% [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="10770">
  176. <condition field="destination_number" expression="10770">
  177. <action application="set" data="effective_destination_number=10770"/>
  178. <action application="set" data="execute_on_answer_1=sched_hangup +6000 normal_clearing"/>
  179. <action application="set" data="notify_flag=0"/>
  180. <action application="set" data="notify_credit_limit=0.00000"/>
  181. <action application="set" data="type=3"/>
  182. <action application="set" data="callstart=2024-05-15 03:56:37"/>
  183. <action application="set" data="hangup_after_bridge=true"/>
  184. <action application="set" data="continue_on_fail=TRUE"/>
  185. <action application="set" data="account_id=3"/>
  186. <action application="set" data="parent_id=0"/>
  187. <action application="set" data="entity_id=3"/>
  188. <action application="set" data="call_processed=internal"/>
  189. <action application="set" data="call_direction=inbound"/>
  190. <action application="set" data="accountname=OutSide"/>
  191. <action application="set" data="dialed_extension=transfer_call"/>
  192. <action application="export" data="dialed_extension=transfer_call"/>
  193. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  194. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  195. <action application="set" data="filename1=astpp.pbx.lua"/>
  196. <action application="set" data="origination_rates_did=ID:3|CODE:^10770.*|DESTINATION:10770|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:RING-GROUP|COST:1.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:3"/>
  197. <action application="set" data="origination_rates=0"/>
  198. <action application="set" data="original_caller_id_name=10770"/>
  199. <action application="set" data="original_caller_id_number=10770"/>
  200. <action application="export" data="is_recording=1"/>
  201. <action application="export" data="media_bug_answer_req=true"/>
  202. <action application="export" data="RECORD_STEREO=true"/>
  203. <action application="export" data="record_sample_rate=8000"/>
  204. <action application="export" data="execute_on_answer_2=record_session $${recordings_dir}/${uuid}.wav"/>
  205. <action application="hash" data="insert/${domain_name}-last_dial/${caller_id_number}/${destination_number}"/>
  206. <action application="hash" data="insert/${domain_name}-call_return/${destination_number}/${caller_id_number}"/>
  207. <action application="set" data="effective_caller_id_name=10770"/>
  208. <action application="set" data="effective_caller_id_number=10770"/>
  209. <action application="set" data="receiver_accid=2"/>
  210. <action application="export" data="domain_name=pk1betav602.astppbilling.org"/>
  211. <action application="export" data="sip_to_host=pk1betav602.astppbilling.org"/>
  212. <action application="export" data="presence_data=x|||default(3673942894)|||^10770.* // 10770 // 1.00000|||||||||DID|||78.47.101.152"/>
  213. <action application="export" data="call_type=RING-GROUP"/>
  214. <action application="set" data="did_calltype=RING_GROUP"/>
  215. <action application="set" data="did_extensions=1"/>
  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="export" data="is_recording=1"/>
  221. <action application="export" data="media_bug_answer_req=true"/>
  222. <action application="export" data="RECORD_STEREO=true"/>
  223. <action application="export" data="record_sample_rate=8000"/>
  224. <action application="export" data="execute_on_answer_2=record_session $${recordings_dir}/${uuid}.wav"/>
  225. <action application="set" data="group_confirm_key=exec"/>
  226. <action application="set" data="group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua"/>
  227. <action application="set" data="ringback="/>
  228. <action application="set" data="module_name=pbx"/>
  229. <action application="db" data="insert/pickup_any_group_${callgroup}/1/${uuid}"/>
  230. <action application="hash" data="insert/${domain_name}-call_return/1000700005#/${caller_id_number}"/>
  231. <action application="set" data="dialed_extension=transfer_call"/>
  232. <action application="export" data="dialed_extension=transfer_call"/>
  233. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  234. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  235. <action application="bind_meta_app" data="8 b s execute_extension::transfer_call_8 XML default"/>
  236. <action application="export" data="ring_group_transfer=true"/>
  237. <action application="set" data="fail_on_single_reject=CALL_REJECTED"/>
  238. <action application="bridge" data="{sip_h_P-call_type='custom_forward'}[sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=3,call_timeout=15,confirm=false,announcement=no_file,announcement1=no_file,dialed_user=1000700005#,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=15]sofia/${sofia_profile_name}/1000700005@pk1betav602.astppbilling.org:5078|"/>
  239. <action application="set" data="original_did_number=10770"/>
  240. </condition>
  241. </extension>
  242. </context>
  243. </section>
  244. </document>
  245. Dialplan: sofia/default/8584990905@78.47.101.152 parsing [default->10770] continue=false
  246. Dialplan: sofia/default/8584990905@78.47.101.152 Regex (PASS) [10770] destination_number(10770) =~ /10770/ break=on-false
  247. Dialplan: sofia/default/8584990905@78.47.101.152 Action set(effective_destination_number=10770)
  248. Dialplan: sofia/default/8584990905@78.47.101.152 Action set(execute_on_answer_1=sched_hangup +6000 normal_clearing)
  249. Dialplan: sofia/default/8584990905@78.47.101.152 Action set(notify_flag=0)
  250. Dialplan: sofia/default/8584990905@78.47.101.152 Action set(notify_credit_limit=0.00000)
  251. Dialplan: sofia/default/8584990905@78.47.101.152 Action set(type=3)
  252. Dialplan: sofia/default/8584990905@78.47.101.152 Action set(callstart=2024-05-15 03:56:37)
  253. Dialplan: sofia/default/8584990905@78.47.101.152 Action set(hangup_after_bridge=true)
  254. Dialplan: sofia/default/8584990905@78.47.101.152 Action set(continue_on_fail=TRUE)
  255. Dialplan: sofia/default/8584990905@78.47.101.152 Action set(account_id=3)
  256. Dialplan: sofia/default/8584990905@78.47.101.152 Action set(parent_id=0)
  257. Dialplan: sofia/default/8584990905@78.47.101.152 Action set(entity_id=3)
  258. Dialplan: sofia/default/8584990905@78.47.101.152 Action set(call_processed=internal)
  259. Dialplan: sofia/default/8584990905@78.47.101.152 Action set(call_direction=inbound)
  260. Dialplan: sofia/default/8584990905@78.47.101.152 Action set(accountname=OutSide)
  261. Dialplan: sofia/default/8584990905@78.47.101.152 Action set(dialed_extension=transfer_call)
  262. Dialplan: sofia/default/8584990905@78.47.101.152 Action export(dialed_extension=transfer_call)
  263. Dialplan: sofia/default/8584990905@78.47.101.152 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  264. Dialplan: sofia/default/8584990905@78.47.101.152 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  265. Dialplan: sofia/default/8584990905@78.47.101.152 Action set(filename1=astpp.pbx.lua)
  266. Dialplan: sofia/default/8584990905@78.47.101.152 Action set(origination_rates_did=ID:3|CODE:^10770.*|DESTINATION:10770|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:RING-GROUP|COST:1.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:3)
  267. Dialplan: sofia/default/8584990905@78.47.101.152 Action set(origination_rates=0)
  268. Dialplan: sofia/default/8584990905@78.47.101.152 Action set(original_caller_id_name=10770)
  269. Dialplan: sofia/default/8584990905@78.47.101.152 Action set(original_caller_id_number=10770)
  270. Dialplan: sofia/default/8584990905@78.47.101.152 Action export(is_recording=1)
  271. Dialplan: sofia/default/8584990905@78.47.101.152 Action export(media_bug_answer_req=true)
  272. Dialplan: sofia/default/8584990905@78.47.101.152 Action export(RECORD_STEREO=true)
  273. Dialplan: sofia/default/8584990905@78.47.101.152 Action export(record_sample_rate=8000)
  274. Dialplan: sofia/default/8584990905@78.47.101.152 Action export(execute_on_answer_2=record_session $${recordings_dir}/${uuid}.wav)
  275. Dialplan: sofia/default/8584990905@78.47.101.152 Action hash(insert/${domain_name}-last_dial/${caller_id_number}/${destination_number})
  276. Dialplan: sofia/default/8584990905@78.47.101.152 Action hash(insert/${domain_name}-call_return/${destination_number}/${caller_id_number})
  277. Dialplan: sofia/default/8584990905@78.47.101.152 Action set(effective_caller_id_name=10770)
  278. Dialplan: sofia/default/8584990905@78.47.101.152 Action set(effective_caller_id_number=10770)
  279. Dialplan: sofia/default/8584990905@78.47.101.152 Action set(receiver_accid=2)
  280. Dialplan: sofia/default/8584990905@78.47.101.152 Action export(domain_name=pk1betav602.astppbilling.org)
  281. Dialplan: sofia/default/8584990905@78.47.101.152 Action export(sip_to_host=pk1betav602.astppbilling.org)
  282. Dialplan: sofia/default/8584990905@78.47.101.152 Action export(presence_data=x|||default(3673942894)|||^10770.* // 10770 // 1.00000|||||||||DID|||78.47.101.152)
  283. Dialplan: sofia/default/8584990905@78.47.101.152 Action export(call_type=RING-GROUP)
  284. Dialplan: sofia/default/8584990905@78.47.101.152 Action set(did_calltype=RING_GROUP)
  285. Dialplan: sofia/default/8584990905@78.47.101.152 Action set(did_extensions=1)
  286. Dialplan: sofia/default/8584990905@78.47.101.152 Action set(daily_call_credit_limit=0.00000)
  287. Dialplan: sofia/default/8584990905@78.47.101.152 Action set(monthly_call_credit_limit=0.00000)
  288. Dialplan: sofia/default/8584990905@78.47.101.152 Action set(daily_call_used_limit=0.00000)
  289. Dialplan: sofia/default/8584990905@78.47.101.152 Action set(monthly_call_used_limit=0.00000)
  290. Dialplan: sofia/default/8584990905@78.47.101.152 Action export(is_recording=1)
  291. Dialplan: sofia/default/8584990905@78.47.101.152 Action export(media_bug_answer_req=true)
  292. Dialplan: sofia/default/8584990905@78.47.101.152 Action export(RECORD_STEREO=true)
  293. Dialplan: sofia/default/8584990905@78.47.101.152 Action export(record_sample_rate=8000)
  294. Dialplan: sofia/default/8584990905@78.47.101.152 Action export(execute_on_answer_2=record_session $${recordings_dir}/${uuid}.wav)
  295. Dialplan: sofia/default/8584990905@78.47.101.152 Action set(group_confirm_key=exec)
  296. Dialplan: sofia/default/8584990905@78.47.101.152 Action set(group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua)
  297. Dialplan: sofia/default/8584990905@78.47.101.152 Action set(ringback=)
  298. Dialplan: sofia/default/8584990905@78.47.101.152 Action set(module_name=pbx)
  299. Dialplan: sofia/default/8584990905@78.47.101.152 Action db(insert/pickup_any_group_${callgroup}/1/${uuid})
  300. Dialplan: sofia/default/8584990905@78.47.101.152 Action hash(insert/${domain_name}-call_return/1000700005#/${caller_id_number})
  301. Dialplan: sofia/default/8584990905@78.47.101.152 Action set(dialed_extension=transfer_call)
  302. Dialplan: sofia/default/8584990905@78.47.101.152 Action export(dialed_extension=transfer_call)
  303. Dialplan: sofia/default/8584990905@78.47.101.152 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  304. Dialplan: sofia/default/8584990905@78.47.101.152 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  305. Dialplan: sofia/default/8584990905@78.47.101.152 Action bind_meta_app(8 b s execute_extension::transfer_call_8 XML default)
  306. Dialplan: sofia/default/8584990905@78.47.101.152 Action export(ring_group_transfer=true)
  307. Dialplan: sofia/default/8584990905@78.47.101.152 Action set(fail_on_single_reject=CALL_REJECTED)
  308. Dialplan: sofia/default/8584990905@78.47.101.152 Action bridge({sip_h_P-call_type='custom_forward'}[sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=3,call_timeout=15,confirm=false,announcement=no_file,announcement1=no_file,dialed_user=1000700005#,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=15]sofia/${sofia_profile_name}/1000700005@pk1betav602.astppbilling.org:5078|)
  309. Dialplan: sofia/default/8584990905@78.47.101.152 Action set(original_did_number=10770)
  310. 2024-05-15 03:56:37.037530 92.17% [DEBUG] switch_core_state_machine.c:281 (sofia/default/8584990905@78.47.101.152) State Change CS_ROUTING -> CS_EXECUTE
  311. 2024-05-15 03:56:37.037530 92.17% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8584990905@78.47.101.152) State ROUTING going to sleep
  312. 2024-05-15 03:56:37.037530 92.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8584990905@78.47.101.152) Running State Change CS_EXECUTE (Cur 1 Tot 871)
  313. 2024-05-15 03:56:37.037530 92.17% [DEBUG] switch_core_state_machine.c:647 (sofia/default/8584990905@78.47.101.152) State EXECUTE
  314. 2024-05-15 03:56:37.037530 92.17% [DEBUG] mod_sofia.c:213 sofia/default/8584990905@78.47.101.152 SOFIA EXECUTE
  315. 2024-05-15 03:56:37.037530 92.17% [DEBUG] switch_core_state_machine.c:323 sofia/default/8584990905@78.47.101.152 Standard EXECUTE
  316. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 set(effective_destination_number=10770)
  317. 2024-05-15 03:56:37.037530 92.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/8584990905@78.47.101.152 [effective_destination_number]=[10770]
  318. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 set(execute_on_answer_1=sched_hangup +6000 normal_clearing)
  319. 2024-05-15 03:56:37.037530 92.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/8584990905@78.47.101.152 [execute_on_answer_1]=[sched_hangup +6000 normal_clearing]
  320. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 set(notify_flag=0)
  321. 2024-05-15 03:56:37.037530 92.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/8584990905@78.47.101.152 [notify_flag]=[0]
  322. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 set(notify_credit_limit=0.00000)
  323. 2024-05-15 03:56:37.037530 92.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/8584990905@78.47.101.152 [notify_credit_limit]=[0.00000]
  324. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 set(type=3)
  325. 2024-05-15 03:56:37.037530 92.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/8584990905@78.47.101.152 [type]=[3]
  326. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 set(callstart=2024-05-15 03:56:37)
  327. 2024-05-15 03:56:37.037530 92.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/8584990905@78.47.101.152 [callstart]=[2024-05-15 03:56:37]
  328. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 set(hangup_after_bridge=true)
  329. 2024-05-15 03:56:37.037530 92.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/8584990905@78.47.101.152 [hangup_after_bridge]=[true]
  330. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 set(continue_on_fail=TRUE)
  331. 2024-05-15 03:56:37.037530 92.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/8584990905@78.47.101.152 [continue_on_fail]=[TRUE]
  332. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 set(account_id=3)
  333. 2024-05-15 03:56:37.037530 92.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/8584990905@78.47.101.152 [account_id]=[3]
  334. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 set(parent_id=0)
  335. 2024-05-15 03:56:37.037530 92.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/8584990905@78.47.101.152 [parent_id]=[0]
  336. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 set(entity_id=3)
  337. 2024-05-15 03:56:37.037530 92.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/8584990905@78.47.101.152 [entity_id]=[3]
  338. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 set(call_processed=internal)
  339. 2024-05-15 03:56:37.037530 92.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/8584990905@78.47.101.152 [call_processed]=[internal]
  340. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 set(call_direction=inbound)
  341. 2024-05-15 03:56:37.037530 92.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/8584990905@78.47.101.152 [call_direction]=[inbound]
  342. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 set(accountname=OutSide)
  343. 2024-05-15 03:56:37.037530 92.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/8584990905@78.47.101.152 [accountname]=[OutSide]
  344. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 set(dialed_extension=transfer_call)
  345. 2024-05-15 03:56:37.037530 92.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/8584990905@78.47.101.152 [dialed_extension]=[transfer_call]
  346. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 export(dialed_extension=transfer_call)
  347. 2024-05-15 03:56:37.037530 92.17% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  348. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  349. 2024-05-15 03:56:37.037530 92.17% [INFO] switch_ivr_async.c:4782 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  350. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  351. 2024-05-15 03:56:37.037530 92.17% [INFO] switch_ivr_async.c:4782 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  352. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 set(filename1=astpp.pbx.lua)
  353. 2024-05-15 03:56:37.037530 92.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/8584990905@78.47.101.152 [filename1]=[astpp.pbx.lua]
  354. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 set(origination_rates_did=ID:3|CODE:^10770.*|DESTINATION:10770|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:RING-GROUP|COST:1.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:3)
  355. 2024-05-15 03:56:37.037530 92.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/8584990905@78.47.101.152 [origination_rates_did]=[ID:3|CODE:^10770.*|DESTINATION:10770|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:RING-GROUP|COST:1.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:3]
  356. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 set(origination_rates=0)
  357. 2024-05-15 03:56:37.037530 92.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/8584990905@78.47.101.152 [origination_rates]=[0]
  358. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 set(original_caller_id_name=10770)
  359. 2024-05-15 03:56:37.037530 92.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/8584990905@78.47.101.152 [original_caller_id_name]=[10770]
  360. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 set(original_caller_id_number=10770)
  361. 2024-05-15 03:56:37.057568 92.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/8584990905@78.47.101.152 [original_caller_id_number]=[10770]
  362. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 export(is_recording=1)
  363. 2024-05-15 03:56:37.057568 92.17% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [is_recording]=[1]
  364. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 export(media_bug_answer_req=true)
  365. 2024-05-15 03:56:37.057568 92.17% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [media_bug_answer_req]=[true]
  366. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 export(RECORD_STEREO=true)
  367. 2024-05-15 03:56:37.057568 92.17% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [RECORD_STEREO]=[true]
  368. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 export(record_sample_rate=8000)
  369. 2024-05-15 03:56:37.057568 92.17% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [record_sample_rate]=[8000]
  370. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 export(execute_on_answer_2=record_session /usr/local/freeswitch/recordings/d3216cf8-15d8-4f49-a0d5-a559ec2f009a.wav)
  371. 2024-05-15 03:56:37.057568 92.17% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [execute_on_answer_2]=[record_session /usr/local/freeswitch/recordings/d3216cf8-15d8-4f49-a0d5-a559ec2f009a.wav]
  372. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 hash(insert/172.31.0.36-last_dial/8584990905/10770)
  373. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 hash(insert/172.31.0.36-call_return/10770/8584990905)
  374. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 set(effective_caller_id_name=10770)
  375. 2024-05-15 03:56:37.057568 92.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/8584990905@78.47.101.152 [effective_caller_id_name]=[10770]
  376. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 set(effective_caller_id_number=10770)
  377. 2024-05-15 03:56:37.057568 92.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/8584990905@78.47.101.152 [effective_caller_id_number]=[10770]
  378. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 set(receiver_accid=2)
  379. 2024-05-15 03:56:37.057568 92.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/8584990905@78.47.101.152 [receiver_accid]=[2]
  380. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 export(domain_name=pk1betav602.astppbilling.org)
  381. 2024-05-15 03:56:37.057568 92.17% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [domain_name]=[pk1betav602.astppbilling.org]
  382. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 export(sip_to_host=pk1betav602.astppbilling.org)
  383. 2024-05-15 03:56:37.057568 92.17% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [sip_to_host]=[pk1betav602.astppbilling.org]
  384. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 export(presence_data=x|||default(3673942894)|||^10770.* // 10770 // 1.00000|||||||||DID|||78.47.101.152)
  385. 2024-05-15 03:56:37.057568 92.17% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[x|||default(3673942894)|||^10770.* // 10770 // 1.00000|||||||||DID|||78.47.101.152]
  386. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 export(call_type=RING-GROUP)
  387. 2024-05-15 03:56:37.057568 92.17% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [call_type]=[RING-GROUP]
  388. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 set(did_calltype=RING_GROUP)
  389. 2024-05-15 03:56:37.057568 92.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/8584990905@78.47.101.152 [did_calltype]=[RING_GROUP]
  390. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 set(did_extensions=1)
  391. 2024-05-15 03:56:37.057568 92.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/8584990905@78.47.101.152 [did_extensions]=[1]
  392. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 set(daily_call_credit_limit=0.00000)
  393. 2024-05-15 03:56:37.057568 92.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/8584990905@78.47.101.152 [daily_call_credit_limit]=[0.00000]
  394. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 set(monthly_call_credit_limit=0.00000)
  395. 2024-05-15 03:56:37.057568 92.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/8584990905@78.47.101.152 [monthly_call_credit_limit]=[0.00000]
  396. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 set(daily_call_used_limit=0.00000)
  397. 2024-05-15 03:56:37.057568 92.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/8584990905@78.47.101.152 [daily_call_used_limit]=[0.00000]
  398. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 set(monthly_call_used_limit=0.00000)
  399. 2024-05-15 03:56:37.057568 92.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/8584990905@78.47.101.152 [monthly_call_used_limit]=[0.00000]
  400. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 export(is_recording=1)
  401. 2024-05-15 03:56:37.057568 92.17% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [is_recording]=[1]
  402. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 export(media_bug_answer_req=true)
  403. 2024-05-15 03:56:37.057568 92.17% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [media_bug_answer_req]=[true]
  404. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 export(RECORD_STEREO=true)
  405. 2024-05-15 03:56:37.057568 92.17% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [RECORD_STEREO]=[true]
  406. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 export(record_sample_rate=8000)
  407. 2024-05-15 03:56:37.057568 92.17% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [record_sample_rate]=[8000]
  408. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 export(execute_on_answer_2=record_session /usr/local/freeswitch/recordings/d3216cf8-15d8-4f49-a0d5-a559ec2f009a.wav)
  409. 2024-05-15 03:56:37.057568 92.17% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [execute_on_answer_2]=[record_session /usr/local/freeswitch/recordings/d3216cf8-15d8-4f49-a0d5-a559ec2f009a.wav]
  410. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 set(group_confirm_key=exec)
  411. 2024-05-15 03:56:37.057568 92.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/8584990905@78.47.101.152 [group_confirm_key]=[exec]
  412. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 set(group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua)
  413. 2024-05-15 03:56:37.057568 92.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/8584990905@78.47.101.152 [group_confirm_file]=[lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua]
  414. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 set(ringback=)
  415. 2024-05-15 03:56:37.057568 92.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/8584990905@78.47.101.152 [ringback]=[UNDEF]
  416. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 set(module_name=pbx)
  417. 2024-05-15 03:56:37.057568 92.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/8584990905@78.47.101.152 [module_name]=[pbx]
  418. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 db(insert/pickup_any_group_/1/d3216cf8-15d8-4f49-a0d5-a559ec2f009a)
  419. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 hash(insert/pk1betav602.astppbilling.org-call_return/1000700005#/8584990905)
  420. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 set(dialed_extension=transfer_call)
  421. 2024-05-15 03:56:37.057568 92.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/8584990905@78.47.101.152 [dialed_extension]=[transfer_call]
  422. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 export(dialed_extension=transfer_call)
  423. 2024-05-15 03:56:37.057568 92.17% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  424. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  425. 2024-05-15 03:56:37.057568 92.17% [INFO] switch_ivr_async.c:4782 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  426. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  427. 2024-05-15 03:56:37.057568 92.17% [INFO] switch_ivr_async.c:4782 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  428. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 bind_meta_app(8 b s execute_extension::transfer_call_8 XML default)
  429. 2024-05-15 03:56:37.057568 92.17% [INFO] switch_ivr_async.c:4782 Bound B-Leg: *8 execute_extension::transfer_call_8 XML default
  430. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 export(ring_group_transfer=true)
  431. 2024-05-15 03:56:37.057568 92.17% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [ring_group_transfer]=[true]
  432. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 set(fail_on_single_reject=CALL_REJECTED)
  433. 2024-05-15 03:56:37.057568 92.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/8584990905@78.47.101.152 [fail_on_single_reject]=[CALL_REJECTED]
  434. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 bridge({sip_h_P-call_type='custom_forward'}[sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=3,call_timeout=15,confirm=false,announcement=no_file,announcement1=no_file,dialed_user=1000700005#,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=15]sofia/default/1000700005@pk1betav602.astppbilling.org:5078|)
  435. span style="color: goldenrod; font-weight: bold;"> 2024-05-15 03:56:37.057568 92.17% [DEBUG] switch_channel.c:1288 sofia/default/8584990905@78.47.101.152 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  436. 2024-05-15 03:56:37.057568 92.17% [DEBUG] switch_channel.c:1288 sofia/default/8584990905@78.47.101.152 EXPORTING[export_vars] [is_recording]=[1] to event
  437. 2024-05-15 03:56:37.057568 92.17% [DEBUG] switch_channel.c:1288 sofia/default/8584990905@78.47.101.152 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  438. 2024-05-15 03:56:37.057568 92.17% [DEBUG] switch_channel.c:1288 sofia/default/8584990905@78.47.101.152 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
  439. 2024-05-15 03:56:37.057568 92.17% [DEBUG] switch_channel.c:1288 sofia/default/8584990905@78.47.101.152 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  440. 2024-05-15 03:56:37.057568 92.17% [DEBUG] switch_channel.c:1288 sofia/default/8584990905@78.47.101.152 EXPORTING[export_vars] [execute_on_answer_2]=[record_session /usr/local/freeswitch/recordings/d3216cf8-15d8-4f49-a0d5-a559ec2f009a.wav] to event
  441. 2024-05-15 03:56:37.057568 92.17% [DEBUG] switch_channel.c:1288 sofia/default/8584990905@78.47.101.152 EXPORTING[export_vars] [domain_name]=[pk1betav602.astppbilling.org] to event
  442. 2024-05-15 03:56:37.057568 92.17% [DEBUG] switch_channel.c:1288 sofia/default/8584990905@78.47.101.152 EXPORTING[export_vars] [sip_to_host]=[pk1betav602.astppbilling.org] to event
  443. 2024-05-15 03:56:37.057568 92.17% [DEBUG] switch_channel.c:1288 sofia/default/8584990905@78.47.101.152 EXPORTING[export_vars] [presence_data]=[x|||default(3673942894)|||^10770.* // 10770 // 1.00000|||||||||DID|||78.47.101.152] to event
  444. 2024-05-15 03:56:37.057568 92.17% [DEBUG] switch_channel.c:1288 sofia/default/8584990905@78.47.101.152 EXPORTING[export_vars] [call_type]=[RING-GROUP] to event
  445. 2024-05-15 03:56:37.057568 92.17% [DEBUG] switch_channel.c:1288 sofia/default/8584990905@78.47.101.152 EXPORTING[export_vars] [is_recording]=[1] to event
  446. 2024-05-15 03:56:37.057568 92.17% [DEBUG] switch_channel.c:1288 sofia/default/8584990905@78.47.101.152 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  447. 2024-05-15 03:56:37.057568 92.17% [DEBUG] switch_channel.c:1288 sofia/default/8584990905@78.47.101.152 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
  448. 2024-05-15 03:56:37.057568 92.17% [DEBUG] switch_channel.c:1288 sofia/default/8584990905@78.47.101.152 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  449. 2024-05-15 03:56:37.057568 92.17% [DEBUG] switch_channel.c:1288 sofia/default/8584990905@78.47.101.152 EXPORTING[export_vars] [execute_on_answer_2]=[record_session /usr/local/freeswitch/recordings/d3216cf8-15d8-4f49-a0d5-a559ec2f009a.wav] to event
  450. 2024-05-15 03:56:37.057568 92.17% [DEBUG] switch_channel.c:1288 sofia/default/8584990905@78.47.101.152 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  451. 2024-05-15 03:56:37.057568 92.17% [DEBUG] switch_channel.c:1288 sofia/default/8584990905@78.47.101.152 EXPORTING[export_vars] [ring_group_transfer]=[true] to event
  452. 2024-05-15 03:56:37.057568 92.17% [DEBUG] switch_ivr_originate.c:2297 Parsing global variables
  453. 2024-05-15 03:56:37.057568 92.17% [DEBUG] switch_ivr_originate.c:2859 Parsing session specific variables
  454. 2024-05-15 03:56:37.057568 92.17% [NOTICE] switch_channel.c:1142 New Channel sofia/default/1000700005@pk1betav602.astppbilling.org:5078 [559f9f51-5f8b-406a-b204-a9876bb69acb]
  455. 2024-05-15 03:56:37.057568 92.17% [DEBUG] mod_sofia.c:5110 (sofia/default/1000700005@pk1betav602.astppbilling.org:5078) State Change CS_NEW -> CS_INIT
  456. 2024-05-15 03:56:37.057568 92.17% [DEBUG] switch_ivr_originate.c:3167 sofia/default/1000700005@pk1betav602.astppbilling.org:5078 Setting leg timeout to 15
  457. 2024-05-15 03:56:37.097525 92.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000700005@pk1betav602.astppbilling.org:5078) Running State Change CS_INIT (Cur 2 Tot 872)
  458. 2024-05-15 03:56:37.097525 92.17% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1000700005@pk1betav602.astppbilling.org:5078) State INIT
  459. 2024-05-15 03:56:37.097525 92.17% [DEBUG] mod_sofia.c:97 sofia/default/1000700005@pk1betav602.astppbilling.org:5078 SOFIA INIT
  460. 2024-05-15 03:56:37.097525 92.17% [INFO] sofia_glue.c:1659 sofia/default/1000700005@pk1betav602.astppbilling.org:5078 sending invite call-id: (null)
  461. 2024-05-15 03:56:37.097525 92.17% [DEBUG] sofia_glue.c:1662 sofia/default/1000700005@pk1betav602.astppbilling.org:5078 sending invite version: 1.10.10-release  64bit
  462. Local SDP:
  463. v=0
  464. o=FreeSWITCH 1715713113 1715713114 IN IP4 3.7.65.234
  465. s=FreeSWITCH
  466. c=IN IP4 3.7.65.234
  467. t=0 0
  468. m=audio 32284 RTP/AVP 8 101
  469. a=rtpmap:8 PCMA/8000
  470. a=rtpmap:101 telephone-event/8000
  471. a=fmtp:101 0-15
  472. a=ptime:20
  473. a=sendrecv
  474.  
  475. 2024-05-15 03:56:37.097525 92.17% [DEBUG] switch_core_state_machine.c:40 sofia/default/1000700005@pk1betav602.astppbilling.org:5078 Standard INIT
  476. 2024-05-15 03:56:37.097525 92.17% [DEBUG] switch_core_state_machine.c:48 (sofia/default/1000700005@pk1betav602.astppbilling.org:5078) State Change CS_INIT -> CS_ROUTING
  477. 2024-05-15 03:56:37.097525 92.17% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1000700005@pk1betav602.astppbilling.org:5078) State INIT going to sleep
  478. 2024-05-15 03:56:37.097525 92.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000700005@pk1betav602.astppbilling.org:5078) Running State Change CS_ROUTING (Cur 2 Tot 872)
  479. 2024-05-15 03:56:37.097525 92.17% [DEBUG] sofia.c:7493 Channel sofia/default/1000700005@pk1betav602.astppbilling.org:5078 entering state [calling][0]
  480. 2024-05-15 03:56:37.097525 92.17% [NOTICE] switch_channel.c:1142 New Channel sofia/default/10770@3.7.65.234 [509d74e0-3ffe-435a-811e-9b1624efb317]
  481. 2024-05-15 03:56:37.097525 92.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/10770@3.7.65.234) Running State Change CS_NEW (Cur 3 Tot 873)
  482. 2024-05-15 03:56:37.097525 92.17% [INFO] sofia.c:10459 sofia/default/10770@3.7.65.234 receiving invite from 3.7.65.234:5078 version: 1.10.10-release  64bit call-id: f8129835-8d11-123d-eb81-0a53d06ef8f9
  483. 2024-05-15 03:56:37.097525 92.17% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 3.7.65.234:0.
  484. 2024-05-15 03:56:37.097525 92.17% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1000700005@pk1betav602.astppbilling.org:5078) State ROUTING
  485. 2024-05-15 03:56:37.097525 92.17% [DEBUG] mod_sofia.c:158 sofia/default/1000700005@pk1betav602.astppbilling.org:5078 SOFIA ROUTING
  486. 2024-05-15 03:56:37.097525 92.17% [DEBUG] switch_ivr_originate.c:67 (sofia/default/1000700005@pk1betav602.astppbilling.org:5078) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  487. 2024-05-15 03:56:37.097525 92.17% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1000700005@pk1betav602.astppbilling.org:5078) State ROUTING going to sleep
  488. 2024-05-15 03:56:37.097525 92.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000700005@pk1betav602.astppbilling.org:5078) Running State Change CS_CONSUME_MEDIA (Cur 3 Tot 873)
  489. 2024-05-15 03:56:37.097525 92.17% [DEBUG] switch_core_state_machine.c:659 (sofia/default/1000700005@pk1betav602.astppbilling.org:5078) State CONSUME_MEDIA
  490. 2024-05-15 03:56:37.097525 92.17% [DEBUG] switch_core_state_machine.c:659 (sofia/default/1000700005@pk1betav602.astppbilling.org:5078) State CONSUME_MEDIA going to sleep
  491. 2024-05-15 03:56:37.097525 92.17% [DEBUG] sofia.c:2419 detaching session 509d74e0-3ffe-435a-811e-9b1624efb317
  492. 2024-05-15 03:56:37.097525 92.17% [WARNING] sofia_reg.c:1842 SIP auth challenge (INVITE) on sofia profile 'default' for [1000700005@pk1betav602.astppbilling.org] from ip 3.7.65.234
  493. 2024-05-15 03:56:37.097525 92.17% [DEBUG] switch_core_state_machine.c:600 (sofia/default/10770@3.7.65.234) State NEW
  494. 2024-05-15 03:56:37.117528 92.17% [WARNING] sofia_reg.c:2843 Cannot locate any authentication credentials to complete an authentication request for realm '"3.7.65.234"'
  495. 2024-05-15 03:56:37.117528 92.17% [NOTICE] sofia_reg.c:2867 Hangup sofia/default/1000700005@pk1betav602.astppbilling.org:5078 [CS_CONSUME_MEDIA] [MANDATORY_IE_MISSING]
  496. 2024-05-15 03:56:37.117528 92.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000700005@pk1betav602.astppbilling.org:5078) Running State Change CS_HANGUP (Cur 3 Tot 873)
  497. 2024-05-15 03:56:37.117528 92.17% [DEBUG] switch_core_state_machine.c:844 (sofia/default/1000700005@pk1betav602.astppbilling.org:5078) Callstate Change DOWN -> HANGUP
  498. 2024-05-15 03:56:37.117528 92.17% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1000700005@pk1betav602.astppbilling.org:5078) State HANGUP
  499. 2024-05-15 03:56:37.117528 92.17% [DEBUG] mod_sofia.c:469 Channel sofia/default/1000700005@pk1betav602.astppbilling.org:5078 hanging up, cause: MANDATORY_IE_MISSING
  500. 2024-05-15 03:56:37.117528 92.17% [DEBUG] mod_sofia.c:537 Sending CANCEL to sofia/default/1000700005@pk1betav602.astppbilling.org:5078
  501. 2024-05-15 03:56:37.117528 92.17% [DEBUG] switch_core_state_machine.c:59 sofia/default/1000700005@pk1betav602.astppbilling.org:5078 Standard HANGUP, cause: MANDATORY_IE_MISSING
  502. 2024-05-15 03:56:37.117528 92.17% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1000700005@pk1betav602.astppbilling.org:5078) State HANGUP going to sleep
  503. 2024-05-15 03:56:37.117528 92.17% [DEBUG] switch_core_state_machine.c:616 (sofia/default/1000700005@pk1betav602.astppbilling.org:5078) State Change CS_HANGUP -> CS_REPORTING
  504. 2024-05-15 03:56:37.117528 92.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000700005@pk1betav602.astppbilling.org:5078) Running State Change CS_REPORTING (Cur 3 Tot 873)
  505. 2024-05-15 03:56:37.117528 92.17% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1000700005@pk1betav602.astppbilling.org:5078) State REPORTING
  506. 2024-05-15 03:56:37.117528 92.17% [INFO] mod_json_cdr.c:272 Process [559f9f51-5f8b-406a-b204-a9876bb69acb.cdr.json]
  507. 2024-05-15 03:56:37.117528 92.17% [DEBUG] switch_core_state_machine.c:168 sofia/default/1000700005@pk1betav602.astppbilling.org:5078 Standard REPORTING, cause: MANDATORY_IE_MISSING
  508. 2024-05-15 03:56:37.117528 92.17% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1000700005@pk1betav602.astppbilling.org:5078) State REPORTING going to sleep
  509. 2024-05-15 03:56:37.117528 92.17% [DEBUG] switch_core_state_machine.c:607 (sofia/default/1000700005@pk1betav602.astppbilling.org:5078) State Change CS_REPORTING -> CS_DESTROY
  510. 2024-05-15 03:56:37.117528 92.17% [DEBUG] switch_core_session.c:1744 Session 872 (sofia/default/1000700005@pk1betav602.astppbilling.org:5078) Locked, Waiting on external entities
  511. 2024-05-15 03:56:37.117528 92.17% [DEBUG] switch_ivr_originate.c:4052 Originate Resulted in Error Cause: 96 [MANDATORY_IE_MISSING]
  512. 2024-05-15 03:56:37.117528 92.17% [INFO] mod_dptools.c:3635 Originate Failed.  Cause: MANDATORY_IE_MISSING
  513. EXECUTE [depth=0] sofia/default/8584990905@78.47.101.152 set(original_did_number=10770)
  514. 2024-05-15 03:56:37.117528 92.17% [DEBUG] mod_dptools.c:1671 SET sofia/default/8584990905@78.47.101.152 [original_did_number]=[10770]
  515. 2024-05-15 03:56:37.117528 92.17% [NOTICE] switch_core_state_machine.c:382 sofia/default/8584990905@78.47.101.152 has executed the last dialplan instruction, hanging up.
  516. 2024-05-15 03:56:37.117528 92.17% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/default/8584990905@78.47.101.152 [CS_EXECUTE] [NORMAL_CLEARING]
  517. 2024-05-15 03:56:37.117528 92.17% [DEBUG] switch_core_state_machine.c:647 (sofia/default/8584990905@78.47.101.152) State EXECUTE going to sleep
  518. 2024-05-15 03:56:37.117528 92.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8584990905@78.47.101.152) Running State Change CS_HANGUP (Cur 3 Tot 873)
  519. 2024-05-15 03:56:37.117528 92.17% [DEBUG] switch_core_state_machine.c:844 (sofia/default/8584990905@78.47.101.152) Callstate Change RINGING -> HANGUP
  520. 2024-05-15 03:56:37.117528 92.17% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8584990905@78.47.101.152) State HANGUP
  521. 2024-05-15 03:56:37.117528 92.17% [DEBUG] mod_sofia.c:469 Channel sofia/default/8584990905@78.47.101.152 hanging up, cause: NORMAL_CLEARING
  522. 2024-05-15 03:56:37.117528 92.17% [DEBUG] mod_sofia.c:614 Responding to INVITE with: 480
  523. 2024-05-15 03:56:37.117528 92.17% [DEBUG] switch_core_state_machine.c:59 sofia/default/8584990905@78.47.101.152 Standard HANGUP, cause: NORMAL_CLEARING
  524. 2024-05-15 03:56:37.117528 92.17% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8584990905@78.47.101.152) State HANGUP going to sleep
  525. 2024-05-15 03:56:37.117528 92.17% [DEBUG] switch_core_state_machine.c:616 (sofia/default/8584990905@78.47.101.152) State Change CS_HANGUP -> CS_REPORTING
  526. 2024-05-15 03:56:37.137527 92.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8584990905@78.47.101.152) Running State Change CS_REPORTING (Cur 3 Tot 873)
  527. 2024-05-15 03:56:37.137527 92.17% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8584990905@78.47.101.152) State REPORTING
  528. 2024-05-15 03:56:37.137527 92.17% [INFO] mod_json_cdr.c:272 Process [d3216cf8-15d8-4f49-a0d5-a559ec2f009a.cdr.json]
  529. 2024-05-15 03:56:37.137527 92.17% [NOTICE] switch_core_session.c:1762 Session 872 (sofia/default/1000700005@pk1betav602.astppbilling.org:5078) Ended
  530. 2024-05-15 03:56:37.137527 92.17% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/1000700005@pk1betav602.astppbilling.org:5078 [CS_DESTROY]
  531. 2024-05-15 03:56:37.137527 92.17% [DEBUG] switch_core_state_machine.c:735 (sofia/default/1000700005@pk1betav602.astppbilling.org:5078) Running State Change CS_DESTROY (Cur 2 Tot 873)
  532. 2024-05-15 03:56:37.137527 92.17% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1000700005@pk1betav602.astppbilling.org:5078) State DESTROY
  533. 2024-05-15 03:56:37.137527 92.17% [DEBUG] mod_sofia.c:380 sofia/default/1000700005@pk1betav602.astppbilling.org:5078 SOFIA DESTROY
  534. 2024-05-15 03:56:37.137527 92.17% [DEBUG] switch_core_state_machine.c:175 sofia/default/1000700005@pk1betav602.astppbilling.org:5078 Standard DESTROY
  535. 2024-05-15 03:56:37.137527 92.17% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1000700005@pk1betav602.astppbilling.org:5078) State DESTROY going to sleep
  536. 2024-05-15 03:56:37.157531 92.17% [DEBUG] switch_core_state_machine.c:168 sofia/default/8584990905@78.47.101.152 Standard REPORTING, cause: NORMAL_CLEARING
  537. 2024-05-15 03:56:37.157531 92.17% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8584990905@78.47.101.152) State REPORTING going to sleep
  538. 2024-05-15 03:56:37.157531 92.17% [DEBUG] switch_core_state_machine.c:607 (sofia/default/8584990905@78.47.101.152) State Change CS_REPORTING -> CS_DESTROY
  539. 2024-05-15 03:56:37.157531 92.17% [DEBUG] switch_core_session.c:1744 Session 871 (sofia/default/8584990905@78.47.101.152) Locked, Waiting on external entities
  540. 2024-05-15 03:56:37.157531 92.17% [NOTICE] switch_core_session.c:1762 Session 871 (sofia/default/8584990905@78.47.101.152) Ended
  541. 2024-05-15 03:56:37.157531 92.17% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/8584990905@78.47.101.152 [CS_DESTROY]
  542. 2024-05-15 03:56:37.157531 92.17% [DEBUG] switch_core_state_machine.c:735 (sofia/default/8584990905@78.47.101.152) Running State Change CS_DESTROY (Cur 1 Tot 873)
  543. 2024-05-15 03:56:37.157531 92.17% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8584990905@78.47.101.152) State DESTROY
  544. 2024-05-15 03:56:37.157531 92.17% [DEBUG] mod_sofia.c:380 sofia/default/8584990905@78.47.101.152 SOFIA DESTROY
  545. 2024-05-15 03:56:37.157531 92.17% [DEBUG] switch_core_state_machine.c:175 sofia/default/8584990905@78.47.101.152 Standard DESTROY
  546. 2024-05-15 03:56:37.157531 92.17% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8584990905@78.47.101.152) State DESTROY going to sleep
  547. 2024-05-15 03:56:47.137578 89.97% [WARNING] switch_core_state_machine.c:684 509d74e0-3ffe-435a-811e-9b1624efb317 sofia/default/10770@3.7.65.234 Abandoned
  548. 2024-05-15 03:56:47.137578 89.97% [NOTICE] switch_core_state_machine.c:687 Hangup sofia/default/10770@3.7.65.234 [CS_NEW] [WRONG_CALL_STATE]
  549. 2024-05-15 03:56:47.137578 89.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/10770@3.7.65.234) Running State Change CS_HANGUP (Cur 1 Tot 873)
  550. 2024-05-15 03:56:47.137578 89.97% [DEBUG] switch_core_state_machine.c:844 (sofia/default/10770@3.7.65.234) Callstate Change DOWN -> HANGUP
  551. 2024-05-15 03:56:47.137578 89.97% [DEBUG] switch_core_state_machine.c:846 (sofia/default/10770@3.7.65.234) State HANGUP
  552. 2024-05-15 03:56:47.137578 89.97% [DEBUG] mod_sofia.c:469 Channel sofia/default/10770@3.7.65.234 hanging up, cause: WRONG_CALL_STATE
  553. 2024-05-15 03:56:47.137578 89.97% [DEBUG] switch_core_state_machine.c:59 sofia/default/10770@3.7.65.234 Standard HANGUP, cause: WRONG_CALL_STATE
  554. 2024-05-15 03:56:47.137578 89.97% [DEBUG] switch_core_state_machine.c:846 (sofia/default/10770@3.7.65.234) State HANGUP going to sleep
  555. 2024-05-15 03:56:47.137578 89.97% [DEBUG] switch_core_state_machine.c:616 (sofia/default/10770@3.7.65.234) State Change CS_HANGUP -> CS_REPORTING
  556. 2024-05-15 03:56:47.137578 89.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/10770@3.7.65.234) Running State Change CS_REPORTING (Cur 1 Tot 873)
  557. 2024-05-15 03:56:47.137578 89.97% [DEBUG] switch_core_state_machine.c:932 (sofia/default/10770@3.7.65.234) State REPORTING
  558. 2024-05-15 03:56:47.137578 89.97% [DEBUG] switch_core_state_machine.c:168 sofia/default/10770@3.7.65.234 Standard REPORTING, cause: WRONG_CALL_STATE
  559. 2024-05-15 03:56:47.137578 89.97% [DEBUG] switch_core_state_machine.c:932 (sofia/default/10770@3.7.65.234) State REPORTING going to sleep
  560. 2024-05-15 03:56:47.137578 89.97% [DEBUG] switch_core_state_machine.c:607 (sofia/default/10770@3.7.65.234) State Change CS_REPORTING -> CS_DESTROY
  561. 2024-05-15 03:56:47.137578 89.97% [DEBUG] switch_core_session.c:1744 Session 873 (sofia/default/10770@3.7.65.234) Locked, Waiting on external entities
  562. 2024-05-15 03:56:47.137578 89.97% [NOTICE] switch_core_session.c:1762 Session 873 (sofia/default/10770@3.7.65.234) Ended
  563. 2024-05-15 03:56:47.137578 89.97% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/10770@3.7.65.234 [CS_DESTROY]
  564. 2024-05-15 03:56:47.137578 89.97% [DEBUG] switch_core_state_machine.c:735 (sofia/default/10770@3.7.65.234) Running State Change CS_DESTROY (Cur 0 Tot 873)
  565. 2024-05-15 03:56:47.137578 89.97% [DEBUG] switch_core_state_machine.c:745 (sofia/default/10770@3.7.65.234) State DESTROY
  566. 2024-05-15 03:56:47.137578 89.97% [DEBUG] mod_sofia.c:380 sofia/default/10770@3.7.65.234 SOFIA DESTROY
  567. 2024-05-15 03:56:47.137578 89.97% [DEBUG] switch_core_state_machine.c:175 sofia/default/10770@3.7.65.234 Standard DESTROY
  568. 2024-05-15 03:56:47.137578 89.97% [DEBUG] switch_core_state_machine.c:745 (sofia/default/10770@3.7.65.234) State DESTROY going to sleep
  569. 2024-05-15 03:56:53.277553 90.63% [WARNING] sofia_reg.c:1842 SIP auth challenge (REGISTER) on sofia profile 'default' for [99909@pk1betav602.astppbilling.org] from ip 152.58.191.136
  570. 2024-05-15 03:56:53.977555 91.10% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur.
  571. freeswitch@ip-172-31-0-36>
  572. freeswitch@ip-172-31-0-36>
  573. freeswitch@ip-172-31-0-36> /exit
  574.  
  575. You have new mail in /var/mail/root
  576.