-
Type:
Bug
-
Status: Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 15
-
Fix Version/s: None
-
Component/s: Core - Trunks/Routing
-
Labels:None
-
Sprint:Sprint 54
-
Asterisk Version:16.17.0
-
Distro Version:15.0.12.61
-
Distro:FreePBX Distro
When a trunk is deleted, the incorrect record is deleted from the outbound_route_trunks table.
Steps to replicate
1) Create two trunks, they will have and id of 1 and 2 in the trunks table.
2) Create two outbound routes, they will have an id of 1 and 2 in the outbound_routes table.
3) Associate trunk 1 to outbound route 2 and trunk 2 to outbound route 1.
4) Delete trunk 1. You will see that trunk 2 will be removed from outbound route 1.