On my UC500 I have fxo and pri. When making calls the fxo ports are selected first, then if there are no avalible fxo ports the pri is then used. How do I configure the system to use the pri first when making outgoing calls?
All of your outbound dialpeers are marked preference 5. On the dialpeers that point to 0/2/0:23, remove the "preference 5 statement". The default preference on dial-peers is preference 0, and therefore will be selected first. On the dial peers pointing to the fxo ports, you can mark these "preference 1, preference 2, etc, based on what type of behavior you would like to accomplish. See attachment for example.
Hope that helped. If so please rate.