Dail Pattern for the outbound on Freepbx 17 with TA410 have two line

I am encountering an issue with FreePBX 17 and a Yeastar TA410 FXO VoIP Gateway.

I have three PSTN lines connected to the gateway:

  • Line 1: 0XXXXX700
  • Line 2: 0XXXXX700
  • Line 3: 0XXXXX600

I configured IP-to-Port routing on the TA410 and set up dial patterns in FreePBX to manage outbound calls:

  • Dial pattern 9X. should route calls through 0XXXXX700 (Line 1 or 2).
  • Dial pattern 8X. should route calls through 0XXXXX600 (Line 3).

However, despite these configurations, all outbound calls are still being routed through 0XXXXX700 (Line 1), regardless of the dial pattern used.
It appears that the IP-to-Port routing or dial pattern configuration is not being respected.

From the FreePBX/Asterisk side of things, you might be able to setup a second PJSIP Trunk using a different local IP/port combo eg. bind to 5070, then account for it in a new Outbound Route with only the 8X pattern (keeping the 9X by itself on your main Trunk.)