     {:halt, nil}
   end
 
-  defp process_page({nil, next_page_url, module}) do
-    next_page_url
+  defp process_page({nil, next_page_uri, module}) do
+    next_page_url(next_page_uri)
     |> fetch_page(module)
     |> process_page
   end


  ## Example

      ExTwilio.ResultStream.new(ExTwilio.Call)
  """
  def new(module, options \\ []) do
    url = UrlGenerator.build_url(module, nil, options)

  alias ExTwilio.Api
  alias ExTwilio.Parser
  alias ExTwilio.UrlGenerator
  alias ExTwilio.Config

  @type url :: String.t

