cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
567
Views
10
Helpful
8
Replies

configuring dial-peer voip and pots

peternnaji
Level 1
Level 1

I have a pstn line connected to a router as shown attached. the PSTN number is 2714045. I want pstn calls from the lady id the diagram to ring on extension 1002. Also hw do I configure pots and voip dial-peers on router for extension 1002.

8 Replies 8

Rajesh Revuru
Level 4
Level 4

Peter:

Do you have any dial-peers configured at all. For this inbound call, you can configure something like, where the pstn line is connected to port 1/0/0.

dial-peer voice 2714045 pots

destination-pattern 1002

port 1/0/0

I don't have any dial-peer for now. Before now, I have only installed the callmanager 4.1 and IP Phones; hence calls between IP Phones are just internal calls, no calls are routed outside. I just bought a router because I want to integrate my pstn lines to the router and do away with the pbx.

Peter:

Here is very good document for configuring dial-peers, dial-plan, and digit manipulation

http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fvvfax_c/vvfpeers.htm

thanks ,

i 'll go through it.

jbarcena
Level 9
Level 9

Is your Gateway configured for H.323 or MGCP?

If it is configured for H.323 then the first thing that you need to do is to add the GW on CCM.

1.- Choose Gateway from the device menu in the CCMAdmin webpage

2.- Add a New Gateway and choose H.323 GW

3.- CCM automatically populates the Device Protocol field with H.225. Click Next

4.- In the Device Name field enter the IP Address (recommended) or hostname of the Cisco router that will be acting as the gateway.

5.- Assign a device pool and Insert

Then on the Gateway itself after you have configured it to act as H.323 just create a VoIP dial peer to the CCM server

H323_GW(config)#dial-peer voice 100 voip

H323_GW(config-dial-peer)#destination-pattern 2714045

H323_GW(config-dial-peer)#session target ipv4: ccm-ip-address

-------------------------------------------------------------------

If it is configured for MGCP then:

1.- Add a new gateway on the CCM but this time select MGCP from the Gateway Type menu.

2.- CCM automatically populates the Device Protocol with MGCP protocol. Click Next

3.- For the Domain Name field, enter the unique hostname or fully qualified domain name of the Cisco device that will be acting as the gateway. You MUST enter the exact name that you are using on the GW itself otherwise it won't register with the CCM server.

4.- Assign the GW to a CCMGroup for redundancy

5.- Choose the type of network modules that are used in the MGCP GW

6.- Choose the type of vocie cards that are used and Insert.

On the GW itself you just need to make sure to have the 4 magic commands for MGCP:

ccm-manager mgcp

ccm-manager config

ccm-manager config server

mgcp call agent service-type mgcp

Hope that helps, if it does please rate the post.

//Jorge

Hi Jorge,

thanks for your response. am using h.323, but i was wondering if there ought to be a pots dial-peer config on the router.

No, for what I understand you want to ring a phone that is registered on the CCM server, hence you only need a voip dial-peer that points to the CCM server.

pots dial-peers are used if you have a phone connected directly to a port on the router.

Thanks for your response. I also want to know how to create voip dial-peers to GSM numbers. I am in Nigeria and my GSM number is 08056606065. I want to be able to make calls to my GSM number and also to receive calls from my GSM number with my IP Phone. Same applies to pstn lines.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: