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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

call routing

Hi, i need routing the calls for diferent voice gateway.

The call from 4000 whit destination 909[6-9]T go to E1 attach yo AS5350XM.

and the call from 4004 whit destination 909[6-9]T go to E1 in the gateway 2811 in 172.27.0.9

the dial-peer configuration is:

dial-peer voice 10 pots

trunkgroup CLARO

tone ringback alert-no-PI

description ***PREPAGO CELULARES CLARO***

answer-address 4000

destination-pattern 909[6-9].......

incoming called-number 4000

direct-inward-dial

prefix 09

!

dial-peer voice 11 voip

tone ringback alert-no-PI

description ***PREPAGO LOCALES***

answer-address 4000

destination-pattern 9.......

progress_ind setup enable 3

redirect ip2ip

session target ipv4:172.27.0.9

dtmf-relay rtp-nte

codec g711ulaw

!

dial-peer voice 50 voip

tone ringback alert-no-PI

description ***ADMINISTRATIVOS CELULARES***

answer-address 4004

destination-pattern 909[6-9].......

progress_ind setup enable 3

redirect ip2ip

session target ipv4:172.27.0.9

incoming called-number 4004

dtmf-relay rtp-nte

codec g711ulaw

!

dial-peer voice 51 voip

tone ringback alert-no-PI

description ***ADMINISTRATIVOS LOCALES***

answer-address 4004

destination-pattern 9.......

progress_ind setup enable 3

redirect ip2ip

session target ipv4:172.27.0.9

dtmf-relay rtp-nte

codec g711ulaw

but when call from 4004 to 909[6-9]....... the go to dial-peer 10

Saludos!

fixie rider
2 REPLIES
Silver

Re: call routing

Is it not because the match is in dial-peer order and that the destination-pattern is checked first and if there is a match it then looks at the order of the possible matches i.e Dial-Peer 10 is matched first ?

New Member

Re: call routing

but, i have anwnser incoming command apply in dial-peer.

in this case, the call number match whit 2 dial-peer in destination-patter OK.... call go for the first... but the dial-peer have two condition, the destination-patter and anwser incoming why call whit the dial-peer doesn't match?

fixie rider
115
Views
0
Helpful
2
Replies
CreatePlease to create content