it's often to greet (Buenos días o buenas tardes/noches) in a formal /no too informal situation, but in a informal situation, say Hola will be ok. Thne, you can ask for the person you want to tolk with: Quisiera hablar con Luis, por favor/ ¿está Luis?/ ¿se encuentra Luis?/ (formal: ¿me podría comunicar con Luis?)
In perú, is often the person who response you ask about your name: ¿De parte de quién/ quién habla? And this is the moment to say yor name: De parte de Shirley (informal) / de parte de Lucía Gómez/ de la Srta. Gómez, etc.
Bye.