Simulation of PBX(Private Branch Exchange) network implemented in C. Features multithreading for simultaneous actions between different extensions. Allow users to create/end extensions, dial/pickup/end calls, and send messages
cd ../PBX_simulator
make clean debug
To set up server socket:
bin/pbx -p <portnumber>
To create new extension (open new terminal):
telnet localhost <portnumber>
Commands within extensions:
pickup
hangup
dial <extensionnumber>
chat <msg> # sends a message to its currently connected extension
To close server socket (in new terminal):
kill -HUP <tid>
- CSAPP Library (csapp.h)