anchor.diff:  	case lists:keyfind("destPrefixTariffTable", #char_value_use.name, CharValueUse) of
   		#char_value_use{values = [#char_value{value = TariffTable}]} ->
   			Table = list_to_existing_atom(TariffTable),
  -			case catch ocs_gtt:lookup_last(Table, Address) of
  +			Prefix = case Address of
  +				Address when is_binary(Address) ->
  +					binary_to_list(Address);
  +				Address when is_list(Address) ->
  +					Address
  +			end,
  +			case catch ocs_gtt:lookup_last(Table, Prefix) of
   				{_Description, Amount, _} when is_integer(Amount) ->
   					case Amount of
   						N when N >= 0 ->
  
positive.code: 		Result :: [Rated].
  %% @doc Construct rated product usage.
  %% @hidden
  rated(Debits, Rated) when map_size(Debits) =:= 0 ->
  	Rated;
  rated(Debits, #rated{} = Rated) ->
  	rated(Debits, [Rated]);
  rated(Debits, [#rated{} = Rated | T]) ->
  
negative.code: 		#char_value_use{values = [#char_value{value = TariffTable}]}
  				when RoamingTable == undefined ->
  			Table = list_to_existing_atom(TariffTable),
  			Prefix = case Address of
  				Address when is_binary(Address) ->
  					binary_to_list(Address);
  				Address when is_list(Address) ->
  					Address
  			end,
  			case catch ocs_gtt:lookup_last(Table, Prefix) of
  				{Description, Amount, _} when is_integer(Amount) ->
  					case Amount of
  						N when N >= 0 ->
  