def attrs
      atrs = { :profile_name => self.name }

      if !self.id.nil?
        atrs.merge!(:profile_id => self.id)
      end

      [:id, :status].each do |atr|
        if !self.send(atr).nil?
          atrs.merge!("profile_#{atr}".to_sym => self.send(atr))
        end
      end

      [:principal_id, :provider_id].each do |atr|
        if !self.send(atr).nil?
          atrs.merge!(atr => self.send(atr))
        end
      end

      if !self.conf_number.nil? && !self.location.nil?
        atrs.merge!(:conf_number => self.conf_number, :location => self.location)
      end

      atrs
    end
def attrs
      atrs = { :profile_name => self.name }

      if !self.id.nil?
        atrs.merge!(:profile_id => self.id)
      end

      [:id, :status].each do |atr|
        if !self.send(atr).nil?
          atrs.merge!("profile_#{atr}".to_sym => self.send(atr))
        end
      end

      [:principal_id, :provider_id].each do |atr|
        if !self.send(atr).nil?
          atrs.merge!(atr => self.send(atr))
        end
      end

      if !self.conf_number.nil? && !self.location.nil?
        atrs.merge!(:conf_number => self.conf_number, :location => self.location)
      end

      atrs
    end
telephony_profile_options - A hash with the following keys:
                name        - The profile's name.
                status      - Status of the profile (enabled or disabled)
                conf_number - Conference number associated with profile
                location    - Country code for conference number, required
                              if conf_number present
                principal_id- ID of User that the profile should belong
                              to, defaults to logged in user
                provider_id - ID of the telephony provider