Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d89da5b

Browse files
authored
CoreSettingsResponse.java: Support 'SoundsSearchCustomDir' property. (#595)
Signed-off-by: Sean Bright <[email protected]> Fixes #588
1 parent 84d890b commit d89da5b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/main/java/org/asteriskjava/manager/response/CoreSettingsResponse.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ public class CoreSettingsResponse extends ManagerResponse {
3939
private Boolean coreRealtimeEnabled;
4040
private Boolean coreCdrEnabled;
4141
private Boolean coreHttpEnabled;
42+
private Boolean soundsSearchCustomDir;
4243

4344
/**
4445
* Returns the version of the Asterisk Manager Interface (AMI). For Asterisk 1.6 this is "1.1".
@@ -152,4 +153,12 @@ public boolean isCoreHttpEnabled() {
152153
public void setCoreHttpEnabled(Boolean coreHttpEnabled) {
153154
this.coreHttpEnabled = coreHttpEnabled;
154155
}
156+
157+
public boolean isSoundsSearchCustomDir() {
158+
return soundsSearchCustomDir != null && soundsSearchCustomDir;
159+
}
160+
161+
public void setSoundsSearchCustomDir(Boolean soundsSearchCustomDir) {
162+
this.soundsSearchCustomDir = soundsSearchCustomDir;
163+
}
155164
}

0 commit comments

Comments
 (0)