I have a problem in the code with CallCtlConnDialingEv.
This is my code for getting calledAddress:
String callCalled = Optional.ofNullable(ciscoCall.getCalledAddress()).map(Address::getName).orElse("!EMPTY!");
My code for getting currentCalledAddress:
String callCurrentCalled = Optional.ofNullable(ciscoCall.getCurrentCalledAddress())
.map(Address::getName)
.orElse("!EMPTY!");
The customer is using Cisco UCCE and is making outbound calls.
Some call events for outbound calls contain some normal address (not null), but sometimes the getCalledAddress() and getCurrentCalledAddress() return null. Why is it like that (so random)?