parameters: (username,
                                    sms_identity, sms_text, sms_time, id_string)
return_statement: return get_response(response)
docstring: Process a text instance and return in SMSSync expected format
docstring_summary: Process a text instance and return in SMSSync expected format
docstring_tokens: Process a text instance and return in SMSSync expected format
function: def process_message_for_telerivet(username,
                                    sms_identity, sms_text, sms_time, id_string):
      """ Process a text instance and return in SMSSync expected format """
  
      if not sms_identity or not sms_text:
          return get_response({'code': SMS_API_ERROR,
                               'text': _(u"`identity` and `message` are "
                                         u"both required and must not be "
                                         u"empty.")})
  
      incomings = [(sms_identity, sms_text)]
      response = process_incoming_smses(username, incomings, id_string)[-1]
  
      return get_response(response)
function_tokens: def process_message_for_telerivet ( username , sms_identity , sms_text , sms_time , id_string ) : if not sms_identity or not sms_text : return get_response ( { 'code' : SMS_API_ERROR , 'text' : _ ( u"`identity` and `message` are " u"both required and must not be " u"empty." ) } ) incomings = [ ( sms_identity , sms_text ) ] response = process_incoming_smses ( username , incomings , id_string ) [ - 1 ] return get_response ( response )