int numberOfDestinations = message.getDestinationCount();
for (int i = 0; i < numberOfDestinations; i++) {
String dest = message.getDestination(i);
final Address address;
if(dest.startsWith("+")) {
address =
new Address((byte) 0x01, (byte) 0x0, dest.substring(1));
} else {
address = new Address(dest);
}
request.addDestAddress(new DestinationAddress(address));
}
request.setServiceType(SMSCSvcType);
request.setSourceAddr(SMSCSvcAddr);