Assign source and destination endpoints correctly for calls that are already running when the page is loaded.