Showing disrespect to Allah, may He be glorified, by of joking
Question

My question deals with a friend of mine who was ignorantly joking. When my friend was teased by another friend he ignorantly picked up his phone out of joking and said I have to tell Allah. Then he said on the phone "Hello, Allah" as to tell Allah. I know this is incorrect but is this shirk?.
Praise be to Allah.Belief in Allah is based on respect and veneration of Him and submission to Him. Hence Allah criticized the kaafirs and stated that they associated others with Him because they did not make a just estimate of Allah such as is due to Him, as He says (interpretation of the meaning): 
“They made not a just estimate of Allah such as is due to Him. And on the Day of Resurrection the whole of the earth will be grasped by His Hand and the heavens will be rolled up in His Right Hand. Glorified be He, and High be He above all that they associate as partners with Him!” [Al-Zumar 39:67]
Allah, may He be glorified and exalted, is the Almighty, by Whose might the heavens might almost be rent asunder, as He says (interpretation of the meaning): 
“Nearly the heavens might be rent asunder from above them (by His Majesty), and the angels glorify the praises of their Lord, and ask for forgiveness for those on the earth. Verily, Allah is the Oft‑Forgiving, the Most Merciful” [Al-Shoora 42:5]
Anyone who studies the creation of Allah will see some of the signs of His greatness. The Prophet (peace and blessings of Allah be upon him) said, describing the Kursiy (Footstool) and Throne: “The seven heavens, in comparison to the Footstool, are like a ring lying in the wilderness, and the superiority of the Throne to the Footstool is like the superiority of that wilderness to that ring.” Classed as saheeh by al-Albaani in al-Silsilah al-Saheehah (1/223). 
Veneration of Allah, may He be glorified and exalted, cannot co-exist in one heart with mockery of Him. Hence mocking Allah, may He be exalted, or His verses or Messengers is kufr, no matter what form it takes, whether it is in earnest or in jest. Allah says in Soorat al-Tawbah (interpretation of the meaning): 
“The hypocrites fear lest a Soorah (chapter of the Quran) should be revealed about them, showing them what is in their hearts. Say: ‘(Go ahead and) mock! But certainly Allah will bring to light all that you fear.’
65. If you ask them (about this), they declare: ‘We were only talking idly and joking.’ Say: ‘Was it at Allah , and His Ayaat (proofs, evidences, verses, lessons, signs, revelations, etc.) and His Messenger  that you were mocking?’
66. Make no excuse; you disbelieved after you had believed. If We pardon some of you, We will punish others amongst you because they were Mujrimoon (disbelievers, polytheists, sinners, criminals)” [Al-Tawbah 9:64-66]
Shaykh al-Islam Ibn Taymiyah said: This shows that mocking Allah and His verses and signs is kufr and this verse indicates that the one who belittles the Messenger of Allah in earnest or in jest is a kaafir. 
Al-Saarim al-Maslool (2/70). 
Al-Qaadi Abu Bakr ibn al-‘Arabi said in Ahkaam al-Quran commenting on this verse: What they – the hypocrites – said must have been either in earnest or in jest, but no matter what it was, it is kufr, because joking about kufr is also kufr, and there is no difference of opinion concerning this among the ummah. End quote. 
The great scholar al-Sa’di said: Mocking Allah and His Messenger is kufr which puts one beyond the pale of Islam, because the religion is based on veneration of Allah and of His religion and His Messengers, and mocking any of that is contrary to this principle and is diametrically opposed to it. 
What this man said, in which he showed disrespect towards Allah – exalted be He far above what the wrongdoers say – and spoke as if he regarded Allah as equal in status to a human being and thought that he could address Him as such, is kufr, as anyone who has the slightest knowledge of the religion of Allah would realize, and no one would do that but one who is extremely ignorant or a man whose heart has no knowledge of Allah and no respect for Him. 
Then he added to his mockery and said “I must tell Allah.” Does Allah, may He be exalted, need to be told anything by an ignorant wrongdoer?! 
“Truly, nothing is hidden from Allah, in the earth or in the heaven” [Aal ‘Imraan 3:5]
This wretch has to renew his faith and enter Islam again, and repent to Allah from this blatant kufr. For the rest of his life he must do a lot of good and righteous deeds, as much as he can, in the hope that Allah may pardon him and forgive him for his ignorance and transgression. 
And Allah knows best.