Hi all.
This is a recurrent issue in Mexico, sometimes the customer wan to make or receive calls by R2 trunk, but sometimes the call is completed and sometimes not.
To test this issue I took some logs in the U19, the ISP was saying that all the channel were available, we made some test calls some of them are ok, we can see these calls in the resource tab > E1/T1 status, the completed calls appears as working and the unsuccessful calls doesn't appears in this tab.

After review the route parameters we find that the call was trying to go out correctly in the same way as the other ones. Then we changed the line selection mode to ASCENDING to perform more tests, I found that the call are completed from channel 1 to 10 and the uncompleted calls tried to go out using the channels 11 to 31, this issue is caused because the carrier sends the channels as IDLE, when the channel is not working, so we need to block the unused ports to complete all the calls succesfully.
In the case mentioned above, we need to block the ports from the 11 to 31 with the following command:
block circuit circuittype r2 startno 11 endno 31

The result of the command is the following:

After this change was applied, all the incoming and outgoing calls are completed succesfully.
