This movie is a remake of the 2012 short film, Curfew, in which Shawn Christensen and Fatima Ptacek also played Richie and Sophia. However the Sophia character is now a teenager rather than a little girl.
Despite the film being very similar to the short, the endings of each are different. After Richie plugs the phone back in in the short, his reaction to the call is angry, making the ending comedic and it clear that Richie wants to die but now has something preventing him from doing so. In the film, the ending is much more heartfelt, with Richie deciding he wants to live and let go of his past.