From Prashant Kumar, 10 Months ago, written in FreeSWITCH.
- view diff
Embed
  1. Type /help <enter> to see a list of commands
  2.  
  3.  
  4.  
  5.  
  6. [This app Best viewed at 160x60 or more..]
  7. +OK log level  [7]
  8. 2023-05-27 11:13:19.045603 95.93% [NOTICE] switch_channel.c:1123 New Channel sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [9e4a7dd0-311a-415f-82d0-bdc89baa8177]
  9. 2023-05-27 11:13:19.045603 95.93% [DEBUG] switch_core_state_machine.c:581 (sofia/PKsipProfileALPHA/8000500020@13.232.246.166) Running State Change CS_NEW (Cur 1 Tot 63)
  10. 2023-05-27 11:13:19.045603 95.93% [INFO] sofia.c:10453 sofia/PKsipProfileALPHA/8000500020@13.232.246.166 receiving invite from 13.232.246.166:5077 version: 1.10.9-release git a615e85 2023-02-03 20:07:30Z 64bit call-id: 535fd533-7722-123c-65b2-02c9c4cfda14
  11. 2023-05-27 11:13:19.045603 95.93% [DEBUG] sofia.c:10547 verifying acl "PKsipProfileALPHA" for ip/port 13.232.246.166:0.
  12. 2023-05-27 11:13:19.045603 95.93% [DEBUG] sofia.c:10576 IP 13.232.246.166 Approved by acl "PKsipProfileALPHA[]". Access Granted.
  13. 2023-05-27 11:13:19.045603 95.93% [DEBUG] sofia.c:7487 Channel sofia/PKsipProfileALPHA/8000500020@13.232.246.166 entering state [received][100]
  14. 2023-05-27 11:13:19.045603 95.93% [DEBUG] sofia.c:7497 Remote SDP:
  15. v=0
  16. o=FreeSWITCH 1685161934 1685161935 IN IP4 13.232.246.166
  17. s=FreeSWITCH
  18. c=IN IP4 13.232.246.166
  19. t=0 0
  20. m=audio 24064 RTP/AVP 0 101
  21. a=rtpmap:0 PCMU/8000
  22. a=rtpmap:101 telephone-event/8000
  23. a=fmtp:101 0-15
  24. a=ptime:20
  25.  
  26. 2023-05-27 11:13:19.045603 95.93% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  27. 2023-05-27 11:13:19.045603 95.93% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  28. 2023-05-27 11:13:19.045603 95.93% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  29. 2023-05-27 11:13:19.045603 95.93% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  30. 2023-05-27 11:13:19.045603 95.93% [DEBUG] switch_core_media.c:5443 Set telephone-event payload to 101@8000
  31. 2023-05-27 11:13:19.065571 95.93% [DEBUG] switch_core_media.c:3750 Set Codec sofia/PKsipProfileALPHA/8000500020@13.232.246.166 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  32. 2023-05-27 11:13:19.065571 95.93% [DEBUG] switch_core_codec.c:111 sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Original read codec set to PCMU:0
  33. 2023-05-27 11:13:19.065571 95.93% [DEBUG] switch_core_media.c:5792 Set telephone-event payload to 101@8000
  34. 2023-05-27 11:13:19.065571 95.93% [DEBUG] switch_core_media.c:5850 sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Set 2833 dtmf send payload to 101 recv payload to 101
  35. 2023-05-27 11:13:19.065571 95.93% [DEBUG] sofia.c:7921 (sofia/PKsipProfileALPHA/8000500020@13.232.246.166) State Change CS_NEW -> CS_INIT
  36. 2023-05-27 11:13:19.065571 95.93% [DEBUG] switch_core_state_machine.c:600 (sofia/PKsipProfileALPHA/8000500020@13.232.246.166) State NEW
  37. 2023-05-27 11:13:19.065571 95.93% [DEBUG] switch_core_state_machine.c:581 (sofia/PKsipProfileALPHA/8000500020@13.232.246.166) Running State Change CS_INIT (Cur 1 Tot 63)
  38. 2023-05-27 11:13:19.065571 95.93% [DEBUG] switch_core_state_machine.c:624 (sofia/PKsipProfileALPHA/8000500020@13.232.246.166) State INIT
  39. 2023-05-27 11:13:19.065571 95.93% [DEBUG] mod_sofia.c:97 sofia/PKsipProfileALPHA/8000500020@13.232.246.166 SOFIA INIT
  40. 2023-05-27 11:13:19.065571 95.93% [DEBUG] switch_core_state_machine.c:40 sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Standard INIT
  41. 2023-05-27 11:13:19.065571 95.93% [DEBUG] switch_core_state_machine.c:48 (sofia/PKsipProfileALPHA/8000500020@13.232.246.166) State Change CS_INIT -> CS_ROUTING
  42. 2023-05-27 11:13:19.065571 95.93% [DEBUG] switch_core_state_machine.c:624 (sofia/PKsipProfileALPHA/8000500020@13.232.246.166) State INIT going to sleep
  43. 2023-05-27 11:13:19.065571 95.93% [DEBUG] switch_core_state_machine.c:581 (sofia/PKsipProfileALPHA/8000500020@13.232.246.166) Running State Change CS_ROUTING (Cur 1 Tot 63)
  44. 2023-05-27 11:13:19.065571 95.93% [DEBUG] switch_channel.c:2380 (sofia/PKsipProfileALPHA/8000500020@13.232.246.166) Callstate Change DOWN -> RINGING
  45. 2023-05-27 11:13:19.065571 95.93% [DEBUG] switch_core_state_machine.c:640 (sofia/PKsipProfileALPHA/8000500020@13.232.246.166) State ROUTING
  46. 2023-05-27 11:13:19.065571 95.93% [DEBUG] mod_sofia.c:158 sofia/PKsipProfileALPHA/8000500020@13.232.246.166 SOFIA ROUTING
  47. 2023-05-27 11:13:19.065571 95.93% [DEBUG] switch_core_state_machine.c:230 sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Standard ROUTING
  48. 2023-05-27 11:13:19.065571 95.93% [INFO] mod_dialplan_xml.c:639 Processing 8000500020 <8000500020>->10050 in context default
  49. 2023-05-27 11:13:19.065571 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  50. 2023-05-27 11:13:19.085561 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  51. 2023-05-27 11:13:19.085561 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  52. 2023-05-27 11:13:19.085561 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  53. 2023-05-27 11:13:19.085561 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  54. 2023-05-27 11:13:19.085561 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 10050
  55. 2023-05-27 11:13:19.085561 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '10050' limit 1
  56. 2023-05-27 11:13:19.085561 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  57. 2023-05-27 11:13:19.085561 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '10050' and status=0 LIMIT 1
  58. 2023-05-27 11:13:19.085561 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERgw+ALPHA
  59. 2023-05-27 11:13:19.085561 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  60. 2023-05-27 11:13:19.085561 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = '95.217.238.195' limit 1
  61. 2023-05-27 11:13:19.085561 95.93% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  62. 2023-05-27 11:13:19.085561 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 8000500020 / 8000500020
  63. 2023-05-27 11:13:19.085561 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number
  64. 2023-05-27 11:13:19.085561 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 10050 AND status=0 limit 1
  65. 2023-05-27 11:13:19.085561 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  66. 2023-05-27 11:13:19.085561 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  67. 2023-05-27 11:13:19.085561 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  68. 2023-05-27 11:13:19.085561 95.93% [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 ="10050" LIMIT 1
  69. 2023-05-27 11:13:19.085561 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  70. 2023-05-27 11:13:19.085561 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  71. 2023-05-27 11:13:19.085561 95.93% [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("13.232.246.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 "10050"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  72. 2023-05-27 11:13:19.085561 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 8871343676]
  73. 2023-05-27 11:13:19.085561 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "8871343676" AND deleted = 0 limit 1
  74. 2023-05-27 11:13:19.105584 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =7
  75. 2023-05-27 11:13:19.105584 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  76. 2023-05-27 11:13:19.105584 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]1
  77. 2023-05-27 11:13:19.105584 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  78. 2023-05-27 11:13:19.105584 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 7
  79. 2023-05-27 11:13:19.105584 95.93% [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 = '^10050.*' OR patterns = '^1005.*' OR patterns = '^100.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 7 ORDER BY LENGTH(PKGPTR.patterns) DESC
  80. 2023-05-27 11:13:19.105584 95.93% [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 ="10050" AND A.accountid = '7' limit 1
  81. 2023-05-27 11:13:19.105584 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 10050
  82. 2023-05-27 11:13:19.105584 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  83. 2023-05-27 11:13:19.105584 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
  84. 2023-05-27 11:13:19.105584 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
  85. 2023-05-27 11:13:19.105584 95.93% [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 ="10050" LIMIT 1
  86. 2023-05-27 11:13:19.105584 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  87. 2023-05-27 11:13:19.105584 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  88. 2023-05-27 11:13:19.105584 95.93% [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 = '10050' OR number = '1005' OR number = '100' OR number = '10' OR number = '1' OR number ='--') OR (number = '10050*' OR number = '1005*' OR number = '100*' OR number = '10*' OR number = '1*' OR number ='--') OR (number = '8000500020' OR number = '800050002' OR number = '80005000' OR number = '8000500' OR number = '800050' OR number = '80005' OR number = '8000' OR number = '800' OR number = '80' OR number = '8' OR number ='--') OR (number = '8000500020*' OR number = '800050002*' OR number = '80005000*' OR number = '8000500*' OR number = '800050*' OR number = '80005*' OR number = '8000*' OR number = '800*' OR number = '80*' OR number = '8*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  89. 2023-05-27 11:13:19.105584 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Number: 1* : Type: 0 (0 for CLI, 1 for DST))
  90. 2023-05-27 11:13:19.105584 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Number::::WITHOUT****
  91. 2023-05-27 11:13:19.105584 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  92. 2023-05-27 11:13:19.105584 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '10050' OR routing_prefix = '1005' OR routing_prefix = '100' OR routing_prefix = '10' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  93. 2023-05-27 11:13:19.105584 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  94. 2023-05-27 11:13:19.105584 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 7
  95. 2023-05-27 11:13:19.105584 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 8871343676
  96. 2023-05-27 11:13:19.105584 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =7
  97. 2023-05-27 11:13:19.125608 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 79976.4
  98. 2023-05-27 11:13:19.125608 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  99. 2023-05-27 11:13:19.125608 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 4
  100. 2023-05-27 11:13:19.125608 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  101. 2023-05-27 11:13:19.125608 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  102. 2023-05-27 11:13:19.125608 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  103. 2023-05-27 11:13:19.125608 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::4
  104. 2023-05-27 11:13:19.125608 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  105. 2023-05-27 11:13:19.125608 95.93% [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 ="10050" LIMIT 1
  106. 2023-05-27 11:13:19.125608 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  107. 2023-05-27 11:13:19.125608 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  108. 2023-05-27 11:13:19.125608 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  109. 2023-05-27 11:13:19.125608 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 13
  110. 2023-05-27 11:13:19.125608 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  111. 2023-05-27 11:13:19.125608 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  112. 2023-05-27 11:13:19.125608 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  113. 2023-05-27 11:13:19.125608 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 10050
  114. 2023-05-27 11:13:19.125608 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
  115. 2023-05-27 11:13:19.125608 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 7
  116. 2023-05-27 11:13:19.125608 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  117. 2023-05-27 11:13:19.125608 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =7
  118. 2023-05-27 11:13:19.125608 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your79976.4 balance Accountid 7 !!!
  119. 2023-05-27 11:13:19.125608 95.93% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  120. 2023-05-27 11:13:19.125608 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  121. 2023-05-27 11:13:19.125608 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  122. 2023-05-27 11:13:19.125608 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  123. 2023-05-27 11:13:19.125608 95.93% [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 = 7 AND status=0 LIMIT 1
  124. 2023-05-27 11:13:19.125608 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "7" AND deleted = 0 limit 1
  125. 2023-05-27 11:13:19.125608 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =7
  126. 2023-05-27 11:13:19.145567 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:7
  127. 2023-05-27 11:13:19.145567 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:7
  128. 2023-05-27 11:13:19.145567 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 7
  129. 2023-05-27 11:13:19.145567 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
  130. 2023-05-27 11:13:19.145567 95.93% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : alpha5.astppbilling.org
  131. 2023-05-27 11:13:19.145567 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  132. 2023-05-27 11:13:19.145567 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  133. 2023-05-27 11:13:19.145567 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  134. 2023-05-27 11:13:19.145567 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  135. 2023-05-27 11:13:19.145567 95.93% [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 = "10007777777" AND accounts.status = 0
  136. 2023-05-27 11:13:19.145567 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
  137. 2023-05-27 11:13:19.145567 95.93% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : alpha5.astppbilling.org
  138. 2023-05-27 11:13:19.145567 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_4
  139. 2023-05-27 11:13:19.145567 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  140. <document type="freeswitch/xml">
  141. <section name="dialplan" description="ASTPP Dialplan">
  142. <context name="default">
  143. <extension name="10050">
  144. <condition field="destination_number" expression="10050">
  145. <action application="set" data="effective_destination_number=10050"/>
  146. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  147. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  148. <action application="set" data="type=0"/>
  149. <action application="set" data="callstart=2023-05-27 11:13:19"/>
  150. <action application="set" data="hangup_after_bridge=true"/>
  151. <action application="set" data="continue_on_fail=TRUE"/>
  152. <action application="set" data="account_id=7"/>
  153. <action application="set" data="parent_id=0"/>
  154. <action application="set" data="entity_id=0"/>
  155. <action application="set" data="call_processed=internal"/>
  156. <action application="set" data="call_direction=inbound"/>
  157. <action application="set" data="accountname=Testserverip"/>
  158. <action application="set" data="filename1=astpp.pbx.lua"/>
  159. <action application="set" data="origination_rates_did=ID:13|CODE:^10050.*|DESTINATION:10050|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7"/>
  160. <action application="set" data="origination_rates=0"/>
  161. <action application="set" data="original_caller_id_name=8000500020"/>
  162. <action application="set" data="original_caller_id_number=8000500020"/>
  163. <action application="set" data="effective_caller_id_name=8000500020"/>
  164. <action application="set" data="effective_caller_id_number=8000500020"/>
  165. <action application="set" data="receiver_accid=7"/>
  166. <action application="export" data="domain_name=alpha5.astppbilling.org"/>
  167. <action application="export" data="sip_to_host=alpha5.astppbilling.org"/>
  168. <action application="export" data="presence_data=x|||PK Postpaid Customer(8871343676)|||^10050.* // 10050 // 0.00000|||||||||DID|||13.232.246.166"/>
  169. <action application="export" data="call_type=4"/>
  170. <action application="set" data="calltype=STANDARD"/>
  171. <action application="set" data="accountcode=8871343676"/>
  172. <action application="set" data="caller_did_account_id=7"/>
  173. <action application="set" data="did_number=10050"/>
  174. <action application="set" data="did_init_inc=0"/>
  175. <action application="set" data="did_inc=0"/>
  176. <action application="set" data="did_cost=0.00000"/>
  177. <action application="set" data="did_connectcost=0.00000"/>
  178. <action application="set" data="origination_rates_did=0"/>
  179. <action application="set" data="did_id=13"/>
  180. <action application="transfer" data="10007777777 XML default"/>
  181. </condition>
  182. </extension>
  183. </context>
  184. </section>
  185. </document>
  186. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 parsing [default->10050] continue=false
  187. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Regex (PASS) [10050] destination_number(10050) =~ /10050/ break=on-false
  188. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(effective_destination_number=10050)
  189. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  190. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  191. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(type=0)
  192. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(callstart=2023-05-27 11:13:19)
  193. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(hangup_after_bridge=true)
  194. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(continue_on_fail=TRUE)
  195. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(account_id=7)
  196. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(parent_id=0)
  197. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(entity_id=0)
  198. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(call_processed=internal)
  199. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(call_direction=inbound)
  200. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(accountname=Testserverip)
  201. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(filename1=astpp.pbx.lua)
  202. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(origination_rates_did=ID:13|CODE:^10050.*|DESTINATION:10050|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7)
  203. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(origination_rates=0)
  204. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(original_caller_id_name=8000500020)
  205. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(original_caller_id_number=8000500020)
  206. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(effective_caller_id_name=8000500020)
  207. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(effective_caller_id_number=8000500020)
  208. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(receiver_accid=7)
  209. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action export(domain_name=alpha5.astppbilling.org)
  210. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action export(sip_to_host=alpha5.astppbilling.org)
  211. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action export(presence_data=x|||PK Postpaid Customer(8871343676)|||^10050.* // 10050 // 0.00000|||||||||DID|||13.232.246.166)
  212. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action export(call_type=4)
  213. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(calltype=STANDARD)
  214. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(accountcode=8871343676)
  215. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(caller_did_account_id=7)
  216. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(did_number=10050)
  217. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(did_init_inc=0)
  218. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(did_inc=0)
  219. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(did_cost=0.00000)
  220. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(did_connectcost=0.00000)
  221. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(origination_rates_did=0)
  222. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(did_id=13)
  223. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action transfer(10007777777 XML default)
  224. 2023-05-27 11:13:19.145567 95.93% [DEBUG] switch_core_state_machine.c:281 (sofia/PKsipProfileALPHA/8000500020@13.232.246.166) State Change CS_ROUTING -> CS_EXECUTE
  225. 2023-05-27 11:13:19.145567 95.93% [DEBUG] switch_core_state_machine.c:640 (sofia/PKsipProfileALPHA/8000500020@13.232.246.166) State ROUTING going to sleep
  226. 2023-05-27 11:13:19.145567 95.93% [DEBUG] switch_core_state_machine.c:581 (sofia/PKsipProfileALPHA/8000500020@13.232.246.166) Running State Change CS_EXECUTE (Cur 1 Tot 63)
  227. 2023-05-27 11:13:19.145567 95.93% [DEBUG] switch_core_state_machine.c:647 (sofia/PKsipProfileALPHA/8000500020@13.232.246.166) State EXECUTE
  228. 2023-05-27 11:13:19.145567 95.93% [DEBUG] mod_sofia.c:213 sofia/PKsipProfileALPHA/8000500020@13.232.246.166 SOFIA EXECUTE
  229. 2023-05-27 11:13:19.145567 95.93% [DEBUG] switch_core_state_machine.c:323 sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Standard EXECUTE
  230. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(effective_destination_number=10050)
  231. 2023-05-27 11:13:19.145567 95.93% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [effective_destination_number]=[10050]
  232. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(bridge_pre_execute_bleg_app=sched_hangup)
  233. 2023-05-27 11:13:19.145567 95.93% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [bridge_pre_execute_bleg_app]=[sched_hangup]
  234. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  235. 2023-05-27 11:13:19.145567 95.93% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  236. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(type=0)
  237. 2023-05-27 11:13:19.145567 95.93% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [type]=[0]
  238. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(callstart=2023-05-27 11:13:19)
  239. 2023-05-27 11:13:19.145567 95.93% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [callstart]=[2023-05-27 11:13:19]
  240. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(hangup_after_bridge=true)
  241. 2023-05-27 11:13:19.145567 95.93% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [hangup_after_bridge]=[true]
  242. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(continue_on_fail=TRUE)
  243. 2023-05-27 11:13:19.145567 95.93% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [continue_on_fail]=[TRUE]
  244. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(account_id=7)
  245. 2023-05-27 11:13:19.145567 95.93% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [account_id]=[7]
  246. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(parent_id=0)
  247. 2023-05-27 11:13:19.145567 95.93% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [parent_id]=[0]
  248. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(entity_id=0)
  249. 2023-05-27 11:13:19.145567 95.93% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [entity_id]=[0]
  250. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(call_processed=internal)
  251. 2023-05-27 11:13:19.145567 95.93% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [call_processed]=[internal]
  252. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(call_direction=inbound)
  253. 2023-05-27 11:13:19.145567 95.93% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [call_direction]=[inbound]
  254. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(accountname=Testserverip)
  255. 2023-05-27 11:13:19.145567 95.93% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [accountname]=[Testserverip]
  256. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(filename1=astpp.pbx.lua)
  257. 2023-05-27 11:13:19.145567 95.93% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [filename1]=[astpp.pbx.lua]
  258. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(origination_rates_did=ID:13|CODE:^10050.*|DESTINATION:10050|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7)
  259. 2023-05-27 11:13:19.145567 95.93% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [origination_rates_did]=[ID:13|CODE:^10050.*|DESTINATION:10050|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7]
  260. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(origination_rates=0)
  261. 2023-05-27 11:13:19.145567 95.93% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [origination_rates]=[0]
  262. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(original_caller_id_name=8000500020)
  263. 2023-05-27 11:13:19.145567 95.93% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [original_caller_id_name]=[8000500020]
  264. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(original_caller_id_number=8000500020)
  265. 2023-05-27 11:13:19.145567 95.93% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [original_caller_id_number]=[8000500020]
  266. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(effective_caller_id_name=8000500020)
  267. 2023-05-27 11:13:19.145567 95.93% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [effective_caller_id_name]=[8000500020]
  268. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(effective_caller_id_number=8000500020)
  269. 2023-05-27 11:13:19.145567 95.93% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [effective_caller_id_number]=[8000500020]
  270. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(receiver_accid=7)
  271. 2023-05-27 11:13:19.145567 95.93% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [receiver_accid]=[7]
  272. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 export(domain_name=alpha5.astppbilling.org)
  273. 2023-05-27 11:13:19.145567 95.93% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[alpha5.astppbilling.org]
  274. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 export(sip_to_host=alpha5.astppbilling.org)
  275. 2023-05-27 11:13:19.145567 95.93% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[alpha5.astppbilling.org]
  276. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 export(presence_data=x|||PK Postpaid Customer(8871343676)|||^10050.* // 10050 // 0.00000|||||||||DID|||13.232.246.166)
  277. 2023-05-27 11:13:19.145567 95.93% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||PK Postpaid Customer(8871343676)|||^10050.* // 10050 // 0.00000|||||||||DID|||13.232.246.166]
  278. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 export(call_type=4)
  279. 2023-05-27 11:13:19.145567 95.93% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[4]
  280. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(calltype=STANDARD)
  281. 2023-05-27 11:13:19.165562 95.93% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [calltype]=[STANDARD]
  282. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(accountcode=8871343676)
  283. 2023-05-27 11:13:19.165562 95.93% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [accountcode]=[8871343676]
  284. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(caller_did_account_id=7)
  285. 2023-05-27 11:13:19.165562 95.93% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [caller_did_account_id]=[7]
  286. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(did_number=10050)
  287. 2023-05-27 11:13:19.165562 95.93% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [did_number]=[10050]
  288. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(did_init_inc=0)
  289. 2023-05-27 11:13:19.165562 95.93% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [did_init_inc]=[0]
  290. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(did_inc=0)
  291. 2023-05-27 11:13:19.165562 95.93% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [did_inc]=[0]
  292. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(did_cost=0.00000)
  293. 2023-05-27 11:13:19.165562 95.93% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [did_cost]=[0.00000]
  294. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(did_connectcost=0.00000)
  295. 2023-05-27 11:13:19.165562 95.93% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [did_connectcost]=[0.00000]
  296. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(origination_rates_did=0)
  297. 2023-05-27 11:13:19.165562 95.93% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [origination_rates_did]=[0]
  298. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(did_id=13)
  299. 2023-05-27 11:13:19.165562 95.93% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [did_id]=[13]
  300. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 transfer(10007777777 XML default)
  301. 2023-05-27 11:13:19.165562 95.93% [DEBUG] switch_ivr.c:2288 (sofia/PKsipProfileALPHA/8000500020@13.232.246.166) State Change CS_EXECUTE -> CS_ROUTING
  302. 2023-05-27 11:13:19.165562 95.93% [NOTICE] switch_ivr.c:2295 Transfer sofia/PKsipProfileALPHA/8000500020@13.232.246.166 to XML[10007777777@default]
  303. 2023-05-27 11:13:19.165562 95.93% [DEBUG] switch_core_state_machine.c:647 (sofia/PKsipProfileALPHA/8000500020@13.232.246.166) State EXECUTE going to sleep
  304. 2023-05-27 11:13:19.165562 95.93% [DEBUG] switch_core_state_machine.c:581 (sofia/PKsipProfileALPHA/8000500020@13.232.246.166) Running State Change CS_ROUTING (Cur 1 Tot 63)
  305. 2023-05-27 11:13:19.165562 95.93% [DEBUG] switch_core_state_machine.c:640 (sofia/PKsipProfileALPHA/8000500020@13.232.246.166) State ROUTING
  306. 2023-05-27 11:13:19.165562 95.93% [DEBUG] mod_sofia.c:149 Call appears to be already acknowledged
  307. 2023-05-27 11:13:19.165562 95.93% [DEBUG] mod_sofia.c:158 sofia/PKsipProfileALPHA/8000500020@13.232.246.166 SOFIA ROUTING
  308. 2023-05-27 11:13:19.165562 95.93% [DEBUG] switch_core_state_machine.c:230 sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Standard ROUTING
  309. 2023-05-27 11:13:19.165562 95.93% [INFO] mod_dialplan_xml.c:639 Processing 8000500020 <8000500020>->10007777777 in context default
  310. 2023-05-27 11:13:19.165562 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  311. 2023-05-27 11:13:19.165562 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  312. 2023-05-27 11:13:19.165562 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  313. 2023-05-27 11:13:19.165562 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  314. 2023-05-27 11:13:19.185561 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  315. 2023-05-27 11:13:19.185561 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 10007777777
  316. 2023-05-27 11:13:19.185561 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '10007777777' limit 1
  317. 2023-05-27 11:13:19.185561 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  318. 2023-05-27 11:13:19.185561 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '10007777777' and status=0 LIMIT 1
  319. 2023-05-27 11:13:19.185561 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERgw+ALPHA
  320. 2023-05-27 11:13:19.185561 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  321. 2023-05-27 11:13:19.185561 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'alpha5.astppbilling.org' limit 1
  322. 2023-05-27 11:13:19.185561 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '7' and username = '10007777777' limit 1
  323. 2023-05-27 11:13:19.185561 95.93% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  324. 2023-05-27 11:13:19.185561 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 8000500020 / 8000500020
  325. 2023-05-27 11:13:19.185561 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 77777
  326. 2023-05-27 11:13:19.185561 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 100077 AND status=0 limit 1
  327. 2023-05-27 11:13:19.185561 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  328. 2023-05-27 11:13:19.185561 95.93% [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="10007777777"  AND domains.domain="alpha5.astppbilling.org" limit 1
  329. 2023-05-27 11:13:19.185561 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  330. 2023-05-27 11:13:19.185561 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 8871343676]
  331. 2023-05-27 11:13:19.185561 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "8871343676" AND deleted = 0 limit 1
  332. 2023-05-27 11:13:19.185561 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^10007777777.*' OR blocked_patterns = '^1000777777.*' OR blocked_patterns = '^100077777.*' OR blocked_patterns = '^10007777.*' OR blocked_patterns = '^1000777.*' OR blocked_patterns = '^100077.*' OR blocked_patterns = '^10007.*' OR blocked_patterns = '^1000.*' OR blocked_patterns = '^100.*' OR blocked_patterns = '^10.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 7 limit 1
  333. 2023-05-27 11:13:19.185561 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  334. 2023-05-27 11:13:19.185561 95.93% [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 = '^10007777777.*' OR patterns = '^1000777777.*' OR patterns = '^100077777.*' OR patterns = '^10007777.*' OR patterns = '^1000777.*' OR patterns = '^100077.*' OR patterns = '^10007.*' OR patterns = '^1000.*' OR patterns = '^100.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 7 ORDER BY LENGTH(PKGPTR.patterns) DESC
  335. 2023-05-27 11:13:19.205568 95.93% [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 ="10007777777" AND A.accountid = '7' limit 1
  336. 2023-05-27 11:13:19.205568 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 10007777777
  337. 2023-05-27 11:13:19.205568 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  338. 2023-05-27 11:13:19.205568 95.93% [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="10007777777"  AND domains.domain="alpha5.astppbilling.org" limit 1
  339. 2023-05-27 11:13:19.205568 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  340. 2023-05-27 11:13:19.205568 95.93% [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 = '10007777777' OR number = '1000777777' OR number = '100077777' OR number = '10007777' OR number = '1000777' OR number = '100077' OR number = '10007' OR number = '1000' OR number = '100' OR number = '10' OR number = '1' OR number ='--') OR (number = '10007777777*' OR number = '1000777777*' OR number = '100077777*' OR number = '10007777*' OR number = '1000777*' OR number = '100077*' OR number = '10007*' OR number = '1000*' OR number = '100*' OR number = '10*' OR number = '1*' OR number ='--') OR (number = '8000500020' OR number = '800050002' OR number = '80005000' OR number = '8000500' OR number = '800050' OR number = '80005' OR number = '8000' OR number = '800' OR number = '80' OR number = '8' OR number ='--') OR (number = '8000500020*' OR number = '800050002*' OR number = '80005000*' OR number = '8000500*' OR number = '800050*' OR number = '80005*' OR number = '8000*' OR number = '800*' OR number = '80*' OR number = '8*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  341. 2023-05-27 11:13:19.205568 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Number: 1* : Type: 0 (0 for CLI, 1 for DST))
  342. 2023-05-27 11:13:19.205568 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Number::::WITHOUT****
  343. 2023-05-27 11:13:19.205568 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  344. 2023-05-27 11:13:19.205568 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '10007777777' OR routing_prefix = '1000777777' OR routing_prefix = '100077777' OR routing_prefix = '10007777' OR routing_prefix = '1000777' OR routing_prefix = '100077' OR routing_prefix = '10007' OR routing_prefix = '1000' OR routing_prefix = '100' OR routing_prefix = '10' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  345. 2023-05-27 11:13:19.205568 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  346. 2023-05-27 11:13:19.205568 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 7
  347. 2023-05-27 11:13:19.205568 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 8871343676
  348. 2023-05-27 11:13:19.205568 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 79976.4
  349. 2023-05-27 11:13:19.205568 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  350. 2023-05-27 11:13:19.205568 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 4
  351. 2023-05-27 11:13:19.205568 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  352. 2023-05-27 11:13:19.205568 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  353. 2023-05-27 11:13:19.205568 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  354. 2023-05-27 11:13:19.205568 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::4
  355. 2023-05-27 11:13:19.205568 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  356. 2023-05-27 11:13:19.205568 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  357. 2023-05-27 11:13:19.205568 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::4
  358. 2023-05-27 11:13:19.205568 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^10007777777.*' OR pattern = '^1000777777.*' OR pattern = '^100077777.*' OR pattern = '^10007777.*' OR pattern = '^1000777.*' OR pattern = '^100077.*' OR pattern = '^10007.*' OR pattern = '^1000.*' OR pattern = '^100.*' OR pattern = '^10.*' OR pattern = '^1.*' OR pattern ='--') AND (caller_id_pattern = '^8000500020.*' OR caller_id_pattern = '^800050002.*' OR caller_id_pattern = '^80005000.*' OR caller_id_pattern = '^8000500.*' OR caller_id_pattern = '^800050.*' OR caller_id_pattern = '^80005.*' OR caller_id_pattern = '^8000.*' OR caller_id_pattern = '^800.*' OR caller_id_pattern = '^80.*' OR caller_id_pattern = '^8.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 4 OR accountid=7)  ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  359. 2023-05-27 11:13:19.205568 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  360. 2023-05-27 11:13:19.205568 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  361. 2023-05-27 11:13:19.205568 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 4
  362. 2023-05-27 11:13:19.205568 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  363. 2023-05-27 11:13:19.205568 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  364. 2023-05-27 11:13:19.205568 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.59000
  365. 2023-05-27 11:13:19.205568 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : PK-QA-USA
  366. 2023-05-27 11:13:19.205568 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 203
  367. 2023-05-27 11:13:19.205568 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 7
  368. 2023-05-27 11:13:19.205568 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  369. 2023-05-27 11:13:19.205568 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  370. 2023-05-27 11:13:19.205568 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  371. 2023-05-27 11:13:19.205568 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Shadow_billing_rates]SHADOWBILLING:|ID:4|CODE:^1.*|DESTINATION:PK-QA-USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.59000|INC:60|INITIALBLOCK:60|RATEGROUP:4|MARKUP:0|CI:203|ACCID:7!!!
  372. 2023-05-27 11:13:19.205568 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your79976.4 balance Accountid 7 !!!
  373. 2023-05-27 11:13:19.205568 95.93% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  374. 2023-05-27 11:13:19.205568 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  375. 2023-05-27 11:13:19.205568 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
  376. 2023-05-27 11:13:19.205568 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=4 ORDER by id asc
  377. 2023-05-27 11:13:19.225568 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.sip_cid_type,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^10007777777.*' OR pattern = '^1000777777.*' OR pattern = '^100077777.*' OR pattern = '^10007777.*' OR pattern = '^1000777.*' OR pattern = '^100077.*' OR pattern = '^10007.*' OR pattern = '^1000.*' OR pattern = '^100.*' OR pattern = '^10.*' OR pattern = '^1.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (4) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC
  378. 2023-05-27 11:13:19.225568 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  379. 2023-05-27 11:13:19.225568 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 3
  380. 2023-05-27 11:13:19.225568 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^1.*
  381. 2023-05-27 11:13:19.225568 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : USA-DC
  382. 2023-05-27 11:13:19.225568 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  383. 2023-05-27 11:13:19.225568 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  384. 2023-05-27 11:13:19.225568 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^1.*
  385. 2023-05-27 11:13:19.225568 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  386. 2023-05-27 11:13:19.225568 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  387. 2023-05-27 11:13:19.225568 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 4
  388. 2023-05-27 11:13:19.225568 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : YourProvider
  389. 2023-05-27 11:13:19.225568 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  390. 2023-05-27 11:13:19.225568 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  391. 2023-05-27 11:13:19.225568 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 13
  392. 2023-05-27 11:13:19.225568 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  393. 2023-05-27 11:13:19.225568 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  394. 2023-05-27 11:13:19.225568 95.93% [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 = 7 AND status=0 LIMIT 1
  395. 2023-05-27 11:13:19.225568 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  396. 2023-05-27 11:13:19.225568 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  397. 2023-05-27 11:13:19.225568 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  398. 2023-05-27 11:13:19.225568 95.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : outbound
  399. 2023-05-27 11:13:19.225568 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  400. 2023-05-27 11:13:19.225568 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::4
  401. 2023-05-27 11:13:19.225568 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 13) AND status=0 limit 1
  402. 2023-05-27 11:13:19.225568 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 4) AND status=0 limit 1
  403. 2023-05-27 11:13:19.225568 95.93% [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 ="10050" LIMIT 1
  404. 2023-05-27 11:13:19.225568 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  405. 2023-05-27 11:13:19.225568 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DIDQUERY] Query :SELECT * FROM dids WHERE id ="13" and status = 0 limit 1
  406. 2023-05-27 11:13:19.225568 95.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  407. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  408. <document type="freeswitch/xml">
  409. <section name="dialplan" description="ASTPP Dialplan">
  410. <context name="default">
  411. <extension name="10007777777">
  412. <condition field="destination_number" expression="10007777777">
  413. <action application="set" data="effective_destination_number=10007777777"/>
  414. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  415. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  416. <action application="set" data="type=0"/>
  417. <action application="set" data="callstart=2023-05-27 11:13:19"/>
  418. <action application="set" data="hangup_after_bridge=true"/>
  419. <action application="set" data="continue_on_fail=TRUE"/>
  420. <action application="set" data="account_id=7"/>
  421. <action application="set" data="parent_id=0"/>
  422. <action application="set" data="entity_id=0"/>
  423. <action application="set" data="call_processed=internal"/>
  424. <action application="set" data="call_direction=outbound"/>
  425. <action application="set" data="accountname=default"/>
  426. <action application="set" data="filename1=astpp.pbx.lua"/>
  427. <action application="sleep" data="1000"/>
  428. <action application="playback" data="/usr/local/freeswitch/sounds/en/us/callie/astpp-this-card-has-a-balance-of.wav"/>
  429. <action application="set" data="ringback=%(2000,4000,440.0,480.0)"/>
  430. <action application="say" data="en name_spelled iterated 79976.40"/>
  431. <action application="sleep" data="500"/>
  432. <action application="playback" data="/usr/local/freeswitch/sounds/en/us/callie/astpp-this-call-will-last.wav"/>
  433. <action application="say" data="en NUMBER PRONOUNCED 100"/>
  434. <action application="playback" data="/usr/local/freeswitch/sounds/en/us/callie/astpp-minute.wav"/>
  435. <action application="set" data="ringback=%(2000,4000,440.0,480.0)"/>
  436. <action application="set" data="origination_rates=SHADOWBILLING:|ID:4|CODE:^1.*|DESTINATION:PK-QA-USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.59000|INC:60|INITIALBLOCK:60|RATEGROUP:4|MARKUP:0|CI:203|ACCID:7"/>
  437. <action application="set" data="original_caller_id_name=8000500020"/>
  438. <action application="set" data="original_caller_id_number=8000500020"/>
  439.  
  440. <action application="set" data="effective_caller_id_name=8000500020"/>
  441. <action application="set" data="effective_caller_id_number=8000500020"/>
  442. <action application="set" data="calltype=STANDARD"/>
  443. <action application="set" data="termination_rates=ID:3|CODE:^1.*|DESTINATION:USA-DC|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.29000|INC:60|INITIALBLOCK:60|TRUNK:4|PROVIDER:13"/>
  444. <action application="set" data="trunk_id=4"/>
  445. <action application="set" data="provider_id=13"/>
  446. <action application="set" data="rate_flag=0"/>
  447. <action application="set" data="daily_call_credit_limit=0.00000"/>
  448. <action application="set" data="monthly_call_credit_limit=0.00000"/>
  449. <action application="set" data="daily_call_used_limit=0.00000"/>
  450. <action application="set" data="monthly_call_used_limit=0.00000"/>
  451. <action application="set" data="quality_trunk_seq=4"/>
  452. <action application="set" data="force_trunk_flag=0"/>
  453. <action application="export" data="presence_data=trunk_id=4"/>
  454. <action application="set" data="intcall=0"/>
  455. <action application="export" data="presence_id=10007777777"/>
  456. <action application="export" data="presence_data=x|||PK Postpaid Customer(8871343676)|||^1.* // PK-QA-USA // 0.59000 |||PK-Outboud-Call-Trunk // ^1.* // USA-DC // 0.29000 // trunk_id=4|||STD|||13.232.246.166"/>
  457. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=0,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/10007777777"/>
  458. <action application="set" data="did_id=13"/>
  459. <action application="set" data="destination_number=10007777777"/>
  460. <action application="set" data="leg_timeout=0"/>
  461. <action application="set" data="call_type_vm_flag=1"/>
  462. <action application="set" data="is_local_extension=0"/>
  463. <action application="lua" data="did_call_forwarding.lua"/>
  464. </condition>
  465. </extension>
  466. </context>
  467. </section>
  468. </document>
  469. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 parsing [default->10007777777] continue=false
  470. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Regex (PASS) [10007777777] destination_number(10007777777) =~ /10007777777/ break=on-false
  471. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(effective_destination_number=10007777777)
  472. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  473. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  474. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(type=0)
  475. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(callstart=2023-05-27 11:13:19)
  476. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(hangup_after_bridge=true)
  477. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(continue_on_fail=TRUE)
  478. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(account_id=7)
  479. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(parent_id=0)
  480. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(entity_id=0)
  481. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(call_processed=internal)
  482. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(call_direction=outbound)
  483. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(accountname=default)
  484. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(filename1=astpp.pbx.lua)
  485. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action sleep(1000)
  486. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-this-card-has-a-balance-of.wav)
  487. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(ringback=%(2000,4000,440.0,480.0))
  488. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action say(en name_spelled iterated 79976.40)
  489. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action sleep(500)
  490. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-this-call-will-last.wav)
  491. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action say(en NUMBER PRONOUNCED 100)
  492. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-minute.wav)
  493. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(ringback=%(2000,4000,440.0,480.0))
  494. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(origination_rates=SHADOWBILLING:|ID:4|CODE:^1.*|DESTINATION:PK-QA-USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.59000|INC:60|INITIALBLOCK:60|RATEGROUP:4|MARKUP:0|CI:203|ACCID:7)
  495. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(original_caller_id_name=8000500020)
  496. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(original_caller_id_number=8000500020)
  497. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(effective_caller_id_name=8000500020)
  498. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(effective_caller_id_number=8000500020)
  499. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(calltype=STANDARD)
  500. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(termination_rates=ID:3|CODE:^1.*|DESTINATION:USA-DC|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.29000|INC:60|INITIALBLOCK:60|TRUNK:4|PROVIDER:13)
  501. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(trunk_id=4)
  502. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(provider_id=13)
  503. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(rate_flag=0)
  504. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(daily_call_credit_limit=0.00000)
  505. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(monthly_call_credit_limit=0.00000)
  506. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(daily_call_used_limit=0.00000)
  507. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(monthly_call_used_limit=0.00000)
  508. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(quality_trunk_seq=4)
  509. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(force_trunk_flag=0)
  510. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action export(presence_data=trunk_id=4)
  511. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(intcall=0)
  512. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action export(presence_id=10007777777)
  513. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action export(presence_data=x|||PK Postpaid Customer(8871343676)|||^1.* // PK-QA-USA // 0.59000 |||PK-Outboud-Call-Trunk // ^1.* // USA-DC // 0.29000 // trunk_id=4|||STD|||13.232.246.166)
  514. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action bridge({sip_cid_type=none}[leg_timeout=0,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/10007777777)
  515. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(did_id=13)
  516. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(destination_number=10007777777)
  517. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(leg_timeout=0)
  518. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(call_type_vm_flag=1)
  519. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action set(is_local_extension=0)
  520. Dialplan: sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Action lua(did_call_forwarding.lua)
  521. 2023-05-27 11:13:19.225568 95.93% [DEBUG] switch_core_state_machine.c:281 (sofia/PKsipProfileALPHA/8000500020@13.232.246.166) State Change CS_ROUTING -> CS_EXECUTE
  522. 2023-05-27 11:13:19.225568 95.93% [DEBUG] switch_core_state_machine.c:640 (sofia/PKsipProfileALPHA/8000500020@13.232.246.166) State ROUTING going to sleep
  523. 2023-05-27 11:13:19.225568 95.93% [DEBUG] switch_core_state_machine.c:581 (sofia/PKsipProfileALPHA/8000500020@13.232.246.166) Running State Change CS_EXECUTE (Cur 1 Tot 63)
  524. 2023-05-27 11:13:19.225568 95.93% [DEBUG] switch_core_state_machine.c:647 (sofia/PKsipProfileALPHA/8000500020@13.232.246.166) State EXECUTE
  525. 2023-05-27 11:13:19.225568 95.93% [DEBUG] mod_sofia.c:213 sofia/PKsipProfileALPHA/8000500020@13.232.246.166 SOFIA EXECUTE
  526. 2023-05-27 11:13:19.225568 95.93% [DEBUG] switch_core_state_machine.c:323 sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Standard EXECUTE
  527. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(effective_destination_number=10007777777)
  528. 2023-05-27 11:13:19.225568 95.93% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [effective_destination_number]=[10007777777]
  529. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(bridge_pre_execute_bleg_app=sched_hangup)
  530. 2023-05-27 11:13:19.225568 95.93% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [bridge_pre_execute_bleg_app]=[sched_hangup]
  531. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  532. 2023-05-27 11:13:19.225568 95.93% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  533. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(type=0)
  534. 2023-05-27 11:13:19.225568 95.93% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [type]=[0]
  535. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(callstart=2023-05-27 11:13:19)
  536. 2023-05-27 11:13:19.225568 95.93% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [callstart]=[2023-05-27 11:13:19]
  537. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(hangup_after_bridge=true)
  538. 2023-05-27 11:13:19.225568 95.93% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [hangup_after_bridge]=[true]
  539. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(continue_on_fail=TRUE)
  540. 2023-05-27 11:13:19.225568 95.93% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [continue_on_fail]=[TRUE]
  541. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(account_id=7)
  542. 2023-05-27 11:13:19.225568 95.93% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [account_id]=[7]
  543. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(parent_id=0)
  544. 2023-05-27 11:13:19.225568 95.93% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [parent_id]=[0]
  545. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(entity_id=0)
  546. 2023-05-27 11:13:19.225568 95.93% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [entity_id]=[0]
  547. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(call_processed=internal)
  548. 2023-05-27 11:13:19.225568 95.93% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [call_processed]=[internal]
  549. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(call_direction=outbound)
  550. 2023-05-27 11:13:19.225568 95.93% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [call_direction]=[outbound]
  551. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(accountname=default)
  552. 2023-05-27 11:13:19.225568 95.93% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [accountname]=[default]
  553. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(filename1=astpp.pbx.lua)
  554. 2023-05-27 11:13:19.225568 95.93% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [filename1]=[astpp.pbx.lua]
  555. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 sleep(1000)
  556. 2023-05-27 11:13:20.245572 95.37% [DEBUG] switch_core_session.c:2785 Application playback Requires media! pre_answering channel sofia/PKsipProfileALPHA/8000500020@13.232.246.166
  557. 2023-05-27 11:13:20.245572 95.37% [INFO] switch_core_session.c:2787 Sending early media
  558. 2023-05-27 11:13:20.245572 95.37% [DEBUG] switch_core_media.c:8651 AUDIO RTP [sofia/PKsipProfileALPHA/8000500020@13.232.246.166] 95.217.238.195 port 22124 -> 13.232.246.166 port 24064 codec: 0 ms: 20
  559. 2023-05-27 11:13:20.245572 95.37% [DEBUG] switch_rtp.c:4377 Starting timer [soft] 160 bytes per 20ms
  560. 2023-05-27 11:13:20.245572 95.37% [DEBUG] switch_core_media.c:8963 sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Set 2833 dtmf send payload to 101
  561. 2023-05-27 11:13:20.245572 95.37% [DEBUG] switch_core_media.c:8970 sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Set 2833 dtmf receive payload to 101
  562. 2023-05-27 11:13:20.245572 95.37% [DEBUG] switch_core_media.c:8993 sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Set rtp dtmf delay to 40
  563. 2023-05-27 11:13:20.245572 95.37% [DEBUG] mod_sofia.c:2609 Ring SDP:
  564. v=0
  565. o=FreeSWITCH 1685163876 1685163877 IN IP4 95.217.238.195
  566. s=FreeSWITCH
  567. c=IN IP4 95.217.238.195
  568. t=0 0
  569. m=audio 22124 RTP/AVP 0 101
  570. a=rtpmap:0 PCMU/8000
  571. a=rtpmap:101 telephone-event/8000
  572. a=fmtp:101 0-15
  573. a=ptime:20
  574. a=sendrecv
  575.  
  576. 2023-05-27 11:13:20.245572 95.37% [NOTICE] mod_sofia.c:2612 Pre-Answer sofia/PKsipProfileALPHA/8000500020@13.232.246.166!
  577. 2023-05-27 11:13:20.245572 95.37% [DEBUG] switch_channel.c:3566 (sofia/PKsipProfileALPHA/8000500020@13.232.246.166) Callstate Change RINGING -> EARLY
  578. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-this-card-has-a-balance-of.wav)
  579. 2023-05-27 11:13:20.245572 95.37% [DEBUG] sofia.c:7487 Channel sofia/PKsipProfileALPHA/8000500020@13.232.246.166 entering state [early][183]
  580. 2023-05-27 11:13:20.245572 95.37% [DEBUG] switch_core_file.c:444 File /usr/local/freeswitch/sounds/en/us/callie/astpp-this-card-has-a-balance-of.wav sample rate 16000 doesn't match requested rate 8000
  581. 2023-05-27 11:13:20.245572 95.37% [DEBUG] switch_ivr_play_say.c:1566 Codec Activated L16@8000hz 1 channels 20ms
  582. 2023-05-27 11:13:21.125595 95.27% [DEBUG] switch_rtp.c:7511 Correct audio ip/port confirmed.
  583. 2023-05-27 11:13:21.565575 95.27% [DEBUG] switch_ivr_play_say.c:2015 done playing file /usr/local/freeswitch/sounds/en/us/callie/astpp-this-card-has-a-balance-of.wav
  584. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(ringback=%(2000,4000,440.0,480.0))
  585. 2023-05-27 11:13:21.565575 95.27% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [ringback]=[%(2000,4000,440.0,480.0)]
  586. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 say(en name_spelled iterated 79976.40)
  587. 2023-05-27 11:13:21.565575 95.27% [DEBUG] switch_ivr_play_say.c:1566 Codec Activated L16@8000hz 1 channels 20ms
  588. 2023-05-27 11:13:25.565629 95.07% [DEBUG] switch_ivr_play_say.c:2015 done playing file file_string://digits/7.wav!digits/9.wav!digits/9.wav!digits/7.wav!digits/6.wav!ascii/46.wav!digits/4.wav!digits/0.wav
  589. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 sleep(500)
  590. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-this-call-will-last.wav)
  591. 2023-05-27 11:13:26.065646 95.07% [DEBUG] switch_core_file.c:444 File /usr/local/freeswitch/sounds/en/us/callie/astpp-this-call-will-last.wav sample rate 16000 doesn't match requested rate 8000
  592. 2023-05-27 11:13:26.065646 95.07% [DEBUG] switch_ivr_play_say.c:1566 Codec Activated L16@8000hz 1 channels 20ms
  593. 2023-05-27 11:13:27.265611 94.97% [DEBUG] switch_ivr_play_say.c:2015 done playing file /usr/local/freeswitch/sounds/en/us/callie/astpp-this-call-will-last.wav
  594. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 say(en NUMBER PRONOUNCED 100)
  595. 2023-05-27 11:13:27.265611 94.97% [DEBUG] switch_ivr_play_say.c:1566 Codec Activated L16@8000hz 1 channels 20ms
  596. 2023-05-27 11:13:28.445605 95.00% [DEBUG] switch_ivr_play_say.c:2015 done playing file file_string://digits/1.wav!digits/hundred.wav
  597. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-minute.wav)
  598. 2023-05-27 11:13:28.445605 95.00% [DEBUG] switch_core_file.c:444 File /usr/local/freeswitch/sounds/en/us/callie/astpp-minute.wav sample rate 16000 doesn't match requested rate 8000
  599. 2023-05-27 11:13:28.445605 95.00% [DEBUG] switch_ivr_play_say.c:1566 Codec Activated L16@8000hz 1 channels 20ms
  600. 2023-05-27 11:13:28.925587 95.00% [DEBUG] switch_ivr_play_say.c:2015 done playing file /usr/local/freeswitch/sounds/en/us/callie/astpp-minute.wav
  601. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(ringback=%(2000,4000,440.0,480.0))
  602. 2023-05-27 11:13:28.925587 95.00% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [ringback]=[%(2000,4000,440.0,480.0)]
  603. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(origination_rates=SHADOWBILLING:|ID:4|CODE:^1.*|DESTINATION:PK-QA-USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.59000|INC:60|INITIALBLOCK:60|RATEGROUP:4|MARKUP:0|CI:203|ACCID:7)
  604. 2023-05-27 11:13:28.925587 95.00% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [origination_rates]=[SHADOWBILLING:|ID:4|CODE:^1.*|DESTINATION:PK-QA-USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.59000|INC:60|INITIALBLOCK:60|RATEGROUP:4|MARKUP:0|CI:203|ACCID:7]
  605. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(original_caller_id_name=8000500020)
  606. 2023-05-27 11:13:28.925587 95.00% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [original_caller_id_name]=[8000500020]
  607. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(original_caller_id_number=8000500020)
  608. 2023-05-27 11:13:28.925587 95.00% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [original_caller_id_number]=[8000500020]
  609. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(effective_caller_id_name=8000500020)
  610. 2023-05-27 11:13:28.925587 95.00% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [effective_caller_id_name]=[8000500020]
  611. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(effective_caller_id_number=8000500020)
  612. 2023-05-27 11:13:28.925587 95.00% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [effective_caller_id_number]=[8000500020]
  613. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(calltype=STANDARD)
  614. 2023-05-27 11:13:28.925587 95.00% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [calltype]=[STANDARD]
  615. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(termination_rates=ID:3|CODE:^1.*|DESTINATION:USA-DC|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.29000|INC:60|INITIALBLOCK:60|TRUNK:4|PROVIDER:13)
  616. 2023-05-27 11:13:28.925587 95.00% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [termination_rates]=[ID:3|CODE:^1.*|DESTINATION:USA-DC|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.29000|INC:60|INITIALBLOCK:60|TRUNK:4|PROVIDER:13]
  617. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(trunk_id=4)
  618. 2023-05-27 11:13:28.925587 95.00% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [trunk_id]=[4]
  619. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(provider_id=13)
  620. 2023-05-27 11:13:28.925587 95.00% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [provider_id]=[13]
  621. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(rate_flag=0)
  622. 2023-05-27 11:13:28.925587 95.00% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [rate_flag]=[0]
  623. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(daily_call_credit_limit=0.00000)
  624. 2023-05-27 11:13:28.925587 95.00% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [daily_call_credit_limit]=[0.00000]
  625. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(monthly_call_credit_limit=0.00000)
  626. 2023-05-27 11:13:28.925587 95.00% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [monthly_call_credit_limit]=[0.00000]
  627. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(daily_call_used_limit=0.00000)
  628. 2023-05-27 11:13:28.925587 95.00% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [daily_call_used_limit]=[0.00000]
  629. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(monthly_call_used_limit=0.00000)
  630. 2023-05-27 11:13:28.925587 95.00% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [monthly_call_used_limit]=[0.00000]
  631. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(quality_trunk_seq=4)
  632. 2023-05-27 11:13:28.925587 95.00% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [quality_trunk_seq]=[4]
  633. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(force_trunk_flag=0)
  634. 2023-05-27 11:13:28.925587 95.00% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [force_trunk_flag]=[0]
  635. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 export(presence_data=trunk_id=4)
  636. 2023-05-27 11:13:28.925587 95.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=4]
  637. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 set(intcall=0)
  638. 2023-05-27 11:13:28.925587 95.00% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [intcall]=[0]
  639. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 export(presence_id=10007777777)
  640. 2023-05-27 11:13:28.925587 95.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[10007777777]
  641. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 export(presence_data=x|||PK Postpaid Customer(8871343676)|||^1.* // PK-QA-USA // 0.59000 |||PK-Outboud-Call-Trunk // ^1.* // USA-DC // 0.29000 // trunk_id=4|||STD|||13.232.246.166)
  642. 2023-05-27 11:13:28.925587 95.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||PK Postpaid Customer(8871343676)|||^1.* // PK-QA-USA // 0.59000 |||PK-Outboud-Call-Trunk // ^1.* // USA-DC // 0.29000 // trunk_id=4|||STD|||13.232.246.166]
  643. EXECUTE [depth=0] sofia/PKsipProfileALPHA/8000500020@13.232.246.166 bridge({sip_cid_type=none}[leg_timeout=0,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/10007777777)
  644. 2023-05-27 11:13:28.925587 95.00% [DEBUG] switch_channel.c:1269 sofia/PKsipProfileALPHA/8000500020@13.232.246.166 EXPORTING[export_vars] [domain_name]=[alpha5.astppbilling.org] to event
  645. 2023-05-27 11:13:28.925587 95.00% [DEBUG] switch_channel.c:1269 sofia/PKsipProfileALPHA/8000500020@13.232.246.166 EXPORTING[export_vars] [sip_to_host]=[alpha5.astppbilling.org] to event
  646. 2023-05-27 11:13:28.925587 95.00% [DEBUG] switch_channel.c:1269 sofia/PKsipProfileALPHA/8000500020@13.232.246.166 EXPORTING[export_vars] [presence_data]=[x|||PK Postpaid Customer(8871343676)|||^1.* // PK-QA-USA // 0.59000 |||PK-Outboud-Call-Trunk // ^1.* // USA-DC // 0.29000 // trunk_id=4|||STD|||13.232.246.166] to event
  647. 2023-05-27 11:13:28.925587 95.00% [DEBUG] switch_channel.c:1269 sofia/PKsipProfileALPHA/8000500020@13.232.246.166 EXPORTING[export_vars] [call_type]=[4] to event
  648. 2023-05-27 11:13:28.925587 95.00% [DEBUG] switch_channel.c:1269 sofia/PKsipProfileALPHA/8000500020@13.232.246.166 EXPORTING[export_vars] [presence_data]=[x|||PK Postpaid Customer(8871343676)|||^1.* // PK-QA-USA // 0.59000 |||PK-Outboud-Call-Trunk // ^1.* // USA-DC // 0.29000 // trunk_id=4|||STD|||13.232.246.166] to event
  649. 2023-05-27 11:13:28.925587 95.00% [DEBUG] switch_channel.c:1269 sofia/PKsipProfileALPHA/8000500020@13.232.246.166 EXPORTING[export_vars] [presence_id]=[10007777777] to event
  650. 2023-05-27 11:13:28.925587 95.00% [DEBUG] switch_channel.c:1269 sofia/PKsipProfileALPHA/8000500020@13.232.246.166 EXPORTING[export_vars] [presence_data]=[x|||PK Postpaid Customer(8871343676)|||^1.* // PK-QA-USA // 0.59000 |||PK-Outboud-Call-Trunk // ^1.* // USA-DC // 0.29000 // trunk_id=4|||STD|||13.232.246.166] to event
  651. 2023-05-27 11:13:28.925587 95.00% [DEBUG] switch_ivr_originate.c:2291 Parsing global variables
  652. 2023-05-27 11:13:28.925587 95.00% [DEBUG] switch_ivr_originate.c:2853 Parsing session specific variables
  653. 2023-05-27 11:13:28.925587 95.00% [NOTICE] switch_channel.c:1123 New Channel sofia/default/10007777777 [529e8ce4-32ef-4ee7-9208-903c2b05f348]
  654. 2023-05-27 11:13:28.925587 95.00% [DEBUG] mod_sofia.c:5117 (sofia/default/10007777777) State Change CS_NEW -> CS_INIT
  655. 2023-05-27 11:13:28.925587 95.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/10007777777) Running State Change CS_INIT (Cur 2 Tot 64)
  656. 2023-05-27 11:13:28.925587 95.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/10007777777) State INIT
  657. 2023-05-27 11:13:28.925587 95.00% [DEBUG] mod_sofia.c:97 sofia/default/10007777777 SOFIA INIT
  658. 2023-05-27 11:13:28.925587 95.00% [INFO] sofia_glue.c:1654 sofia/default/10007777777 sending invite call-id: (null)
  659. 2023-05-27 11:13:28.925587 95.00% [DEBUG] sofia_glue.c:1657 sofia/default/10007777777 sending invite version: 1.10.9-release git a615e85 2023-02-03 20:07:30Z 64bit
  660. Local SDP:
  661. v=0
  662. o=FreeSWITCH 1685154128 1685154129 IN IP4 95.217.238.195
  663. s=FreeSWITCH
  664. c=IN IP4 95.217.238.195
  665. t=0 0
  666. m=audio 31880 RTP/AVP 8 18 101
  667. a=rtpmap:8 PCMA/8000
  668. a=rtpmap:18 G729/8000
  669. a=rtpmap:101 telephone-event/8000
  670. a=fmtp:101 0-15
  671. a=ptime:20
  672. a=sendrecv
  673.  
  674. 2023-05-27 11:13:28.925587 95.00% [DEBUG] switch_core_state_machine.c:40 sofia/default/10007777777 Standard INIT
  675. 2023-05-27 11:13:28.925587 95.00% [DEBUG] switch_core_state_machine.c:48 (sofia/default/10007777777) State Change CS_INIT -> CS_ROUTING
  676. 2023-05-27 11:13:28.925587 95.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/10007777777) State INIT going to sleep
  677. 2023-05-27 11:13:28.925587 95.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/10007777777) Running State Change CS_ROUTING (Cur 2 Tot 64)
  678. 2023-05-27 11:13:28.925587 95.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/10007777777) State ROUTING
  679. 2023-05-27 11:13:28.925587 95.00% [DEBUG] mod_sofia.c:158 sofia/default/10007777777 SOFIA ROUTING
  680. 2023-05-27 11:13:28.925587 95.00% [DEBUG] switch_ivr_originate.c:67 (sofia/default/10007777777) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  681. 2023-05-27 11:13:28.925587 95.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/10007777777) State ROUTING going to sleep
  682. 2023-05-27 11:13:28.925587 95.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/10007777777) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 64)
  683. 2023-05-27 11:13:28.925587 95.00% [DEBUG] switch_core_state_machine.c:659 (sofia/default/10007777777) State CONSUME_MEDIA
  684. 2023-05-27 11:13:28.925587 95.00% [DEBUG] switch_core_state_machine.c:659 (sofia/default/10007777777) State CONSUME_MEDIA going to sleep
  685. 2023-05-27 11:13:28.925587 95.00% [DEBUG] sofia.c:7487 Channel sofia/default/10007777777 entering state [calling][0]
  686. 2023-05-27 11:13:29.045577 95.00% [DEBUG] sofia.c:7487 Channel sofia/default/10007777777 entering state [completing][200]
  687. 2023-05-27 11:13:29.045577 95.00% [DEBUG] sofia.c:7497 Remote SDP:
  688. v=0
  689. o=root 543978269 543978269 IN IP4 159.203.131.36
  690. s=Asterisk PBX 16.4.0
  691. c=IN IP4 159.203.131.36
  692. t=0 0
  693. m=audio 14754 RTP/AVP 8 101
  694. a=rtpmap:8 PCMA/8000
  695. a=rtpmap:101 telephone-event/8000
  696. a=fmtp:101 0-16
  697. a=maxptime:150
  698.  
  699. 2023-05-27 11:13:29.045577 95.00% [DEBUG] sofia.c:7487 Channel sofia/default/10007777777 entering state [ready][200]
  700. 2023-05-27 11:13:29.045577 95.00% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1]
  701. 2023-05-27 11:13:29.045577 95.00% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  702. 2023-05-27 11:13:29.045577 95.00% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[G729:18:8000:20:8000:1]
  703. 2023-05-27 11:13:29.045577 95.00% [DEBUG] switch_core_media.c:5443 Set telephone-event payload to 101@8000
  704. 2023-05-27 11:13:29.045577 95.00% [DEBUG] switch_core_media.c:3750 Set Codec sofia/default/10007777777 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  705. 2023-05-27 11:13:29.045577 95.00% [DEBUG] switch_core_codec.c:111 sofia/default/10007777777 Original read codec set to PCMA:8
  706. 2023-05-27 11:13:29.045577 95.00% [DEBUG] switch_core_media.c:5792 Set telephone-event payload to 101@8000
  707. 2023-05-27 11:13:29.045577 95.00% [DEBUG] switch_core_media.c:5850 sofia/default/10007777777 Set 2833 dtmf send payload to 101 recv payload to 101
  708. 2023-05-27 11:13:29.045577 95.00% [DEBUG] switch_core_media.c:8651 AUDIO RTP [sofia/default/10007777777] 95.217.238.195 port 31880 -> 159.203.131.36 port 14754 codec: 8 ms: 20
  709. 2023-05-27 11:13:29.045577 95.00% [DEBUG] switch_rtp.c:4377 Starting timer [soft] 160 bytes per 20ms
  710. 2023-05-27 11:13:29.045577 95.00% [DEBUG] switch_core_media.c:8963 sofia/default/10007777777 Set 2833 dtmf send payload to 101
  711. 2023-05-27 11:13:29.045577 95.00% [DEBUG] switch_core_media.c:8970 sofia/default/10007777777 Set 2833 dtmf receive payload to 101
  712. 2023-05-27 11:13:29.045577 95.00% [DEBUG] switch_core_media.c:8993 sofia/default/10007777777 Set rtp dtmf delay to 40
  713. 2023-05-27 11:13:29.045577 95.00% [NOTICE] sofia.c:8674 Channel [sofia/default/10007777777] has been answered
  714. 2023-05-27 11:13:29.045577 95.00% [DEBUG] switch_channel.c:3893 (sofia/default/10007777777) Callstate Change DOWN -> ACTIVE
  715. 2023-05-27 11:13:29.065588 95.00% [DEBUG] switch_core_media.c:8633 Audio params are unchanged for sofia/PKsipProfileALPHA/8000500020@13.232.246.166.
  716. 2023-05-27 11:13:29.065588 95.00% [DEBUG] mod_sofia.c:913 Local SDP sofia/PKsipProfileALPHA/8000500020@13.232.246.166:
  717. v=0
  718. o=FreeSWITCH 1685163876 1685163878 IN IP4 95.217.238.195
  719. s=FreeSWITCH
  720. c=IN IP4 95.217.238.195
  721. t=0 0
  722. m=audio 22124 RTP/AVP 0 101
  723. a=rtpmap:0 PCMU/8000
  724. a=rtpmap:101 telephone-event/8000
  725. a=fmtp:101 0-15
  726. a=ptime:20
  727. a=sendrecv
  728.  
  729. 2023-05-27 11:13:29.065588 95.00% [NOTICE] switch_ivr_originate.c:3844 Channel [sofia/PKsipProfileALPHA/8000500020@13.232.246.166] has been answered
  730. 2023-05-27 11:13:29.065588 95.00% [DEBUG] switch_channel.c:3893 (sofia/PKsipProfileALPHA/8000500020@13.232.246.166) Callstate Change EARLY -> ACTIVE
  731. 2023-05-27 11:13:29.065588 95.00% [DEBUG] sofia.c:7487 Channel sofia/PKsipProfileALPHA/8000500020@13.232.246.166 entering state [completed][200]
  732. 2023-05-27 11:13:29.065588 95.00% [DEBUG] switch_ivr_originate.c:3902 Originate Resulted in Success: [sofia/default/10007777777] Peer UUID: 529e8ce4-32ef-4ee7-9208-903c2b05f348
  733. 2023-05-27 11:13:29.065588 95.00% [DEBUG] switch_ivr_bridge.c:1791 (sofia/default/10007777777) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  734. 2023-05-27 11:13:29.065588 95.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/10007777777) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 64)
  735. 2023-05-27 11:13:29.065588 95.00% [DEBUG] switch_core_state_machine.c:650 (sofia/default/10007777777) State EXCHANGE_MEDIA
  736. 2023-05-27 11:13:29.065588 95.00% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  737. 2023-05-27 11:13:29.125593 95.00% [DEBUG] switch_rtp.c:7511 Correct audio ip/port confirmed.
  738. 2023-05-27 11:13:29.225574 95.00% [DEBUG] sofia.c:7487 Channel sofia/PKsipProfileALPHA/8000500020@13.232.246.166 entering state [ready][200]
  739. 2023-05-27 11:13:29.245557 95.00% [DEBUG] switch_ivr_bridge.c:654 sofia/default/10007777777 Bridge execute app sched_hangup(+6000 normal_clearing)
  740. 2023-05-27 11:13:29.265636 95.00% [DEBUG] switch_rtp.c:7511 Correct audio ip/port confirmed.
  741. 2023-05-27 11:13:29.265636 95.00% [DEBUG] switch_ivr.c:632 sofia/default/10007777777 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  742. EXECUTE [depth=0] sofia/default/10007777777 sched_hangup(+6000 normal_clearing)
  743. 2023-05-27 11:13:29.265636 95.00% [DEBUG] switch_scheduler.c:263 Added task 14 switch_ivr_schedule_hangup (529e8ce4-32ef-4ee7-9208-903c2b05f348) to run at 1685192009
  744. 2023-05-27 11:13:31.665570 94.63% [WARNING] sofia_reg.c:1846 SIP auth challenge (INVITE) on sofia profile 'default' for [33@alpha.astppbilling.org] from ip 103.240.35.46
  745. 2023-05-27 11:13:31.965582 94.63% [WARNING] sofia_reg.c:3211 Can't find user [33@alpha.astppbilling.org] from 103.240.35.46
  746. You must define a domain called 'alpha.astppbilling.org' in your directory and add a user with the id="33" attribute
  747. and you must configure your device to use the proper domain in its authentication credentials.
  748. 2023-05-27 11:13:32.525621 95.10% [WARNING] sofia_reg.c:1846 SIP auth challenge (REGISTER) on sofia profile 'default' for [8379374644@alpha5.astppbilling.org] from ip 106.215.41.11
  749. 2023-05-27 11:13:33.025583 95.10% [WARNING] sofia_reg.c:3211 Can't find user [8379374644@alpha5.astppbilling.org] from 106.215.41.11
  750. You must define a domain called 'alpha5.astppbilling.org' in your directory and add a user with the id="8379374644" attribute
  751. and you must configure your device to use the proper domain in its authentication credentials.
  752. 2023-05-27 11:13:33.025583 95.10% [WARNING] sofia_reg.c:1791 SIP auth failure (REGISTER) on sofia profile 'default' for [8379374644@alpha5.astppbilling.org] from ip 106.215.41.11
  753. 2023-05-27 11:13:34.225688 95.07% [DEBUG] switch_ivr_bridge.c:819 sofia/PKsipProfileALPHA/8000500020@13.232.246.166 ending bridge by request from write function
  754. 2023-05-27 11:13:34.225688 95.07% [NOTICE] sofia.c:1065 Hangup sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [CS_EXECUTE] [NORMAL_CLEARING]
  755. 2023-05-27 11:13:34.225688 95.07% [DEBUG] switch_ivr_bridge.c:911 BRIDGE THREAD DONE [sofia/default/10007777777]
  756. 2023-05-27 11:13:34.225688 95.07% [NOTICE] switch_ivr_bridge.c:1027 Hangup sofia/default/10007777777 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  757. 2023-05-27 11:13:34.225688 95.07% [DEBUG] switch_core_state_machine.c:650 (sofia/default/10007777777) State EXCHANGE_MEDIA going to sleep
  758. 2023-05-27 11:13:34.225688 95.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/10007777777) Running State Change CS_HANGUP (Cur 2 Tot 64)
  759. 2023-05-27 11:13:34.225688 95.07% [DEBUG] switch_ivr_bridge.c:911 BRIDGE THREAD DONE [sofia/PKsipProfileALPHA/8000500020@13.232.246.166]
  760. 2023-05-27 11:13:34.225688 95.07% [DEBUG] switch_core_state_machine.c:844 (sofia/default/10007777777) Callstate Change ACTIVE -> HANGUP
  761. 2023-05-27 11:13:34.225688 95.07% [DEBUG] switch_core_state_machine.c:846 (sofia/default/10007777777) State HANGUP
  762. 2023-05-27 11:13:34.225688 95.07% [DEBUG] mod_sofia.c:462 sofia/default/10007777777 Overriding SIP cause 480 with 200 from the other leg
  763. 2023-05-27 11:13:34.225688 95.07% [DEBUG] mod_sofia.c:468 Channel sofia/default/10007777777 hanging up, cause: NORMAL_CLEARING
  764. 2023-05-27 11:13:34.225688 95.07% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/10007777777
  765. 2023-05-27 11:13:34.225688 95.07% [DEBUG] switch_ivr_bridge.c:1890 sofia/default/10007777777 skip receive message [UNBRIDGE] (channel is hungup already)
  766. 2023-05-27 11:13:34.225688 95.07% [DEBUG] switch_ivr_bridge.c:1893 sofia/PKsipProfileALPHA/8000500020@13.232.246.166 skip receive message [UNBRIDGE] (channel is hungup already)
  767. 2023-05-27 11:13:34.225688 95.07% [DEBUG] switch_core_session.c:2973 sofia/PKsipProfileALPHA/8000500020@13.232.246.166 skip receive message [PHONE_EVENT] (channel is hungup already)
  768. 2023-05-27 11:13:34.225688 95.07% [DEBUG] switch_core_state_machine.c:59 sofia/default/10007777777 Standard HANGUP, cause: NORMAL_CLEARING
  769. 2023-05-27 11:13:34.225688 95.07% [DEBUG] switch_core_state_machine.c:647 (sofia/PKsipProfileALPHA/8000500020@13.232.246.166) State EXECUTE going to sleep
  770. 2023-05-27 11:13:34.225688 95.07% [DEBUG] switch_core_state_machine.c:581 (sofia/PKsipProfileALPHA/8000500020@13.232.246.166) Running State Change CS_HANGUP (Cur 2 Tot 64)
  771. 2023-05-27 11:13:34.225688 95.07% [DEBUG] switch_core_state_machine.c:846 (sofia/default/10007777777) State HANGUP going to sleep
  772. 2023-05-27 11:13:34.225688 95.07% [DEBUG] switch_core_state_machine.c:616 (sofia/default/10007777777) State Change CS_HANGUP -> CS_REPORTING
  773. 2023-05-27 11:13:34.225688 95.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/10007777777) Running State Change CS_REPORTING (Cur 2 Tot 64)
  774. 2023-05-27 11:13:34.225688 95.07% [DEBUG] switch_core_state_machine.c:932 (sofia/default/10007777777) State REPORTING
  775. 2023-05-27 11:13:34.225688 95.07% [DEBUG] switch_core_state_machine.c:844 (sofia/PKsipProfileALPHA/8000500020@13.232.246.166) Callstate Change ACTIVE -> HANGUP
  776. 2023-05-27 11:13:34.225688 95.07% [DEBUG] switch_core_state_machine.c:846 (sofia/PKsipProfileALPHA/8000500020@13.232.246.166) State HANGUP
  777. 2023-05-27 11:13:34.225688 95.07% [DEBUG] mod_sofia.c:468 Channel sofia/PKsipProfileALPHA/8000500020@13.232.246.166 hanging up, cause: NORMAL_CLEARING
  778. 2023-05-27 11:13:34.225688 95.07% [INFO] mod_json_cdr.c:272 Process [529e8ce4-32ef-4ee7-9208-903c2b05f348.cdr.json]
  779. 2023-05-27 11:13:34.225688 95.07% [DEBUG] switch_core_state_machine.c:59 sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Standard HANGUP, cause: NORMAL_CLEARING
  780. 2023-05-27 11:13:34.225688 95.07% [DEBUG] switch_core_state_machine.c:846 (sofia/PKsipProfileALPHA/8000500020@13.232.246.166) State HANGUP going to sleep
  781. 2023-05-27 11:13:34.225688 95.07% [DEBUG] switch_core_state_machine.c:616 (sofia/PKsipProfileALPHA/8000500020@13.232.246.166) State Change CS_HANGUP -> CS_REPORTING
  782. 2023-05-27 11:13:34.225688 95.07% [DEBUG] switch_core_state_machine.c:581 (sofia/PKsipProfileALPHA/8000500020@13.232.246.166) Running State Change CS_REPORTING (Cur 2 Tot 64)
  783. 2023-05-27 11:13:34.225688 95.07% [DEBUG] switch_core_state_machine.c:932 (sofia/PKsipProfileALPHA/8000500020@13.232.246.166) State REPORTING
  784. 2023-05-27 11:13:34.225688 95.07% [INFO] mod_json_cdr.c:272 Process [9e4a7dd0-311a-415f-82d0-bdc89baa8177.cdr.json]
  785. 2023-05-27 11:13:34.245580 95.07% [DEBUG] switch_core_state_machine.c:168 sofia/default/10007777777 Standard REPORTING, cause: NORMAL_CLEARING
  786. 2023-05-27 11:13:34.245580 95.07% [DEBUG] switch_core_state_machine.c:932 (sofia/default/10007777777) State REPORTING going to sleep
  787. 2023-05-27 11:13:34.245580 95.07% [DEBUG] switch_core_state_machine.c:607 (sofia/default/10007777777) State Change CS_REPORTING -> CS_DESTROY
  788. 2023-05-27 11:13:34.245580 95.07% [DEBUG] switch_core_session.c:1743 Session 64 (sofia/default/10007777777) Locked, Waiting on external entities
  789. 2023-05-27 11:13:34.245580 95.07% [NOTICE] switch_core_session.c:1761 Session 64 (sofia/default/10007777777) Ended
  790. 2023-05-27 11:13:34.245580 95.07% [NOTICE] switch_core_session.c:1765 Close Channel sofia/default/10007777777 [CS_DESTROY]
  791. 2023-05-27 11:13:34.245580 95.07% [DEBUG] switch_core_state_machine.c:735 (sofia/default/10007777777) Running State Change CS_DESTROY (Cur 1 Tot 64)
  792. 2023-05-27 11:13:34.245580 95.07% [DEBUG] switch_core_state_machine.c:745 (sofia/default/10007777777) State DESTROY
  793. 2023-05-27 11:13:34.245580 95.07% [DEBUG] mod_sofia.c:379 sofia/default/10007777777 SOFIA DESTROY
  794. 2023-05-27 11:13:34.245580 95.07% [DEBUG] switch_core_state_machine.c:175 sofia/default/10007777777 Standard DESTROY
  795. 2023-05-27 11:13:34.245580 95.07% [DEBUG] switch_core_state_machine.c:745 (sofia/default/10007777777) State DESTROY going to sleep
  796. 2023-05-27 11:13:34.265563 95.07% [DEBUG] switch_scheduler.c:147 Deleting task 14 switch_ivr_schedule_hangup (529e8ce4-32ef-4ee7-9208-903c2b05f348)
  797. 2023-05-27 11:13:34.265563 95.07% [DEBUG] switch_core_state_machine.c:168 sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Standard REPORTING, cause: NORMAL_CLEARING
  798. 2023-05-27 11:13:34.265563 95.07% [DEBUG] switch_core_state_machine.c:932 (sofia/PKsipProfileALPHA/8000500020@13.232.246.166) State REPORTING going to sleep
  799. 2023-05-27 11:13:34.265563 95.07% [DEBUG] switch_core_state_machine.c:607 (sofia/PKsipProfileALPHA/8000500020@13.232.246.166) State Change CS_REPORTING -> CS_DESTROY
  800. 2023-05-27 11:13:34.265563 95.07% [DEBUG] switch_core_session.c:1743 Session 63 (sofia/PKsipProfileALPHA/8000500020@13.232.246.166) Locked, Waiting on external entities
  801. 2023-05-27 11:13:34.265563 95.07% [NOTICE] switch_core_session.c:1761 Session 63 (sofia/PKsipProfileALPHA/8000500020@13.232.246.166) Ended
  802. 2023-05-27 11:13:34.265563 95.07% [NOTICE] switch_core_session.c:1765 Close Channel sofia/PKsipProfileALPHA/8000500020@13.232.246.166 [CS_DESTROY]
  803. 2023-05-27 11:13:34.265563 95.07% [DEBUG] switch_core_state_machine.c:735 (sofia/PKsipProfileALPHA/8000500020@13.232.246.166) Running State Change CS_DESTROY (Cur 0 Tot 64)
  804. 2023-05-27 11:13:34.265563 95.07% [DEBUG] switch_core_state_machine.c:745 (sofia/PKsipProfileALPHA/8000500020@13.232.246.166) State DESTROY
  805. 2023-05-27 11:13:34.265563 95.07% [DEBUG] mod_sofia.c:379 sofia/PKsipProfileALPHA/8000500020@13.232.246.166 SOFIA DESTROY
  806. 2023-05-27 11:13:34.265563 95.07% [DEBUG] switch_core_state_machine.c:175 sofia/PKsipProfileALPHA/8000500020@13.232.246.166 Standard DESTROY
  807. 2023-05-27 11:13:34.265563 95.07% [DEBUG] switch_core_state_machine.c:745 (sofia/PKsipProfileALPHA/8000500020@13.232.246.166) State DESTROY going to sleep
  808. freeswitch@AlphaQaAlpesh> /exit