Skip to content

Commit

Permalink
don't enable logging on VC by default
Browse files Browse the repository at this point in the history
  • Loading branch information
docwho2 committed Nov 10, 2023
1 parent 099f98c commit ac1e97f
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ public ChimeVoiceConnector(Stack scope) {
.build())
.build());

// Enable SIP Logs

/**
// Don't enable SIP logging on VC, This can be done manually SIP Logs
final var logging = new AwsCustomResource(scope, ID + "-LOG", AwsCustomResourceProps.builder()
.resourceType("Custom::VoiceConnectorLogging")
.installLatestAwsSdk(Boolean.FALSE)
Expand All @@ -70,7 +72,8 @@ public ChimeVoiceConnector(Stack scope) {
"LoggingConfiguration", Map.of("EnableSIPLogs", true, "EnableMediaMetricLogs", false)))
.build())
.build());

*/

// Start with list of Twilio NA ranges for SIP Trunking
var cidrAllowList = List.of("54.172.60.0/30", "54.244.51.0/30");
if (PBX_HOSTNAME != null) {
Expand Down

0 comments on commit ac1e97f

Please sign in to comment.