VOIP and POTS

I have seen a configuration on a router using:
#Dial -peer- voice 2222 Pots
#Destination pattern 22222
#port 0/1/0

is POTS used only when configuring an analog phone plugged to FXS port ?
if it was a digital phone, would we replace POTS keyword with VOIP in the configuration above??

I also have seen a configuration between Routers, but they use VOIP
something like:
#Dial -peer- voice 2222 VOIP

so is between routers , it has  to alwasy be VOIP and never POTS ??

thanks

jskfanAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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.

sr75Commented:
Simple rule of thumb....

If it goes to an IP Address then use VoIP, for everything else use POTS.

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
jskfanAuthor Commented:
is this a rule too:
Between routers and phones use POTS
between routers only use VOIP

sr75Commented:
no.  If the phone plugs into an FXS port then you use POTS.  If the phone has an IP Address you use VOIP.  Also you can have analog trunks go between routers (i don't know why you would but you can) and those would be POTS.  Otherwise, you would use VOIP between routers.
jskfanAuthor Commented:
thanks!
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
Voice Over IP

From novice to tech pro — start learning today.