It's not a very good link (EDIT: actually, it's ok link. It does mention the ringer will not work).
This one explains it. It explains that a higher voltage AC signal is used to cause ringing voltage.
But which number i have to press from one telephone to ring the other telephone and viceversa ?
You can't press a button on a phone to generate this. They don't have this functionality. Phones are one-way; they
can be used to receive a ringing voltage (and therefore generate ringing) but there is no button you could press to
cause ringing. If you really wanted to press a digit button to cause ringing, then you're not really in intercom realm,
you're in PBX or key system realm. There, you'd need to have a circuit that uses a DTMF decoder to listen to the
digit being pressed, and then generate the ringing voltage. It can be done, but is more effort than it is worth just for
an intercom (an intercom can be purchased for cheaper than you could make a PBX circuit), for example,
see here.