СвязьПроект http://old.xdsl.ru/svpro/ |
|
Помогите разобраться с конфигом VOIP на Cisco 2921. http://old.xdsl.ru/svpro/viewtopic.php?f=6&t=3401 |
Страница 1 из 1 |
Автор: | gissarsky [ 04 апр 2013, 11:02 ] |
Заголовок сообщения: | Помогите разобраться с конфигом VOIP на Cisco 2921. |
Здравствуйте, Имеется Cisco 2921, которую мне дали недавно обслуживать. Хочу сразу прояснить ситуацию раньше не никогда не занимался голосом и времени на разбор конфига дали мало, читал мануалы, ходил по форумам, но нужной информации не нашел. Что разобрал, но осталась куча вопросов. Собственно сами вопросы(конфиг прилагается): 1) Интересуют dial peer-ы, c исходящими более менее разобрался, а вот с входящим путаница(интересует dial-peer voice 16 voip и dial-peer voice 15 voip) 2)Интересуют voice translation-rule 2 и voice translation-rule 150, как они работают в связке с dial peer-ами 3) На порту voice-port 0/0/0 прикручена обычная телефонная линия и идет в Reception(предыдущий админ не смог настроить, чтобы входящие из вне звонки на прямую попадали на телефон ресепшена),задача стоит в том, чтобы убрать ее отуда и перенаправлять сначала звонки на IVR и потом уже на ресепшен 4) Куда отправляет команда call-forward busy 150, настроенная на ephone-dn и что при этом происходит. no ipv6 cef no ip source-route ip cef ! ! ! ip multicast-routing ip dhcp excluded-address 10.144.204.1 10.144.204.5 ! ip dhcp pool PHONES network 10.144.204.0 255.255.255.128 default-router 10.144.204.1 option 150 ip 10.144.204.1 ! ! ip domain name xxxxxx ip name-server 8.8.8.8 multilink bundle-name authenticated ! ! ! ! ! crypto pki token default removal timeout 0 ! crypto pki trustpoint TP-self-signed-1893858294 enrollment selfsigned subject-name cn=IOS-Self-Signed-Certificate-1893858294 revocation-check none rsakeypair TP-self-signed-1893858294 ! ! voice-card 0 dspfarm dsp services dspfarm ! ! ! voice service pots ! voice service voip allow-connections h323 to h323 allow-connections h323 to sip allow-connections sip to h323 allow-connections sip to sip fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none h323 sip early-offer forced ! voice class codec 1 codec preference 1 g711alaw codec preference 2 g711ulaw codec preference 3 g729r8 ! voice class sip-profiles 1 request INVITE sip-header To modify "<sip:0(.*)@(.*)>" "<sip:33#\1@\2>" request INVITE sip-header Session-Header modify "<sip:0(.*)@(.*)>" "<sip:33#\1@\2>" ! ! voice hunt-group 1 sequential list 220,038xxxxxx timeout 15 pilot 110 ! ! ! ! voice translation-rule 1 rule 1 /0\(.*\)/ /33*\1/ ! voice translation-rule 2 rule 1 /94../ /\0/ rule 2 /\(.*\)/ /9450/ ! voice translation-rule 150 rule 1 /^9450$/ /151/ ! ! voice translation-profile PSTN-IN translate called 150 ! voice translation-profile PSTN-OUT translate calling 2 translate called 1 ! ! license udi pid CISCO2921/K9 sn FHK1438F2NJ license accept end user agreement hw-module pvdm 0/0 ! hw-module sm 1 ! redundancy ! ! ip ssh version 2 ! ! ! ! interface Loopback0 ip address 1.1.1.1 255.255.255.255 ! interface Embedded-Service-Engine0/0 no ip address shutdown ! interface GigabitEthernet0/0 no ip address duplex auto speed auto ! interface GigabitEthernet0/0.2 encapsulation dot1Q 2 native ip address 169.xxxx.xx.xxx 255.255.255.128 ! interface GigabitEthernet0/0.8 encapsulation dot1Q 900 ip address 10.144.204.1 255.255.255.128 ! interface GigabitEthernet0/1 description Interface to xxxx VOIP ip address 82.xxxx.xx.xx 255.255.255.0 no ip proxy-arp duplex auto speed auto ! interface GigabitEthernet0/2 ip address 82.xxxx.xx.xx 255.255.255.248 ip access-group INET-IN in duplex auto ! interface Integrated-Service-Engine1/0 ip unnumbered GigabitEthernet0/0.8 no ip unreachables ip nbar protocol-discovery service-module ip address 10.144.204.2 255.255.255.128 !Application: CUE Running on NME service-module ip default-gateway 10.144.204.1 no keepalive ! ip forward-protocol nd ! ip http server no ip http secure-server ip http timeout-policy idle 60 life 86400 requests 10000 ip http path flash:gui ! ip route 0.0.0.0 0.0.0.0 82.215.xxx.xxx ip route 10.7.x.x 255.255.255.255 82.xxx.xx.xx ip route 10.7.y.y 255.255.255.255 82.xxxx.xx.xx ip route 10.144.204.2 255.255.255.255 Integrated-Service-Engine1/0 ! ip access-list extended INET-IN deny udp any any eq 5060 deny tcp any any eq 5060 deny udp any any eq 1719 deny tcp any any eq 1719 deny udp any any eq 1720 deny tcp any any eq 1720 permit ip any any permit icmp any any ! ixi transport http response size 8 no shutdown request outstanding 2 request timeout 30 ! ixi application cme response timeout 30 no shutdown ! ! ! control-plane ! ! voice-port 0/0/0 cptone RU connection plar opx 151 description xxxxxxx caller-id enable ! voice-port 0/0/1 ! voice-port 0/0/2 ! voice-port 0/0/3 ! voice-port 0/1/0 ! voice-port 0/1/1 ! voice-port 0/1/2 ! voice-port 0/1/3 ! ccm-manager config ! ! mgcp profile default ! sccp local GigabitEthernet0/0.8 sccp ccm 10.144.204.1 identifier 1 priority 1 version 7.0 sccp ! sccp ccm group 1 associate ccm 1 priority 1 associate profile 1 register conf-bridge associate profile 2 register xcoder ! dspfarm profile 2 transcode codec g711ulaw codec g711alaw codec g729ar8 codec g729r8 maximum sessions 8 associate application SCCP ! dspfarm profile 1 conference codec g711ulaw codec g711alaw codec g729ar8 codec g729r8 maximum sessions 4 associate application SCCP ! dial-peer voice 92 voip description Emergency translation-profile outgoing PSTN-OUT destination-pattern 00[1-4]$ session target ipv4:10.7.x.x dtmf-relay h245-alphanumeric codec g711ulaw no vad ! dial-peer voice 97 voip description PSTN-LOCAL translation-profile outgoing PSTN-OUT destination-pattern 0[1-79]......$ session target ipv4:10.7.x.x dtmf-relay h245-alphanumeric codec g711ulaw no vad ! dial-peer voice 98 voip description PSTN-LONGDIST translation-profile outgoing PSTN-OUT destination-pattern 08[02-9][1-9]T session target ipv4:10.7.x.x dtmf-relay h245-alphanumeric codec g711ulaw no vad ! dial-peer voice 910 voip description PSTN-INTERNATIONAL translation-profile outgoing PSTN-OUT destination-pattern 0810T session protocol sipv2 session target ipv4:10.7.y.y voice-class codec 1 dtmf-relay rtp-nte no vad ! dial-peer voice 16 voip tone ringback alert-no-PI translation-profile incoming PSTN-IN destination-pattern ^111$ progress_ind setup enable 3 progress_ind progress enable 1 session target ipv4:10.7.x.x incoming called-number ^94..$ dtmf-relay h245-alphanumeric codec g711ulaw no vad ! dial-peer voice 15 voip tone ringback alert-no-PI destination-pattern ^15.$ progress_ind setup enable 3 session protocol sipv2 session target ipv4:10.144.204.2 dtmf-relay rtp-nte codec g711ulaw no vad ! dial-peer voice 93 voip description CALLS destination-pattern 10[1-3] translate-outgoing called 3 session target ipv4:10.7.x.x tech-prefix 101# dtmf-relay h245-alphanumeric codec g711ulaw no vad ! ! ! presence presence call-list watcher all allow subscribe ! sip-ua presence enable ! ! ! gatekeeper shutdown ! ! telephony-service sdspfarm units 2 sdspfarm transcode sessions 8 sdspfarm tag 1 conf-bridge sdspfarm tag 2 xcoder conference hardware authentication credential admin ITS-pas465 xml user xml password XML-pas456 15 max-ephones 50 max-dn 50 ip source-address 10.144.204.1 port 2000 system message Welcome to SSI TRO url services http://10.144.204.2 url authentication http://10.144.204.1 cnf-file location flash: load 7915-24 B015-1-0-4 load 7906 SCCP11.8-4-2S.loads load 7911 SCCP11.8-4-2S.loads load 7921 CP7921G-1.2.1 load 7925 CP7925G-1.3.1 load 7931 SCCP31.8-4-2S.loads load 7937 apps37sccp.1-2-1-0.bin load 7941 SCCP41.8-4-2S.loads load 7942 SCCP42.8-4-2S.loads load 7945 SCCP45.8-4-2S.loads load 7961 SCCP41.8-4-2S.loads load 7962 SCCP42.8-4-2S.loads load 7965 SCCP45.8-4-2S.loads load 7970 SCCP70.8-4-2S.loads load 7971 SCCP70.8-4-2S.loads load 7975 SCCP75.8-4-2S.loads time-zone 37 time-format 24 date-format dd-mm-yy voicemail 150 max-conferences 4 gain -6 call-park system application call-forward system redirecting-expanded moh flash:/music-on-hold.au multicast moh 239.1.1.1 port 2000 web admin system name admin secret 5 xxxxx dn-webedit time-webedit transfer-system full-consult transfer-pattern . transfer-pattern .T log table retain-timer 30 log table max-size 100 secondary-dialtone 0 create cnf-files version-stamp 7960 Aug 21 2012 18:31:02 ! ! ephone-template 11 softkeys hold Newcall Resume softkeys idle Redial Newcall Gpickup softkeys seized Redial Endcall Cfwdall Gpickup softkeys alerting Endcall softkeys connected Endcall Confrn Trnsfer Park softkeys ringing Answer Dnd night-service bell ! ! ephone-template 12 softkeys hold Newcall Resume softkeys idle Redial Newcall Gpickup softkeys seized Redial Endcall Cfwdall Gpickup softkeys alerting Endcall softkeys connected Endcall Confrn Trnsfer Park Hold softkeys ringing Answer Dnd night-service bell ! ! ! ephone-dn 1 octo-line number 9459 secondary 220 pickup-group 1 label 220 description xxxxx name IT SUPPORT allow watch call-forward busy 150 call-forward noan 038xxxxx timeout 15 ! ! ephone-dn 2 octo-line number 208 pickup-group 1 label 208 description xxxxx name Visiters room allow watch call-forward busy 150 call-forward noan 150 timeout 10 ! ! ephone-dn 3 octo-line number 218 pickup-group 1 label 218 description xxxxx name xxxx, xxxx allow watch no huntstop ! ! ephone-dn 4 octo-line number 9460 secondary 217 pickup-group 1 label 217 description xxxxxx name xxxxx, xxxxxx allow watch call-forward busy 150 call-forward noan 150 timeout 30 ! ! ephone-dn 5 octo-line number 210 pickup-group 1 label 210 description xxxxxx name Drivers allow watch call-forward busy 150 call-forward noan 150 timeout 35 ! ! ! ephone-dn 6 octo-line number 107 pickup-group 1 label 107 description xxxxxxx name Conf3 allow watch ! ! ephone-dn 7 octo-line number 9453 secondary 205 pickup-group 1 label 205 description xxxxxx name xxxxx, xxxxxx allow watch call-forward all 096xxxxx call-forward busy 150 call-forward noan 150 timeout 30 ! ! ephone-dn 8 octo-line number 9450 secondary 100 pickup-group 1 label 100 description xxxxxx name Reception allow watch call-forward busy 150 call-forward noan 150 timeout 30 ! ! ephone-dn 9 octo-line number 9463 secondary 200 pickup-group 1 label 200 description xxxxxx name xxxxxx, xxxxx allow watch call-forward busy 150 call-forward noan 150 timeout 30 ! ! ephone-dn 10 octo-line number 9452 secondary 204 pickup-group 1 label 204 description xxxxxx name xxxxx xxxxx, xxxxx allow watch call-forward busy 150 call-forward noan 218 timeout 20 ! ! ephone-dn 11 octo-line number 9462 secondary 207 pickup-group 1 label 207 description xxxxx name xxxxx, xxxxx allow watch call-forward busy 150 call-forward noan 150 timeout 30 ! ! ephone-dn 12 octo-line number 9464 secondary 222 pickup-group 1 label 222 description xxxxx name xxxxx, xxxxx allow watch call-forward busy 150 call-forward noan 150 timeout 30 ! ! ephone-dn 13 octo-line number 9454 secondary 215 pickup-group 1 label 215 description xxxxx name xxxxx allow watch call-forward busy 150 call-forward noan 150 timeout 30 ! ! ! ! ephone 1 description xxxxxx mac-address D057.DExx.xxxxx ephone-template 11 max-calls-per-button 4 busy-trigger-per-button 2 username "xxxxx" password xxxxx speed-dial 1 03xxxxxxx label "l1" type 7911 button 1:1 night-service bell ! ! ! ephone 2 park reservation-group 1 mac-address DC7B.xxxx.xxxx username "server" password xxxxx speed-dial 1 0712xxxxx label "xxxxxx" speed-dial 8 023xxxxxxlabel "Ixxxx" type 7911 button 1:2 ! ! ! ephone 3 description xxxx, xxxx mac-address D057.4Cxxx.xxxx ephone-template 11 speed-dial 8 023xxxxx label "Inter" type 7911 button 1:3 ! ! ! ephone 4 description xxxxxx mac-address DC7B.9477.4DAD ephone-template 11 username "xxxxx" password xxxxxx speed-dial 8 023xxxxx label "Inter" type 7911 button 1:4 ! ! ! ephone 5 description Drivers mac-address DC7B.94xx.xxxx ephone-template 11 username "xxxx" password xxxxx speed-dial 8 023xxxxx label "Inter" type 7911 button 1:5 ! ! ! ephone 6 description conf3 mac-address 0004.F2xx.xxxx ephone-template 11 speed-dial 8 023xxxx label "Inter" type 7937 button 1:6 ! ! ! ephone 7 description xxxxx mac-address E804.62xx.xxxx ephone-template 12 username "xxxx" password xxxx speed-dial 8 023xxxxx label "Inter" type 7962 button 1:7 ! ! ! ! ephone 8 description Reception mac-address E804.62xxx.xxxxx ephone-template 11 username "reception" password xxxxx blf-speed-dial 1 204 label "xxx xxxx, xxxx" blf-speed-dial 2 205 label "xxx, xxxx" blf-speed-dial 3 202 label "xxxx, xxxx" blf-speed-dial 4 215 label "xxxx, xxxx" blf-speed-dial 5 222 label "Kxxxx, xxxx" blf-speed-dial 6 207 label "xxxx, xxxx" blf-speed-dial 7 200 label "xxxx, xxxx" blf-speed-dial 8 218 label "xxx, xxxx" blf-speed-dial 9 212 label "xxxx, xxxx" type 7962 addon 1 7915-24 button 1:8 ! ! ! ! ! ! alias exec shcal sh call active voice br |
Автор: | opedgiseehito [ 08 авг 2013, 14:50 ] |
Заголовок сообщения: | полезно |
Бесподобный топик, мне очень интересно )))) |
Страница 1 из 1 | Часовой пояс: UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |