I'll describe a scenario that I want to implement but I don't know if it is possible with my equipment and my knowledge about this topic.
Suppose, that one calls me on the telephone at home. If I have an appropriate device then I can see his number on the phone device. How, could I get the phone number (using a simple modem) to the computer?
Is there any python library that could work on this ?
Could you propose me some resources from which I can learn some terminology and technical things ?
EDIT
I have found this python library https://pypi.org/project/python-gsmmodem/ but it is not related with my problem since I haven't got gsm modem and actually, I don't want to call someone from the computer. I just want to find a way for showing the caller number in the computer.
Several ideas and some terminology:
Hope it is good enough for a start.
Update: for determining the caller number you have to look for caller ID capability in your modem, similar to described here. For program to listen to the the port you wrap it in eternal loop and print the number after a call, for example.