@staticmethod
def generate_sms_endpoint(phone=None):
    """
            @type phone: string
            @param phone: the number of phone
        """
    endpoint = ('sms:directsms:anonymous' if phone is None else 
        'sms:directsms:%s' % phone)
    return endpoint
