cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
627
Views
0
Helpful
5
Replies

dial peer

anitachoi3
Level 1
Level 1

Hi,

I setup the voip gateway to handle the voice calls.

The TW voice calls will come from first two T1 circuits (dial peer 88601 and 88602), the gateway will pass the TW calls to TW gateway (dial peer 88603).

the last two T1 will send HK calls to provider for termination (dial peer 85201, 85202).

Following is the config. is it correct? any missing? what is different between "incoming called-number" and "destination-pattern"?

rgds

R1

!

dial-peer voice 88601 pots

descr receive 886 call

incoming called-number 886

port 0:D

!

dial-peer voice 88602 pots

descr receive 886 call

incoming called-number 886

port 1:D

!

dial-peer voice 88603 voip

description tw gateway

destination-pattern 886

session target ipv4:192.168.x.x

!

dial-peer voice 85201 pots

descr hk local call

destination-pattern 852

direct-inward-dial

port 2:D

!

dial-peer voice 85202 pots

descr hk local call

destination-pattern 852

direct-inward-dial

port 3:D

!

5 Replies 5

Brandon Buffin
VIP Alumni
VIP Alumni

Is the provider only sending you 3 digits (886 for example)? You will need the direct-inward-dial command on your 2 inbound dial peers (88601 and 88602), but not on your outbound dial peers (85201 and 85202)

Take a look at the difference between incoming called-number and destination-patter in the link below. Incoming called-number matches DNIS and is used for inbound dial peers. Destination-pattern matches ANI on inbound dial peers and DNIS on outbound dial peers and is generally used for outbound dial peers.

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

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

Brandon

Hi Brandon,

So, the config should be below. I put the "." after the 886 and 852.

any missing?

dial-peer voice 88601 pots

descr receive 886 call

incoming called-number 886.

direct-inward-dial

port 0:D

!

dial-peer voice 85202 pots

descr hk local call

destination-pattern 852.

port 3:D

886. would indicate a 4 digit number starting with 886. If you want to include any number starting with 886, you can use 886T. If you want to include any incoming number, you can use "incoming called-number ." Also, you will still need an outbound dial peer to match for this pattern.

Brandon

your peers should look something like this

dial-peer voice 88601 pots

descr receive 886 call

destination-pattern 886....

forward-digits all

port 0:D

!

dial-peer voice 88602 pots

descr receive 886 call

incoming called-number .T

port 1:D

!

dial-peer voice 88603 voip

description tw gateway

incoming called-number .T

destination-pattern 886....

session target ipv4:192.168.x.x

!

dial-peer voice 85201 pots

descr hk local call

destination-pattern 852....

direct-inward-dial

forward-digits all

port 2:D

!

dial-peer voice 85202 pots

descr hk local call

incoming called-number .T

direct-inward-dial

port 3:D

Hi,

For the "dial-peer voice 88602 pots"

The voice call is coming from "port 1:d" and the destination number they call is 886.

I do not understand "dial-peer voice 88603 voip"

why

incoming called-number .T

destination-pattern 886....

are configured?

does it send voice traffic to 192.168.x.x gateway? (not receive voice traffic)

for the "dial-peer voice 85201 pots ", it sends traffic to "port 2:d"

for the "dial-peer voice 85202 pots", it receives traffic from "port 3:d"

is it correct?

rgds

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: