Refactor the creation of local SipInfos into its own method