From Burly Flamingo, 3 Months ago, written in HTML5.
- view diff
Embed
  1. 2024-10-23 12:37:37.283273 98.77% [NOTICE] switch_channel.c:1142 New Channel sofia/default/Private@103.26.173.9 [658e73b5-faec-4b23-be23-c74a05e70fd2]
  2. 2024-10-23 12:37:37.283273 98.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/Private@103.26.173.9) Running State Change CS_NEW (Cur 1 Tot 151016)
  3. 2024-10-23 12:37:37.283273 98.77% [INFO] sofia.c:10459 sofia/default/Private@103.26.173.9 receiving invite from 103.26.173.4:5060 version: 1.10.10-release  64bit call-id: 6d176c4d-0bde-123e-509f-d094666d3779
  4. 2024-10-23 12:37:37.283273 98.77% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 103.26.173.4:0.
  5. 2024-10-23 12:37:37.283273 98.77% [DEBUG] sofia.c:10582 IP 103.26.173.4 Approved by acl "default[]". Access Granted.
  6. 2024-10-23 12:37:37.283273 98.77% [DEBUG] sofia.c:7493 Channel sofia/default/Private@103.26.173.9 entering state [received][100]
  7. 2024-10-23 12:37:37.283273 98.77% [DEBUG] sofia.c:7503 Remote SDP:
  8. v=0
  9. o=FreeSWITCH 1729636225 1729636226 IN IP4 103.26.173.9
  10. s=FreeSWITCH
  11. c=IN IP4 103.26.173.9
  12. t=0 0
  13. m=audio 50832 RTP/AVP 8 0 18 101 13
  14. a=rtpmap:8 PCMA/8000
  15. a=rtpmap:0 PCMU/8000
  16. a=rtpmap:18 G729/8000
  17. a=fmtp:18 annexb=no
  18. a=rtpmap:101 telephone-event/8000
  19. a=fmtp:101 0-15
  20. a=rtpmap:13 CN/8000
  21. a=ptime:20
  22.  
  23. 2024-10-23 12:37:37.283273 98.77% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1]
  24. 2024-10-23 12:37:37.283273 98.77% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  25. 2024-10-23 12:37:37.283273 98.77% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  26. 2024-10-23 12:37:37.283273 98.77% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  27. 2024-10-23 12:37:37.283273 98.77% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1]
  28. 2024-10-23 12:37:37.283273 98.77% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  29. 2024-10-23 12:37:37.283273 98.77% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  30. 2024-10-23 12:37:37.283273 98.77% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  31. 2024-10-23 12:37:37.283273 98.77% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [G729:18:8000:20:8000:1]/[G722:9:8000:20:64000:1]
  32. 2024-10-23 12:37:37.283273 98.77% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  33. 2024-10-23 12:37:37.283273 98.77% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  34. 2024-10-23 12:37:37.283273 98.77% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000
  35. 2024-10-23 12:37:37.283273 98.77% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/Private@103.26.173.9 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  36. 2024-10-23 12:37:37.283273 98.77% [DEBUG] switch_core_codec.c:111 sofia/default/Private@103.26.173.9 Original read codec set to PCMA:8
  37. 2024-10-23 12:37:37.283273 98.77% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000
  38. 2024-10-23 12:37:37.283273 98.77% [DEBUG] switch_core_media.c:5856 sofia/default/Private@103.26.173.9 Set 2833 dtmf send payload to 101 recv payload to 101
  39. 2024-10-23 12:37:37.283273 98.77% [DEBUG] sofia.c:7927 (sofia/default/Private@103.26.173.9) State Change CS_NEW -> CS_INIT
  40. 2024-10-23 12:37:37.283273 98.77% [DEBUG] switch_core_state_machine.c:600 (sofia/default/Private@103.26.173.9) State NEW
  41. 2024-10-23 12:37:37.283273 98.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/Private@103.26.173.9) Running State Change CS_INIT (Cur 1 Tot 151016)
  42. 2024-10-23 12:37:37.283273 98.77% [DEBUG] switch_core_state_machine.c:624 (sofia/default/Private@103.26.173.9) State INIT
  43. 2024-10-23 12:37:37.283273 98.77% [DEBUG] mod_sofia.c:97 sofia/default/Private@103.26.173.9 SOFIA INIT
  44. 2024-10-23 12:37:37.283273 98.77% [DEBUG] switch_core_state_machine.c:40 sofia/default/Private@103.26.173.9 Standard INIT
  45. 2024-10-23 12:37:37.283273 98.77% [DEBUG] switch_core_state_machine.c:48 (sofia/default/Private@103.26.173.9) State Change CS_INIT -> CS_ROUTING
  46. 2024-10-23 12:37:37.283273 98.77% [DEBUG] switch_core_state_machine.c:624 (sofia/default/Private@103.26.173.9) State INIT going to sleep
  47. 2024-10-23 12:37:37.283273 98.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/Private@103.26.173.9) Running State Change CS_ROUTING (Cur 1 Tot 151016)
  48. 2024-10-23 12:37:37.283273 98.77% [DEBUG] switch_channel.c:2399 (sofia/default/Private@103.26.173.9) Callstate Change DOWN -> RINGING
  49. 2024-10-23 12:37:37.283273 98.77% [DEBUG] switch_core_state_machine.c:640 (sofia/default/Private@103.26.173.9) State ROUTING
  50. 2024-10-23 12:37:37.283273 98.77% [DEBUG] mod_sofia.c:158 sofia/default/Private@103.26.173.9 SOFIA ROUTING
  51. 2024-10-23 12:37:37.283273 98.77% [DEBUG] switch_core_state_machine.c:230 sofia/default/Private@103.26.173.9 Standard ROUTING
  52. 2024-10-23 12:37:37.283273 98.77% [INFO] mod_dialplan_xml.c:639 Processing Private <Private>->61884907199 in context default
  53. 2024-10-23 12:37:37.303274 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
  54. 2024-10-23 12:37:37.303274 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  55. 2024-10-23 12:37:37.303274 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code')                                                                                                                                                                                                
  56. 2024-10-23 12:37:37.303274 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  57. 2024-10-23 12:37:37.303274 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 61884907199
  58. 2024-10-23 12:37:37.303274 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '61884907199' AND status=0 limit 1
  59. 2024-10-23 12:37:37.303274 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERmod_sofia
  60. 2024-10-23 12:37:37.303274 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  61. 2024-10-23 12:37:37.303274 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '61884907199' limit 1
  62. 2024-10-23 12:37:37.303274 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : Private / Private
  63. 2024-10-23 12:37:37.303274 98.77% [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,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="61884907199" LIMIT 1                                    
  64. 2024-10-23 12:37:37.303274 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  65. 2024-10-23 12:37:37.303274 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  66. 2024-10-23 12:37:37.303274 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 103.26.173.4
  67. 2024-10-23 12:37:37.303274 98.77% [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("103.26.173.4") 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 "61884907199"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1                                                                                        
  68. 2024-10-23 12:37:37.303274 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 3673942894]
  69. 2024-10-23 12:37:37.303274 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "3673942894" OR id = "3673942894") AND deleted = 0 limit 1
  70. 2024-10-23 12:37:37.303274 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =44
  71. 2024-10-23 12:37:37.303274 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="61884907199" AND (accountid = 0 OR status = 1) LIMIT 1
  72. 2024-10-23 12:37:37.303274 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  73. 2024-10-23 12:37:37.303274 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 44
  74. 2024-10-23 12:37:37.303274 98.77% [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 = '^61884907199.*' OR patterns = '^6188490719.*' OR patterns = '^618849071.*' OR patterns = '^61884907.*' OR patterns = '^6188490.*' OR patterns = '^618849.*' OR patterns = '^61884.*' OR patterns = '^6188.*' OR patterns = '^618.*' OR patterns = '^61.*' OR patterns = '^6.*' OR patterns ='--') AND accountid = 44 ORDER BY LENGTH(PKGPTR.patterns) DESC                                                                                                                                                                                                              
  75. 2024-10-23 12:37:37.303274 98.77% [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 ="61884907199" AND A.accountid = '3' limit 1                                                                                                                                                                  
  76. 2024-10-23 12:37:37.303274 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 61884907199
  77. 2024-10-23 12:37:37.303274 98.77% [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,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="61884907199" LIMIT 1                                    
  78. 2024-10-23 12:37:37.303274 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  79. 2024-10-23 12:37:37.303274 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  80. 2024-10-23 12:37:37.303274 98.77% [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 = '61884907199' OR number = '6188490719' OR number = '618849071' OR number = '61884907' OR number = '6188490' OR number = '618849' OR number = '61884' OR number = '6188' OR number = '618' OR number = '61' OR number = '6' OR number ='--') OR (number = '61884907199*' OR number = '6188490719*' OR number = '618849071*' OR number = '61884907*' OR number = '6188490*' OR number = '618849*' OR number = '61884*' OR number = '6188*' OR number = '618*' OR number = '61*' OR number = '6*' OR number ='--') OR (number = 'Private' OR number = 'Privat' OR number = 'Priva' OR number = 'Priv' OR number = 'Pri' OR number = 'Pr' OR number = 'P' OR number ='--') OR (number = 'Private*' OR number = 'Privat*' OR number = 'Priva*' OR number = 'Priv*' OR number = 'Pri*' OR number = 'Pr*' OR number = 'P*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC                                                                                                                                                                        
  81. 2024-10-23 12:37:37.303274 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  82. 2024-10-23 12:37:37.303274 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '61884907199' OR routing_prefix = '6188490719' OR routing_prefix = '618849071' OR routing_prefix = '61884907' OR routing_prefix = '6188490' OR routing_prefix = '618849' OR routing_prefix = '61884' OR routing_prefix = '6188' OR routing_prefix = '618' OR routing_prefix = '61' OR routing_prefix = '6' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1                                                                            
  83. 2024-10-23 12:37:37.303274 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  84. 2024-10-23 12:37:37.303274 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 3
  85. 2024-10-23 12:37:37.303274 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 3673942894
  86. 2024-10-23 12:37:37.303274 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =44
  87. 2024-10-23 12:37:37.303274 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 1000000
  88. 2024-10-23 12:37:37.303274 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  89. 2024-10-23 12:37:37.303274 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  90. 2024-10-23 12:37:37.303274 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  91. 2024-10-23 12:37:37.303274 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  92. 2024-10-23 12:37:37.303274 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  93. 2024-10-23 12:37:37.303274 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  94. 2024-10-23 12:37:37.303274 98.77% [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,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="61884907199" LIMIT 1                                    
  95. 2024-10-23 12:37:37.303274 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  96. 2024-10-23 12:37:37.303274 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 44  and status = 0 limit 1
  97. 2024-10-23 12:37:37.343284 98.77% [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,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="61884907199" LIMIT 1                                    
  98. 2024-10-23 12:37:37.343284 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  99. 2024-10-23 12:37:37.343284 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  100. 2024-10-23 12:37:37.343284 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  101. 2024-10-23 12:37:37.343284 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 2728
  102. 2024-10-23 12:37:37.343284 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  103. 2024-10-23 12:37:37.343284 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  104. 2024-10-23 12:37:37.343284 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  105. 2024-10-23 12:37:37.343284 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 61884907199
  106. 2024-10-23 12:37:37.343284 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 12
  107. 2024-10-23 12:37:37.343284 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 3
  108. 2024-10-23 12:37:37.343284 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  109. 2024-10-23 12:37:37.343284 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =44
  110. 2024-10-23 12:37:37.343284 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your1000000 balance Accountid 3 !!!
  111. 2024-10-23 12:37:37.343284 98.77% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 600
  112. 2024-10-23 12:37:37.343284 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 600 minutes
  113. 2024-10-23 12:37:37.343284 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  114. 2024-10-23 12:37:37.343284 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  115. 2024-10-23 12:37:37.343284 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 3 AND status=0 LIMIT 1                                                                                                                                                                                        
  116. 2024-10-23 12:37:37.343284 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "44" OR number = "44") AND deleted = 0 limit 1
  117. 2024-10-23 12:37:37.343284 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =44
  118. 2024-10-23 12:37:37.343284 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:3
  119. 2024-10-23 12:37:37.343284 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:3
  120. 2024-10-23 12:37:37.343284 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 3
  121. 2024-10-23 12:37:37.343284 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 600
  122. 2024-10-23 12:37:37.343284 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = 'mod_sofia' and status = 0 limit 1
  123. 2024-10-23 12:37:37.343284 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  124. 2024-10-23 12:37:37.343284 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  125. 2024-10-23 12:37:37.343284 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_5
  126. 2024-10-23 12:37:37.343284 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT daily_call_credit_limit,daily_call_used_limit,monthly_call_credit_limit,monthly_call_used_limit FROM accounts WHERE (number = 44 or id = 44 ) and status = 0 limit 1                                                                                                                                                          
  127. 2024-10-23 12:37:37.363294 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
  128. 2024-10-23 12:37:37.363294 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec  FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="4785155959" limit 1                                                                                                
  129. 2024-10-23 12:37:37.363294 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  130. <document type="freeswitch/xml">                                                                                                                                                                                  
  131. <section name="dialplan" description="ASTPP Dialplan">                                                                                                                                                            
  132. <context name="default">                                                                                                                                                                                          
  133. <extension name="61884907199">                                                                                                                                                                                    
  134. <condition field="destination_number" expression="61884907199">                                                                                                                                                    
  135. <action application="set" data="effective_destination_number=61884907199"/>                                                                                                                                        
  136. <action application="set" data="execute_on_answer_1=sched_hangup +36000 normal_clearing"/>                                                                                                                        
  137. <action application="set" data="notify_flag=0"/>                                                                                                                                                                  
  138. <action application="set" data="notify_credit_limit=0.00000"/>                                                                                                                                                    
  139. <action application="set" data="type=3"/>                                                                                                                                                                          
  140. <action application="set" data="callstart=2024-10-23 12:37:37"/>                                                                                                                                                  
  141. <action application="set" data="hangup_after_bridge=true"/>                                                                                                                                                        
  142. <action application="set" data="continue_on_fail=TRUE"/>                                                                                                                                                          
  143. <action application="set" data="account_id=3"/>                                                                                                                                                                    
  144. <action application="set" data="parent_id=0"/>                                                                                                                                                                    
  145. <action application="set" data="entity_id=3"/>                                                                                                                                                                    
  146. <action application="set" data="call_processed=internal"/>                                                                                                                                                        
  147. <action application="set" data="call_direction=inbound"/>                                                                                                                                                          
  148. <action application="set" data="accountname=NETSIPProvider"/>                                                                                                                                                      
  149. <action application="set" data="origination_rates_did=ID:2728|CODE:^61884907199.*|DESTINATION:61884907199|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:12|ACCID:3"/>                                                                                                                                                                                                      
  150. <action application="set" data="origination_rates=0"/>                                                                                                                                                            
  151. <action application="set" data="original_caller_id_name=Private"/>                                                                                                                                                
  152. <action application="set" data="original_caller_id_number=Private"/>                                                                                                                                              
  153. <action application="set" data="effective_caller_id_name=Private"/>                                                                                                                                                
  154. <action application="set" data="effective_caller_id_number=Private"/>                                                                                                                                              
  155. <action application="set" data="receiver_accid=44"/>                                                                                                                                                              
  156. <action application="export" data="domain_name="/>                                                                                                                                                                
  157. <action application="export" data="sip_to_host="/>                                                                                                                                                                
  158. <action application="export" data="presence_data=x|||NETSIP(3673942894)|||^61884907199.* // 61884907199 // 0.00000|||||||||DID|||103.26.173.4"/>                                                                  
  159. <action application="export" data="call_type=5"/>                                                                                                                                                                  
  160. <action application="set" data="daily_call_credit_limit=0.00000"/>                                                                                                                                                
  161. <action application="set" data="monthly_call_credit_limit=0.00000"/>                                                                                                                                              
  162. <action application="set" data="daily_call_used_limit=0.00000"/>                                                                                                                                                  
  163. <action application="set" data="monthly_call_used_limit=0.00000"/>                                                                                                                                                
  164. <action application="set" data="calltype=SIP-DID"/>                                                                                                                                                                
  165. <action application="bridge" data="{sip_invite_params=user=LOCAL}[leg_timeout=0]sofia/${sofia_profile_name}/4785155959@sip.mynet.au^61884907199"/>                                                                
  166. <condition field="${cond(${user_data 4785155959@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">                                                                                        
  167. <action application="answer"/>                                                                                                                                                                                    
  168. <action application="export" data="voicemail_alternate_greet_id=61884907199"/>                                                                                                                                    
  169. <action application="voicemail" data="default $${domain_name} 4785155959"/>                                                                                                                                        
  170. <anti-action application="hangup" data="${originate_disposition}"/>                                                                                                                                                
  171. </condition>                                                                                                                                                                                                      
  172. <action application="set" data="did_id=2728"/>                                                                                                                                                                    
  173. <action application="set" data="destination_number=61884907199"/>                                                                                                                                                  
  174. <action application="set" data="leg_timeout=0"/>                                                                                                                                                                  
  175. <action application="set" data="call_type_vm_flag=1"/>                                                                                                                                                            
  176. <action application="set" data="is_local_extension=1"/>                                                                                                                                                            
  177. <action application="lua" data="did_call_forwarding.lua"/>                                                                                                                                                        
  178. </condition>                                                                                                                                                                                                      
  179. </extension>                                                                                                                                                                                                      
  180. </context>                                                                                                                                                                                                        
  181. </section>                                                                                                                                                                                                        
  182. </document>                                                                                                                                                                                                        
  183. Dialplan: sofia/default/Private@103.26.173.9 parsing [default->61884907199] continue=false
  184. Dialplan: sofia/default/Private@103.26.173.9 Regex (PASS) [61884907199] destination_number(61884907199) =~ /61884907199/ break=on-false
  185. Dialplan: sofia/default/Private@103.26.173.9 Action set(effective_destination_number=61884907199)
  186. Dialplan: sofia/default/Private@103.26.173.9 Action set(execute_on_answer_1=sched_hangup +36000 normal_clearing)
  187. Dialplan: sofia/default/Private@103.26.173.9 Action set(notify_flag=0)
  188. Dialplan: sofia/default/Private@103.26.173.9 Action set(notify_credit_limit=0.00000)
  189. Dialplan: sofia/default/Private@103.26.173.9 Action set(type=3)
  190. Dialplan: sofia/default/Private@103.26.173.9 Action set(callstart=2024-10-23 12:37:37)
  191. Dialplan: sofia/default/Private@103.26.173.9 Action set(hangup_after_bridge=true)
  192. Dialplan: sofia/default/Private@103.26.173.9 Action set(continue_on_fail=TRUE)
  193. Dialplan: sofia/default/Private@103.26.173.9 Action set(account_id=3)
  194. Dialplan: sofia/default/Private@103.26.173.9 Action set(parent_id=0)
  195. Dialplan: sofia/default/Private@103.26.173.9 Action set(entity_id=3)
  196. Dialplan: sofia/default/Private@103.26.173.9 Action set(call_processed=internal)
  197. Dialplan: sofia/default/Private@103.26.173.9 Action set(call_direction=inbound)
  198. Dialplan: sofia/default/Private@103.26.173.9 Action set(accountname=NETSIPProvider)
  199. Dialplan: sofia/default/Private@103.26.173.9 Action set(origination_rates_did=ID:2728|CODE:^61884907199.*|DESTINATION:61884907199|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:12|ACCID:3)                                                                                                                                                                                
  200. Dialplan: sofia/default/Private@103.26.173.9 Action set(origination_rates=0)
  201. Dialplan: sofia/default/Private@103.26.173.9 Action set(original_caller_id_name=Private)
  202. Dialplan: sofia/default/Private@103.26.173.9 Action set(original_caller_id_number=Private)
  203. Dialplan: sofia/default/Private@103.26.173.9 Action set(effective_caller_id_name=Private)
  204. Dialplan: sofia/default/Private@103.26.173.9 Action set(effective_caller_id_number=Private)
  205. Dialplan: sofia/default/Private@103.26.173.9 Action set(receiver_accid=44)
  206. Dialplan: sofia/default/Private@103.26.173.9 Action export(domain_name=)
  207. Dialplan: sofia/default/Private@103.26.173.9 Action export(sip_to_host=)
  208. Dialplan: sofia/default/Private@103.26.173.9 Action export(presence_data=x|||NETSIP(3673942894)|||^61884907199.* // 61884907199 // 0.00000|||||||||DID|||103.26.173.4)
  209. Dialplan: sofia/default/Private@103.26.173.9 Action export(call_type=5)
  210. Dialplan: sofia/default/Private@103.26.173.9 Action set(daily_call_credit_limit=0.00000)
  211. Dialplan: sofia/default/Private@103.26.173.9 Action set(monthly_call_credit_limit=0.00000)
  212. Dialplan: sofia/default/Private@103.26.173.9 Action set(daily_call_used_limit=0.00000)
  213. Dialplan: sofia/default/Private@103.26.173.9 Action set(monthly_call_used_limit=0.00000)
  214. Dialplan: sofia/default/Private@103.26.173.9 Action set(calltype=SIP-DID)
  215. Dialplan: sofia/default/Private@103.26.173.9 Action bridge({sip_invite_params=user=LOCAL}[leg_timeout=0]sofia/${sofia_profile_name}/4785155959@sip.mynet.au^61884907199)
  216. Dialplan: sofia/default/Private@103.26.173.9 Action set(did_id=2728)
  217. Dialplan: sofia/default/Private@103.26.173.9 Action set(destination_number=61884907199)
  218. Dialplan: sofia/default/Private@103.26.173.9 Action set(leg_timeout=0)
  219. Dialplan: sofia/default/Private@103.26.173.9 Action set(call_type_vm_flag=1)
  220. Dialplan: sofia/default/Private@103.26.173.9 Action set(is_local_extension=1)
  221. Dialplan: sofia/default/Private@103.26.173.9 Action lua(did_call_forwarding.lua)
  222. |--- Dialplan: Processing recursive conditions level:1 [61884907199_recur_1] require-nested=TRUE
  223. |--- Dialplan: sofia/default/Private@103.26.173.9 Regex (FAIL) [61884907199_recur_1] ${cond(${user_data 4785155959@${domain_name} param vm-enabled} == true ? YES : NO)}(NO) =~ /^YES$/ break=on-false
  224. |--- Dialplan: sofia/default/Private@103.26.173.9 ANTI-Action hangup(${originate_disposition})
  225. 2024-10-23 12:37:37.363294 98.77% [DEBUG] switch_core_state_machine.c:281 (sofia/default/Private@103.26.173.9) State Change CS_ROUTING -> CS_EXECUTE
  226. 2024-10-23 12:37:37.363294 98.77% [DEBUG] switch_core_state_machine.c:640 (sofia/default/Private@103.26.173.9) State ROUTING going to sleep
  227. 2024-10-23 12:37:37.363294 98.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/Private@103.26.173.9) Running State Change CS_EXECUTE (Cur 1 Tot 151016)
  228. 2024-10-23 12:37:37.363294 98.77% [DEBUG] switch_core_state_machine.c:647 (sofia/default/Private@103.26.173.9) State EXECUTE
  229. 2024-10-23 12:37:37.363294 98.77% [DEBUG] mod_sofia.c:213 sofia/default/Private@103.26.173.9 SOFIA EXECUTE
  230. 2024-10-23 12:37:37.363294 98.77% [DEBUG] switch_core_state_machine.c:323 sofia/default/Private@103.26.173.9 Standard EXECUTE
  231. EXECUTE [depth=0] sofia/default/Private@103.26.173.9 set(effective_destination_number=61884907199)
  232. 2024-10-23 12:37:37.363294 98.77% [DEBUG] mod_dptools.c:1671 SET sofia/default/Private@103.26.173.9 [effective_destination_number]=[61884907199]
  233. EXECUTE [depth=0] sofia/default/Private@103.26.173.9 set(execute_on_answer_1=sched_hangup +36000 normal_clearing)
  234. 2024-10-23 12:37:37.363294 98.77% [DEBUG] mod_dptools.c:1671 SET sofia/default/Private@103.26.173.9 [execute_on_answer_1]=[sched_hangup +36000 normal_clearing]
  235. EXECUTE [depth=0] sofia/default/Private@103.26.173.9 set(notify_flag=0)
  236. 2024-10-23 12:37:37.363294 98.77% [DEBUG] mod_dptools.c:1671 SET sofia/default/Private@103.26.173.9 [notify_flag]=[0]
  237. EXECUTE [depth=0] sofia/default/Private@103.26.173.9 set(notify_credit_limit=0.00000)
  238. 2024-10-23 12:37:37.363294 98.77% [DEBUG] mod_dptools.c:1671 SET sofia/default/Private@103.26.173.9 [notify_credit_limit]=[0.00000]
  239. EXECUTE [depth=0] sofia/default/Private@103.26.173.9 set(type=3)
  240. 2024-10-23 12:37:37.363294 98.77% [DEBUG] mod_dptools.c:1671 SET sofia/default/Private@103.26.173.9 [type]=[3]
  241. EXECUTE [depth=0] sofia/default/Private@103.26.173.9 set(callstart=2024-10-23 12:37:37)
  242. 2024-10-23 12:37:37.363294 98.77% [DEBUG] mod_dptools.c:1671 SET sofia/default/Private@103.26.173.9 [callstart]=[2024-10-23 12:37:37]
  243. EXECUTE [depth=0] sofia/default/Private@103.26.173.9 set(hangup_after_bridge=true)
  244. 2024-10-23 12:37:37.363294 98.77% [DEBUG] mod_dptools.c:1671 SET sofia/default/Private@103.26.173.9 [hangup_after_bridge]=[true]
  245. EXECUTE [depth=0] sofia/default/Private@103.26.173.9 set(continue_on_fail=TRUE)
  246. 2024-10-23 12:37:37.363294 98.77% [DEBUG] mod_dptools.c:1671 SET sofia/default/Private@103.26.173.9 [continue_on_fail]=[TRUE]
  247. EXECUTE [depth=0] sofia/default/Private@103.26.173.9 set(account_id=3)
  248. 2024-10-23 12:37:37.363294 98.77% [DEBUG] mod_dptools.c:1671 SET sofia/default/Private@103.26.173.9 [account_id]=[3]
  249. EXECUTE [depth=0] sofia/default/Private@103.26.173.9 set(parent_id=0)
  250. 2024-10-23 12:37:37.363294 98.77% [DEBUG] mod_dptools.c:1671 SET sofia/default/Private@103.26.173.9 [parent_id]=[0]
  251. EXECUTE [depth=0] sofia/default/Private@103.26.173.9 set(entity_id=3)
  252. 2024-10-23 12:37:37.363294 98.77% [DEBUG] mod_dptools.c:1671 SET sofia/default/Private@103.26.173.9 [entity_id]=[3]
  253. EXECUTE [depth=0] sofia/default/Private@103.26.173.9 set(call_processed=internal)
  254. 2024-10-23 12:37:37.363294 98.77% [DEBUG] mod_dptools.c:1671 SET sofia/default/Private@103.26.173.9 [call_processed]=[internal]
  255. EXECUTE [depth=0] sofia/default/Private@103.26.173.9 set(call_direction=inbound)
  256. 2024-10-23 12:37:37.363294 98.77% [DEBUG] mod_dptools.c:1671 SET sofia/default/Private@103.26.173.9 [call_direction]=[inbound]
  257. EXECUTE [depth=0] sofia/default/Private@103.26.173.9 set(accountname=NETSIPProvider)
  258. 2024-10-23 12:37:37.363294 98.77% [DEBUG] mod_dptools.c:1671 SET sofia/default/Private@103.26.173.9 [accountname]=[NETSIPProvider]
  259. EXECUTE [depth=0] sofia/default/Private@103.26.173.9 set(origination_rates_did=ID:2728|CODE:^61884907199.*|DESTINATION:61884907199|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:12|ACCID:3)                                                                                                                                                                                
  260. 2024-10-23 12:37:37.363294 98.77% [DEBUG] mod_dptools.c:1671 SET sofia/default/Private@103.26.173.9 [origination_rates_did]=[ID:2728|CODE:^61884907199.*|DESTINATION:61884907199|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:12|ACCID:3]                                                                                                                                  
  261. EXECUTE [depth=0] sofia/default/Private@103.26.173.9 set(origination_rates=0)
  262. 2024-10-23 12:37:37.363294 98.77% [DEBUG] mod_dptools.c:1671 SET sofia/default/Private@103.26.173.9 [origination_rates]=[0]
  263. EXECUTE [depth=0] sofia/default/Private@103.26.173.9 set(original_caller_id_name=Private)
  264. 2024-10-23 12:37:37.363294 98.77% [DEBUG] mod_dptools.c:1671 SET sofia/default/Private@103.26.173.9 [original_caller_id_name]=[Private]
  265. EXECUTE [depth=0] sofia/default/Private@103.26.173.9 set(original_caller_id_number=Private)
  266. 2024-10-23 12:37:37.363294 98.77% [DEBUG] mod_dptools.c:1671 SET sofia/default/Private@103.26.173.9 [original_caller_id_number]=[Private]
  267. EXECUTE [depth=0] sofia/default/Private@103.26.173.9 set(effective_caller_id_name=Private)
  268. 2024-10-23 12:37:37.363294 98.77% [DEBUG] mod_dptools.c:1671 SET sofia/default/Private@103.26.173.9 [effective_caller_id_name]=[Private]
  269. EXECUTE [depth=0] sofia/default/Private@103.26.173.9 set(effective_caller_id_number=Private)
  270. 2024-10-23 12:37:37.363294 98.77% [DEBUG] mod_dptools.c:1671 SET sofia/default/Private@103.26.173.9 [effective_caller_id_number]=[Private]
  271. EXECUTE [depth=0] sofia/default/Private@103.26.173.9 set(receiver_accid=44)
  272. 2024-10-23 12:37:37.363294 98.77% [DEBUG] mod_dptools.c:1671 SET sofia/default/Private@103.26.173.9 [receiver_accid]=[44]
  273. EXECUTE [depth=0] sofia/default/Private@103.26.173.9 export(domain_name=)
  274. 2024-10-23 12:37:37.363294 98.77% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [domain_name]=[UNDEF]
  275. EXECUTE [depth=0] sofia/default/Private@103.26.173.9 export(sip_to_host=)
  276. 2024-10-23 12:37:37.363294 98.77% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [sip_to_host]=[UNDEF]
  277. EXECUTE [depth=0] sofia/default/Private@103.26.173.9 export(presence_data=x|||NETSIP(3673942894)|||^61884907199.* // 61884907199 // 0.00000|||||||||DID|||103.26.173.4)
  278. 2024-10-23 12:37:37.363294 98.77% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[x|||NETSIP(3673942894)|||^61884907199.* // 61884907199 // 0.00000|||||||||DID|||103.26.173.4]
  279. EXECUTE [depth=0] sofia/default/Private@103.26.173.9 export(call_type=5)
  280. 2024-10-23 12:37:37.363294 98.77% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [call_type]=[5]
  281. EXECUTE [depth=0] sofia/default/Private@103.26.173.9 set(daily_call_credit_limit=0.00000)
  282. 2024-10-23 12:37:37.363294 98.77% [DEBUG] mod_dptools.c:1671 SET sofia/default/Private@103.26.173.9 [daily_call_credit_limit]=[0.00000]
  283. EXECUTE [depth=0] sofia/default/Private@103.26.173.9 set(monthly_call_credit_limit=0.00000)
  284. 2024-10-23 12:37:37.363294 98.77% [DEBUG] mod_dptools.c:1671 SET sofia/default/Private@103.26.173.9 [monthly_call_credit_limit]=[0.00000]
  285. EXECUTE [depth=0] sofia/default/Private@103.26.173.9 set(daily_call_used_limit=0.00000)
  286. 2024-10-23 12:37:37.363294 98.77% [DEBUG] mod_dptools.c:1671 SET sofia/default/Private@103.26.173.9 [daily_call_used_limit]=[0.00000]
  287. EXECUTE [depth=0] sofia/default/Private@103.26.173.9 set(monthly_call_used_limit=0.00000)
  288. 2024-10-23 12:37:37.363294 98.77% [DEBUG] mod_dptools.c:1671 SET sofia/default/Private@103.26.173.9 [monthly_call_used_limit]=[0.00000]
  289. EXECUTE [depth=0] sofia/default/Private@103.26.173.9 set(calltype=SIP-DID)
  290. 2024-10-23 12:37:37.363294 98.77% [DEBUG] mod_dptools.c:1671 SET sofia/default/Private@103.26.173.9 [calltype]=[SIP-DID]
  291. EXECUTE [depth=0] sofia/default/Private@103.26.173.9 bridge({sip_invite_params=user=LOCAL}[leg_timeout=0]sofia/default/4785155959@sip.mynet.au^61884907199)
  292. 2024-10-23 12:37:37.363294 98.77% [DEBUG] switch_channel.c:1288 sofia/default/Private@103.26.173.9 EXPORTING[export_vars] [presence_data]=[x|||NETSIP(3673942894)|||^61884907199.* // 61884907199 // 0.00000|||||||||DID|||103.26.173.4] to event                                                                                                                                                                                    
  293. 2024-10-23 12:37:37.363294 98.77% [DEBUG] switch_channel.c:1288 sofia/default/Private@103.26.173.9 EXPORTING[export_vars] [call_type]=[5] to event
  294. 2024-10-23 12:37:37.363294 98.77% [DEBUG] switch_ivr_originate.c:2297 Parsing global variables
  295. 2024-10-23 12:37:37.363294 98.77% [DEBUG] switch_ivr_originate.c:2859 Parsing session specific variables
  296. 2024-10-23 12:37:37.363294 98.77% [NOTICE] switch_channel.c:1142 New Channel sofia/default/4785155959@sip.mynet.au [00f43b46-81b6-41ab-9514-52b30bda7826]
  297. 2024-10-23 12:37:37.363294 98.77% [DEBUG] mod_sofia.c:5110 (sofia/default/4785155959@sip.mynet.au) State Change CS_NEW -> CS_INIT
  298. 2024-10-23 12:37:37.363294 98.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/4785155959@sip.mynet.au) Running State Change CS_INIT (Cur 2 Tot 151017)
  299. 2024-10-23 12:37:37.363294 98.77% [DEBUG] switch_core_state_machine.c:624 (sofia/default/4785155959@sip.mynet.au) State INIT
  300. 2024-10-23 12:37:37.363294 98.77% [DEBUG] mod_sofia.c:97 sofia/default/4785155959@sip.mynet.au SOFIA INIT
  301. 2024-10-23 12:37:37.363294 98.77% [INFO] sofia_glue.c:1659 sofia/default/4785155959@sip.mynet.au sending invite call-id: (null)
  302. 2024-10-23 12:37:37.363294 98.77% [DEBUG] sofia_glue.c:1662 sofia/default/4785155959@sip.mynet.au sending invite version: 1.10.10-release  64bit
  303. Local SDP:                                                                                                                                                                                                        
  304. v=0                                                                                                                                                                                                                
  305. o=FreeSWITCH 1729669937 1729669938 IN IP4 103.142.158.211                                                                                                                                                          
  306. s=FreeSWITCH                                                                                                                                                                                                      
  307. c=IN IP4 103.142.158.211                                                                                                                                                                                          
  308. t=0 0                                                                                                                                                                                                              
  309. m=audio 17120 RTP/AVP 8 101                                                                                                                                                                                        
  310. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  311. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  312. a=fmtp:101 0-15                                                                                                                                                                                                    
  313. a=ptime:20                                                                                                                                                                                                        
  314. a=sendrecv                                                                                                                                                                                                        
  315.  
  316. 2024-10-23 12:37:37.363294 98.77% [DEBUG] switch_core_state_machine.c:40 sofia/default/4785155959@sip.mynet.au Standard INIT
  317. 2024-10-23 12:37:37.363294 98.77% [DEBUG] switch_core_state_machine.c:48 (sofia/default/4785155959@sip.mynet.au) State Change CS_INIT -> CS_ROUTING
  318. 2024-10-23 12:37:37.363294 98.77% [DEBUG] switch_core_state_machine.c:624 (sofia/default/4785155959@sip.mynet.au) State INIT going to sleep
  319. 2024-10-23 12:37:37.363294 98.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/4785155959@sip.mynet.au) Running State Change CS_ROUTING (Cur 2 Tot 151017)
  320. 2024-10-23 12:37:37.363294 98.77% [DEBUG] switch_core_state_machine.c:640 (sofia/default/4785155959@sip.mynet.au) State ROUTING
  321. 2024-10-23 12:37:37.363294 98.77% [DEBUG] mod_sofia.c:158 sofia/default/4785155959@sip.mynet.au SOFIA ROUTING
  322. 2024-10-23 12:37:37.363294 98.77% [DEBUG] switch_ivr_originate.c:67 (sofia/default/4785155959@sip.mynet.au) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  323. 2024-10-23 12:37:37.363294 98.77% [DEBUG] switch_core_state_machine.c:640 (sofia/default/4785155959@sip.mynet.au) State ROUTING going to sleep
  324. 2024-10-23 12:37:37.363294 98.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/4785155959@sip.mynet.au) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 151017)
  325. 2024-10-23 12:37:37.363294 98.77% [DEBUG] sofia.c:7493 Channel sofia/default/4785155959@sip.mynet.au entering state [calling][0]
  326. 2024-10-23 12:37:37.363294 98.77% [DEBUG] switch_core_state_machine.c:659 (sofia/default/4785155959@sip.mynet.au) State CONSUME_MEDIA
  327. 2024-10-23 12:37:37.363294 98.77% [DEBUG] switch_core_state_machine.c:659 (sofia/default/4785155959@sip.mynet.au) State CONSUME_MEDIA going to sleep
  328. 2024-10-23 12:37:37.423286 98.77% [DEBUG] sofia.c:7493 Channel sofia/default/4785155959@sip.mynet.au entering state [proceeding][180]
  329. 2024-10-23 12:37:37.423286 98.77% [NOTICE] sofia.c:7604 Ring-Ready sofia/default/4785155959@sip.mynet.au!
  330. 2024-10-23 12:37:37.423286 98.77% [DEBUG] switch_channel.c:3513 (sofia/default/4785155959@sip.mynet.au) Callstate Change DOWN -> RINGING
  331. 2024-10-23 12:37:37.423286 98.77% [NOTICE] mod_sofia.c:2514 Ring-Ready sofia/default/Private@103.26.173.9!
  332. 2024-10-23 12:37:37.423286 98.77% [DEBUG] sofia.c:7493 Channel sofia/default/Private@103.26.173.9 entering state [early][180]
  333. 2024-10-23 12:37:37.423286 98.77% [NOTICE] switch_ivr_originate.c:568 Ring Ready sofia/default/Private@103.26.173.9!
  334. 2024-10-23 12:37:57.443275 96.03% [NOTICE] switch_channel.c:1142 New Channel sofia/default/61873259300@sip.mynet.au [2e6f9598-c85d-42bb-81fa-1c87e3bcf5c0]
  335. 2024-10-23 12:37:57.443275 96.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/61873259300@sip.mynet.au) Running State Change CS_NEW (Cur 3 Tot 151018)
  336. 2024-10-23 12:37:57.443275 96.03% [INFO] sofia.c:10459 sofia/default/61873259300@sip.mynet.au receiving invite from 103.142.158.210:5060 version: 1.10.10-release  64bit call-id: gNaPgY324uMXHCMsMM5X2A..
  337. 2024-10-23 12:37:57.443275 96.03% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 103.142.158.210:0.
  338. 2024-10-23 12:37:57.443275 96.03% [DEBUG] sofia.c:10582 IP 103.142.158.210 Approved by acl "default[]". Access Granted.
  339. 2024-10-23 12:37:57.443275 96.03% [DEBUG] sofia.c:7493 Channel sofia/default/61873259300@sip.mynet.au entering state [received][100]
  340. 2024-10-23 12:37:57.443275 96.03% [DEBUG] sofia.c:7503 Remote SDP:
  341. v=0                                                                                                                                                                                                                
  342. o=3cxPS 26300304882401280 7999934548672513 IN IP4 103.83.85.71                                                                                                                                                    
  343. s=3cxPS Audio call                                                                                                                                                                                                
  344. c=IN IP4 103.83.85.71                                                                                                                                                                                              
  345. t=0 0                                                                                                                                                                                                              
  346. m=audio 9680 RTP/AVP 8 0 9 101                                                                                                                                                                                    
  347. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  348. a=rtpmap:0 PCMU/8000                                                                                                                                                                                              
  349. a=rtpmap:9 G722/8000                                                                                                                                                                                              
  350. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  351.  
  352. 2024-10-23 12:37:57.443275 96.03% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1]
  353. 2024-10-23 12:37:57.443275 96.03% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  354. 2024-10-23 12:37:57.443275 96.03% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  355. 2024-10-23 12:37:57.443275 96.03% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  356. 2024-10-23 12:37:57.443275 96.03% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1]
  357. 2024-10-23 12:37:57.443275 96.03% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  358. 2024-10-23 12:37:57.443275 96.03% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  359. 2024-10-23 12:37:57.443275 96.03% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  360. 2024-10-23 12:37:57.443275 96.03% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [G722:9:8000:20:64000:1]/[G722:9:8000:20:64000:1]
  361. 2024-10-23 12:37:57.443275 96.03% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [G722:9:8000:20:64000:1] ++++ is saved as a match
  362. 2024-10-23 12:37:57.443275 96.03% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  363. 2024-10-23 12:37:57.443275 96.03% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  364. 2024-10-23 12:37:57.443275 96.03% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000
  365. 2024-10-23 12:37:57.443275 96.03% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/61873259300@sip.mynet.au PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  366. 2024-10-23 12:37:57.443275 96.03% [DEBUG] switch_core_codec.c:111 sofia/default/61873259300@sip.mynet.au Original read codec set to PCMA:8
  367. 2024-10-23 12:37:57.443275 96.03% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000
  368. 2024-10-23 12:37:57.443275 96.03% [DEBUG] switch_core_media.c:5856 sofia/default/61873259300@sip.mynet.au Set 2833 dtmf send payload to 101 recv payload to 101
  369. 2024-10-23 12:37:57.443275 96.03% [DEBUG] sofia.c:7927 (sofia/default/61873259300@sip.mynet.au) State Change CS_NEW -> CS_INIT
  370. 2024-10-23 12:37:57.443275 96.03% [DEBUG] switch_core_state_machine.c:600 (sofia/default/61873259300@sip.mynet.au) State NEW
  371. 2024-10-23 12:37:57.443275 96.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/61873259300@sip.mynet.au) Running State Change CS_INIT (Cur 3 Tot 151018)
  372. 2024-10-23 12:37:57.443275 96.03% [DEBUG] switch_core_state_machine.c:624 (sofia/default/61873259300@sip.mynet.au) State INIT
  373. 2024-10-23 12:37:57.443275 96.03% [DEBUG] mod_sofia.c:97 sofia/default/61873259300@sip.mynet.au SOFIA INIT
  374. 2024-10-23 12:37:57.443275 96.03% [DEBUG] switch_core_state_machine.c:40 sofia/default/61873259300@sip.mynet.au Standard INIT
  375. 2024-10-23 12:37:57.443275 96.03% [DEBUG] switch_core_state_machine.c:48 (sofia/default/61873259300@sip.mynet.au) State Change CS_INIT -> CS_ROUTING
  376. 2024-10-23 12:37:57.443275 96.03% [DEBUG] switch_core_state_machine.c:624 (sofia/default/61873259300@sip.mynet.au) State INIT going to sleep
  377. 2024-10-23 12:37:57.443275 96.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/61873259300@sip.mynet.au) Running State Change CS_ROUTING (Cur 3 Tot 151018)
  378. 2024-10-23 12:37:57.443275 96.03% [DEBUG] switch_channel.c:2399 (sofia/default/61873259300@sip.mynet.au) Callstate Change DOWN -> RINGING
  379. 2024-10-23 12:37:57.443275 96.03% [DEBUG] switch_core_state_machine.c:640 (sofia/default/61873259300@sip.mynet.au) State ROUTING
  380. 2024-10-23 12:37:57.443275 96.03% [DEBUG] mod_sofia.c:158 sofia/default/61873259300@sip.mynet.au SOFIA ROUTING
  381. 2024-10-23 12:37:57.443275 96.03% [DEBUG] switch_core_state_machine.c:230 sofia/default/61873259300@sip.mynet.au Standard ROUTING
  382. 2024-10-23 12:37:57.443275 96.03% [INFO] mod_dialplan_xml.c:639 Processing Private:MyNet Direct Justin P <61873259300>->61412018691 in context default
  383. 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
  384. 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  385. 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code')                                                                                                                                                                                                
  386. 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  387. 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 61412018691
  388. 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '61412018691' AND status=0 limit 1
  389. 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER61873259300
  390. 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  391. 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '61412018691' limit 1
  392. 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : "61873259300" / 61873259300
  393. 2024-10-23 12:37:57.463294 96.03% [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,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="61412018691" LIMIT 1                                    
  394. 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  395. 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="61412018691" limit 1                                                                                                                                                                  
  396. 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  397. 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 103.83.85.71
  398. 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 4785155959]
  399. 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "4785155959" OR id = "4785155959") AND deleted = 0 limit 1
  400. 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^61412018691.*' OR blocked_patterns = '^6141201869.*' OR blocked_patterns = '^614120186.*' OR blocked_patterns = '^61412018.*' OR blocked_patterns = '^6141201.*' OR blocked_patterns = '^614120.*' OR blocked_patterns = '^61412.*' OR blocked_patterns = '^6141.*' OR blocked_patterns = '^614.*' OR blocked_patterns = '^61.*' OR blocked_patterns = '^6.*' OR blocked_patterns ='--') AND accountid = 44 limit 1                                                                        
  401. 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="61412018691" AND (accountid = 0 OR status = 1) LIMIT 1
  402. 2024-10-23 12:37:57.463294 96.03% [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 = '^61412018691.*' OR patterns = '^6141201869.*' OR patterns = '^614120186.*' OR patterns = '^61412018.*' OR patterns = '^6141201.*' OR patterns = '^614120.*' OR patterns = '^61412.*' OR patterns = '^6141.*' OR patterns = '^614.*' OR patterns = '^61.*' OR patterns = '^6.*' OR patterns ='--') AND accountid = 44 ORDER BY LENGTH(PKGPTR.patterns) DESC                                                                                                                                                                                                              
  403. 2024-10-23 12:37:57.463294 96.03% [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 ="61412018691" AND A.accountid = '44' limit 1                                                                                                                                                                
  404. 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 61412018691
  405. 2024-10-23 12:37:57.463294 96.03% [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,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="61412018691" LIMIT 1                                    
  406. 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  407. 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="61412018691" limit 1                                                                                                                                                                  
  408. 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  409. 2024-10-23 12:37:57.463294 96.03% [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 = '61412018691' OR number = '6141201869' OR number = '614120186' OR number = '61412018' OR number = '6141201' OR number = '614120' OR number = '61412' OR number = '6141' OR number = '614' OR number = '61' OR number = '6' OR number ='--') OR (number = '61412018691*' OR number = '6141201869*' OR number = '614120186*' OR number = '61412018*' OR number = '6141201*' OR number = '614120*' OR number = '61412*' OR number = '6141*' OR number = '614*' OR number = '61*' OR number = '6*' OR number ='--') OR (number = '61873259300' OR number = '6187325930' OR number = '618732593' OR number = '61873259' OR number = '6187325' OR number = '618732' OR number = '61873' OR number = '6187' OR number = '618' OR number = '61' OR number = '6' OR number ='--') OR (number = '61873259300*' OR number = '6187325930*' OR number = '618732593*' OR number = '61873259*' OR number = '6187325*' OR number = '618732*' OR number = '61873*' OR number = '6187*' OR number = '618*' OR number = '61*' OR number = '6*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC                                                                                                                                                                                  
  410. 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  411. 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Caller Id : 61873259300
  412. 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] CLI Pool Id : 1
  413. 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Query :Select count(*) as count from dids where number='61873259300' and accountid = "44" and status=0
  414. 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_COUNT] COUNT: 1
  415. 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '61412018691' OR routing_prefix = '6141201869' OR routing_prefix = '614120186' OR routing_prefix = '61412018' OR routing_prefix = '6141201' OR routing_prefix = '614120' OR routing_prefix = '61412' OR routing_prefix = '6141' OR routing_prefix = '614' OR routing_prefix = '61' OR routing_prefix = '6' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1                                                                            
  416. 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  417. 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 44
  418. 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 4785155959
  419. 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 1000000
  420. 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  421. 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  422. 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 1
  423. 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  424. 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  425. 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  426. 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  427. 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^61412018691.*' OR pattern = '^6141201869.*' OR pattern = '^614120186.*' OR pattern = '^61412018.*' OR pattern = '^6141201.*' OR pattern = '^614120.*' OR pattern = '^61412.*' OR pattern = '^6141.*' OR pattern = '^614.*' OR pattern = '^61.*' OR pattern = '^6.*' OR pattern ='--') AND (caller_id_pattern = '^61873259300.*' OR caller_id_pattern = '^6187325930.*' OR caller_id_pattern = '^618732593.*' OR caller_id_pattern = '^61873259.*' OR caller_id_pattern = '^6187325.*' OR caller_id_pattern = '^618732.*' OR caller_id_pattern = '^61873.*' OR caller_id_pattern = '^6187.*' OR caller_id_pattern = '^618.*' OR caller_id_pattern = '^61.*' OR caller_id_pattern = '^6.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 1 OR accountid=44)  ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1                          
  428. 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  429. 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  430. 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 2
  431. 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000
  432. 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  433. 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.0000000000
  434. 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Australian Local - Mobile
  435. 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 12
  436. 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 44
  437. 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  438. 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  439. 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  440. 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your1000000 balance Accountid 44 !!!
  441. 2024-10-23 12:37:57.463294 96.03% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 600
  442. 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 600 minutes
  443. 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
  444. 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=1 ORDER by id asc
  445. 2024-10-23 12:37:57.463294 96.03% [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 = '^61412018691.*' OR pattern = '^6141201869.*' OR pattern = '^614120186.*' OR pattern = '^61412018.*' OR pattern = '^6141201.*' OR pattern = '^614120.*' OR pattern = '^61412.*' OR pattern = '^6141.*' OR pattern = '^614.*' OR pattern = '^61.*' OR pattern = '^6.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (1) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC                                                                                      
  446. 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  447. 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 4
  448. 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^61.*
  449. 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Australia
  450. 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000
  451. 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  452. 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^61.*
  453. 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  454. 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  455. 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 1
  456. 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : netsip47bouNSW
  457. 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  458. 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : netsip400harNSW
  459. 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  460. 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  461. 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  462. 2024-10-23 12:37:57.463294 96.03% [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 = 44 AND status=0 LIMIT 1                                                                                                                                                                                        
  463. 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 600
  464. 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = '61873259300' and status = 0 limit 1
  465. 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  466. 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  467. 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  468. 2024-10-23 12:37:57.463294 96.03% [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                                                                                                                                                                  
  469. 2024-10-23 12:37:57.463294 96.03% [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                                                                                                                                                                    
  470. 2024-10-23 12:37:57.463294 96.03% [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,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="61412018691" LIMIT 1                                    
  471. 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  472. 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  473. <?xml version="1.0" encoding="UTF-8" standalone="no"?>                                                                                                                                                            
  474. <document type="freeswitch/xml">                                                                                                                                                                                  
  475. <section name="dialplan" description="ASTPP Dialplan">                                                                                                                                                            
  476. <context name="default">                                                                                                                                                                                          
  477. <extension name="61412018691">                                                                                                                                                                                    
  478. <condition field="destination_number" expression="61412018691">                                                                                                                                                    
  479. <action application="set" data="effective_destination_number=61412018691"/>                                                                                                                                        
  480. <action application="set" data="execute_on_answer_1=sched_hangup +36000 normal_clearing"/>                                                                                                                        
  481. <action application="set" data="type=0"/>                                                                                                                                                                          
  482. <action application="set" data="callstart=2024-10-23 12:37:57"/>                                                                                                                                                  
  483. <action application="set" data="hangup_after_bridge=true"/>                                                                                                                                                        
  484. <action application="set" data="continue_on_fail=TRUE"/>                                                                                                                                                          
  485. <action application="set" data="account_id=44"/>                                                                                                                                                                  
  486. <action application="set" data="parent_id=0"/>                                                                                                                                                                    
  487. <action application="set" data="entity_id=0"/>                                                                                                                                                                    
  488. <action application="set" data="call_processed=internal"/>                                                                                                                                                        
  489. <action application="set" data="call_direction=outbound"/>                                                                                                                                                        
  490. <action application="set" data="accountname=default"/>                                                                                                                                                            
  491. <action application="set" data="origination_rates=ID:2|CODE:^614.*|DESTINATION:Australian Local - Mobile|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.0000000000|INC:60|INITIALBLOCK:1|RATEGROUP:1|MARKUP:0|CI:12|ACCID:44"/>                                                                                                                                                                                            
  492. <action application="set" data="original_caller_id_name="61873259300""/>                                                                                                                                          
  493. <action application="set" data="original_caller_id_number=61873259300"/>                                                                                                                                          
  494. <action application="limit" data="db 4785155959 user_4785155959 6 "/>                                                                                                                                              
  495.  
  496. <action application="set" data="effective_caller_id_name="61873259300""/>                                                                                                                                          
  497. <action application="set" data="effective_caller_id_number=61873259300"/>                                                                                                                                          
  498. <action application="set" data="calltype=STANDARD"/>                                                                                                                                                              
  499. <action application="set" data="termination_rates=ID:4|CODE:^61.*|DESTINATION:Australia|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0000000000|INC:60|INITIALBLOCK:60|TRUNK:1|PROVIDER:3"/>              
  500. <action application="set" data="trunk_id=1"/>                                                                                                                                                                      
  501. <action application="set" data="provider_id=3"/>                                                                                                                                                                  
  502. <action application="set" data="rate_flag=0"/>                                                                                                                                                                    
  503. <action application="set" data="daily_call_credit_limit=0.00000"/>                                                                                                                                                
  504. <action application="set" data="monthly_call_credit_limit=0.00000"/>                                                                                                                                              
  505. <action application="set" data="daily_call_used_limit=0.00000"/>                                                                                                                                                  
  506. <action application="set" data="monthly_call_used_limit=0.00000"/>                                                                                                                                                
  507. <action application="set" data="quality_trunk_seq=1"/>                                                                                                                                                            
  508. <action application="set" data="force_trunk_flag=0"/>                                                                                                                                                              
  509. <action application="export" data="presence_data=trunk_id=1"/>                                                                                                                                                    
  510. <action application="set" data="intcall=0"/>                                                                                                                                                                      
  511. <action application="export" data="presence_id=61412018691"/>                                                                                                                                                      
  512. <action application="export" data="presence_data=x|||Accounts(4785155959)|||^614.* // Australian Local - Mobile // 0.0000000000 |||Carrier 1 // ^61.* // Australia // 0.0000000000 // trunk_id=1|||STD|||103.83.85.71"/>                                                                                                                                                                                                              
  513. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=60,absolute_codec_string=^^:G722:PCMA:PCMU]sofia/gateway/netsip47bouNSW/61412018691;fs_path=sip:103.142.158.210:5060"/>                        
  514. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=60,absolute_codec_string=^^:G722:PCMA:PCMU]sofia/gateway/netsip400harNSW/61412018691;fs_path=sip:103.142.158.210:5060"/>                        
  515. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=60,absolute_codec_string=^^:G722:PCMA:PCMU]sofia/gateway/netsip826lorVIC/61412018691;fs_path=sip:103.142.158.210:5060"/>                        
  516. </condition>                                                                                                                                                                                                      
  517. </extension>                                                                                                                                                                                                      
  518. </context>                                                                                                                                                                                                        
  519. </section>                                                                                                                                                                                                        
  520. </document>                                                                                                                                                                                                        
  521. Dialplan: sofia/default/61873259300@sip.mynet.au parsing [default->61412018691] continue=false
  522. Dialplan: sofia/default/61873259300@sip.mynet.au Regex (PASS) [61412018691] destination_number(61412018691) =~ /61412018691/ break=on-false
  523. Dialplan: sofia/default/61873259300@sip.mynet.au Action set(effective_destination_number=61412018691)
  524. Dialplan: sofia/default/61873259300@sip.mynet.au Action set(execute_on_answer_1=sched_hangup +36000 normal_clearing)
  525. Dialplan: sofia/default/61873259300@sip.mynet.au Action set(type=0)
  526. Dialplan: sofia/default/61873259300@sip.mynet.au Action set(callstart=2024-10-23 12:37:57)
  527. Dialplan: sofia/default/61873259300@sip.mynet.au Action set(hangup_after_bridge=true)
  528. Dialplan: sofia/default/61873259300@sip.mynet.au Action set(continue_on_fail=TRUE)
  529. Dialplan: sofia/default/61873259300@sip.mynet.au Action set(account_id=44)
  530. Dialplan: sofia/default/61873259300@sip.mynet.au Action set(parent_id=0)
  531. Dialplan: sofia/default/61873259300@sip.mynet.au Action set(entity_id=0)
  532. Dialplan: sofia/default/61873259300@sip.mynet.au Action set(call_processed=internal)
  533. Dialplan: sofia/default/61873259300@sip.mynet.au Action set(call_direction=outbound)
  534. Dialplan: sofia/default/61873259300@sip.mynet.au Action set(accountname=default)
  535. Dialplan: sofia/default/61873259300@sip.mynet.au Action set(origination_rates=ID:2|CODE:^614.*|DESTINATION:Australian Local - Mobile|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.0000000000|INC:60|INITIALBLOCK:1|RATEGROUP:1|MARKUP:0|CI:12|ACCID:44)                                                                                                                                                                  
  536. Dialplan: sofia/default/61873259300@sip.mynet.au Action set(original_caller_id_name=)
  537. Dialplan: sofia/default/61873259300@sip.mynet.au Action set(original_caller_id_number=61873259300)
  538. Dialplan: sofia/default/61873259300@sip.mynet.au Action limit(db 4785155959 user_4785155959 6 )
  539. Dialplan: sofia/default/61873259300@sip.mynet.au Action set(effective_caller_id_name=)
  540. Dialplan: sofia/default/61873259300@sip.mynet.au Action set(effective_caller_id_number=61873259300)
  541. Dialplan: sofia/default/61873259300@sip.mynet.au Action set(calltype=STANDARD)
  542. Dialplan: sofia/default/61873259300@sip.mynet.au Action set(termination_rates=ID:4|CODE:^61.*|DESTINATION:Australia|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0000000000|INC:60|INITIALBLOCK:60|TRUNK:1|PROVIDER:3)                                                                                                                                                                                                        
  543. Dialplan: sofia/default/61873259300@sip.mynet.au Action set(trunk_id=1)
  544. Dialplan: sofia/default/61873259300@sip.mynet.au Action set(provider_id=3)
  545. Dialplan: sofia/default/61873259300@sip.mynet.au Action set(rate_flag=0)
  546. Dialplan: sofia/default/61873259300@sip.mynet.au Action set(daily_call_credit_limit=0.00000)
  547. Dialplan: sofia/default/61873259300@sip.mynet.au Action set(monthly_call_credit_limit=0.00000)
  548. Dialplan: sofia/default/61873259300@sip.mynet.au Action set(daily_call_used_limit=0.00000)
  549. Dialplan: sofia/default/61873259300@sip.mynet.au Action set(monthly_call_used_limit=0.00000)
  550. Dialplan: sofia/default/61873259300@sip.mynet.au Action set(quality_trunk_seq=1)
  551. Dialplan: sofia/default/61873259300@sip.mynet.au Action set(force_trunk_flag=0)
  552. Dialplan: sofia/default/61873259300@sip.mynet.au Action export(presence_data=trunk_id=1)
  553. Dialplan: sofia/default/61873259300@sip.mynet.au Action set(intcall=0)
  554. Dialplan: sofia/default/61873259300@sip.mynet.au Action export(presence_id=61412018691)
  555. Dialplan: sofia/default/61873259300@sip.mynet.au Action export(presence_data=x|||Accounts(4785155959)|||^614.* // Australian Local - Mobile // 0.0000000000 |||Carrier 1 // ^61.* // Australia // 0.0000000000 // trunk_id=1|||STD|||103.83.85.71)                                                                                                                                                                                    
  556. Dialplan: sofia/default/61873259300@sip.mynet.au Action bridge({sip_cid_type=none}[leg_timeout=60,absolute_codec_string=^^:G722:PCMA:PCMU]sofia/gateway/netsip47bouNSW/61412018691;fs_path=sip:103.142.158.210:5060)                                                                                                                                                                                                                  
  557. Dialplan: sofia/default/61873259300@sip.mynet.au Action bridge({sip_cid_type=none}[leg_timeout=60,absolute_codec_string=^^:G722:PCMA:PCMU]sofia/gateway/netsip400harNSW/61412018691;fs_path=sip:103.142.158.210:5060)                                                                                                                                                                                                                
  558. Dialplan: sofia/default/61873259300@sip.mynet.au Action bridge({sip_cid_type=none}[leg_timeout=60,absolute_codec_string=^^:G722:PCMA:PCMU]sofia/gateway/netsip826lorVIC/61412018691;fs_path=sip:103.142.158.210:5060)                                                                                                                                                                                                                
  559. 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_core_state_machine.c:281 (sofia/default/61873259300@sip.mynet.au) State Change CS_ROUTING -> CS_EXECUTE
  560. 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_core_state_machine.c:640 (sofia/default/61873259300@sip.mynet.au) State ROUTING going to sleep
  561. 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/61873259300@sip.mynet.au) Running State Change CS_EXECUTE (Cur 3 Tot 151018)
  562. 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_core_state_machine.c:647 (sofia/default/61873259300@sip.mynet.au) State EXECUTE
  563. 2024-10-23 12:37:57.463294 96.03% [DEBUG] mod_sofia.c:213 sofia/default/61873259300@sip.mynet.au SOFIA EXECUTE
  564. 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_core_state_machine.c:323 sofia/default/61873259300@sip.mynet.au Standard EXECUTE
  565. EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au set(effective_destination_number=61412018691)
  566. 2024-10-23 12:37:57.463294 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/61873259300@sip.mynet.au [effective_destination_number]=[61412018691]
  567. EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au set(execute_on_answer_1=sched_hangup +36000 normal_clearing)
  568. 2024-10-23 12:37:57.463294 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/61873259300@sip.mynet.au [execute_on_answer_1]=[sched_hangup +36000 normal_clearing]
  569. EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au set(type=0)
  570. 2024-10-23 12:37:57.463294 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/61873259300@sip.mynet.au [type]=[0]
  571. EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au set(callstart=2024-10-23 12:37:57)
  572. 2024-10-23 12:37:57.463294 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/61873259300@sip.mynet.au [callstart]=[2024-10-23 12:37:57]
  573. EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au set(hangup_after_bridge=true)
  574. 2024-10-23 12:37:57.463294 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/61873259300@sip.mynet.au [hangup_after_bridge]=[true]
  575. EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au set(continue_on_fail=TRUE)
  576. 2024-10-23 12:37:57.463294 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/61873259300@sip.mynet.au [continue_on_fail]=[TRUE]
  577. EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au set(account_id=44)
  578. 2024-10-23 12:37:57.463294 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/61873259300@sip.mynet.au [account_id]=[44]
  579. EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au set(parent_id=0)
  580. 2024-10-23 12:37:57.463294 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/61873259300@sip.mynet.au [parent_id]=[0]
  581. EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au set(entity_id=0)
  582. 2024-10-23 12:37:57.463294 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/61873259300@sip.mynet.au [entity_id]=[0]
  583. EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au set(call_processed=internal)
  584. 2024-10-23 12:37:57.463294 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/61873259300@sip.mynet.au [call_processed]=[internal]
  585. EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au set(call_direction=outbound)
  586. 2024-10-23 12:37:57.463294 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/61873259300@sip.mynet.au [call_direction]=[outbound]
  587. EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au set(accountname=default)
  588. 2024-10-23 12:37:57.463294 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/61873259300@sip.mynet.au [accountname]=[default]
  589. EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au set(origination_rates=ID:2|CODE:^614.*|DESTINATION:Australian Local - Mobile|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.0000000000|INC:60|INITIALBLOCK:1|RATEGROUP:1|MARKUP:0|CI:12|ACCID:44)                                                                                                                                                                  
  590. 2024-10-23 12:37:57.463294 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/61873259300@sip.mynet.au [origination_rates]=[ID:2|CODE:^614.*|DESTINATION:Australian Local - Mobile|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.0000000000|INC:60|INITIALBLOCK:1|RATEGROUP:1|MARKUP:0|CI:12|ACCID:44]                                                                                                                    
  591. EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au set(original_caller_id_name=)
  592. 2024-10-23 12:37:57.463294 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/61873259300@sip.mynet.au [original_caller_id_name]=[UNDEF]
  593. EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au set(original_caller_id_number=61873259300)
  594. 2024-10-23 12:37:57.463294 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/61873259300@sip.mynet.au [original_caller_id_number]=[61873259300]
  595. EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au limit(db 4785155959 user_4785155959 6 )
  596. 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_limit.c:124 incr called: 4785155959_user_4785155959 max:6, interval:0
  597. 2024-10-23 12:37:57.463294 96.03% [DEBUG] mod_db.c:194 Usage for 4785155959_user_4785155959 is now 1/6
  598. EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au set(effective_caller_id_name=)
  599. 2024-10-23 12:37:57.463294 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/61873259300@sip.mynet.au [effective_caller_id_name]=[UNDEF]
  600. EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au set(effective_caller_id_number=61873259300)
  601. 2024-10-23 12:37:57.463294 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/61873259300@sip.mynet.au [effective_caller_id_number]=[61873259300]
  602. EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au set(calltype=STANDARD)
  603. 2024-10-23 12:37:57.503273 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/61873259300@sip.mynet.au [calltype]=[STANDARD]
  604. EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au set(termination_rates=ID:4|CODE:^61.*|DESTINATION:Australia|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0000000000|INC:60|INITIALBLOCK:60|TRUNK:1|PROVIDER:3)                                                                                                                                                                                                      
  605. 2024-10-23 12:37:57.503273 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/61873259300@sip.mynet.au [termination_rates]=[ID:4|CODE:^61.*|DESTINATION:Australia|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0000000000|INC:60|INITIALBLOCK:60|TRUNK:1|PROVIDER:3]                                                                                                                                                        
  606. EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au set(trunk_id=1)
  607. 2024-10-23 12:37:57.503273 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/61873259300@sip.mynet.au [trunk_id]=[1]
  608. EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au set(provider_id=3)
  609. 2024-10-23 12:37:57.503273 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/61873259300@sip.mynet.au [provider_id]=[3]
  610. EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au set(rate_flag=0)
  611. 2024-10-23 12:37:57.503273 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/61873259300@sip.mynet.au [rate_flag]=[0]
  612. EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au set(daily_call_credit_limit=0.00000)
  613. 2024-10-23 12:37:57.503273 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/61873259300@sip.mynet.au [daily_call_credit_limit]=[0.00000]
  614. EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au set(monthly_call_credit_limit=0.00000)
  615. 2024-10-23 12:37:57.503273 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/61873259300@sip.mynet.au [monthly_call_credit_limit]=[0.00000]
  616. EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au set(daily_call_used_limit=0.00000)
  617. 2024-10-23 12:37:57.503273 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/61873259300@sip.mynet.au [daily_call_used_limit]=[0.00000]
  618. EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au set(monthly_call_used_limit=0.00000)
  619. 2024-10-23 12:37:57.503273 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/61873259300@sip.mynet.au [monthly_call_used_limit]=[0.00000]
  620. EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au set(quality_trunk_seq=1)
  621. 2024-10-23 12:37:57.503273 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/61873259300@sip.mynet.au [quality_trunk_seq]=[1]
  622. EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au set(force_trunk_flag=0)
  623. 2024-10-23 12:37:57.503273 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/61873259300@sip.mynet.au [force_trunk_flag]=[0]
  624. EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au export(presence_data=trunk_id=1)
  625. 2024-10-23 12:37:57.503273 96.03% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[trunk_id=1]
  626. EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au set(intcall=0)
  627. 2024-10-23 12:37:57.503273 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/61873259300@sip.mynet.au [intcall]=[0]
  628. EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au export(presence_id=61412018691)
  629. 2024-10-23 12:37:57.503273 96.03% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_id]=[61412018691]
  630. EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au export(presence_data=x|||Accounts(4785155959)|||^614.* // Australian Local - Mobile // 0.0000000000 |||Carrier 1 // ^61.* // Australia // 0.0000000000 // trunk_id=1|||STD|||103.83.85.71)                                                                                                                                                                                  
  631. 2024-10-23 12:37:57.503273 96.03% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[x|||Accounts(4785155959)|||^614.* // Australian Local - Mobile // 0.0000000000 |||Carrier 1 // ^61.* // Australia // 0.0000000000 // trunk_id=1|||STD|||103.83.85.71]                                                                                                                                                          
  632. EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au bridge({sip_cid_type=none}[leg_timeout=60,absolute_codec_string=^^:G722:PCMA:PCMU]sofia/gateway/netsip47bouNSW/61412018691;fs_path=sip:103.142.158.210:5060)                                                                                                                                                                                                                
  633. 2024-10-23 12:37:57.503273 96.03% [DEBUG] switch_channel.c:1288 sofia/default/61873259300@sip.mynet.au EXPORTING[export_vars] [presence_data]=[x|||Accounts(4785155959)|||^614.* // Australian Local - Mobile // 0.0000000000 |||Carrier 1 // ^61.* // Australia // 0.0000000000 // trunk_id=1|||STD|||103.83.85.71] to event                                                                                                        
  634. 2024-10-23 12:37:57.503273 96.03% [DEBUG] switch_channel.c:1288 sofia/default/61873259300@sip.mynet.au EXPORTING[export_vars] [presence_id]=[61412018691] to event
  635. 2024-10-23 12:37:57.503273 96.03% [DEBUG] switch_channel.c:1288 sofia/default/61873259300@sip.mynet.au EXPORTING[export_vars] [presence_data]=[x|||Accounts(4785155959)|||^614.* // Australian Local - Mobile // 0.0000000000 |||Carrier 1 // ^61.* // Australia // 0.0000000000 // trunk_id=1|||STD|||103.83.85.71] to event                                                                                                        
  636. 2024-10-23 12:37:57.503273 96.03% [DEBUG] switch_ivr_originate.c:2297 Parsing global variables
  637. 2024-10-23 12:37:57.503273 96.03% [DEBUG] switch_ivr_originate.c:2859 Parsing session specific variables
  638. 2024-10-23 12:37:57.503273 96.03% [NOTICE] switch_channel.c:1142 New Channel sofia/default/61412018691 [2a0f9c61-3933-41d6-a8c1-6c25a7c4495a]
  639. 2024-10-23 12:37:57.503273 96.03% [DEBUG] mod_sofia.c:5110 (sofia/default/61412018691) State Change CS_NEW -> CS_INIT
  640. 2024-10-23 12:37:57.503273 96.03% [DEBUG] switch_ivr_originate.c:3167 sofia/default/61412018691 Setting leg timeout to 60
  641. 2024-10-23 12:37:57.503273 96.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/61412018691) Running State Change CS_INIT (Cur 4 Tot 151019)
  642. 2024-10-23 12:37:57.503273 96.03% [DEBUG] switch_core_state_machine.c:624 (sofia/default/61412018691) State INIT
  643. 2024-10-23 12:37:57.503273 96.03% [DEBUG] mod_sofia.c:97 sofia/default/61412018691 SOFIA INIT
  644. 2024-10-23 12:37:57.503273 96.03% [DEBUG] sofia_glue.c:1628 sip:103.142.158.210:5060 Setting proxy route to sofia/default/61412018691
  645. 2024-10-23 12:37:57.503273 96.03% [INFO] sofia_glue.c:1659 sofia/default/61412018691 sending invite call-id: (null)
  646. 2024-10-23 12:37:57.503273 96.03% [DEBUG] sofia_glue.c:1662 sofia/default/61412018691 sending invite version: 1.10.10-release  64bit
  647. Local SDP:                                                                                                                                                                                                        
  648. v=0                                                                                                                                                                                                                
  649. o=FreeSWITCH 1729667143 1729667144 IN IP4 103.142.158.211                                                                                                                                                          
  650. s=FreeSWITCH                                                                                                                                                                                                      
  651. c=IN IP4 103.142.158.211                                                                                                                                                                                          
  652. t=0 0                                                                                                                                                                                                              
  653. m=audio 19934 RTP/AVP 9 8 0 101                                                                                                                                                                                    
  654. a=rtpmap:9 G722/8000                                                                                                                                                                                              
  655. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  656. a=rtpmap:0 PCMU/8000                                                                                                                                                                                              
  657. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  658. a=fmtp:101 0-15                                                                                                                                                                                                    
  659. a=ptime:20                                                                                                                                                                                                        
  660. a=sendrecv                                                                                                                                                                                                        
  661.  
  662. 2024-10-23 12:37:57.503273 96.03% [DEBUG] switch_core_state_machine.c:40 sofia/default/61412018691 Standard INIT
  663. 2024-10-23 12:37:57.503273 96.03% [DEBUG] switch_core_state_machine.c:48 (sofia/default/61412018691) State Change CS_INIT -> CS_ROUTING
  664. 2024-10-23 12:37:57.503273 96.03% [DEBUG] switch_core_state_machine.c:624 (sofia/default/61412018691) State INIT going to sleep
  665. 2024-10-23 12:37:57.503273 96.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/61412018691) Running State Change CS_ROUTING (Cur 4 Tot 151019)
  666. 2024-10-23 12:37:57.503273 96.03% [DEBUG] switch_core_state_machine.c:640 (sofia/default/61412018691) State ROUTING
  667. 2024-10-23 12:37:57.503273 96.03% [DEBUG] mod_sofia.c:158 sofia/default/61412018691 SOFIA ROUTING
  668. 2024-10-23 12:37:57.503273 96.03% [DEBUG] switch_ivr_originate.c:67 (sofia/default/61412018691) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  669. 2024-10-23 12:37:57.503273 96.03% [DEBUG] switch_core_state_machine.c:640 (sofia/default/61412018691) State ROUTING going to sleep
  670. 2024-10-23 12:37:57.503273 96.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/61412018691) Running State Change CS_CONSUME_MEDIA (Cur 4 Tot 151019)
  671. 2024-10-23 12:37:57.503273 96.03% [DEBUG] sofia.c:7493 Channel sofia/default/61412018691 entering state [calling][0]
  672. 2024-10-23 12:37:57.503273 96.03% [DEBUG] switch_core_state_machine.c:659 (sofia/default/61412018691) State CONSUME_MEDIA
  673. 2024-10-23 12:37:57.503273 96.03% [DEBUG] switch_core_state_machine.c:659 (sofia/default/61412018691) State CONSUME_MEDIA going to sleep
  674. 2024-10-23 12:38:00.563281 94.50% [DEBUG] sofia.c:7493 Channel sofia/default/Private@103.26.173.9 entering state [terminated][487]
  675. 2024-10-23 12:38:00.563281 94.50% [NOTICE] sofia.c:8735 Hangup sofia/default/Private@103.26.173.9 [CS_EXECUTE] [ORIGINATOR_CANCEL]
  676. 2024-10-23 12:38:00.583282 94.50% [NOTICE] switch_ivr_originate.c:3816 Hangup sofia/default/4785155959@sip.mynet.au [CS_CONSUME_MEDIA] [ORIGINATOR_CANCEL]
  677. 2024-10-23 12:38:00.583282 94.50% [DEBUG] switch_ivr_originate.c:4041 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL]
  678. 2024-10-23 12:38:00.583282 94.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/4785155959@sip.mynet.au) Running State Change CS_HANGUP (Cur 4 Tot 151019)
  679. 2024-10-23 12:38:00.583282 94.50% [DEBUG] switch_core_state_machine.c:844 (sofia/default/4785155959@sip.mynet.au) Callstate Change RINGING -> HANGUP
  680. 2024-10-23 12:38:00.583282 94.50% [DEBUG] switch_core_state_machine.c:846 (sofia/default/4785155959@sip.mynet.au) State HANGUP
  681. 2024-10-23 12:38:00.583282 94.50% [DEBUG] mod_sofia.c:463 sofia/default/4785155959@sip.mynet.au Overriding SIP cause 487 with 487 from the other leg
  682. 2024-10-23 12:38:00.583282 94.50% [DEBUG] mod_sofia.c:469 Channel sofia/default/4785155959@sip.mynet.au hanging up, cause: ORIGINATOR_CANCEL
  683. 2024-10-23 12:38:00.583282 94.50% [INFO] mod_dptools.c:3635 Originate Failed.  Cause: ORIGINATOR_CANCEL
  684. 2024-10-23 12:38:00.583282 94.50% [DEBUG] switch_core_session.c:2979 sofia/default/Private@103.26.173.9 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  685. 2024-10-23 12:38:00.583282 94.50% [DEBUG] switch_core_state_machine.c:647 (sofia/default/Private@103.26.173.9) State EXECUTE going to sleep
  686. 2024-10-23 12:38:00.583282 94.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/Private@103.26.173.9) Running State Change CS_HANGUP (Cur 4 Tot 151019)
  687. 2024-10-23 12:38:00.583282 94.50% [DEBUG] switch_core_state_machine.c:844 (sofia/default/Private@103.26.173.9) Callstate Change RINGING -> HANGUP
  688. 2024-10-23 12:38:00.583282 94.50% [DEBUG] mod_sofia.c:537 Sending CANCEL to sofia/default/4785155959@sip.mynet.au
  689. 2024-10-23 12:38:00.583282 94.50% [DEBUG] switch_core_state_machine.c:846 (sofia/default/Private@103.26.173.9) State HANGUP
  690. 2024-10-23 12:38:00.583282 94.50% [DEBUG] mod_sofia.c:469 Channel sofia/default/Private@103.26.173.9 hanging up, cause: ORIGINATOR_CANCEL
  691. 2024-10-23 12:38:00.583282 94.50% [DEBUG] switch_core_state_machine.c:59 sofia/default/4785155959@sip.mynet.au Standard HANGUP, cause: ORIGINATOR_CANCEL
  692. 2024-10-23 12:38:00.583282 94.50% [DEBUG] switch_core_state_machine.c:846 (sofia/default/4785155959@sip.mynet.au) State HANGUP going to sleep
  693. 2024-10-23 12:38:00.583282 94.50% [DEBUG] switch_core_state_machine.c:616 (sofia/default/4785155959@sip.mynet.au) State Change CS_HANGUP -> CS_REPORTING
  694. 2024-10-23 12:38:00.583282 94.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/4785155959@sip.mynet.au) Running State Change CS_REPORTING (Cur 4 Tot 151019)
  695. 2024-10-23 12:38:00.583282 94.50% [DEBUG] switch_core_state_machine.c:932 (sofia/default/4785155959@sip.mynet.au) State REPORTING
  696. 2024-10-23 12:38:00.583282 94.50% [INFO] mod_json_cdr.c:272 Process [00f43b46-81b6-41ab-9514-52b30bda7826.cdr.json]
  697. 2024-10-23 12:38:00.583282 94.50% [DEBUG] switch_core_state_machine.c:59 sofia/default/Private@103.26.173.9 Standard HANGUP, cause: ORIGINATOR_CANCEL
  698. 2024-10-23 12:38:00.583282 94.50% [DEBUG] switch_core_state_machine.c:846 (sofia/default/Private@103.26.173.9) State HANGUP going to sleep
  699. 2024-10-23 12:38:00.583282 94.50% [DEBUG] switch_core_state_machine.c:616 (sofia/default/Private@103.26.173.9) State Change CS_HANGUP -> CS_REPORTING
  700. 2024-10-23 12:38:00.583282 94.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/Private@103.26.173.9) Running State Change CS_REPORTING (Cur 4 Tot 151019)
  701. 2024-10-23 12:38:00.583282 94.50% [DEBUG] switch_core_state_machine.c:932 (sofia/default/Private@103.26.173.9) State REPORTING
  702. 2024-10-23 12:38:00.583282 94.50% [INFO] mod_json_cdr.c:272 Process [658e73b5-faec-4b23-be23-c74a05e70fd2.cdr.json]
  703. 2024-10-23 12:38:00.603274 94.50% [DEBUG] switch_core_state_machine.c:168 sofia/default/4785155959@sip.mynet.au Standard REPORTING, cause: ORIGINATOR_CANCEL
  704. 2024-10-23 12:38:00.603274 94.50% [DEBUG] switch_core_state_machine.c:932 (sofia/default/4785155959@sip.mynet.au) State REPORTING going to sleep
  705. 2024-10-23 12:38:00.603274 94.50% [DEBUG] switch_core_state_machine.c:607 (sofia/default/4785155959@sip.mynet.au) State Change CS_REPORTING -> CS_DESTROY
  706. 2024-10-23 12:38:00.603274 94.50% [DEBUG] switch_core_session.c:1744 Session 151017 (sofia/default/4785155959@sip.mynet.au) Locked, Waiting on external entities
  707. 2024-10-23 12:38:00.603274 94.50% [NOTICE] switch_core_session.c:1762 Session 151017 (sofia/default/4785155959@sip.mynet.au) Ended
  708. 2024-10-23 12:38:00.603274 94.50% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/4785155959@sip.mynet.au [CS_DESTROY]
  709. 2024-10-23 12:38:00.603274 94.50% [DEBUG] switch_core_state_machine.c:735 (sofia/default/4785155959@sip.mynet.au) Running State Change CS_DESTROY (Cur 3 Tot 151019)
  710. 2024-10-23 12:38:00.603274 94.50% [DEBUG] switch_core_state_machine.c:745 (sofia/default/4785155959@sip.mynet.au) State DESTROY
  711. 2024-10-23 12:38:00.603274 94.50% [DEBUG] mod_sofia.c:380 sofia/default/4785155959@sip.mynet.au SOFIA DESTROY
  712. 2024-10-23 12:38:00.603274 94.50% [DEBUG] switch_core_state_machine.c:175 sofia/default/4785155959@sip.mynet.au Standard DESTROY
  713. 2024-10-23 12:38:00.603274 94.50% [DEBUG] switch_core_state_machine.c:745 (sofia/default/4785155959@sip.mynet.au) State DESTROY going to sleep
  714. 2024-10-23 12:38:00.623284 94.50% [DEBUG] switch_core_state_machine.c:168 sofia/default/Private@103.26.173.9 Standard REPORTING, cause: ORIGINATOR_CANCEL
  715. 2024-10-23 12:38:00.623284 94.50% [DEBUG] switch_core_state_machine.c:932 (sofia/default/Private@103.26.173.9) State REPORTING going to sleep
  716. 2024-10-23 12:38:00.623284 94.50% [DEBUG] switch_core_state_machine.c:607 (sofia/default/Private@103.26.173.9) State Change CS_REPORTING -> CS_DESTROY
  717. 2024-10-23 12:38:00.623284 94.50% [DEBUG] switch_core_session.c:1744 Session 151016 (sofia/default/Private@103.26.173.9) Locked, Waiting on external entities
  718. 2024-10-23 12:38:00.623284 94.50% [NOTICE] switch_core_session.c:1762 Session 151016 (sofia/default/Private@103.26.173.9) Ended
  719. 2024-10-23 12:38:00.623284 94.50% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/Private@103.26.173.9 [CS_DESTROY]
  720. 2024-10-23 12:38:00.623284 94.50% [DEBUG] switch_core_state_machine.c:735 (sofia/default/Private@103.26.173.9) Running State Change CS_DESTROY (Cur 2 Tot 151019)
  721. 2024-10-23 12:38:00.623284 94.50% [DEBUG] switch_core_state_machine.c:745 (sofia/default/Private@103.26.173.9) State DESTROY
  722. 2024-10-23 12:38:00.623284 94.50% [DEBUG] mod_sofia.c:380 sofia/default/Private@103.26.173.9 SOFIA DESTROY
  723. 2024-10-23 12:38:00.623284 94.50% [DEBUG] switch_core_state_machine.c:175 sofia/default/Private@103.26.173.9 Standard DESTROY
  724. 2024-10-23 12:38:00.623284 94.50% [DEBUG] switch_core_state_machine.c:745 (sofia/default/Private@103.26.173.9) State DESTROY going to sleep
  725. 2024-10-23 12:38:00.703302 94.50% [DEBUG] sofia.c:7493 Channel sofia/default/61873259300@sip.mynet.au entering state [terminated][487]
  726. 2024-10-23 12:38:00.703302 94.50% [NOTICE] sofia.c:8735 Hangup sofia/default/61873259300@sip.mynet.au [CS_EXECUTE] [ORIGINATOR_CANCEL]
  727. 2024-10-23 12:38:00.723297 94.50% [NOTICE] switch_ivr_originate.c:3816 Hangup sofia/default/61412018691 [CS_CONSUME_MEDIA] [ORIGINATOR_CANCEL]
  728. 2024-10-23 12:38:00.723297 94.50% [DEBUG] switch_ivr_originate.c:4041 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL]
  729. 2024-10-23 12:38:00.723297 94.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/61412018691) Running State Change CS_HANGUP (Cur 2 Tot 151019)
  730. 2024-10-23 12:38:00.723297 94.50% [DEBUG] switch_core_state_machine.c:844 (sofia/default/61412018691) Callstate Change DOWN -> HANGUP
  731. 2024-10-23 12:38:00.723297 94.50% [DEBUG] switch_core_state_machine.c:846 (sofia/default/61412018691) State HANGUP
  732. 2024-10-23 12:38:00.723297 94.50% [DEBUG] mod_sofia.c:463 sofia/default/61412018691 Overriding SIP cause 487 with 487 from the other leg
  733. 2024-10-23 12:38:00.723297 94.50% [DEBUG] mod_sofia.c:469 Channel sofia/default/61412018691 hanging up, cause: ORIGINATOR_CANCEL
  734. 2024-10-23 12:38:00.723297 94.50% [INFO] mod_dptools.c:3635 Originate Failed.  Cause: ORIGINATOR_CANCEL
  735. 2024-10-23 12:38:00.723297 94.50% [DEBUG] mod_sofia.c:537 Sending CANCEL to sofia/default/61412018691
  736. 2024-10-23 12:38:00.723297 94.50% [DEBUG] switch_core_session.c:2979 sofia/default/61873259300@sip.mynet.au skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  737. 2024-10-23 12:38:00.723297 94.50% [DEBUG] switch_core_state_machine.c:647 (sofia/default/61873259300@sip.mynet.au) State EXECUTE going to sleep
  738. 2024-10-23 12:38:00.723297 94.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/61873259300@sip.mynet.au) Running State Change CS_HANGUP (Cur 2 Tot 151019)
  739. 2024-10-23 12:38:00.723297 94.50% [DEBUG] switch_core_state_machine.c:59 sofia/default/61412018691 Standard HANGUP, cause: ORIGINATOR_CANCEL
  740. 2024-10-23 12:38:00.723297 94.50% [DEBUG] switch_core_state_machine.c:844 (sofia/default/61873259300@sip.mynet.au) Callstate Change RINGING -> HANGUP
  741. 2024-10-23 12:38:00.723297 94.50% [DEBUG] switch_core_state_machine.c:846 (sofia/default/61412018691) State HANGUP going to sleep
  742. 2024-10-23 12:38:00.723297 94.50% [DEBUG] switch_core_state_machine.c:616 (sofia/default/61412018691) State Change CS_HANGUP -> CS_REPORTING
  743. 2024-10-23 12:38:00.723297 94.50% [DEBUG] switch_core_state_machine.c:846 (sofia/default/61873259300@sip.mynet.au) State HANGUP
  744. 2024-10-23 12:38:00.723297 94.50% [DEBUG] mod_sofia.c:469 Channel sofia/default/61873259300@sip.mynet.au hanging up, cause: ORIGINATOR_CANCEL
  745. 2024-10-23 12:38:00.723297 94.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/61412018691) Running State Change CS_REPORTING (Cur 2 Tot 151019)
  746. 2024-10-23 12:38:00.723297 94.50% [DEBUG] switch_core_state_machine.c:932 (sofia/default/61412018691) State REPORTING
  747. 2024-10-23 12:38:00.723297 94.50% [DEBUG] switch_core_state_machine.c:59 sofia/default/61873259300@sip.mynet.au Standard HANGUP, cause: ORIGINATOR_CANCEL
  748. 2024-10-23 12:38:00.723297 94.50% [DEBUG] switch_core_state_machine.c:846 (sofia/default/61873259300@sip.mynet.au) State HANGUP going to sleep
  749. 2024-10-23 12:38:00.723297 94.50% [DEBUG] switch_core_state_machine.c:616 (sofia/default/61873259300@sip.mynet.au) State Change CS_HANGUP -> CS_REPORTING
  750. 2024-10-23 12:38:00.723297 94.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/61873259300@sip.mynet.au) Running State Change CS_REPORTING (Cur 2 Tot 151019)
  751. 2024-10-23 12:38:00.723297 94.50% [INFO] mod_json_cdr.c:272 Process [2a0f9c61-3933-41d6-a8c1-6c25a7c4495a.cdr.json]
  752. 2024-10-23 12:38:00.723297 94.50% [DEBUG] switch_core_state_machine.c:932 (sofia/default/61873259300@sip.mynet.au) State REPORTING
  753. 2024-10-23 12:38:00.723297 94.50% [INFO] mod_json_cdr.c:272 Process [2e6f9598-c85d-42bb-81fa-1c87e3bcf5c0.cdr.json]
  754. 2024-10-23 12:38:00.743276 94.30% [DEBUG] switch_core_state_machine.c:168 sofia/default/61412018691 Standard REPORTING, cause: ORIGINATOR_CANCEL
  755. 2024-10-23 12:38:00.743276 94.30% [DEBUG] switch_core_state_machine.c:932 (sofia/default/61412018691) State REPORTING going to sleep
  756. 2024-10-23 12:38:00.743276 94.30% [DEBUG] switch_core_state_machine.c:607 (sofia/default/61412018691) State Change CS_REPORTING -> CS_DESTROY
  757. 2024-10-23 12:38:00.743276 94.30% [DEBUG] switch_core_session.c:1744 Session 151019 (sofia/default/61412018691) Locked, Waiting on external entities
  758. 2024-10-23 12:38:00.743276 94.30% [NOTICE] switch_core_session.c:1762 Session 151019 (sofia/default/61412018691) Ended
  759. 2024-10-23 12:38:00.743276 94.30% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/61412018691 [CS_DESTROY]
  760. 2024-10-23 12:38:00.743276 94.30% [DEBUG] switch_core_state_machine.c:735 (sofia/default/61412018691) Running State Change CS_DESTROY (Cur 1 Tot 151019)
  761. 2024-10-23 12:38:00.743276 94.30% [DEBUG] switch_core_state_machine.c:745 (sofia/default/61412018691) State DESTROY
  762. 2024-10-23 12:38:00.743276 94.30% [DEBUG] mod_sofia.c:380 sofia/default/61412018691 SOFIA DESTROY
  763. 2024-10-23 12:38:00.743276 94.30% [DEBUG] switch_core_state_machine.c:175 sofia/default/61412018691 Standard DESTROY
  764. 2024-10-23 12:38:00.743276 94.30% [DEBUG] switch_core_state_machine.c:745 (sofia/default/61412018691) State DESTROY going to sleep
  765. 2024-10-23 12:38:00.763278 94.30% [DEBUG] switch_core_state_machine.c:168 sofia/default/61873259300@sip.mynet.au Standard REPORTING, cause: ORIGINATOR_CANCEL
  766. 2024-10-23 12:38:00.763278 94.30% [DEBUG] switch_core_state_machine.c:932 (sofia/default/61873259300@sip.mynet.au) State REPORTING going to sleep
  767. 2024-10-23 12:38:00.763278 94.30% [DEBUG] switch_core_state_machine.c:607 (sofia/default/61873259300@sip.mynet.au) State Change CS_REPORTING -> CS_DESTROY
  768. 2024-10-23 12:38:00.763278 94.30% [DEBUG] switch_core_session.c:1744 Session 151018 (sofia/default/61873259300@sip.mynet.au) Locked, Waiting on external entities
  769. 2024-10-23 12:38:00.763278 94.30% [NOTICE] switch_core_session.c:1762 Session 151018 (sofia/default/61873259300@sip.mynet.au) Ended
  770. 2024-10-23 12:38:00.763278 94.30% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/61873259300@sip.mynet.au [CS_DESTROY]
  771. 2024-10-23 12:38:00.763278 94.30% [DEBUG] switch_core_state_machine.c:735 (sofia/default/61873259300@sip.mynet.au) Running State Change CS_DESTROY (Cur 0 Tot 151019)
  772. 2024-10-23 12:38:00.763278 94.30% [DEBUG] switch_core_state_machine.c:745 (sofia/default/61873259300@sip.mynet.au) State DESTROY
  773. 2024-10-23 12:38:00.763278 94.30% [DEBUG] mod_sofia.c:380 sofia/default/61873259300@sip.mynet.au SOFIA DESTROY
  774. 2024-10-23 12:38:00.763278 94.30% [DEBUG] switch_core_state_machine.c:175 sofia/default/61873259300@sip.mynet.au Standard DESTROY
  775. 2024-10-23 12:38:00.763278 94.30% [DEBUG] switch_core_state_machine.c:745 (sofia/default/61873259300@sip.mynet.au) State DESTROY going to sleep
  776.