Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

Dial-Peer Question

Hello,

I have a AS5300 GW with four E1 links. I`m expecting number 555710906. from any of the links. Right now I have configured:

dial-peer voice 17109061 pots

preference 1

incoming called-number 555710906.

destination-pattern 555710906.

direct-inward-dial

port 0:D

!

dial-peer voice 27109061 pots

preference 1

incoming called-number 555710906.

destination-pattern 555710906.

direct-inward-dial

port 1:D

!

dial-peer voice 37109061 pots

preference 1

incoming called-number 555710906.

destination-pattern 555710906.

direct-inward-dial

port 2:D

!

dial-peer voice 47109061 pots

preference 1

incoming called-number 55710906.

destination-pattern 555710906.

direct-inward-dial

port 3:D

Is it possible that configuring just ONE dial-peer I can achieve the same goal that with previous four dial-peers?

Thanks in advance.

1 ACCEPTED SOLUTION

Accepted Solutions
VIP Purple

Re: Dial-Peer Question

Yes, you can. You only need one incoming dial peer such as:

dial-peer voice 47109061 pots

incoming called-number 55710906.

direct-inward-dial

You would then have an outbound dial peer if this call is to be send to CUCM for example:

dial-peer voice 1 voip

destination-pattern 55710906.

session target ipv4:1.1.1.

Hope this helps. If so, please rate the post.

Brandon

12 REPLIES
VIP Purple

Re: Dial-Peer Question

Yes, you can. You only need one incoming dial peer such as:

dial-peer voice 47109061 pots

incoming called-number 55710906.

direct-inward-dial

You would then have an outbound dial peer if this call is to be send to CUCM for example:

dial-peer voice 1 voip

destination-pattern 55710906.

session target ipv4:1.1.1.

Hope this helps. If so, please rate the post.

Brandon

Community Member

Re: Dial-Peer Question

Hello,

Thanks for your answer. I have two more question:

1) Why do you omit destination-pattern and preference parameters in the suggested dial-peer?

2) What if I`m receiving number 55710906. only from three out of the four E1 links?

Thanks a lot.

VIP Purple

Re: Dial-Peer Question

1) You do not need "destination-pattern" and "incoming called-number". With only one inbound dial peer, you do not need the "preference" command. The default preference of 0 will work fine.

2) This is not a problem. The DNIS will match this inbound dial peer for these 3 E1s. If the other E1 has a different DNIS, you can create another dial peer for it to match. Another option, is to have one inbound dial peer that matches all incoming calls such as:

dial-peer voice 1 pots

incoming called-number .

Hope this helps.

Brandon

Community Member

Re: Dial-Peer Question

Thanks a lot. Your answers resolved my issue. But, one final question:

What if I want this dial-peer to work both ways, do I need to include both "destination-pattern" and "incoming called-number"?

VIP Purple

Re: Dial-Peer Question

Yes, you could include both on a single dial peer to make it both an inbound and an outbound dial peer. I would recommend keeping them seperate for clarity.

Hope this helps.

Brandon

Community Member

Re: Dial-Peer Question

Wouldn't this make my config file too large?

VIP Purple

Re: Dial-Peer Question

I'm not sure how large your environment is, but I doubt that having seperate inbound/outbound dial peers would make your config too large. This is especially true if you use one dial peer for incoming calls as I mentioned earlier.

Brandon

Community Member

Re: Dial-Peer Question

Ok, it is good to know.

Thanks, I really aprecciate your help.

Community Member

Re: Dial-Peer Question

I having a problem. If dont specify the port number the call fails. Any suggestions?

VIP Purple

Re: Dial-Peer Question

Can you post a "show run"?

Brandon

Re: Dial-Peer Question

A little bit about call legs. Every call that a VG handles has two legs, minimuim; An inbound call leg and an outbound call leg. The outbound call leg is definitely more important: It indicates what protocol and destination the call should be routed to, as well as information about how the call should be setup.

Inbound call legs are used to control the preferred protocols for call setup negiotiation and can also be used to perform digit manipulation. It is not required to setup a dial-peer for inbound call legs because there are hidden default dial-peer that do this.

A single dial-peer can be used for both inbound and outbound call legs for different calls. (Typically, a dial peer cannot be used as the inbound and outbound on the *same* call.) For example, this dial-peer

dial-peer voice 99 pots

destination-pattern 9..........

port 2/0/0:23

would be the outbound leg on any 9+10-digit calls that came from a voip dial-peer and would be the inbound call leg on any calls that were inbound on the voice T-1.

This is an very good overview on dial peers and call legs.

http://www.cisco.com/en/US/docs/ios/voice/dialpeer/configuration/guide/vd_dp_overview.html

Community Member

Re: Dial-Peer Question

one Question about dial-peer, that can we handle signals of channel through Dial-peer ... let supose i have two BRI physical interface (it means logical 4channels and it means only 4users can call parallel)let suppose i have total 20users & according to requirement, customer wants that his Manager's line should never be busy or should always be free ... is it possible that i split 19users from 3channel and 1user from 1channel ...some one told me it is possible via Dial-peer but he didnt tell how !! do you have any idea for this scenario ???

thanks in advance !!!

280
Views
0
Helpful
12
Replies
CreatePlease to create content