I have a client with 2 vonage ATA (3 PSTN) lines. Each of the primary lines are registered to a different area code. The UC520 setup has one ata as a local for #1 area code (905) while the other is local for the second area code (705). A third line is a DID Fax.
However, when I config the dial plan to use the appropriate local line for outgoing I cant seem to have the call select the proper outgoing trunk for that local line. I have tried using the full 10 digit number or 7 digits and still no success. I have tested the dial plan and see with SIP it is using the primary SIP server followed by secondary SIP servers then round robin for all four FXO's even though the 4th FXO is disabled. All the FXO's are precedence of 5.
Switching to PSTN only offers the FXO ports in a round robin fashion with the same results.
I have setup two PSTN trunk groups with only one FXO for each local area code and set them as the preferred trunk but in every example CCA defaults to a round robin or random trunk selection using all 4 FXO's. Oddly the FXO's also show precedence of 5 even though I have changed these with no apparent difference.
Has anyone else run up against this problem and/or have any suggestions for me here?