public void setPhoneNumber(String number) {
		String phoneNumber = number;
		if(number.startsWith("+")) {			
			phoneNumber = phoneNumber.substring(1);
		}
		try {
			basePhoneNumber(phoneNumber);		
			telUrl.setPhoneNumber(phoneNumber);
		} catch (ParseException ex) {
			logger.error("Error setting phone number " + number);
			throw new java.lang.IllegalArgumentException("phone number " + number + " is invalid", ex);
		}
	}
public void setPhoneNumber ( String number ) { String phoneNumber = number ; if ( number . startsWith ( "+" ) ) { phoneNumber = phoneNumber . substring ( 1 ) ; } try { basePhoneNumber ( phoneNumber ) ; telUrl . setPhoneNumber ( phoneNumber ) ; } catch ( ParseException ex ) { logger . error ( "Error setting phone number " + number ) ; throw new java . lang . IllegalArgumentException ( "phone number " + number + " is invalid" , ex ) ; } }
/*
(non-Javadoc)
@see javax.servlet.sip.TelURL#setPhoneNumber(java.lang.String)