Two trunks with different providers

Hi.
I have two trunks configured on my FREEPBX with two different providers. A call through trunk 1 goes to the IVR menu, which is configured for outgoing calls to city numbers. A call through trunk 2 is configured to another IVR menu, which is also configured for outgoing calls to city numbers. When I create an outgoing route for the second number, all outgoing calls start going through trunk 2, even those that should go through trunk 1.

How can I fix that?
I need calls coming from trunk 1 to be routed to trunk 1 and calls coming from trunk 2 to be routed to trunk 2 after IVR.

Set up a prefix to select the trunk and have the IVR route to the forwarding number with the prefix as part of the number (in the Follow Me, Misc Destination, etc.).

Thanks!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.