File tree Expand file tree Collapse file tree
src/main/java/com/iemr/ecd/service/associate Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -159,11 +159,10 @@ public String closeCall(CallClosureDTO request) {
159159
160160 if ("introductory" .equalsIgnoreCase (callObj .getEcdCallType ()) && Boolean .TRUE .equals (obj .getIsCallDisconnected ()) && StringUtils .hasText (request .getPreferredLanguage ())) {
161161 callObj .setCallStatus (Constants .OPEN );
162- callObj .setAllocationStatus (Constants .UNALLOCATED );
162+ // callObj.setAllocationStatus(Constants.UNALLOCATED);
163163 }else if (Boolean .TRUE .equals (obj .getIsCallAnswered ())){
164164 callObj .setCallStatus (Constants .COMPLETED );
165165 }
166-
167166 if (obj .getIsFurtherCallRequired () != null && !obj .getIsFurtherCallRequired ()) {
168167 callObj .setCallStatus (Constants .COMPLETED );
169168 } else {
@@ -204,6 +203,7 @@ public String closeCall(CallClosureDTO request) {
204203 callObj .setCallStatus (Constants .OPEN );
205204 }
206205 isLanguageMapped = isLanguageMappedWithUser (request );
206+
207207 if (!isLanguageMapped && callObj .getEcdCallType ().equalsIgnoreCase ("introductory" )) {
208208 callObj .setAllocatedUserId (null );
209209 callObj .setCallStatus (Constants .OPEN );
You can’t perform that action at this time.
0 commit comments