# Telephone System Simulation

Consider a Telephone System that has eight (8) Telephone Line and three (3) Communication Link. Find the call counter status by simulating this system.

Current Call Counter

<table><thead><tr><th width="256" align="center">Number of calls processed</th><th width="119" align="center">Completed</th><th width="94" align="center">Blocked</th><th width="101" align="center">Busy </th></tr></thead><tbody><tr><td align="center">131</td><td align="center">98</td><td align="center">5</td><td align="center">28</td></tr></tbody></table>

Current Call, Clock Time = 1050

<table data-header-hidden><thead><tr><th width="107.33333333333331"></th><th width="87"></th><th width="77.66666666666674"></th></tr></thead><tbody><tr><td>From</td><td>To</td><td>End</td></tr><tr><td> </td><td> </td><td> </td></tr><tr><td>4</td><td>7</td><td>1075</td></tr><tr><td>2</td><td>5</td><td>1053</td></tr></tbody></table>

Next Call to Simulate

<table data-header-hidden><thead><tr><th width="99"></th><th width="77"></th><th width="94"></th><th width="126"></th></tr></thead><tbody><tr><td>From</td><td>To</td><td>Length</td><td>Arrival Time</td></tr><tr><td>1</td><td>7</td><td>20</td><td>1057</td></tr><tr><td>3</td><td>6</td><td>98</td><td>1063</td></tr><tr><td>1</td><td>5</td><td>132</td><td>1082</td></tr><tr><td>2</td><td>4</td><td>30</td><td>1125</td></tr><tr><td>7</td><td>8</td><td>20</td><td>1150</td></tr></tbody></table>

<table data-header-hidden><thead><tr><th width="92"></th><th width="58"></th><th width="90"></th><th width="127"></th><th width="105"></th></tr></thead><tbody><tr><td>From</td><td>To</td><td>Length</td><td>Arrival Time</td><td>End Time</td></tr><tr><td>1</td><td>7</td><td>20</td><td>1057</td><td>1077</td></tr><tr><td>3</td><td>6</td><td>98</td><td>1063</td><td>1161</td></tr><tr><td>1</td><td>5</td><td>132</td><td>1082</td><td>1214</td></tr><tr><td>2</td><td>4</td><td>30</td><td>1125</td><td>1155</td></tr><tr><td>7</td><td>8</td><td>20</td><td>1150</td><td>1170</td></tr></tbody></table>

<table data-header-hidden><thead><tr><th width="66"></th><th></th><th width="77"></th><th width="83"></th><th width="47"></th><th width="40"></th><th width="122"></th><th width="73"></th><th width="77"></th><th width="80"></th><th width="57"></th><th width="90"></th></tr></thead><tbody><tr><td>SL</td><td></td><td>Clock Time</td><td>Event Name</td><td>From</td><td>To</td><td>Call Status</td><td>Link Used</td><td>Processed</td><td>Completed</td><td>Blocked</td><td>Busy</td></tr><tr><td>1</td><td></td><td> </td><td> </td><td> </td><td> </td><td> </td><td>2</td><td>131</td><td>98</td><td>5</td><td>28</td></tr><tr><td>2</td><td></td><td>1053</td><td>End</td><td>2</td><td>5</td><td>Completed</td><td>1</td><td>132</td><td>99</td><td>5</td><td>28</td></tr><tr><td>3</td><td></td><td>1057</td><td>Arrival</td><td>1</td><td>7</td><td>Busy</td><td>1</td><td>133</td><td>99</td><td>5</td><td>29</td></tr><tr><td>4</td><td></td><td>1063</td><td>Arrival</td><td>3</td><td>6</td><td>Call Established</td><td>2</td><td>133</td><td>99</td><td>5</td><td>29</td></tr><tr><td>5</td><td></td><td>1075</td><td>End</td><td>4</td><td>7</td><td>Completed</td><td>1</td><td>134</td><td>100</td><td>5</td><td>29</td></tr><tr><td>6</td><td></td><td>1082</td><td>Arrival</td><td>1</td><td>5</td><td>Call Established</td><td>2</td><td>134</td><td>100</td><td>5</td><td>29</td></tr><tr><td>7</td><td></td><td>1125</td><td>Arrival</td><td>2</td><td>4</td><td>Call Established</td><td>3</td><td>134</td><td>100</td><td>5</td><td>29</td></tr><tr><td>8</td><td></td><td>1150</td><td>Arrival</td><td>7</td><td>8</td><td>Blocked</td><td>3</td><td>135</td><td>100</td><td>6</td><td>29</td></tr><tr><td>9</td><td></td><td>1155</td><td>End</td><td>2</td><td>4</td><td>Completed</td><td>2</td><td>136</td><td>101</td><td>6</td><td>29</td></tr><tr><td>10</td><td></td><td>1161</td><td>End</td><td>3</td><td>6</td><td>Completed</td><td>1</td><td>137</td><td>102</td><td>6</td><td>29</td></tr><tr><td>11</td><td></td><td>1214</td><td>End</td><td>1</td><td>5</td><td>Completed</td><td>0</td><td>138</td><td>103</td><td>6</td><td>29</td></tr></tbody></table>
