>А нам покажи диал-пиры с №1 и №2 диал пиры №1
с корр листами
------------------------------------------------------
dial-peer cor custom
name GOROD
name MEZHGOROD
name INTERNATIONAL
name LOCAL
name EMERGANCY
name Moscow
name PG
!
dial-peer cor list CALL-GOROD
member GOROD
!
dial-peer cor list CALL-MEZHGOROD
member MEZHGOROD
!
dial-peer cor list CALL-INTERNATIONAL
member INTERNATIONAL
!
dial-peer cor list G-MG-I
member GOROD
member MEZHGOROD
member INTERNATIONAL
member LOCAL
member EMERGANCY
member PG
!
dial-peer cor list G-MG
member GOROD
member MEZHGOROD
member LOCAL
member EMERGANCY
member PG
!
dial-peer cor list G
member GOROD
member EMERGANCY
member PG
!
dial-peer cor list LOCAL
member LOCAL
member EMERGANCY
!
dial-peer cor list CALL-EMERGANCY
member EMERGANCY
!
dial-peer cor list IVR
member GOROD
member MEZHGOROD
!
dial-peer cor list Moscow
member LOCAL
member Moscow
!
dial-peer cor list PG
member PG
!
!
dial-peer voice 861 voip
corlist outgoing CALL-GOROD
description ---to GOROD---
translation-profile outgoing PSTN_Outgoing
destination-pattern 9[1,2,3,4,5,6,7,9]......
b2bua
voice-class codec 1
voice-class sip dtmf-relay force rtp-nte
session protocol sipv2
session target sip-server
tech-prefix 22
dtmf-relay cisco-rtp rtp-nte h245-signal h245-alphanumeric
ip qos dscp cs5 media
ip qos dscp cs4 signaling
no vad
!
dial-peer voice 98 voip
corlist outgoing CALL-MEZHGOROD
description ---to MEZHGOROD---
translation-profile outgoing PSTN_Outgoing
destination-pattern 98..........
b2bua
voice-class codec 1
voice-class sip dtmf-relay force rtp-nte
session protocol sipv2
session target sip-server
tech-prefix 22
dtmf-relay cisco-rtp rtp-nte h245-signal h245-alphanumeric
ip qos dscp cs5 media
ip qos dscp cs4 signaling
no vad
!
dial-peer voice 100 voip
corlist outgoing CALL-EMERGANCY
description ---to Emergancy---
translation-profile outgoing PSTN_Outgoing
destination-pattern 0[1,2,3,4,9]
b2bua
voice-class codec 1
voice-class sip dtmf-relay force rtp-nte
session protocol sipv2
session target sip-server
tech-prefix 861
dtmf-relay cisco-rtp rtp-nte h245-signal h245-alphanumeric
ip qos dscp cs5 media
ip qos dscp cs4 signaling
no vad
!
dial-peer voice 101 voip
corlist outgoing CALL-EMERGANCY
description ---to Information---
translation-profile outgoing PSTN_Outgoing
destination-pattern 0..
b2bua
voice-class codec 1
voice-class sip dtmf-relay force rtp-nte
session protocol sipv2
session target sip-server
tech-prefix 861
dtmf-relay cisco-rtp rtp-nte h245-signal h245-alphanumeric
ip qos dscp cs5 media
ip qos dscp cs4 signaling
no vad
!
dial-peer voice 1000 voip
description ** Incoming call from SIP trunk **
voice-class sip dtmf-relay force rtp-nte
session protocol sipv2
session target sip-server
incoming called-number .%
dtmf-relay sip-notify
ip qos dscp cs5 media
ip qos dscp cs4 signaling
no vad
!
dial-peer voice 1002 voip
description ** star code to SIP trunk **
destination-pattern *..
voice-class sip dtmf-relay force rtp-nte
session protocol sipv2
session target sip-server
dtmf-relay sip-notify
ip qos dscp cs5 media
ip qos dscp cs4 signaling
no vad
!
dial-peer voice 1003 voip
description ** AA from SIP Trunk **
translation-profile incoming AA_Profile
session protocol sipv2
session target sip-server
incoming called-number xxxxxxxxxx
dtmf-relay rtp-nte
codec g711ulaw
ip qos dscp cs5 media
ip qos dscp cs4 signaling
no vad
!
dial-peer voice 810 voip
corlist outgoing CALL-INTERNATIONAL
description ---to INTERNATIONAL---
translation-profile outgoing PSTN_Outgoing
destination-pattern 810T
voice-class codec 1
voice-class sip dtmf-relay force rtp-nte
session protocol sipv2
session target sip-server
tech-prefix 22
dtmf-relay sip-notify
ip qos dscp cs5 media
ip qos dscp cs4 signaling
no vad
!
dial-peer voice 200 voip
corlist outgoing CALL-GOROD
description --- 200 - 289 ---
destination-pattern 2[0-8][0-9]
voice-class codec 1
session target ipv4:192.168.3.1
ip qos dscp cs5 media
ip qos dscp cs5 signaling
!
dial-peer voice 299 voip
corlist outgoing CALL-GOROD
description ---echo hole office 299---
destination-pattern 299
voice-class codec 1
session target ipv4:192.168.3.1
ip qos dscp cs5 media
ip qos dscp cs5 signaling
!
dial-peer voice 298 voip
corlist outgoing CALL-GOROD
description ---290-298---
destination-pattern 29[0-8]
voice-class codec 1
session target ipv4:192.168.3.1
ip qos dscp cs5 media
ip qos dscp cs5 signaling
!
dial-peer voice 1005 voip
translation-profile incoming Incoming9
service aa
destination-pattern 9003
voice-class codec 1
session protocol sipv2
session target ipv4:192.168.2.1
incoming called-number 9003
dtmf-relay rtp-nte
ip qos dscp cs5 media
ip qos dscp cs4 signaling
no vad
!
dial-peer voice 2006 voip
description ** cue IVR **
destination-pattern 9002
b2bua
voice-class sip dtmf-relay force rtp-nte
session protocol sipv2
session target ipv4:192.168.2.254
dtmf-relay sip-notify
codec g711ulaw
no vad
!
dial-peer voice 1 pots
service stcapp
port 0/0/0
!
dial-peer voice 2 pots
service stcapp
port 0/0/1
!
dial-peer voice 3 pots
service stcapp
port 0/0/2
!
!
!
dial-peer voice 1006 voip
corlist incoming IVR
translation-profile incoming Incoming9
service aa160709
destination-pattern 9004
voice-class codec 1
session protocol sipv2
session target ipv4:192.168.2.1
incoming called-number 9004
dtmf-relay sip-notify
ip qos dscp cs5 media
ip qos dscp cs4 signaling
no vad
!
!
dial-peer voice 3001 voip
service cbnm
destination-pattern 9301
voice-class codec 1
session protocol sipv2
session target ipv4:192.168.2.1
incoming called-number 9301
dtmf-relay sip-notify
ip qos dscp cs5 media
ip qos dscp cs4 signaling
no vad
----------------------------------------
диал пиры №2
с корр листами
----------------------------------------
dial-peer cor custom
name GOROD
name MEZHGOROD
name INTERNATIONAL
name LOCAL
!
!
dial-peer cor list CALL-GOROD
member GOROD
!
dial-peer cor list CALL-MEZHGOROD
member MEZHGOROD
!
dial-peer cor list CALL-INTERNATIONAL
member INTERNATIONAL
!
dial-peer cor list G-MG-I
member GOROD
member MEZHGOROD
member INTERNATIONAL
member LOCAL
!
dial-peer cor list G-MG
member GOROD
member MEZHGOROD
member LOCAL
!
dial-peer cor list G
member GOROD
member LOCAL
!
dial-peer cor list LOCAL
member LOCAL
!
dial-peer voice 100 voip
description ---100 to 189---
destination-pattern 1[0-8][0-9]
voice-class codec 1
session target ipv4:192.168.2.1
ip qos dscp cs5 media
ip qos dscp cs5 signaling
!
dial-peer voice 101 voip
corlist outgoing CALL-GOROD
description ---190 to 198---
destination-pattern 19[0-8]
voice-class codec 1
session target ipv4:192.168.2.1
ip qos dscp cs5 media
ip qos dscp cs5 signaling
!
dial-peer voice 1 pots
service stcapp
port 0/2/0
!
dial-peer voice 2 pots
service stcapp
port 0/2/1
!
dial-peer voice 3 pots
service stcapp
port 0/2/2
!
dial-peer voice 4 pots
service stcapp
port 0/2/3
!
dial-peer voice 999999 voip
translation-profile incoming Incoming_Call
service aa160709
destination-pattern 9100
voice-class codec 1
session target ipv4:192.168.3.1
incoming called-number 9100
dtmf-relay rtp-nte
ip qos dscp cs5 media
ip qos dscp cs4 signaling
no vad
!
dial-peer voice 49 voip
corlist outgoing CALL-GOROD
description ---GERMAN 10 to 99---
translation-profile outgoing A_number_for_GERMAN
destination-pattern 49[1-9].
session target ipv4:192.168.2.1
ip qos dscp cs5 media
ip qos dscp cs5 signaling
!
dial-peer voice 50 voip
corlist outgoing CALL-GOROD
description ---GERMAN PSTN---
translation-profile outgoing A_number_for_GERMAN
destination-pattern 490T
voice-class codec 1
session target ipv4:192.168.2.1
ip qos dscp cs5 media
ip qos dscp cs5 signaling
!
dial-peer voice 11111 voip
corlist outgoing CALL-GOROD
description --- PSTN ---
translation-profile outgoing PSTN_Outgoing
destination-pattern 07..........
b2bua
voice-class codec 1
session protocol sipv2
session target sip-server
dtmf-relay rtp-nte
ip qos dscp cs5 media
ip qos dscp cs4 signaling
no vad
!
dial-peer voice 300 voip
description ---Vena---
destination-pattern 3..
voice-class codec 1
session target ipv4:192.168.4.1
ip qos dscp cs5 media
ip qos dscp cs5 signaling
!
dial-peer voice 11112 voip
corlist outgoing CALL-INTERNATIONAL
description Outgoing_International
translation-profile outgoing PSTN_Outgoing
destination-pattern 0810T
b2bua
voice-class codec 1
session protocol sipv2
session target sip-server
dtmf-relay rtp-nte
ip qos dscp cs5 media
ip qos dscp cs4 signaling
no vad
!
dial-peer voice 11113 voip
corlist outgoing CALL-GOROD
description ---to Emergency---
translation-profile outgoing PSTN_Outgoing
destination-pattern 00[1-9]
b2bua
voice-class codec 1
session protocol sipv2
session target sip-server
dtmf-relay rtp-nte
ip qos dscp cs5 media
ip qos dscp cs4 signaling
no vad
!
dial-peer voice 11114 voip
corlist outgoing CALL-GOROD
description ---to Emergency---
translation-profile outgoing PSTN_Outgoing
destination-pattern 000[1-9]
b2bua
voice-class codec 1
session protocol sipv2
session target sip-server
dtmf-relay rtp-nte
ip qos dscp cs5 media
ip qos dscp cs4 signaling
no vad
!
dial-peer voice 1003 voip
description ** AA from SIP Trunk **
translation-profile incoming AA_Profile
voice-class codec 1
session protocol sipv2
session target sip-server
incoming called-number zzzzzzzzzz
dtmf-relay rtp-nte
ip qos dscp cs5 media
ip qos dscp cs4 signaling
no vad