From Prashant Kumar, 1 Year ago, written in FreeSWITCH.
- view diff
Embed
  1. span style="color: cornflowerblue; font-weight: bold;"> 2023-04-04 12:37:21.594957 81.07% [NOTICE] switch_channel.c:1123 New Channel sofia/default/3450872313@astppqa603.astppbilling.org:5076 [4f591694-83a8-4189-a221-19915c2ea3eb]
  2. 2023-04-04 12:37:21.594957 81.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3450872313@astppqa603.astppbilling.org:5076) Running State Change CS_NEW (Cur 1 Tot 1)
  3. 2023-04-04 12:37:21.594957 81.07% [INFO] sofia.c:10462 sofia/default/3450872313@astppqa603.astppbilling.org:5076 receiving invite from 103.240.35.46:55442 version: 1.10.7 -release 64bit call-id: YTVkZjc2YWFiNmU1Njc3M2QwMGE5ZjM0ZTBlMTI3Y2Q.
  4. 2023-04-04 12:37:21.594957 81.07% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0.
  5. 2023-04-04 12:37:21.594957 81.07% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [10101333333333@astppqa603.astppbilling.org] from ip 103.240.35.46
  6. 2023-04-04 12:37:21.594957 81.07% [DEBUG] switch_core_state_machine.c:600 (sofia/default/3450872313@astppqa603.astppbilling.org:5076) State NEW
  7. 2023-04-04 12:37:21.594957 81.07% [DEBUG] sofia.c:2419 detaching session 4f591694-83a8-4189-a221-19915c2ea3eb
  8. 2023-04-04 12:37:22.334968 80.73% [DEBUG] sofia.c:2532 Re-attaching to session 4f591694-83a8-4189-a221-19915c2ea3eb
  9. 2023-04-04 12:37:22.354973 80.73% [INFO] sofia.c:10462 sofia/default/3450872313@astppqa603.astppbilling.org:5076 receiving invite from 103.240.35.46:55442 version: 1.10.7 -release 64bit call-id: YTVkZjc2YWFiNmU1Njc3M2QwMGE5ZjM0ZTBlMTI3Y2Q.
  10. 2023-04-04 12:37:22.354973 80.73% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0.
  11. 2023-04-04 12:37:22.374974 80.73% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
  12. 2023-04-04 12:37:22.374974 80.73% [DEBUG] sofia.c:7499 Channel sofia/default/3450872313@astppqa603.astppbilling.org:5076 entering state [received][100]
  13. 2023-04-04 12:37:22.374974 80.73% [DEBUG] sofia.c:7509 Remote SDP:
  14. v=0
  15. o=Z 0 0 IN IP4 103.240.35.46
  16. s=Z
  17. c=IN IP4 103.240.35.46
  18. t=0 0
  19. m=audio 5648 RTP/AVP 3 110 8 0 98 101
  20. a=rtpmap:110 speex/8000
  21. a=rtpmap:98 iLBC/8000
  22. a=fmtp:98 mode=20
  23. a=rtpmap:101 telephone-event/8000
  24. a=fmtp:101 0-15
  25.  
  26. 2023-04-04 12:37:22.374974 80.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  27. 2023-04-04 12:37:22.374974 80.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  28. 2023-04-04 12:37:22.374974 80.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  29. 2023-04-04 12:37:22.374974 80.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  30. 2023-04-04 12:37:22.374974 80.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  31. 2023-04-04 12:37:22.374974 80.73% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  32. 2023-04-04 12:37:22.374974 80.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  33. 2023-04-04 12:37:22.374974 80.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  34. 2023-04-04 12:37:22.374974 80.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  35. 2023-04-04 12:37:22.374974 80.73% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  36. 2023-04-04 12:37:22.374974 80.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  37. 2023-04-04 12:37:22.374974 80.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  38. 2023-04-04 12:37:22.374974 80.73% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  39. 2023-04-04 12:37:22.374974 80.73% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/3450872313@astppqa603.astppbilling.org:5076 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  40. 2023-04-04 12:37:22.374974 80.73% [DEBUG] switch_core_codec.c:111 sofia/default/3450872313@astppqa603.astppbilling.org:5076 Original read codec set to PCMA:8
  41. 2023-04-04 12:37:22.374974 80.73% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  42. 2023-04-04 12:37:22.374974 80.73% [DEBUG] switch_core_media.c:5973 sofia/default/3450872313@astppqa603.astppbilling.org:5076 Set 2833 dtmf send payload to 101 recv payload to 101
  43. 2023-04-04 12:37:22.374974 80.73% [DEBUG] sofia.c:7933 (sofia/default/3450872313@astppqa603.astppbilling.org:5076) State Change CS_NEW -> CS_INIT
  44. 2023-04-04 12:37:22.374974 80.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3450872313@astppqa603.astppbilling.org:5076) Running State Change CS_INIT (Cur 1 Tot 1)
  45. 2023-04-04 12:37:22.374974 80.73% [DEBUG] switch_core_state_machine.c:624 (sofia/default/3450872313@astppqa603.astppbilling.org:5076) State INIT
  46. 2023-04-04 12:37:22.374974 80.73% [DEBUG] mod_sofia.c:97 sofia/default/3450872313@astppqa603.astppbilling.org:5076 SOFIA INIT
  47. 2023-04-04 12:37:22.374974 80.73% [DEBUG] switch_core_state_machine.c:40 sofia/default/3450872313@astppqa603.astppbilling.org:5076 Standard INIT
  48. 2023-04-04 12:37:22.374974 80.73% [DEBUG] switch_core_state_machine.c:48 (sofia/default/3450872313@astppqa603.astppbilling.org:5076) State Change CS_INIT -> CS_ROUTING
  49. 2023-04-04 12:37:22.374974 80.73% [DEBUG] switch_core_state_machine.c:624 (sofia/default/3450872313@astppqa603.astppbilling.org:5076) State INIT going to sleep
  50. 2023-04-04 12:37:22.374974 80.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3450872313@astppqa603.astppbilling.org:5076) Running State Change CS_ROUTING (Cur 1 Tot 1)
  51. 2023-04-04 12:37:22.374974 80.73% [DEBUG] switch_channel.c:2380 (sofia/default/3450872313@astppqa603.astppbilling.org:5076) Callstate Change DOWN -> RINGING
  52. 2023-04-04 12:37:22.374974 80.73% [DEBUG] switch_core_state_machine.c:640 (sofia/default/3450872313@astppqa603.astppbilling.org:5076) State ROUTING
  53. 2023-04-04 12:37:22.374974 80.73% [DEBUG] mod_sofia.c:158 sofia/default/3450872313@astppqa603.astppbilling.org:5076 SOFIA ROUTING
  54. 2023-04-04 12:37:22.374974 80.73% [DEBUG] switch_core_state_machine.c:230 sofia/default/3450872313@astppqa603.astppbilling.org:5076 Standard ROUTING
  55. 2023-04-04 12:37:22.374974 80.73% [INFO] mod_dialplan_xml.c:639 Processing 3450872313 <3450872313>->10101333333333 in context default
  56. 2023-04-04 12:37:22.374974 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  57. 2023-04-04 12:37:22.394959 80.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  58. 2023-04-04 12:37:22.394959 80.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  59. 2023-04-04 12:37:22.394959 80.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  60. 2023-04-04 12:37:22.394959 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  61. 2023-04-04 12:37:22.394959 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 10101333333333
  62. 2023-04-04 12:37:22.394959 80.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '10101333333333' limit 1
  63. 2023-04-04 12:37:22.394959 80.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  64. 2023-04-04 12:37:22.394959 80.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '10101333333333' and status=0 LIMIT 1
  65. 2023-04-04 12:37:22.394959 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER3450872313
  66. 2023-04-04 12:37:22.394959 80.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  67. 2023-04-04 12:37:22.394959 80.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '10101333333333' limit 1
  68. 2023-04-04 12:37:22.394959 80.73% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  69. 2023-04-04 12:37:22.394959 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 3450872313 / 3450872313
  70. 2023-04-04 12:37:22.414960 80.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 33333333
  71. 2023-04-04 12:37:22.414960 80.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 101013 AND status=0 limit 1
  72. 2023-04-04 12:37:22.414960 80.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  73. 2023-04-04 12:37:22.414960 80.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="10101333333333"  AND domains.domain="astppqa603.astppbilling.org" limit 1
  74. 2023-04-04 12:37:22.414960 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  75. 2023-04-04 12:37:22.414960 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 5758870926]
  76. 2023-04-04 12:37:22.414960 80.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =10101333333333
  77. 2023-04-04 12:37:22.414960 80.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "5758870926" AND deleted = 0 limit 1
  78. 2023-04-04 12:37:22.414960 80.73% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [IS_CALL_INTERNATIONAL] Call (10101333333333) marked as international call!!
  79. 2023-04-04 12:37:22.414960 80.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^10101333333333.*' OR blocked_patterns = '^1010133333333.*' OR blocked_patterns = '^101013333333.*' OR blocked_patterns = '^10101333333.*' OR blocked_patterns = '^1010133333.*' OR blocked_patterns = '^101013333.*' OR blocked_patterns = '^10101333.*' OR blocked_patterns = '^1010133.*' OR blocked_patterns = '^101013.*' OR blocked_patterns = '^10101.*' OR blocked_patterns = '^1010.*' OR blocked_patterns = '^101.*' OR blocked_patterns = '^10.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 15 limit 1
  80. 2023-04-04 12:37:22.414960 80.73% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [IS_CALL_INTERNATIONAL] Call (10101333333333) marked as international call!!
  81. 2023-04-04 12:37:22.414960 80.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  82. 2023-04-04 12:37:22.414960 80.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE P.is_terminated = 0 AND (patterns = '^10101333333333.*' OR patterns = '^1010133333333.*' OR patterns = '^101013333333.*' OR patterns = '^10101333333.*' OR patterns = '^1010133333.*' OR patterns = '^101013333.*' OR patterns = '^10101333.*' OR patterns = '^1010133.*' OR patterns = '^101013.*' OR patterns = '^10101.*' OR patterns = '^1010.*' OR patterns = '^101.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 15 ORDER BY LENGTH(PKGPTR.patterns) DESC
  83. 2023-04-04 12:37:22.414960 80.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="10101333333333" AND A.accountid = '15' limit 1
  84. 2023-04-04 12:37:22.414960 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 10101333333333
  85. 2023-04-04 12:37:22.414960 80.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  86. 2023-04-04 12:37:22.414960 80.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="10101333333333"  AND domains.domain="astppqa603.astppbilling.org" limit 1
  87. 2023-04-04 12:37:22.414960 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  88. 2023-04-04 12:37:22.414960 80.73% [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 = '10101333333333' OR number = '1010133333333' OR number = '101013333333' OR number = '10101333333' OR number = '1010133333' OR number = '101013333' OR number = '10101333' OR number = '1010133' OR number = '101013' OR number = '10101' OR number = '1010' OR number = '101' OR number = '10' OR number = '1' OR number ='--') OR (number = '10101333333333*' OR number = '1010133333333*' OR number = '101013333333*' OR number = '10101333333*' OR number = '1010133333*' OR number = '101013333*' OR number = '10101333*' OR number = '1010133*' OR number = '101013*' OR number = '10101*' OR number = '1010*' OR number = '101*' OR number = '10*' OR number = '1*' OR number ='--') OR (number = '3450872313' OR number = '345087231' OR number = '34508723' OR number = '3450872' OR number = '345087' OR number = '34508' OR number = '3450' OR number = '345' OR number = '34' OR number = '3' OR number ='--') OR (number = '3450872313*' OR number = '345087231*' OR number = '34508723*' OR number = '3450872*' OR number = '345087*' OR number = '34508*' OR number = '3450*' OR number = '345*' OR number = '34*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  89. 2023-04-04 12:37:22.414960 80.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  90. 2023-04-04 12:37:22.414960 80.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '10101333333333' OR routing_prefix = '1010133333333' OR routing_prefix = '101013333333' OR routing_prefix = '10101333333' OR routing_prefix = '1010133333' OR routing_prefix = '101013333' OR routing_prefix = '10101333' OR routing_prefix = '1010133' OR routing_prefix = '101013' OR routing_prefix = '10101' OR routing_prefix = '1010' OR routing_prefix = '101' OR routing_prefix = '10' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  91. 2023-04-04 12:37:22.414960 80.73% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [PORTED_NUMBER] Get Destination Number (10101333333333)!!!!
  92. 2023-04-04 12:37:22.414960 80.73% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [PORTED_NUMBER] After Append Ported Number : (10101333333333)!!!!
  93. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  94. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 15
  95. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 5758870926
  96. 2023-04-04 12:37:22.434952 80.73% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [IS_CALL_INTERNATIONAL] Call (10101333333333) marked as international call!!
  97. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 100
  98. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  99. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 2
  100. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  101. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  102. 2023-04-04 12:37:22.434952 80.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  103. 2023-04-04 12:37:22.434952 80.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::2
  104. 2023-04-04 12:37:22.434952 80.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  105. 2023-04-04 12:37:22.434952 80.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  106. 2023-04-04 12:37:22.434952 80.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::2
  107. 2023-04-04 12:37:22.434952 80.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^10101333333333.*' OR pattern = '^1010133333333.*' OR pattern = '^101013333333.*' OR pattern = '^10101333333.*' OR pattern = '^1010133333.*' OR pattern = '^101013333.*' OR pattern = '^10101333.*' OR pattern = '^1010133.*' OR pattern = '^101013.*' OR pattern = '^10101.*' OR pattern = '^1010.*' OR pattern = '^101.*' OR pattern = '^10.*' OR pattern = '^1.*' OR pattern ='--') AND (caller_id_pattern = '^3450872313.*' OR caller_id_pattern = '^345087231.*' OR caller_id_pattern = '^34508723.*' OR caller_id_pattern = '^3450872.*' OR caller_id_pattern = '^345087.*' OR caller_id_pattern = '^34508.*' OR caller_id_pattern = '^3450.*' OR caller_id_pattern = '^345.*' OR caller_id_pattern = '^34.*' OR caller_id_pattern = '^3.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 2 OR accountid=15)  ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  108. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  109. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  110. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:6.00000
  111. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:2
  112. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday,timezone_name from demand_based_routing where pricelist_id = '2' and status=0
  113. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:6.00000
  114. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  115. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 66
  116. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  117. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  118. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 6.00000
  119. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Inernational QA
  120. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 26
  121. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 15
  122. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  123. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  124. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  125. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Shadow_billing_rates]SHADOWBILLING:0|ID:66|CODE:^1010.*|DESTINATION:Inernational QA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:6.00000|INC:60|INITIALBLOCK:60|RATEGROUP:2|MARKUP:0|CI:26|ACCID:15!!!
  126. 2023-04-04 12:37:22.434952 80.73% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [IS_CALL_INTERNATIONAL] Call (10101333333333) marked as international call!!
  127. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your100 balance Accountid 15 !!!
  128. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 16.666666666667 minutes
  129. 2023-04-04 12:37:22.434952 80.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
  130. 2023-04-04 12:37:22.434952 80.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=2 ORDER by id asc
  131. 2023-04-04 12:37:22.434952 80.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.sip_cid_type,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^10101333333333.*' OR pattern = '^1010133333333.*' OR pattern = '^101013333333.*' OR pattern = '^10101333333.*' OR pattern = '^1010133333.*' OR pattern = '^101013333.*' OR pattern = '^10101333.*' OR pattern = '^1010133.*' OR pattern = '^101013.*' OR pattern = '^10101.*' OR pattern = '^1010.*' OR pattern = '^101.*' OR pattern = '^10.*' OR pattern = '^1.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (1,3) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC
  132. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  133. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 55
  134. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^1010.*
  135. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : PK-QAA
  136. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  137. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  138. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^1010.*
  139. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  140. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  141. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 3
  142. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PkSIPProfileGateway
  143. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  144. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  145. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 4
  146. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  147. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  148. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  149. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 20
  150. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^1.*
  151. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : india
  152. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  153. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  154. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^1.*
  155. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  156. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  157. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 1
  158. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : YourProvider
  159. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  160. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  161. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  162. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  163. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  164. 2023-04-04 12:37:22.434952 80.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 15 AND status=0 LIMIT 1
  165. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 16.666666666667
  166. 2023-04-04 12:37:22.434952 80.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  167. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  168. 2023-04-04 12:37:22.434952 80.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : outbound
  169. 2023-04-04 12:37:22.434952 80.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Set number as redial] destination_number :10101333333333
  170. 2023-04-04 12:37:22.434952 80.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Set number as return] destination_number :10101333333333
  171. 2023-04-04 12:37:22.434952 80.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  172. 2023-04-04 12:37:22.434952 80.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::2
  173. 2023-04-04 12:37:22.434952 80.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 4) AND status=0 limit 1
  174. 2023-04-04 12:37:22.434952 80.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 3) AND status=0 limit 1
  175. 2023-04-04 12:37:22.434952 80.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, 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 ="10101333333333" LIMIT 1
  176. 2023-04-04 12:37:22.434952 80.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10101333333333" LIMIT 1
  177. 2023-04-04 12:37:22.454956 80.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  178. 2023-04-04 12:37:22.454956 80.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  179. 2023-04-04 12:37:22.454956 80.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::2
  180. 2023-04-04 12:37:22.454956 80.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 3) AND status=0 limit 1
  181. 2023-04-04 12:37:22.454956 80.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 1) AND status=0 limit 1
  182. 2023-04-04 12:37:22.454956 80.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, 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 ="10101333333333" LIMIT 1
  183. 2023-04-04 12:37:22.454956 80.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10101333333333" LIMIT 1
  184. 2023-04-04 12:37:22.454956 80.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  185. 2023-04-04 12:37:22.454956 80.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  186. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  187. <document type="freeswitch/xml">
  188. <section name="dialplan" description="ASTPP Dialplan">
  189. <context name="default">
  190. <extension name="10101333333333">
  191. <condition field="destination_number" expression="10101333333333">
  192. <action application="set" data="effective_destination_number=10101333333333"/>
  193. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  194. <action application="set" data="bridge_pre_execute_bleg_data=+1000 normal_clearing"/>
  195. <action application="set" data="notify_flag=0"/>
  196. <action application="set" data="notify_credit_limit=5.00000"/>
  197. <action application="set" data="type=0"/>
  198. <action application="set" data="callstart=2023-04-04 12:37:22"/>
  199. <action application="set" data="hangup_after_bridge=true"/>
  200. <action application="set" data="continue_on_fail=TRUE"/>
  201. <action application="set" data="account_id=15"/>
  202. <action application="set" data="parent_id=0"/>
  203. <action application="set" data="entity_id=0"/>
  204. <action application="set" data="call_processed=internal"/>
  205. <action application="set" data="call_direction=outbound"/>
  206. <action application="set" data="accountname=default"/>
  207. <action application="set" data="filename1=astpp.pbx.lua"/>
  208. <action application="set" data="origination_rates=SHADOWBILLING:0|ID:66|CODE:^1010.*|DESTINATION:Inernational QA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:6.00000|INC:60|INITIALBLOCK:60|RATEGROUP:2|MARKUP:0|CI:26|ACCID:15"/>
  209. <action application="set" data="original_caller_id_name=3450872313"/>
  210. <action application="set" data="original_caller_id_number=3450872313"/>
  211.  
  212. <action application="hash" data="insert/${domain_name}-last_dial/${caller_id_number}/${destination_number}"/>
  213. <action application="hash" data="insert/${domain_name}-call_return/${destination_number}/${caller_id_number}"/>
  214. <action application="set" data="effective_caller_id_name=3450872313"/>
  215. <action application="set" data="effective_caller_id_number=3450872313"/>
  216. <action application="set" data="calltype=STANDARD"/>
  217. <action application="set" data="termination_rates=ID:55|CODE:^1010.*|DESTINATION:PK-QAA |CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.20000|INC:60|INITIALBLOCK:60|TRUNK:3|PROVIDER:4"/>
  218. <action application="set" data="trunk_id=3"/>
  219. <action application="set" data="provider_id=4"/>
  220. <action application="set" data="rate_flag=0"/>
  221. <action application="set" data="daily_call_credit_limit=0.00000"/>
  222. <action application="set" data="monthly_call_credit_limit=0.00000"/>
  223. <action application="set" data="daily_call_used_limit=0.00000"/>
  224. <action application="set" data="monthly_call_used_limit=0.00000"/>
  225. <action application="set" data="quality_trunk_seq=3,1"/>
  226. <action application="set" data="force_trunk_flag=0"/>
  227. <action application="export" data="presence_data=trunk_id=3"/>
  228. <action application="set" data="intcall=1"/>
  229. <action application="export" data="presence_id=10101333333333"/>
  230. <action application="export" data="presence_data=x|||AAD(5758870926)|||^1010.* // Inernational QA // 6.00000 |||PK-QA-Trunk-SIP-PROFILE // ^1010.* // PK-QAA  // 1.20000 // trunk_id=3|||STD|||103.240.35.46"/>
  231. <action application="bridge" data="{sip_cid_type=rpid}[leg_timeout=0,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/PkSIPProfileGateway/10101333333333"/>
  232. <action application="set" data="effective_caller_id_name=3450872313"/>
  233. <action application="set" data="effective_caller_id_number=3450872313"/>
  234. <action application="set" data="calltype=STANDARD"/>
  235. <action application="set" data="termination_rates=ID:20|CODE:^1.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:2.00000|INC:0|INITIALBLOCK:0|TRUNK:1|PROVIDER:3"/>
  236. <action application="set" data="trunk_id=1"/>
  237. <action application="set" data="provider_id=3"/>
  238. <action application="set" data="rate_flag=0"/>
  239. <action application="set" data="daily_call_credit_limit=0.00000"/>
  240. <action application="set" data="monthly_call_credit_limit=0.00000"/>
  241. <action application="set" data="daily_call_used_limit=0.00000"/>
  242. <action application="set" data="monthly_call_used_limit=0.00000"/>
  243. <action application="set" data="quality_trunk_seq=3,1"/>
  244. <action application="set" data="force_trunk_flag=0"/>
  245. <action application="export" data="presence_data=trunk_id=1"/>
  246. <action application="set" data="intcall=1"/>
  247. <action application="export" data="presence_id=10101333333333"/>
  248. <action application="export" data="presence_data=x|||AAD(5758870926)|||^1010.* // Inernational QA // 6.00000 |||YourTrunk // ^1.* // india // 2.00000 // trunk_id=1|||STD|||103.240.35.46"/>
  249. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/10101333333333"/>
  250. </condition>
  251. </extension>
  252. </context>
  253. </section>
  254. </document>
  255. Dialplan: sofia/default/3450872313@astppqa603.astppbilling.org:5076 parsing [default->10101333333333] continue=false
  256. Dialplan: sofia/default/3450872313@astppqa603.astppbilling.org:5076 Regex (PASS) [10101333333333] destination_number(10101333333333) =~ /10101333333333/ break=on-false
  257. Dialplan: sofia/default/3450872313@astppqa603.astppbilling.org:5076 Action set(effective_destination_number=10101333333333)
  258. Dialplan: sofia/default/3450872313@astppqa603.astppbilling.org:5076 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  259. Dialplan: sofia/default/3450872313@astppqa603.astppbilling.org:5076 Action set(bridge_pre_execute_bleg_data=+1000 normal_clearing)
  260. Dialplan: sofia/default/3450872313@astppqa603.astppbilling.org:5076 Action set(notify_flag=0)
  261. Dialplan: sofia/default/3450872313@astppqa603.astppbilling.org:5076 Action set(notify_credit_limit=5.00000)
  262. Dialplan: sofia/default/3450872313@astppqa603.astppbilling.org:5076 Action set(type=0)
  263. Dialplan: sofia/default/3450872313@astppqa603.astppbilling.org:5076 Action set(callstart=2023-04-04 12:37:22)
  264. Dialplan: sofia/default/3450872313@astppqa603.astppbilling.org:5076 Action set(hangup_after_bridge=true)
  265. Dialplan: sofia/default/3450872313@astppqa603.astppbilling.org:5076 Action set(continue_on_fail=TRUE)
  266. Dialplan: sofia/default/3450872313@astppqa603.astppbilling.org:5076 Action set(account_id=15)
  267. Dialplan: sofia/default/3450872313@astppqa603.astppbilling.org:5076 Action set(parent_id=0)
  268. Dialplan: sofia/default/3450872313@astppqa603.astppbilling.org:5076 Action set(entity_id=0)
  269. Dialplan: sofia/default/3450872313@astppqa603.astppbilling.org:5076 Action set(call_processed=internal)
  270. Dialplan: sofia/default/3450872313@astppqa603.astppbilling.org:5076 Action set(call_direction=outbound)
  271. Dialplan: sofia/default/3450872313@astppqa603.astppbilling.org:5076 Action set(accountname=default)
  272. Dialplan: sofia/default/3450872313@astppqa603.astppbilling.org:5076 Action set(filename1=astpp.pbx.lua)
  273. Dialplan: sofia/default/3450872313@astppqa603.astppbilling.org:5076 Action set(origination_rates=SHADOWBILLING:0|ID:66|CODE:^1010.*|DESTINATION:Inernational QA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:6.00000|INC:60|INITIALBLOCK:60|RATEGROUP:2|MARKUP:0|CI:26|ACCID:15)
  274. Dialplan: sofia/default/3450872313@astppqa603.astppbilling.org:5076 Action set(original_caller_id_name=3450872313)
  275. Dialplan: sofia/default/3450872313@astppqa603.astppbilling.org:5076 Action set(original_caller_id_number=3450872313)
  276. Dialplan: sofia/default/3450872313@astppqa603.astppbilling.org:5076 Action hash(insert/${domain_name}-last_dial/${caller_id_number}/${destination_number})
  277. Dialplan: sofia/default/3450872313@astppqa603.astppbilling.org:5076 Action hash(insert/${domain_name}-call_return/${destination_number}/${caller_id_number})
  278. Dialplan: sofia/default/3450872313@astppqa603.astppbilling.org:5076 Action set(effective_caller_id_name=3450872313)
  279. Dialplan: sofia/default/3450872313@astppqa603.astppbilling.org:5076 Action set(effective_caller_id_number=3450872313)
  280. Dialplan: sofia/default/3450872313@astppqa603.astppbilling.org:5076 Action set(calltype=STANDARD)
  281. Dialplan: sofia/default/3450872313@astppqa603.astppbilling.org:5076 Action set(termination_rates=ID:55|CODE:^1010.*|DESTINATION:PK-QAA |CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.20000|INC:60|INITIALBLOCK:60|TRUNK:3|PROVIDER:4)
  282. Dialplan: sofia/default/3450872313@astppqa603.astppbilling.org:5076 Action set(trunk_id=3)
  283. Dialplan: sofia/default/3450872313@astppqa603.astppbilling.org:5076 Action set(provider_id=4)
  284. Dialplan: sofia/default/3450872313@astppqa603.astppbilling.org:5076 Action set(rate_flag=0)
  285. Dialplan: sofia/default/3450872313@astppqa603.astppbilling.org:5076 Action set(daily_call_credit_limit=0.00000)
  286. Dialplan: sofia/default/3450872313@astppqa603.astppbilling.org:5076 Action set(monthly_call_credit_limit=0.00000)
  287. Dialplan: sofia/default/3450872313@astppqa603.astppbilling.org:5076 Action set(daily_call_used_limit=0.00000)
  288. Dialplan: sofia/default/3450872313@astppqa603.astppbilling.org:5076 Action set(monthly_call_used_limit=0.00000)
  289. Dialplan: sofia/default/3450872313@astppqa603.astppbilling.org:5076 Action set(quality_trunk_seq=3,1)
  290. Dialplan: sofia/default/3450872313@astppqa603.astppbilling.org:5076 Action set(force_trunk_flag=0)
  291. Dialplan: sofia/default/3450872313@astppqa603.astppbilling.org:5076 Action export(presence_data=trunk_id=3)
  292. Dialplan: sofia/default/3450872313@astppqa603.astppbilling.org:5076 Action set(intcall=1)
  293. Dialplan: sofia/default/3450872313@astppqa603.astppbilling.org:5076 Action export(presence_id=10101333333333)
  294. Dialplan: sofia/default/3450872313@astppqa603.astppbilling.org:5076 Action export(presence_data=x|||AAD(5758870926)|||^1010.* // Inernational QA // 6.00000 |||PK-QA-Trunk-SIP-PROFILE // ^1010.* // PK-QAA  // 1.20000 // trunk_id=3|||STD|||103.240.35.46)
  295. Dialplan: sofia/default/3450872313@astppqa603.astppbilling.org:5076 Action bridge({sip_cid_type=rpid}[leg_timeout=0,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/PkSIPProfileGateway/10101333333333)
  296. Dialplan: sofia/default/3450872313@astppqa603.astppbilling.org:5076 Action set(effective_caller_id_name=3450872313)
  297. Dialplan: sofia/default/3450872313@astppqa603.astppbilling.org:5076 Action set(effective_caller_id_number=3450872313)
  298. Dialplan: sofia/default/3450872313@astppqa603.astppbilling.org:5076 Action set(calltype=STANDARD)
  299. Dialplan: sofia/default/3450872313@astppqa603.astppbilling.org:5076 Action set(termination_rates=ID:20|CODE:^1.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:2.00000|INC:0|INITIALBLOCK:0|TRUNK:1|PROVIDER:3)
  300. Dialplan: sofia/default/3450872313@astppqa603.astppbilling.org:5076 Action set(trunk_id=1)
  301. Dialplan: sofia/default/3450872313@astppqa603.astppbilling.org:5076 Action set(provider_id=3)
  302. Dialplan: sofia/default/3450872313@astppqa603.astppbilling.org:5076 Action set(rate_flag=0)
  303. Dialplan: sofia/default/3450872313@astppqa603.astppbilling.org:5076 Action set(daily_call_credit_limit=0.00000)
  304. Dialplan: sofia/default/3450872313@astppqa603.astppbilling.org:5076 Action set(monthly_call_credit_limit=0.00000)
  305. Dialplan: sofia/default/3450872313@astppqa603.astppbilling.org:5076 Action set(daily_call_used_limit=0.00000)
  306. Dialplan: sofia/default/3450872313@astppqa603.astppbilling.org:5076 Action set(monthly_call_used_limit=0.00000)
  307. Dialplan: sofia/default/3450872313@astppqa603.astppbilling.org:5076 Action set(quality_trunk_seq=3,1)
  308. Dialplan: sofia/default/3450872313@astppqa603.astppbilling.org:5076 Action set(force_trunk_flag=0)
  309. Dialplan: sofia/default/3450872313@astppqa603.astppbilling.org:5076 Action export(presence_data=trunk_id=1)
  310. Dialplan: sofia/default/3450872313@astppqa603.astppbilling.org:5076 Action set(intcall=1)
  311. Dialplan: sofia/default/3450872313@astppqa603.astppbilling.org:5076 Action export(presence_id=10101333333333)
  312. Dialplan: sofia/default/3450872313@astppqa603.astppbilling.org:5076 Action export(presence_data=x|||AAD(5758870926)|||^1010.* // Inernational QA // 6.00000 |||YourTrunk // ^1.* // india // 2.00000 // trunk_id=1|||STD|||103.240.35.46)
  313. Dialplan: sofia/default/3450872313@astppqa603.astppbilling.org:5076 Action bridge({sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/10101333333333)
  314. 2023-04-04 12:37:22.454956 80.73% [DEBUG] switch_core_state_machine.c:281 (sofia/default/3450872313@astppqa603.astppbilling.org:5076) State Change CS_ROUTING -> CS_EXECUTE
  315. 2023-04-04 12:37:22.454956 80.73% [DEBUG] switch_core_state_machine.c:640 (sofia/default/3450872313@astppqa603.astppbilling.org:5076) State ROUTING going to sleep
  316. 2023-04-04 12:37:22.454956 80.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3450872313@astppqa603.astppbilling.org:5076) Running State Change CS_EXECUTE (Cur 1 Tot 1)
  317. 2023-04-04 12:37:22.454956 80.73% [DEBUG] switch_core_state_machine.c:647 (sofia/default/3450872313@astppqa603.astppbilling.org:5076) State EXECUTE
  318. 2023-04-04 12:37:22.454956 80.73% [DEBUG] mod_sofia.c:213 sofia/default/3450872313@astppqa603.astppbilling.org:5076 SOFIA EXECUTE
  319. 2023-04-04 12:37:22.454956 80.73% [DEBUG] switch_core_state_machine.c:323 sofia/default/3450872313@astppqa603.astppbilling.org:5076 Standard EXECUTE
  320. EXECUTE [depth=0] sofia/default/3450872313@astppqa603.astppbilling.org:5076 set(effective_destination_number=10101333333333)
  321. 2023-04-04 12:37:22.454956 80.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/3450872313@astppqa603.astppbilling.org:5076 [effective_destination_number]=[10101333333333]
  322. EXECUTE [depth=0] sofia/default/3450872313@astppqa603.astppbilling.org:5076 set(bridge_pre_execute_bleg_app=sched_hangup)
  323. 2023-04-04 12:37:22.454956 80.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/3450872313@astppqa603.astppbilling.org:5076 [bridge_pre_execute_bleg_app]=[sched_hangup]
  324. EXECUTE [depth=0] sofia/default/3450872313@astppqa603.astppbilling.org:5076 set(bridge_pre_execute_bleg_data=+1000 normal_clearing)
  325. 2023-04-04 12:37:22.454956 80.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/3450872313@astppqa603.astppbilling.org:5076 [bridge_pre_execute_bleg_data]=[+1000 normal_clearing]
  326. EXECUTE [depth=0] sofia/default/3450872313@astppqa603.astppbilling.org:5076 set(notify_flag=0)
  327. 2023-04-04 12:37:22.454956 80.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/3450872313@astppqa603.astppbilling.org:5076 [notify_flag]=[0]
  328. EXECUTE [depth=0] sofia/default/3450872313@astppqa603.astppbilling.org:5076 set(notify_credit_limit=5.00000)
  329. 2023-04-04 12:37:22.454956 80.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/3450872313@astppqa603.astppbilling.org:5076 [notify_credit_limit]=[5.00000]
  330. EXECUTE [depth=0] sofia/default/3450872313@astppqa603.astppbilling.org:5076 set(type=0)
  331. 2023-04-04 12:37:22.454956 80.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/3450872313@astppqa603.astppbilling.org:5076 [type]=[0]
  332. EXECUTE [depth=0] sofia/default/3450872313@astppqa603.astppbilling.org:5076 set(callstart=2023-04-04 12:37:22)
  333. 2023-04-04 12:37:22.454956 80.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/3450872313@astppqa603.astppbilling.org:5076 [callstart]=[2023-04-04 12:37:22]
  334. EXECUTE [depth=0] sofia/default/3450872313@astppqa603.astppbilling.org:5076 set(hangup_after_bridge=true)
  335. 2023-04-04 12:37:22.454956 80.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/3450872313@astppqa603.astppbilling.org:5076 [hangup_after_bridge]=[true]
  336. EXECUTE [depth=0] sofia/default/3450872313@astppqa603.astppbilling.org:5076 set(continue_on_fail=TRUE)
  337. 2023-04-04 12:37:22.454956 80.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/3450872313@astppqa603.astppbilling.org:5076 [continue_on_fail]=[TRUE]
  338. EXECUTE [depth=0] sofia/default/3450872313@astppqa603.astppbilling.org:5076 set(account_id=15)
  339. 2023-04-04 12:37:22.454956 80.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/3450872313@astppqa603.astppbilling.org:5076 [account_id]=[15]
  340. EXECUTE [depth=0] sofia/default/3450872313@astppqa603.astppbilling.org:5076 set(parent_id=0)
  341. 2023-04-04 12:37:22.454956 80.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/3450872313@astppqa603.astppbilling.org:5076 [parent_id]=[0]
  342. EXECUTE [depth=0] sofia/default/3450872313@astppqa603.astppbilling.org:5076 set(entity_id=0)
  343. 2023-04-04 12:37:22.454956 80.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/3450872313@astppqa603.astppbilling.org:5076 [entity_id]=[0]
  344. EXECUTE [depth=0] sofia/default/3450872313@astppqa603.astppbilling.org:5076 set(call_processed=internal)
  345. 2023-04-04 12:37:22.454956 80.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/3450872313@astppqa603.astppbilling.org:5076 [call_processed]=[internal]
  346. EXECUTE [depth=0] sofia/default/3450872313@astppqa603.astppbilling.org:5076 set(call_direction=outbound)
  347. 2023-04-04 12:37:22.454956 80.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/3450872313@astppqa603.astppbilling.org:5076 [call_direction]=[outbound]
  348. EXECUTE [depth=0] sofia/default/3450872313@astppqa603.astppbilling.org:5076 set(accountname=default)
  349. 2023-04-04 12:37:22.454956 80.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/3450872313@astppqa603.astppbilling.org:5076 [accountname]=[default]
  350. EXECUTE [depth=0] sofia/default/3450872313@astppqa603.astppbilling.org:5076 set(filename1=astpp.pbx.lua)
  351. 2023-04-04 12:37:22.454956 80.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/3450872313@astppqa603.astppbilling.org:5076 [filename1]=[astpp.pbx.lua]
  352. EXECUTE [depth=0] sofia/default/3450872313@astppqa603.astppbilling.org:5076 set(origination_rates=SHADOWBILLING:0|ID:66|CODE:^1010.*|DESTINATION:Inernational QA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:6.00000|INC:60|INITIALBLOCK:60|RATEGROUP:2|MARKUP:0|CI:26|ACCID:15)
  353. 2023-04-04 12:37:22.454956 80.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/3450872313@astppqa603.astppbilling.org:5076 [origination_rates]=[SHADOWBILLING:0|ID:66|CODE:^1010.*|DESTINATION:Inernational QA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:6.00000|INC:60|INITIALBLOCK:60|RATEGROUP:2|MARKUP:0|CI:26|ACCID:15]
  354. EXECUTE [depth=0] sofia/default/3450872313@astppqa603.astppbilling.org:5076 set(original_caller_id_name=3450872313)
  355. 2023-04-04 12:37:22.454956 80.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/3450872313@astppqa603.astppbilling.org:5076 [original_caller_id_name]=[3450872313]
  356. EXECUTE [depth=0] sofia/default/3450872313@astppqa603.astppbilling.org:5076 set(original_caller_id_number=3450872313)
  357. 2023-04-04 12:37:22.454956 80.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/3450872313@astppqa603.astppbilling.org:5076 [original_caller_id_number]=[3450872313]
  358. EXECUTE [depth=0] sofia/default/3450872313@astppqa603.astppbilling.org:5076 hash(insert/astppqa603.astppbilling.org-last_dial/3450872313/10101333333333)
  359. EXECUTE [depth=0] sofia/default/3450872313@astppqa603.astppbilling.org:5076 hash(insert/astppqa603.astppbilling.org-call_return/10101333333333/3450872313)
  360. EXECUTE [depth=0] sofia/default/3450872313@astppqa603.astppbilling.org:5076 set(effective_caller_id_name=3450872313)
  361. 2023-04-04 12:37:22.454956 80.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/3450872313@astppqa603.astppbilling.org:5076 [effective_caller_id_name]=[3450872313]
  362. EXECUTE [depth=0] sofia/default/3450872313@astppqa603.astppbilling.org:5076 set(effective_caller_id_number=3450872313)
  363. 2023-04-04 12:37:22.454956 80.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/3450872313@astppqa603.astppbilling.org:5076 [effective_caller_id_number]=[3450872313]
  364. EXECUTE [depth=0] sofia/default/3450872313@astppqa603.astppbilling.org:5076 set(calltype=STANDARD)
  365. 2023-04-04 12:37:22.454956 80.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/3450872313@astppqa603.astppbilling.org:5076 [calltype]=[STANDARD]
  366. EXECUTE [depth=0] sofia/default/3450872313@astppqa603.astppbilling.org:5076 set(termination_rates=ID:55|CODE:^1010.*|DESTINATION:PK-QAA |CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.20000|INC:60|INITIALBLOCK:60|TRUNK:3|PROVIDER:4)
  367. 2023-04-04 12:37:22.454956 80.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/3450872313@astppqa603.astppbilling.org:5076 [termination_rates]=[ID:55|CODE:^1010.*|DESTINATION:PK-QAA |CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.20000|INC:60|INITIALBLOCK:60|TRUNK:3|PROVIDER:4]
  368. EXECUTE [depth=0] sofia/default/3450872313@astppqa603.astppbilling.org:5076 set(trunk_id=3)
  369. 2023-04-04 12:37:22.454956 80.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/3450872313@astppqa603.astppbilling.org:5076 [trunk_id]=[3]
  370. EXECUTE [depth=0] sofia/default/3450872313@astppqa603.astppbilling.org:5076 set(provider_id=4)
  371. 2023-04-04 12:37:22.454956 80.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/3450872313@astppqa603.astppbilling.org:5076 [provider_id]=[4]
  372. EXECUTE [depth=0] sofia/default/3450872313@astppqa603.astppbilling.org:5076 set(rate_flag=0)
  373. 2023-04-04 12:37:22.454956 80.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/3450872313@astppqa603.astppbilling.org:5076 [rate_flag]=[0]
  374. EXECUTE [depth=0] sofia/default/3450872313@astppqa603.astppbilling.org:5076 set(daily_call_credit_limit=0.00000)
  375. 2023-04-04 12:37:22.454956 80.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/3450872313@astppqa603.astppbilling.org:5076 [daily_call_credit_limit]=[0.00000]
  376. EXECUTE [depth=0] sofia/default/3450872313@astppqa603.astppbilling.org:5076 set(monthly_call_credit_limit=0.00000)
  377. 2023-04-04 12:37:22.454956 80.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/3450872313@astppqa603.astppbilling.org:5076 [monthly_call_credit_limit]=[0.00000]
  378. EXECUTE [depth=0] sofia/default/3450872313@astppqa603.astppbilling.org:5076 set(daily_call_used_limit=0.00000)
  379. 2023-04-04 12:37:22.454956 80.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/3450872313@astppqa603.astppbilling.org:5076 [daily_call_used_limit]=[0.00000]
  380. EXECUTE [depth=0] sofia/default/3450872313@astppqa603.astppbilling.org:5076 set(monthly_call_used_limit=0.00000)
  381. 2023-04-04 12:37:22.454956 80.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/3450872313@astppqa603.astppbilling.org:5076 [monthly_call_used_limit]=[0.00000]
  382. EXECUTE [depth=0] sofia/default/3450872313@astppqa603.astppbilling.org:5076 set(quality_trunk_seq=3,1)
  383. 2023-04-04 12:37:22.454956 80.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/3450872313@astppqa603.astppbilling.org:5076 [quality_trunk_seq]=[3,1]
  384. EXECUTE [depth=0] sofia/default/3450872313@astppqa603.astppbilling.org:5076 set(force_trunk_flag=0)
  385. 2023-04-04 12:37:22.454956 80.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/3450872313@astppqa603.astppbilling.org:5076 [force_trunk_flag]=[0]
  386. EXECUTE [depth=0] sofia/default/3450872313@astppqa603.astppbilling.org:5076 export(presence_data=trunk_id=3)
  387. 2023-04-04 12:37:22.454956 80.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=3]
  388. EXECUTE [depth=0] sofia/default/3450872313@astppqa603.astppbilling.org:5076 set(intcall=1)
  389. 2023-04-04 12:37:22.454956 80.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/3450872313@astppqa603.astppbilling.org:5076 [intcall]=[1]
  390. EXECUTE [depth=0] sofia/default/3450872313@astppqa603.astppbilling.org:5076 export(presence_id=10101333333333)
  391. 2023-04-04 12:37:22.454956 80.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[10101333333333]
  392. EXECUTE [depth=0] sofia/default/3450872313@astppqa603.astppbilling.org:5076 export(presence_data=x|||AAD(5758870926)|||^1010.* // Inernational QA // 6.00000 |||PK-QA-Trunk-SIP-PROFILE // ^1010.* // PK-QAA  // 1.20000 // trunk_id=3|||STD|||103.240.35.46)
  393. 2023-04-04 12:37:22.454956 80.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||AAD(5758870926)|||^1010.* // Inernational QA // 6.00000 |||PK-QA-Trunk-SIP-PROFILE // ^1010.* // PK-QAA  // 1.20000 // trunk_id=3|||STD|||103.240.35.46]
  394. EXECUTE [depth=0] sofia/default/3450872313@astppqa603.astppbilling.org:5076 bridge({sip_cid_type=rpid}[leg_timeout=0,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/PkSIPProfileGateway/10101333333333)
  395. 2023-04-04 12:37:22.454956 80.73% [DEBUG] switch_channel.c:1269 sofia/default/3450872313@astppqa603.astppbilling.org:5076 EXPORTING[export_vars] [presence_data]=[x|||AAD(5758870926)|||^1010.* // Inernational QA // 6.00000 |||PK-QA-Trunk-SIP-PROFILE // ^1010.* // PK-QAA  // 1.20000 // trunk_id=3|||STD|||103.240.35.46] to event
  396. 2023-04-04 12:37:22.454956 80.73% [DEBUG] switch_channel.c:1269 sofia/default/3450872313@astppqa603.astppbilling.org:5076 EXPORTING[export_vars] [presence_id]=[10101333333333] to event
  397. 2023-04-04 12:37:22.454956 80.73% [DEBUG] switch_channel.c:1269 sofia/default/3450872313@astppqa603.astppbilling.org:5076 EXPORTING[export_vars] [presence_data]=[x|||AAD(5758870926)|||^1010.* // Inernational QA // 6.00000 |||PK-QA-Trunk-SIP-PROFILE // ^1010.* // PK-QAA  // 1.20000 // trunk_id=3|||STD|||103.240.35.46] to event
  398. 2023-04-04 12:37:22.454956 80.73% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  399. 2023-04-04 12:37:22.454956 80.73% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  400. 2023-04-04 12:37:22.454956 80.73% [NOTICE] switch_channel.c:1123 New Channel sofia/default/10101333333333 [385ba768-3771-476a-8529-77c6914e1eae]
  401. 2023-04-04 12:37:22.454956 80.73% [DEBUG] mod_sofia.c:5121 (sofia/default/10101333333333) State Change CS_NEW -> CS_INIT
  402. 2023-04-04 12:37:22.454956 80.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/10101333333333) Running State Change CS_INIT (Cur 2 Tot 2)
  403. 2023-04-04 12:37:22.454956 80.73% [DEBUG] switch_core_state_machine.c:624 (sofia/default/10101333333333) State INIT
  404. 2023-04-04 12:37:22.454956 80.73% [DEBUG] mod_sofia.c:97 sofia/default/10101333333333 SOFIA INIT
  405. 2023-04-04 12:37:22.454956 80.73% [INFO] sofia_glue.c:1651 sofia/default/10101333333333 sending invite call-id: (null)
  406. 2023-04-04 12:37:22.454956 80.73% [DEBUG] sofia_glue.c:1654 sofia/default/10101333333333 sending invite version: 1.10.7 -release 64bit
  407. Local SDP:
  408. v=0
  409. o=FreeSWITCH 1680594400 1680594401 IN IP4 65.109.231.66
  410. s=FreeSWITCH
  411. c=IN IP4 65.109.231.66
  412. t=0 0
  413. m=audio 17442 RTP/AVP 8 18 101
  414. a=rtpmap:8 PCMA/8000
  415. a=rtpmap:18 G729/8000
  416. a=rtpmap:101 telephone-event/8000
  417. a=fmtp:101 0-15
  418. a=ptime:20
  419. a=sendrecv
  420.  
  421. 2023-04-04 12:37:22.454956 80.73% [DEBUG] switch_core_state_machine.c:40 sofia/default/10101333333333 Standard INIT
  422. 2023-04-04 12:37:22.454956 80.73% [DEBUG] switch_core_state_machine.c:48 (sofia/default/10101333333333) State Change CS_INIT -> CS_ROUTING
  423. 2023-04-04 12:37:22.454956 80.73% [DEBUG] switch_core_state_machine.c:624 (sofia/default/10101333333333) State INIT going to sleep
  424. 2023-04-04 12:37:22.454956 80.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/10101333333333) Running State Change CS_ROUTING (Cur 2 Tot 2)
  425. 2023-04-04 12:37:22.454956 80.73% [DEBUG] switch_core_state_machine.c:640 (sofia/default/10101333333333) State ROUTING
  426. 2023-04-04 12:37:22.454956 80.73% [DEBUG] mod_sofia.c:158 sofia/default/10101333333333 SOFIA ROUTING
  427. 2023-04-04 12:37:22.454956 80.73% [DEBUG] switch_ivr_originate.c:67 (sofia/default/10101333333333) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  428. 2023-04-04 12:37:22.454956 80.73% [DEBUG] switch_core_state_machine.c:640 (sofia/default/10101333333333) State ROUTING going to sleep
  429. 2023-04-04 12:37:22.454956 80.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/10101333333333) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 2)
  430. 2023-04-04 12:37:22.474942 80.73% [DEBUG] sofia.c:7499 Channel sofia/default/10101333333333 entering state [calling][0]
  431. 2023-04-04 12:37:22.474942 80.73% [DEBUG] switch_core_state_machine.c:659 (sofia/default/10101333333333) State CONSUME_MEDIA
  432. 2023-04-04 12:37:22.474942 80.73% [DEBUG] switch_core_state_machine.c:659 (sofia/default/10101333333333) State CONSUME_MEDIA going to sleep
  433. 2023-04-04 12:37:22.555075 80.73% [DEBUG] sofia.c:7499 Channel sofia/default/10101333333333 entering state [completing][200]
  434. 2023-04-04 12:37:22.555075 80.73% [DEBUG] sofia.c:7509 Remote SDP:
  435. v=0
  436. o=root 763833885 763833885 IN IP4 159.203.131.36
  437. s=Asterisk PBX 16.4.0
  438. c=IN IP4 159.203.131.36
  439. t=0 0
  440. m=audio 13576 RTP/AVP 8 101
  441. a=rtpmap:8 PCMA/8000
  442. a=rtpmap:101 telephone-event/8000
  443. a=fmtp:101 0-16
  444. a=maxptime:150
  445.  
  446. 2023-04-04 12:37:22.555075 80.73% [DEBUG] sofia.c:7499 Channel sofia/default/10101333333333 entering state [ready][200]
  447. 2023-04-04 12:37:22.555075 80.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1]
  448. 2023-04-04 12:37:22.555075 80.73% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  449. 2023-04-04 12:37:22.555075 80.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[G729:18:8000:20:8000:1]
  450. 2023-04-04 12:37:22.555075 80.73% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  451. 2023-04-04 12:37:22.555075 80.73% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/10101333333333 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  452. 2023-04-04 12:37:22.555075 80.73% [DEBUG] switch_core_codec.c:111 sofia/default/10101333333333 Original read codec set to PCMA:8
  453. 2023-04-04 12:37:22.555075 80.73% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  454. 2023-04-04 12:37:22.555075 80.73% [DEBUG] switch_core_media.c:5973 sofia/default/10101333333333 Set 2833 dtmf send payload to 101 recv payload to 101
  455. 2023-04-04 12:37:22.555075 80.73% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/10101333333333] 65.109.231.66 port 17442 -> 159.203.131.36 port 13576 codec: 8 ms: 20
  456. 2023-04-04 12:37:22.555075 80.73% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  457. 2023-04-04 12:37:22.555075 80.73% [DEBUG] switch_core_media.c:9089 sofia/default/10101333333333 Set 2833 dtmf send payload to 101
  458. 2023-04-04 12:37:22.555075 80.73% [DEBUG] switch_core_media.c:9096 sofia/default/10101333333333 Set 2833 dtmf receive payload to 101
  459. 2023-04-04 12:37:22.555075 80.73% [DEBUG] switch_core_media.c:9119 sofia/default/10101333333333 Set rtp dtmf delay to 40
  460. 2023-04-04 12:37:22.555075 80.73% [NOTICE] sofia.c:8683 Channel [sofia/default/10101333333333] has been answered
  461. 2023-04-04 12:37:22.555075 80.73% [DEBUG] switch_channel.c:3950 (sofia/default/10101333333333) Callstate Change DOWN -> ACTIVE
  462. 2023-04-04 12:37:22.594964 80.73% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/3450872313@astppqa603.astppbilling.org:5076] 65.109.231.66 port 22172 -> 103.240.35.46 port 5648 codec: 8 ms: 20
  463. 2023-04-04 12:37:22.594964 80.73% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  464. 2023-04-04 12:37:22.594964 80.73% [DEBUG] switch_core_media.c:9089 sofia/default/3450872313@astppqa603.astppbilling.org:5076 Set 2833 dtmf send payload to 101
  465. 2023-04-04 12:37:22.594964 80.73% [DEBUG] switch_core_media.c:9096 sofia/default/3450872313@astppqa603.astppbilling.org:5076 Set 2833 dtmf receive payload to 101
  466. 2023-04-04 12:37:22.594964 80.73% [DEBUG] switch_core_media.c:9119 sofia/default/3450872313@astppqa603.astppbilling.org:5076 Set rtp dtmf delay to 40
  467. 2023-04-04 12:37:22.594964 80.73% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/3450872313@astppqa603.astppbilling.org:5076:
  468. v=0
  469. o=FreeSWITCH 1680589670 1680589671 IN IP4 65.109.231.66
  470. s=FreeSWITCH
  471. c=IN IP4 65.109.231.66
  472. t=0 0
  473. m=audio 22172 RTP/AVP 8 101
  474. a=rtpmap:8 PCMA/8000
  475. a=rtpmap:101 telephone-event/8000
  476. a=fmtp:101 0-15
  477. a=ptime:20
  478. a=sendrecv
  479.  
  480. 2023-04-04 12:37:22.594964 80.73% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/default/3450872313@astppqa603.astppbilling.org:5076] has been answered
  481. 2023-04-04 12:37:22.594964 80.73% [DEBUG] switch_channel.c:3950 (sofia/default/3450872313@astppqa603.astppbilling.org:5076) Callstate Change RINGING -> ACTIVE
  482. 2023-04-04 12:37:22.594964 80.73% [DEBUG] sofia.c:7499 Channel sofia/default/3450872313@astppqa603.astppbilling.org:5076 entering state [completed][200]
  483. 2023-04-04 12:37:22.594964 80.73% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/10101333333333] Peer UUID: 385ba768-3771-476a-8529-77c6914e1eae
  484. 2023-04-04 12:37:22.594964 80.73% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/10101333333333) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  485. 2023-04-04 12:37:22.594964 80.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/10101333333333) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 2)
  486. 2023-04-04 12:37:22.594964 80.73% [DEBUG] switch_core_state_machine.c:650 (sofia/default/10101333333333) State EXCHANGE_MEDIA
  487. 2023-04-04 12:37:22.594964 80.73% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  488. 2023-04-04 12:37:22.774961 80.73% [DEBUG] switch_ivr_bridge.c:655 sofia/default/10101333333333 Bridge execute app sched_hangup(+1000 normal_clearing)
  489. 2023-04-04 12:37:22.795002 80.73% [DEBUG] switch_ivr.c:632 sofia/default/10101333333333 Command Execute [depth=0] sched_hangup(+1000 normal_clearing)
  490. EXECUTE [depth=0] sofia/default/10101333333333 sched_hangup(+1000 normal_clearing)
  491. 2023-04-04 12:37:22.795002 80.73% [DEBUG] switch_scheduler.c:263 Added task 4 switch_ivr_schedule_hangup (385ba768-3771-476a-8529-77c6914e1eae) to run at 1680612842
  492. 2023-04-04 12:37:22.995014 80.73% [DEBUG] sofia.c:7499 Channel sofia/default/3450872313@astppqa603.astppbilling.org:5076 entering state [ready][200]
  493. 2023-04-04 12:37:22.995014 80.73% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  494. 2023-04-04 12:37:23.114968 80.73% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  495. 2023-04-04 12:37:24.134991 79.90% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur.
  496. 2023-04-04 12:37:45.854977 87.80% [DEBUG] switch_ivr_bridge.c:820 sofia/default/3450872313@astppqa603.astppbilling.org:5076 ending bridge by request from write function
  497. 2023-04-04 12:37:45.854977 87.80% [NOTICE] sofia.c:1065 Hangup sofia/default/3450872313@astppqa603.astppbilling.org:5076 [CS_EXECUTE] [NORMAL_CLEARING]
  498. 2023-04-04 12:37:45.854977 87.80% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/10101333333333]
  499. 2023-04-04 12:37:45.854977 87.80% [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/10101333333333 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  500. 2023-04-04 12:37:45.854977 87.80% [DEBUG] switch_core_state_machine.c:650 (sofia/default/10101333333333) State EXCHANGE_MEDIA going to sleep
  501. 2023-04-04 12:37:45.854977 87.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/10101333333333) Running State Change CS_HANGUP (Cur 2 Tot 2)
  502. 2023-04-04 12:37:45.854977 87.80% [DEBUG] switch_core_state_machine.c:844 (sofia/default/10101333333333) Callstate Change ACTIVE -> HANGUP
  503. 2023-04-04 12:37:45.854977 87.80% [DEBUG] switch_core_state_machine.c:846 (sofia/default/10101333333333) State HANGUP
  504. 2023-04-04 12:37:45.854977 87.80% [DEBUG] mod_sofia.c:462 sofia/default/10101333333333 Overriding SIP cause 480 with 200 from the other leg
  505. 2023-04-04 12:37:45.854977 87.80% [DEBUG] mod_sofia.c:468 Channel sofia/default/10101333333333 hanging up, cause: NORMAL_CLEARING
  506. 2023-04-04 12:37:45.854977 87.80% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/3450872313@astppqa603.astppbilling.org:5076]
  507. 2023-04-04 12:37:45.854977 87.80% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/10101333333333 skip receive message [UNBRIDGE] (channel is hungup already)
  508. 2023-04-04 12:37:45.854977 87.80% [DEBUG] switch_ivr_bridge.c:1895 sofia/default/3450872313@astppqa603.astppbilling.org:5076 skip receive message [UNBRIDGE] (channel is hungup already)
  509. 2023-04-04 12:37:45.854977 87.80% [DEBUG] switch_core_session.c:2983 sofia/default/3450872313@astppqa603.astppbilling.org:5076 skip receive message [PHONE_EVENT] (channel is hungup already)
  510. 2023-04-04 12:37:45.854977 87.80% [DEBUG] switch_core_state_machine.c:647 (sofia/default/3450872313@astppqa603.astppbilling.org:5076) State EXECUTE going to sleep
  511. 2023-04-04 12:37:45.854977 87.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3450872313@astppqa603.astppbilling.org:5076) Running State Change CS_HANGUP (Cur 2 Tot 2)
  512. 2023-04-04 12:37:45.854977 87.80% [DEBUG] switch_core_state_machine.c:844 (sofia/default/3450872313@astppqa603.astppbilling.org:5076) Callstate Change ACTIVE -> HANGUP
  513. 2023-04-04 12:37:45.854977 87.80% [DEBUG] switch_core_state_machine.c:846 (sofia/default/3450872313@astppqa603.astppbilling.org:5076) State HANGUP
  514. 2023-04-04 12:37:45.854977 87.80% [DEBUG] mod_sofia.c:468 Channel sofia/default/3450872313@astppqa603.astppbilling.org:5076 hanging up, cause: NORMAL_CLEARING
  515. 2023-04-04 12:37:45.854977 87.80% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/10101333333333
  516. 2023-04-04 12:37:45.854977 87.80% [DEBUG] switch_core_state_machine.c:59 sofia/default/10101333333333 Standard HANGUP, cause: NORMAL_CLEARING
  517. 2023-04-04 12:37:45.854977 87.80% [DEBUG] switch_core_state_machine.c:846 (sofia/default/10101333333333) State HANGUP going to sleep
  518. 2023-04-04 12:37:45.854977 87.80% [DEBUG] switch_core_state_machine.c:616 (sofia/default/10101333333333) State Change CS_HANGUP -> CS_REPORTING
  519. 2023-04-04 12:37:45.854977 87.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/10101333333333) Running State Change CS_REPORTING (Cur 2 Tot 2)
  520. 2023-04-04 12:37:45.854977 87.80% [DEBUG] switch_core_state_machine.c:932 (sofia/default/10101333333333) State REPORTING
  521. 2023-04-04 12:37:45.854977 87.80% [DEBUG] switch_core_state_machine.c:59 sofia/default/3450872313@astppqa603.astppbilling.org:5076 Standard HANGUP, cause: NORMAL_CLEARING
  522. 2023-04-04 12:37:45.854977 87.80% [DEBUG] switch_core_state_machine.c:846 (sofia/default/3450872313@astppqa603.astppbilling.org:5076) State HANGUP going to sleep
  523. 2023-04-04 12:37:45.854977 87.80% [INFO] mod_json_cdr.c:271 Process [385ba768-3771-476a-8529-77c6914e1eae.cdr.json]
  524. 2023-04-04 12:37:45.854977 87.80% [DEBUG] switch_core_state_machine.c:616 (sofia/default/3450872313@astppqa603.astppbilling.org:5076) State Change CS_HANGUP -> CS_REPORTING
  525. 2023-04-04 12:37:45.854977 87.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3450872313@astppqa603.astppbilling.org:5076) Running State Change CS_REPORTING (Cur 2 Tot 2)
  526. 2023-04-04 12:37:45.854977 87.80% [DEBUG] switch_core_state_machine.c:932 (sofia/default/3450872313@astppqa603.astppbilling.org:5076) State REPORTING
  527. 2023-04-04 12:37:45.854977 87.80% [INFO] mod_json_cdr.c:271 Process [4f591694-83a8-4189-a221-19915c2ea3eb.cdr.json]
  528. 2023-04-04 12:37:45.874945 87.80% [DEBUG] switch_core_state_machine.c:168 sofia/default/10101333333333 Standard REPORTING, cause: NORMAL_CLEARING
  529. 2023-04-04 12:37:45.874945 87.80% [DEBUG] switch_core_state_machine.c:932 (sofia/default/10101333333333) State REPORTING going to sleep
  530. 2023-04-04 12:37:45.874945 87.80% [DEBUG] switch_core_state_machine.c:607 (sofia/default/10101333333333) State Change CS_REPORTING -> CS_DESTROY
  531. 2023-04-04 12:37:45.874945 87.80% [DEBUG] switch_core_session.c:1753 Session 2 (sofia/default/10101333333333) Locked, Waiting on external entities
  532. 2023-04-04 12:37:45.874945 87.80% [NOTICE] switch_core_session.c:1771 Session 2 (sofia/default/10101333333333) Ended
  533. 2023-04-04 12:37:45.874945 87.80% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/10101333333333 [CS_DESTROY]
  534. 2023-04-04 12:37:45.874945 87.80% [DEBUG] switch_core_state_machine.c:735 (sofia/default/10101333333333) Running State Change CS_DESTROY (Cur 1 Tot 2)
  535. 2023-04-04 12:37:45.874945 87.80% [DEBUG] switch_core_state_machine.c:745 (sofia/default/10101333333333) State DESTROY
  536. 2023-04-04 12:37:45.874945 87.80% [DEBUG] mod_sofia.c:379 sofia/default/10101333333333 SOFIA DESTROY
  537. 2023-04-04 12:37:45.874945 87.80% [DEBUG] switch_core_state_machine.c:175 sofia/default/10101333333333 Standard DESTROY
  538. 2023-04-04 12:37:45.874945 87.80% [DEBUG] switch_core_state_machine.c:745 (sofia/default/10101333333333) State DESTROY going to sleep
  539. 2023-04-04 12:37:45.894967 87.80% [DEBUG] switch_core_state_machine.c:168 sofia/default/3450872313@astppqa603.astppbilling.org:5076 Standard REPORTING, cause: NORMAL_CLEARING
  540. 2023-04-04 12:37:45.894967 87.80% [DEBUG] switch_core_state_machine.c:932 (sofia/default/3450872313@astppqa603.astppbilling.org:5076) State REPORTING going to sleep
  541. 2023-04-04 12:37:45.894967 87.80% [DEBUG] switch_core_state_machine.c:607 (sofia/default/3450872313@astppqa603.astppbilling.org:5076) State Change CS_REPORTING -> CS_DESTROY
  542. 2023-04-04 12:37:45.894967 87.80% [DEBUG] switch_core_session.c:1753 Session 1 (sofia/default/3450872313@astppqa603.astppbilling.org:5076) Locked, Waiting on external entities
  543. 2023-04-04 12:37:45.894967 87.80% [NOTICE] switch_core_session.c:1771 Session 1 (sofia/default/3450872313@astppqa603.astppbilling.org:5076) Ended
  544. 2023-04-04 12:37:45.894967 87.80% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/3450872313@astppqa603.astppbilling.org:5076 [CS_DESTROY]
  545. 2023-04-04 12:37:45.894967 87.80% [DEBUG] switch_core_state_machine.c:735 (sofia/default/3450872313@astppqa603.astppbilling.org:5076) Running State Change CS_DESTROY (Cur 0 Tot 2)
  546. 2023-04-04 12:37:45.894967 87.80% [DEBUG] switch_core_state_machine.c:745 (sofia/default/3450872313@astppqa603.astppbilling.org:5076) State DESTROY
  547. 2023-04-04 12:37:45.894967 87.80% [DEBUG] mod_sofia.c:379 sofia/default/3450872313@astppqa603.astppbilling.org:5076 SOFIA DESTROY
  548. 2023-04-04 12:37:45.894967 87.80% [DEBUG] switch_core_state_machine.c:175 sofia/default/3450872313@astppqa603.astppbilling.org:5076 Standard DESTROY
  549. 2023-04-04 12:37:45.894967 87.80% [DEBUG] switch_core_state_machine.c:745 (sofia/default/3450872313@astppqa603.astppbilling.org:5076) State DESTROY going to sleep
  550. 2023-04-04 12:37:46.294966 87.40% [DEBUG] switch_scheduler.c:147 Deleting task 4 switch_ivr_schedule_hangup (385ba768-3771-476a-8529-77c6914e1eae)