In this piece
//if coins value is enough to make a call - dial
while (coinsValue >= 1)
the comment says IF so why is the next line using WHILE? I suspect it would make more sense to use IF
And there seems to be no means to get out of the WHILE loop
Are the print statements in your keypadInput() function showing normally when line 102 is called?
...R