President Trump Donald John TrumpBiden says voters should choose who nominates Supreme Court justice Trump, Biden will not shake hands at first debate due to COVID-19 Pelosi: Trump Supreme Court pick 'threatens' Affordable Care Act MORE spoke on Thursday night with Senate Appropriations Committee Chairman Richard Shelby Richard Craig ShelbyThe Hill's Morning Report - Sponsored by Facebook - Republicans lawmakers rebuke Trump on election Senate to push funding bill vote up against shutdown deadline Senate GOP eyes early exit MORE (R-Ala.) about government funding ahead of the Dec. 20 shutdown deadline.

A source familiar with the discussion said the president and Shelby had a "productive conversation" about the appropriations process.

"President Trump was positive and encouraging about working with us to complete our FY20 bills," the source added on Friday.

The conversation comes as lawmakers are in the midst of a flurry of behind-the-scenes negotiations as they try to make progress on the fiscal 2020 funding bills.

ADVERTISEMENT

Congress has until Dec. 20. to prevent a government shutdown days before the Christmas holiday. To do that they either need to pass all 12 fiscal 2020 funding bills, or buy themselves more time with another continuing resolution.

Shelby's talk with Trump comes after he took part in two meetings with leaders of the Defense appropriations subcommittee on Thursday. He said afterwards that they had a "positive meeting" and were "real close" to a deal on the defense bill, potentially as soon as the middle of next week.

"We went over our differences. ... We believe we're very close, very close to working it out," Shelby said, adding that staff if working on three or four remaining issues in the defense bill.

The border wall has emerged as the biggest hurdle to negotiators as they try to get a deal on the fiscal 2020 spending bills.

Beyond funding for new barriers along the U.S.-Mexico border, Congress and the White House need to get an agreement on Immigration and Customs Enforcement (ICE) beds and Trump's ability to shift defense money to the border wall.

Shelby told The Hill on Thursday that they had not yet reached an agreement on Trump's ability to reprogram funding, and indicated that it might have to be worked out at the leadership level.

"We are trying to agree on what we can agree on and some things we can't they're going to have to be worked out by Schumer and Pelosi and the president and McConnell," he added, referring to Senate Minority Leader Charles Schumer Chuck SchumerPelosi: Trump Supreme Court pick 'threatens' Affordable Care Act Will Democrats attempt to pack the Supreme Court again? Pelosi slams Trump executive order on pre-existing conditions: It 'isn't worth the paper it's signed on' MORE (D-N.Y.) and Speaker Nancy Pelosi Nancy PelosiPelosi: Trump Supreme Court pick 'threatens' Affordable Care Act Sunday shows preview: Lawmakers prepare for SCOTUS confirmation hearings before election Will Democrats attempt to pack the Supreme Court again? MORE (D-Calif.).