remove phonecall admission and restruct code for static condition