The problem in giving you a sample configuration is that I don't know what your network looks like let alone what type of devices you have? I am afraid I can only give you a vaugue answer.
Since you say you have a 7900 series phone, I am making an assumption that your phone is a skinny controlled phone that is controlled by Cisco CallManager. I do not know what type of gateway you have that contains the FXO port, but CallManager has two protocols which it can talk to the gateway. It will either be H323 or MGCP.
If the gateway is MGCP controlled, then what you have to do is configure the FXO port from Call Manager, and then create your appropriate route patterns to point to that endpoint.
If the gateway is an H323 gateway, then you will need to create individual dial-peers
something similar to the following
dial-peer voice 1 pots
dial-peer voice 2 pots
Note that the port numbers will changed based on your specific configuration.
Here is link that discusses dial-peers in more detail.
1. Introduction Internet security is important with the increasing
attacks that are happening every day. Many internet and browsing
security solutions exist, but some are not very easy to use or maybe the
question is how can I enable them? In this referen...
Cisco Software Manager Server API Guide This document describes the
programmatic interfaces, RESTful APIs, which are supported by Cisco
Software Manager Server (CSM Server). Overview CSM Server supports a set
of finite RESTful APIs. The first step to use ...
If you are using Cisco's new linux-based Cisco Software Manager server,
then you probably want to make sure there is a startup service for
it.I'll assume that you've already installed the CSM server on a
systemd-based linux system. The commands given belo...