Jafar Panahi has been sentenced in absentia in Iran to one year in prison and a travel ban, according to his lawyer.