how to pots dial-peers and voip dial-peers

Hello

I have 2 cards installed for my cisco 2801 flash:c2801-spservicesk9-mz.124-24.T2.bin
with CME 7.1. The cards i got are 2port-vic3-2fxs/DID and 2port-vic2-2fxo.
This is the only router which has both multiple IP phones and and  1analog phone connected in it.
The PSTN analog phone: 1-705-267-6097 is connected to the FXS port 0/0/0 and the FXO port 0/1/0 is connected to the PSTN rj11 wall jack.
Since both types of phones (IP and analog) are connected to the same router do i need to configure both pots dial-peers and voip dial-peers in order for this to work and utilize voip the way it should work?
If i do have to create voip dial peers is the session target ipv4: command required and should point to itself since it's all in the same router?

thanks for the help
ibanez7Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

scott30134Commented:
POTS dial peers should be all you need.
config t
dial-peer voice 1 pots
destination-pattern 7052676097
port 0/0/0
dial-peer voice 2 pots
destination-pattern .T
port 0/1/0
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
dinkon4uCommented:
also you need connection plar command under your fxo port

voice-port 0/1/0
connection-plar opx 7052676097



HTH
0
ibanez7Author Commented:
Thanks very much for the help...it works

Can i somehow get the analog phone and one of my IP phones x1004 to both be able to answer an incoming call from PSTN using that same number 1-705-267-6097 ?
Analog phone number = 1-705-267-6097 and IP phone x1004
I know that if i change the connection plar opx 7052676097 to connection plar opx 1004 then the IP phone with x1004 will receive the call, but can i trunk them together somehow?

Thanks very much for the help.
0
Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

scott30134Commented:
Sounds like what you want is a ring group.  Do you want them both to ring and whichever you pick-up gets the call, or do you want one as the primary and to roll to the next if its busy?
I don't know what all you have going on or if you have multi-line phones or not, but you can take this link and see if it helps you figure out what you want to do.  It explains how to do several options.
http://www.ciscopress.com/articles/article.asp?p=401648
0
dinkon4uCommented:
You can modify the setting like this .

dial-peer voice 1 pots
destination-pattern 1004
port 0/0/0

voice-port 0/1/0
connection-plar opx 3500

voice hunt-group 1 broadcast
pilot 3500
list 1004,7052676097


HTH
0
dinkon4uCommented:
You can modify the setting like this .
sorry small change in the previous post need.the previous post is wrong.

dial-peer voice 1 pots
destination-pattern 7052676097
port 0/0/0

voice-port 0/1/0
connection-plar opx 3500

voice hunt-group 1 broadcast
pilot 3500
list 1004,7052676097
0
ibanez7Author Commented:
Thanks very much for your help
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
IP Telephony

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.