in modules/sms/src/main/java/org/apache/axis2/transport/sms/SMSTransportUtils.java [57:68]
public static String getPhoneNumber(EndpointReference epr) throws Exception {
String eprAddress = epr.getAddress();
String protocal = eprAddress.substring(0, 3);
if (protocal != null && protocal.equals("sms")) {
String parts[] = eprAddress.split("/");
String phoneNumber = parts[2];
return phoneNumber;
} else {
throw new Exception("Invalid Epr for the SMS Transport : Epr must be of format sms://<phone_number>/");
}
}