cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
263
Views
8
Helpful
2
Replies

DialPeer configuration

Hello Guys,

When I want to configure a dial-peer a message stating " Could not add peer" displays. Could you please let me know why is this message and how can I work aroung? The router is a 3640.

Also,

Please consider the following two Dial-peers. For a call coming in from PSTN, which Dial-peer is going to be used? Accroding to me the Dial-peer voice 1001 will be used because the call is coming from PSTN therefore it going to use the PRI. Am I right?

dial-peer voice 7000 voip

preference 1

destination-pattern 7577

session target ipv4:172.16.165.10

incoming called-number .

dtmf-relay h245-alphanumeric

codec g711ulaw

no vad

dial-peer voice 1001 pots

preference 1

destination-pattern [2-9].........

direct-inward-dial

port 1/0:23

forward-digits all

Thanks,

2 Replies 2

thisisshanky
Level 11
Level 11

Issue#1:

How many dial-peers do you have on your router already ? I have seen this happen on a 2600 in my lab (12.3) and it would not let me add more than 20-25 dial-peers. I upgraded the memory, and IOS and that seem to have fixed the problem. Remember, that if you have CME or SRST configured on this router, then that adds more dial-peers for each dialplan pattern and ephone-dn that is registered to CME/SRST.

Issue#2:

Since you dont have a incoming called-number and answer-address configured, it will use the ANI and check against dial-peer 1001 (or any other dial-peer that makes a longest match) and match that leg as inbound call leg. Read this link for more details.

http://www.cisco.com/en/US/tech/tk652/tk90/technologies_tech_note09186a008010fed1.shtml

I would recommend adding the command "incoming called-number ." under dial-peer 1001, so that the dial-peer gets matched as the inbound call leg, for calls coming inbound from PSTN. If 4 digit DID is being delivered (say 7577) then that will be send via H323 protocol to 172.16.165.10 using dial-peer 7000.

HTH

Sankar

PS: please remember to rate posts!

Sankar Nair
UC Solutions Architect
Pacific Northwest | CDW
CCIE Collaboration #17135 Emeritus

gpulos
Level 8
Level 8

the dialPeer that would be used for an incoming call from the PSTN is the 0 dialPeer. (default dialPeer)

the voip dialPeer would be used to have the gateway forward the call across the LAN to the host 172.16.165.10.

not sure why the error you state is given, could be a couple of reasons.

if you provide your full configuration, minus sensative ip addresses, and the exact command you are attempting to add as well as the IOS version, we can better assist you.