cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
221
Views
0
Helpful
2
Replies

call routing

jmecklenburg
Level 2
Level 2

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 2

iptuser55
Level 6
Level 6

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 ?

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