Upload
hadieu
View
289
Download
14
Embed Size (px)
Citation preview
Business Trunking usluga Telekoma Srbija
Cisco Unified Border Element
Rezultati testova i saveti za implementaciju
Business Trunking usluga Telekoma Srbija
Cisco Unified Border Element
Rezultati testova i saveti za implementaciju
Cisco Confidential 3 © 2010 Cisco and/or its affiliates. All rights reserved.
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 4
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 5
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 6
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 7
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 8
PBX
IP PBX
EBT PVC EBT VLAN
EBT VPN EBT VLAN
IP/MPLS IMS
DSLAM/MSAN
PE PE SBC
EBT PVC
Data and voice gateway Router
EBT VLAN
PE
Data Router or modem
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 9
IP PBX
EBT VLAN EBT VPN EBT VLAN
IP/MPLS IMS Core
Data Router PE PE SBC
PBX
EBT VLAN
PE
Data and voice gateway Router
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 10
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 11
Cisco Confidential 12 © 2010 Cisco and/or its affiliates. All rights reserved.
IP PBX
SHDSL modem
EBT PVC
EBT VLAN EBT VPN
EBT VLAN
IP/MPLS
IMS
DSLAM/MSAN
PE PE SBC
DPI PVC
Data PVC
GRT VPN X
INT VLAN
VLAN X
IP PBX
EBT VLAN EBT VPN EBT VLAN
IP/MPLS
IMS
CE PE PE SBC VLAN X
GRT VPN X INT VLAN
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 13
BizFon
IMS
IP PMLS PSTN PLMN
MTS mobilna VPN grupa
Centrex grupa
On Net Grupa
IP PBX
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 14
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 15
Session Initiation Protocol Request-Line: REGISTER sip:ims.telekomsrbija.com:5060 SIP/2.0 Message Header Via: SIP/2.0/UDP 10.1.1.54:1025;branch=z9hG4bK2714C2 From: <sip:[email protected]>;tag=457462C-0 SIP from address: sip:[email protected] SIP tag: 457462C-0 To: <sip:[email protected]> SIP to address: sip:[email protected] Date: Tue, 09 Mar 2010 10:17:57 GMT Call-ID: 8EFF07FF-2A9711DF-8003B800-EE761A4B User-Agent: Cisco-SIPGateway/IOS-12.x Max-Forwards: 70 Timestamp: 1268129877 CSeq: 7 REGISTER Contact: <sip:[email protected]:1025> Contact Binding: <sip:[email protected]:1025> Expires: 0 [truncated] Authorization: Digest
username="[email protected]",realm="ims.telekomsrbija.com",uri="sip:ims.telekomsrbija.com:5060",response="177a143c0e2d44017773e20d4f88a775",nonce="ee1ae9bb8972d851875e376772335db6",cnonce=
Authentication Scheme: Digest Username: "[email protected]" Realm: "ims.telekomsrbija.com" Authentication URI: "sip:ims.telekomsrbija.com:5060" Digest Authentication Response: "177a143c0e2d44017773e20d4f88a775" Nonce Value: "ee1ae9bb8972d851875e376772335db6" CNonce Value: "D80C9EE5" QOP: auth Algorithm: MD5 Nonce Count: 00000001 Content-Length: 0
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 16
Request-Line: INVITE sip:[email protected]:1025 SIP/2.0 …… To: "381116559803 381116559803"<sip:[email protected]>;cscf
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 17
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 18
Cisco Confidential 19 © 2010 Cisco and/or its affiliates. All rights reserved.
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 20
NMS & OSS SIP Proxy /
Softswitch Media
GW Signaling
Bearer
A
CUBE CUBE
SBCS CUCM
SP N
etwork | C
ustomer Prem
ise
SP-M
anaged |
CUCME
FW/NAT ALG
PSTN
SIP Trunk
Services (Presence,
VM etc)
IP PBX TDM PBX
CUBE
SBC
CUBE
CUBE
CUBE FW/NAT
ALG FW/NAT
ALG
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 21
Connect Method
Feature
Direct trunk Router
Router Running NAT/PAT
Router Running CUBE
Voice Calls Possible X X X X
QoS Can Be Guaranteed X X X
Security X X X
IP Address Hiding X X
Call Counting X
Signaling Interworking (H323/SIP) X
DTMF Interworking X
Transcoding (Any to Any Codec, etc.) X
TCL/VxML (Ability to Run Scripts on Calls) X
Redundancy (HSRP) X X
Routing and rules based on Layer 7 information (i.e. Phone #, codec), Single SP interconnect for multiple services X
Per Call Voice Quality Statistics X
CDR Collection Point for Multiple Entities X
Support for REFER (Note: NOTIFY on DEMAND, Not Subscribed) X X
Support for REFER with NSS to Pass Information X X
Layer 3 Layer 7
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 22
VXML SRST RSVP
Agent
Cisco Unified Border Element Session Management H.323 and SIP Interoperability Demarcation Security
Unified CM Conferencing and
Transcoding
GK
TDM Gateway Voice and Video TDM
Interconnect PSTN Backup
Routing, FW, IPS, QoS
WAN Interfaces
CUBE
Note: Some features/components may require additional licensing
Integrisani mrežni infrastrukturni servisi
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 23
Platform Flow-Through Flow-Around VAD-Off VAD-On
2801 55 75 200
2811 110 150 400
2821 200 300 600
2851 225 325 750
3825 400 500 750
3845 500 600 750
AS5000XM 600 850 3000
2901 100 130 400
2911 200 260 800
2921 400 520 1500
2951 600 780 2500
3925 800 1000 3000
3945 950 1250 4500*
3925E 2100 2500 10000*
3945E 2500 3100 12000*
Based on 15.1.1T, G.711, basic calls, Ethernet egress, CPU NTE 75% *2G memory is required on 3945 for >80CPS
Cisco Confidential 24 © 2010 Cisco and/or its affiliates. All rights reserved.
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 25
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 26
Incoming VoIP Call Outgoing VoIP Call
dial-peer voice 1 voip destination-pattern 1000 session protocol sipv2 incoming called-number .T session target ipv4:192.168.10.50 codec g711ulaw
dial-peer voice 2 voip destination-pattern 2000 session protocol sipv2 session target ipv4:10.10.10.5 codec g711ulaw
1000 2000
CUBE
• Omogućiti SIP-to-SIP pozive
• Neophodno je da postoje Incoming i Outgoing VoIP dial-peer sa definisanim parametrima kao što su: protokol, transport, codec, CAC, QoS i sl.
voice service voip allow-connections sip to sip allow-connections sip to h323 allow-connections h323 to sip allow-connections h323 to h323
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 27
Media Bypasses the CUBE
Media Flow-Around
CUBE
Signal Leg: 1
Media Leg: 1 Media Leg: 2
Media Flow-Through
CUBE
Signal Leg: 2
Signal Leg: 1 Signal Leg: 2
router(config-dial-peer)# media [flow-around | flow-through]
• CUBE po defaultu radi media flow-through, što je i način koji je korišćen za testiranje, tako da nikakva dodatna komanda nije potrebna
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 28
• Da bi se SIP autentifikacija i registracija ostvarila na način na koji Telekom Srbija to očekuje, potrebno je koristiti credentials komandu sa opcijom number: sip-ua credentials number 381116559800 username [email protected] password 7 091F1658485441475E555C7A7B realm ims.telekomsrbija.com
• number - registrar sa kojim će se SIP trunk registrovati
• realm - domen na kome definisani kredencijali važe
• 381116559800 u ovom primeru je vodeći broj
• Ovakva komanda zahteva IOS verzije 15.0(1)XA ili kasniji release: http://www.cisco.com/en/US/docs/ios/voice/command/reference/vr_c6.html#wp1162609
• IOS 15.0 možda zahteva memory upgrade postojećih ISR G1 rutera: http://www.cisco.com/en/US/products/sw/iosswrel/ps5460/prod_bulletins_list.html
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 29
• U ime IP telefona, CUBE obavlja registraciju E.164 telefonskih brojeva na eksterni SIP registrar komandom registrar:
ip domain name ims.telekomsrbija.com ip host ims.telekomsrbija.com 10.0.0.2 sip-ua registrar dns:ims.telekomsrbija.com expires 3600 host-registrar
• Ponovna registracija se obavlja na svakih 3600 sekundi
• host-registrar komanda služi da se host deo diversion i redirect contact SIP header-a popuni ili sa domain name ili sa IP adresom konfigurisanim registrar komandom
• Cisco Unified Communications Manager ne može direktno da se registruje na SIP trunk servis Telekoma Srbije. Potrebno je koristiti Cisco Unified Border Element za ovu svrhu
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 30
ip domain name ims.telekomsrbija.com ip host ims.telekomsrbija.com 10.0.0.2 sip-ua sip-server dns:ims.telekomsrbija.com
dial-peer voice 40 voip description From CUBE to Telecom destination-pattern .T session protocol sipv2 session target sip-server
• Globalno definisanje SIP server interfejsa i korišćenje u individualnim dial-peer konfiguracijama:
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 31
voice service voip
allow-connections sip to sip sip header-passing early-offer forced midcall-signaling passthru
• Da bi se omogućilo prosleđivanje SIP headera od i ka SIP porukama INVITE, SUBSCRIBE i NOTIFY, potrebno je koristiti komandu header-passing
• Da bi se očuvao integritet signalizacionih SIP poruka između CUCM i Telekoma, potrebno je koristiti midcall-signaling passthru komandu. SIP poruke sa jednog IP lega se propustaju na drugi IP leg. Napredni servisi bazirani na SIP-SIP RE-INVITE porukama zahtevaju ovu komandu
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 32
• CUCM podržava SIP Offer/Answer model za uspostavu SIP sesije
• Offer ( tip codeca, IP adresa, portovi, media atributi..) je sadržan u SDP ( Session Description Protocol) polju SIP poruke
• CUCM podržava Delayed Offer ( Inicijalna SIP INVITE poruka bez SDP) i Early Offer ( inicijalna SIP INVITE poruka sa SDP)
• Cisco preporučuje upotrebu DO za outbound pozive jer se tada ne zahteva MTP: http://www.cisco.com/en/US/docs/voice_ip_comm/cucm/srnd/8x/trunks.html#wp1126420
• Ako SP zahteva EO, onda je potrebno na CUBE raditi DO-EO konverziju
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 33
• Pri uspostavi SIP trunka od CUCM ka Telekomu Srbija kroz CUBE, jedna od opcija je da se koristi MTP na CUCM. U tom slučaju koristi se fiksni codec! Ako je primarni codec npr. G.711, morao bi da se pravi poseban SIP trunk za npr. G.729 codec
• Da bi se omogućilo dogovaranje codeca koji će se koristiti između CUCM i Service Provider-a, potrebno je isključiti MTP na CUCM i konfigurisati CUBE da radi Delayed-Offer-to-Early-Offer ka IP PSTN.
• SIP DO-to-EO konverzija od CUCM ka Telekomu ostvaruje se na CUBE komandom early-offer forced.
• SIP INVITE poruke ka Telekomu se šalju sa Early Offer opcijom
• U okviru dial-peer koji radi DO-to-EO konverziju, koristi se voice-class codec koji uključuje G729 i G711 po željenom redosledu
voice service voip allow-connections sip to sip sip early-offer forced
voice class codec 1 codec preference 2 g711alaw codec preference 3 g729r8 codec preference 4 g729br8
dial-peer voice 10 voip !description From CUCM to CUBE session protocol sipv2 session target sip-server incoming called-number . voice-class codec 1
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 34
• SIP profili obezbeđuju mehanizam da se SIP poruke prilagode na granici mreže da bi se obezbedila interoperabilnost između uređaja koji su inače nekompatibilni
Incoming Outgoing
INVITE sip:[email protected]:5060; user=phone SIP/2.0
INVITE sip:[email protected]:5060; SIP/2.0
voice class sip-profiles 100 request INVITE sip-header SIP-Req-URI modify "; SIP/2.0" ";user=phone SIP/2.0" request REINVITE sip-header SIP-Req-URI modify "; SIP/2.0" ";user=phone SIP/2.0"
Add user=phone for INVITEs
Modify a “sip:” URI to a “tel:” URI in INVITEs
Incoming Outgoing
INVITE tel:2222000020 INVITE sip:[email protected]:5060
voice class sip-profiles 100 request INVITE sip-header SIP-Req-URI modify "sip:(.*)@[^ ]+" "tel:\1" request INVITE sip-header From modify "<sip:(.*)@.*>" "<tel:\1>" request INVITE sip-header To modify "<sip:(.*)@.*>" "<tel:\1>"
Interworking
CUBE
CUBE
SIP nekompatibilnost se javlja usled: Uređaj odbacuje nepoznat header
(vrednost ili parametar) umesto da ga ignoriše
Uređaj šalje nepravilan podatak u SIP poruci
Uređaj ne primenjuje (ili pogrešno primenjuje) protokol procedure
Uređaj očekuje opcioni header vrednost/parametar SIP headera koji može biti implementiran na različite načine
Uređaj šalje vrednost/parametar koji mora biti promenjen ili uklonjen pre nego uđe/izađe iz enterprise mreže da bi bio u skladu sa određenim pravilima
Variacije u SIP standardima na temu kako ostvariti određene funkcije
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 35
• SIP profil za promenu media direction atributa SIP ACK, 200 i RE-INVITE poruka koju CUCM šalje kada se radi hold ili transfer:
• Ovaj SIP profil je primenjen na incoming i outgoing dial-peer
• Bez ovog SIP profila neće raditi funkcije kao što su hold i forward
• Primeri konfiguracije SIP profila: http://www.cisco.com/en/US/products/sw/voicesw/ps5640/products_configuration_example09186a0080982499.shtml#sip_messages
voice class sip-profiles 15 request ACK sdp-header Audio-Attribute modify "recvonly" "sendrecv" response 200 sdp-header Audio-Attribute modify "recvonly" "sendrecv" request REINVITE sdp-header Audio-Attribute modify "inactive" "sendrecv"
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 36
• Kada primi DID (Direct Inward Dialing) poziv, Cisco IOS gateway routira ovaj poziv na osnovu “Req URI” headera.
• Telekom Srbija rutira na osnovu “To” headera u okviru kojeg šalje DID broj
• Da bi Cisco IOS Gateway rutirao na osnovu “To” headera, potrebno je koristiti odgovarajuću TCL skriptu
Application service TORoute flash:TORoute.tcl
dial-peer voice 30 voip description From Telecom to CUBE service TORoute session protocol sipv2 session target sip-server incoming called-number 3811165598..
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 37
Router#sh call application voice TORoute
Script Name : TORoute URL : flash:TORoute.tcl Type : Service State: Registered Life : Configured Exec Instances: 0
Parameters registered under TORoute namespace: name type default value description retry-count I 3 the number of attempts to reenter PIN redirect-number S the telephone number where a call is redirected to uid-len I 10 the number of digits in UID warning-time I 30 the time (in secs) within which a user is warned before the calling time expires (call terminates) pin-len I 4 the number of digits in PIN
Script Code Begin: -------------------------------- TCL Script version 2.0 - 2.1 proc setup { } {
leg proceeding leg_incoming
set To [infotag get leg_proto_headers "To"] set numero $To regexp {sip:([0-9]+)@} $To w numero puts "\n >>>>> MY-TCL-SCRIPT: To = $To ; numero = $numero \n“ leg setup $numero callInfo leg_incoming }
proc setup_done { } { # # Handle SETUP DONE. # }
proc cleanup { } { call close }
requiredversion 2.0
#---------------------------------- # State Machine #----------------------------------
set fsm(any_state,ev_disconnected) "cleanup same_state" set fsm(CALL_INIT,ev_setup_indication) "setup GETDEST" set fsm(GETDEST,ev_setup_done) "setup_done CALLACTIVE" set fsm(CALLACTIVE,ev_disconnected) "cleanup CALLDISCONNECT" set fsm(CALLDISCONNECT,ev_disconnected) "cleanup same_state" set fsm(CALLDISCONNECT,ev_disconnect_done) "cleanup same_state"
fsm define fsm CALL_INIT Router#
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 38
Promena punog dolaznog PSTN pozvanog broja u četvorocifreni lokal 10xx koji se šalje ka CUCM
voice translation-rule 1 rule 1 /3811165598\(..\)/ /10\1/
voice translation-rule 2 rule 1 /10\(..\)/ /3811165598\1/
voice translation-profile 1 translate called 1
voice translation-profile 2 translate calling 2
dial-peer voice 20 voip description From CUBE to CUCM translation-profile outgoing 1
dial-peer voice 40 voip description From CUBE to Telecom translation-profile outgoing 2
Promena četvorocifrenog pozivajućeg broja lokala 10xx u pun PSTN odlazni pozivajući broj koji se šalje ka Telekomu
Translation profile za promenu pozvanog broja
Translation profile za promenu pozivajućeg broja
Primena translation profile na odgovarajući dial-peer
Primena translation profile na odgovarajući dial-peer
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 39
terminal monitor
debug voice application script voip application script debugging is on
Dec 2 12:24:46.219: //363//TCL :/tcl_PutsObjCmd: ****************** To = "381264155059 381264155059"<sip:[email protected]>;cscf ; numero = 26059 P-Asserted-Identity = <sip:[email protected]> Country = 381 ; Area = 11 ; Broj = 2015273 ; ani=00112015273
Dec 2 12:25:06.702: //365//TCL :/tcl_PutsObjCmd: ****************** To = "MERCATOR_SD Vojvode Djuse"<tel:+381264155000>;cscf ; numero = 26000 P-Asserted-Identity = <sip:[email protected]> Country = 381 ; Area = 11 ; Broj = 2015273 ; ani=00112015273 *****************
• Kada se pozove vodeći broj Telekom Srbija u “To” polju ne šalje DID broj, već opis korisnika:
• Da bi se omogućilo prolazno biranje u ovom slučaju, mora se modifikovati TCL skripta
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 40
proc setup { } {
# local settings
set areaCode 26
set leadNum 000
# end local settings
leg proceeding leg_incoming
set To [infotag get leg_proto_headers "To"]
set numero $To
regexp {sip:[0-9]+([0-9]{3})@} $To w numero
set numero $areaCode$numero
if { [regexp {tel:\+[0-9]+} $To telBroj] } { set numero $areaCode$leadNum }
puts "\n ****************** \n MDS Voip Feat. GURU's: \n To = $To ; numero = $numero \n "
set callInfo(originationNum) $ani
leg setup $numero callInfo leg_incoming
}
proc setup_done { } {
# # Handle SETUP DONE.
• U slučaju poziva vodećeg broja od strane PSTN, opis korisnika se uz pomoć TCL skripte menja u lokal 26000 čime je omogućeno prolazno biranje i za ovaj slučaj
• Za dolazne pozive od PSTN uzimaju se samo zadnje tri cifre pozvanog broja ispred kojih se stavlja 26 kao area code da bi se dobili petocifreni lokali koji se prosleđuju CUCM
• Called ID translacije za call back se takođe mogu raditi kroz TCL skriptu
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 41
• Telekom Srbija očekuje DTMF po RFC2833
• RFC2833 je in-band metoda prenosa DTMF tonova kroz RTP. Out-of-band metode su bazirane na prenosu DTMF tonova kroz signalizacione poruke
• Cisco IOS Gateway podržava prenos DTMF tonova po RFC2833 korišćenjem komande dtmf-relay rtp-nte, tj. RTP with Named Telephone Event (NTE) payload type
dial-peer voice 40 voip description From CUBE to Telecom dtmf-relay rtp-nte
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 42
• Cisco Fax Wiki: https://supportforums.cisco.com/docs/DOC-1360
voice service voip fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback pass-through g711alaw no fax-relay sg3-to-g3
• Fax i modemski pozivi su mogući sa ATA, FXS porta ili preko 3rd party PBX koja je preko E1 povezana na CUBE
• T.38 Fax serveri će možda zahtevati prilagođenje SIP poruka uz pomoć SIP profila
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 43
• SIP autentifikacija i registracija na mrežu Telekoma Srbije
• Codec negotiation
• Poziv korišćenjem G.711 ili G.729 codeca
• Calling Party Number Presentation & Restriction
• Call Hold & Resume
• Call Forward All, Busy & No Answer
• T.38 Fax service
• Fax korišćenjem G.711 Passthrough
• Modemski poziv
• Odlazni pozivi od/ka IP i TDM telefonskim mrežama
• Poziv od/ka SIP (IMS) korisnika
• DTMF preko SIP trunka
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 44
ip domain name ims.telekomsrbija.com ip host ims.telekomsrbija.com 10.0.0.2 ip name-server 172.16.1.20
voice service voip allow-connections sip to sip sip header-passing early-offer forced midcall-signaling passthru
voice class codec 1 codec preference 2 g711alaw codec preference 3 g729r8 codec preference 4 g729br8 codec preference 5 g723ar53 codec preference 6 g723ar63 codec preference 7 g723r53 codec preference 8 g723r63
voice class sip-profiles 1 request ACK sdp-header Audio-Attribute modify "recvonly" "sendrecv" response 200 sdp-header Audio-Attribute modify "recvonly" "sendrecv" request REINVITE sdp-header Audio-Attribute modify "inactive" "sendonly" ! voice translation-rule 1 rule 1 /3811165598\(..\)/ /10\1/ ! voice translation-rule 2 rule 1 /10\(..\)/ /3811165598\1/
voice translation-profile 1 translate called 1 ! voice translation-profile 2 translate calling 2 !
voice-card 0 dspfarm dsp services dspfarm
Application service TORoute flash:TORoute.tcl
interface FastEthernet0/0 ip address 172.16.1.1 255.255.255.0
ip nat inside ip virtual-reassembly duplex auto speed auto
interface FastEthernet0/1 ip address 10.1.1.54 255.255.255.248 ip nat outside ip virtual-reassembly duplex auto speed auto
ip nat inside source route-map NAT interface FastEthernet0/1 overload ip route 0.0.0.0 0.0.0.0 10.1.1.49
ip access-list extended NAT permit ip any any
route-map NAT permit 10 match ip address NAT
control-plane
voice-port 0/2/0 station-id number 381116559809 caller-id enable
voice-port 0/2/1 station-id number 381116559807 caller-id enable
voice-port 0/3/0
voice-port 0/3/1
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 45
dial-peer voice 10 voip description From CUCM to CUBE session protocol sipv2 session target sip-server incoming called-number . voice-class codec 1 voice-class sip profiles 1 dtmf-relay rtp-nte sip-notify
dial-peer voice 20 voip description From CUBE to CUCM translation-profile outgoing 1 destination-pattern 38111655980. session protocol sipv2 session target ipv4:172.16.1.100 voice-class codec 1 voice-class sip profiles 1 dtmf-relay rtp-nte sip-notify
dial-peer voice 30 voip description From Telecom to CUBE service TORoute session protocol sipv2 session target sip-server incoming called-number 3811165598..10 voice-class codec 1 voice-class sip profiles 1 dtmf-relay rtp-nte sip-notify fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback pass-through g711alaw
dial-peer voice 40 voip ! description From CUBE to Telecom destination-pattern .T session protocol sipv2 session target sip-server voice-class codec 1 voice-class sip profiles 1 dtmf-relay rtp-nte sip-notify fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback pass-through g711alaw
sip-ua credentials number 381116559800 username [email protected] password 7 091F1658485441475E555C7A7B realm ims.telekomsrbija.com11 registrar dns:ims.telekomsrbija.com expires 3600 sip-server dns:ims.telekomsrbija.com host-registrar
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 46
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 47
ip domain name ims.telekomsrbija.com ip host ims.telekomsrbija.com 10.0.0.2 ip name-server 172.16.1.20
multilink bundle-name authenticated
isdn switch-type primary-net5
voice-card 0
voice rtp send-recv
voice service voip fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback pass-through g711alaw no fax-relay sg3-to-g3 h323 sip header-passing early-offer forced midcall-signaling passthru
voice class codec 1 codec preference 2 g711alaw codec preference 3 g729r8 codec preference 4 g729br8 codec preference 5 g723ar53 codec preference 6 g723ar63 codec preference 7 g723r53 codec preference 8 g723r63
voice translation-rule 1 rule 1 /11655004\(.\)/ /38111655004\1/
voice translation-rule 2 rule 1 /38111655004\(.\)/ /004\1/
voice translation-profile 11_u_381 translate calling 1
voice translation-profile 381_u_11 translate called 2
application service TORoute tftp://172.16.1.20/TORoute.tcl
redundancy
controller E1 0/3/0 framing NO-CRC4 pri-group timeslots 1-31
controller E1 0/3/1
interface GigabitEthernet0/0 ip address 172.16.1.1 255.255.255.0 duplex auto speed auto
interface GigabitEthernet0/1 ip address 212.200.26.1 255.255.255.252 duplex auto speed 1000 service-policy output laki2
interface GigabitEthernet0/2 no ip address duplex auto speed auto
interface GigabitEthernet1/0 no ip address shutdown hold-queue 60 out
no ip http server no ip http secure-server ! ip route 10.0.0.0 255.255.255.0 10.1.1.73 ip route 212.200.0.0 255.255.0.0 212.200.3.61 ip route 212.200.10.208 255.255.255.252 212.200.3.61 ip route 212.200.26.120 255.255.255.252 212.200.3.61
logging trap debugging logging 172.16.1.20
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 48
control-plane
bridge 200 protocol ieee bridge 200 route ip
voice-port 0/0/0 station-id number 381116550047 caller-id enable
voice-port 0/0/1
voice-port 0/0/2
voice-port 0/0/3
voice-port 0/3/0:15 translation-profile incoming 11_u_381 translation-profile outgoing 381_u_11 timeouts interdigit 5
voice-port 0/2/0
voice-port 0/2/1
voice-port 0/2/2
voice-port 0/2/3
dial-peer voice 9 pots destination-pattern 381116550049 port 0/0/0 no register e164 no sip-register
dial-peer voice 100 voip destination-pattern .T session protocol sipv2 session target sip-server voice-class codec 1 dtmf-relay rtp-nte sip-notify fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback pass-through g711alaw no vad
dial-peer voice 1 pots destination-pattern ^38111655004.$ direct-inward-dial port 0/3/0:15 no register e164 no sip-register
dial-peer voice 99 voip service TORoute session protocol sipv2 session target sip-server incoming called-number 38111655004. voice-class codec 1 dtmf-relay rtp-nte sip-notify fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback pass-through g711alaw
gateway timer receive-rtp 1200
sip-ua credentials number 381116550040 username [email protected] password 7 091F1658485441475E5C547E7B realm ims.telekomsrbija.com authentication username [email protected] password 7 01405E550A5A505A741C1E5D49 retry invite 2 retry register 2 registrar dns:ims.telekomsrbija.com expires 3600 sip-server ipv4:10.0.0.2 host-registrar
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 49
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 50
voice service voip
allow-connections h323 to sip allow-connections sip to h323
sip bind control source-interface FastEthernet0/0.2660 header-passing early-offer forced midcall-signaling passthru
dial-peer voice 30 voip description From CUBE to CUCM translation-profile outgoing 1 destination-pattern [1-3].... session target ipv4:10.90.60.13 voice-class codec 1 no vad
dtmf-relay h245-signal h245-alphanumeric
Omogućiti H.323-SIP interworking
DTMF kroz H.323 trunk
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 51
• Ako se radi H.323-SIP interworking i zahteva se Early Offer ka SP, onda se mora koristiti H.323 FastStart na strani CUCM.
• Potrebno je omogućiti Inbound i Outbound FastStart
• H.323 Fast Start na strani CUCM zahteva upotrebu MTP ( Media termination Point)
• Za udaljene lokacije, MTP na lokalnom ruteru bi možda bilo bolje rešenje da RTP stream ne bi išao kroz WAN link
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 52
ip domain name ims.telekomsrbija.com ip host ims.telekomsrbija.com 10.0.0.2
isdn switch-type basic-net3
voice call send-alert voice call convert-discpi-to-prog voice rtp send-recv
voice service voip allow-connections h323 to sip allow-connections sip to h323
h323 emptycapability2 h225 id-passthru h270 passthru tcsnonstd-passthru sip bind control source-interface FastEthernet0/0.2660 header-passing3 early-offer forced4 midcall-signaling passthru
voice class codec 1 codec preference 2 g711alaw codec preference 3 g729r8 codec preference 4 g729br8
voice class h323 1 h225 timeout tcp establish 3
voice translation-rule 1 rule 1 /38111715030\(.\)/ /3999\1/
voice translation-rule 2 rule 1 /3999\(.\)/ /38111715030\1/
voice translation-profile 1 translate called 1
voice translation-profile 2 translate calling 2
voice-card 0 dsp services dspfarm
application package callfeature param med-inact-disc-cause 44 param med-inact-det enable param med-inact-action syslog
service TORoute flash:TORoute.tcl
redundancy
interface Loopback0 ip address 10.90.128.1 255.255.255.255
interface FastEthernet0/0 no ip address speed 100 full-duplex no cdp enable
interface FastEthernet0/0.3 encapsulation dot1Q 3 ip address 10.30.128.1 255.255.255.0 ip helper-address 10.90.170.41 ip helper-address 10.90.170.42 service-policy input MARKIRANJE
interface FastEthernet0/0.4 description VOICE encapsulation dot1Q 4 ip address 10.70.128.1 255.255.255.0 ip nat inside ip virtual-reassembly h323-gateway voip interface h323-gateway voip bind srcaddr 10.70.128.1 service-policy input MARKIRANJE
interface FastEthernet0/0.2660 encapsulation dot1Q 2660 ip address 10.1.1.154 255.255.255.260 ip nat outside ip virtual-reassembly
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 53
interface FastEthernet0/1 description BG L3VPN ip address 10.90.211.238 255.255.255.0 duplex auto speed auto no cdp enable
ip nat inside source route-map NAT interface FastEthernet0/0.2660 overload ip route 0.0.0.0 0.0.0.0 10.90.211.1 ip route 10.0.0.0 255.255.255.240 10.1.1.153 ip route 10.90.60.0 255.255.255.0 10.90.211.1 ip tacacs source-interface Loopback0
ip access-list extended NAT permit ip any any log
route-map NAT permit 10 match ip address NAT
dial-peer voice 10 voip description From Telecom to CUBE translation-profile outgoing 1 service TORoute session protocol sipv2 session target sip-server incoming called-number 3811171503..6 voice-class codec 1 dtmf-relay rtp-nte sip-notify fax protocol pass-through g711alaw no vad
dial-peer voice 20 voip description From CUBE to Telecom translation-profile outgoing 2 destination-pattern .T session protocol sipv2 session target sip-server voice-class codec 1 dtmf-relay rtp-nte sip-notify fax protocol pass-through g711alaw
dial-peer voice 30 voip description From CUBE to CUCM translation-profile outgoing 1 destination-pattern [1-3].... session target ipv4:10.90.60.13 voice-class codec 1 dtmf-relay h270-signal h270-alphanumeric no vad
gateway timer receive-rtp 1200
sip-ua credentials number 381117150306 username [email protected] password 7 08290C1F5041544E70 realm ims.telekomsrbija.com retry invite 2 retry register 2 timers register 150 registrar dns:ims.telekomsrbija.com expires 3600 sip-server dns:ims.telekomsrbija.com host-registrar
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 54
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 55
proc setup { } { leg proceeding leg_incoming set To [infotag get leg_proto_headers "To"] set numero $To regexp {sip:[0-9]+([0-9][0-9][0-9][0-9])@} $To w numero puts "\n >>>>> MY-TCL-SCRIPT: To = $To ; numero = $numero \n" leg setup $numero callInfo leg_incoming }
• Postojeća TCL skripta modifikovana tako da CUCME gleda samo zadnje 4 cifre pozvanog broja pri dolaznim pozivima sa PSTN
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 56
ip dhcp excluded-address 192.168.31.1 ip dhcp excluded-address 192.168.31.220 ip dhcp excluded-address 192.168.31.187 ip dhcp excluded-address 192.168.31.173
ip dhcp pool ATA network 192.168.31.0 255.255.255.0 default-router 192.168.31.1 option 150 ip 192.168.31.220 192.168.31.1
ip cef no ip domain lookup ip domain name ims.telekomsrbija.com ip host ims.telekomsrbija.com 10.0.0.2 no ipv6 cef multilink bundle-name authenticated
voice service voip allow-connections sip to sip sip header-passing early-offer forced midcall-signaling passthru
voice class codec 1 codec preference 2 g711alaw codec preference 3 g729r8 codec preference 4 g729br8 codec preference 5 g723ar53 codec preference 6 g723ar63 codec preference 7 g723r53 codec preference 8 g723r63
voice class sip-profiles 1 request ACK sdp-header Audio-Attribute modify "recvonly" "sendrecv" response 200 sdp-header Audio-Attribute modify "recvonly" "sendrecv" request REINVITE sdp-header Audio-Attribute modify "inactive" "sendrecv"
voice translation-rule 3 rule 1 /^0/ //
voice translation-profile 0izlaz translate called 3
voice-card 0 dsp services dspfarm
application service TORoute flash:TORoute4digitExt.tcl
interface FastEthernet0/0 ip address 192.168.31.1 255.255.255.0 ip nat inside ip virtual-reassembly duplex auto speed 100
interface FastEthernet0/1 ip address 10.1.1.46 255.255.255.248 ip nat outside ip virtual-reassembly duplex auto speed auto
ip nat inside source route-map NAT interface FastEthernet0/1 overload ip route 0.0.0.0 0.0.0.0 10.1.1.41
ip access-list extended NAT permit ip any any
route-map NAT permit 10 match ip address NAT
control-plane
voice-port 0/0/0 caller-id enable
voice-port 0/0/1 caller-id enable
ccm-manager music-on-hold
mgcp fax t38 ecm mgcp behavior g729-variants static-pt
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 57
dial-peer voice 100 voip description *** OD TELEKOM KA CUBE *** service toroute modem passthrough protocol codec g711alaw session protocol sipv2 session target sip-server incoming called-number 38111655982. voice-class codec 1 dtmf-relay rtp-nte sip-notify fax rate disable no vad
dial-peer voice 101 voip description *** OD CUBE KA Telekomu *** translation-profile outgoing 0izlaz destination-pattern .T modem passthrough protocol codec g711alaw session protocol sipv2 session target sip-server voice-class codec 1 dtmf-relay rtp-nte sip-notify fax rate disable no vad
dial-peer voice 400 pots shutdown destination-pattern 9821 port 0/0/0
sip-ua credentials number 381116559820 username [email protected] password 7 065557701D1F5F4C504E4A595C realm ims.telekomsrbija.com retry invite 2 retry register 2 timers register 150 registrar dns:ims.telekomsrbija.com expires 3600 sip-server dns:ims.telekomsrbija.com host-registrar
telephony-service max-ephones 5 max-dn 5
ip source-address 192.168.31.1 port 2000 auto assign 1 to 5 timeouts interdigit 3 system message MDS-SIP-TRUNK time-zone 26 time-format 24 max-conferences 3 gain -6 call-forward pattern .T moh music-on-hold.au transfer-system full-consult transfer-pattern .T create cnf-files version-stamp 7960 May 24 2010 11:20:44
ephone-dn 1 number 9826 label Sinisa Djokic description 381116559826 name Sinisa Djokic
ephone-dn 2 number 9828 label Nikola Markovic description 381116559828 name Nikola Markovic
ephone-dn 3 number 9821 label Extension 9821 description 381116559821 name Extension 9821
ephone 1 mac-address 0024.E8FA.1D84 type CIPC button 1:1
ephone 2 mac-address 0015.C537.C56B type CIPC button 1:2
ephone 3 mac-address 0015.C6E8.DACF type 7940 button 1:3
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 58
• Circuit Acceptance Test Cases SP Layer 2 Connection
SP Layer 3 Connection
SP Reachability and Routing
• Connectivity Test Cases Registration sequence
Session Refresh
Basic outbound/inbound call completion
Quality of Service
Call Admission Control
Management Access
Call Accounting
Voice Quality
FAX Quality
Non-Standard Calls
Stability and Duration
Restart
• SIP Application (Call Flow) Test Cases Caller ID
Codec Negotiation
Call Hold/Resume
Call Forward (Call Forward All to user on PSTN behind SIP Trunk)
Call Transfer
Ad-Hoc Conference
IVR Interaction (Both local and remote IVR)
DTMF
FAX, Mode, TTY
Emergency/911
Call types (Local, Long Distance, International)
• Failover Test Cases Layer 1, 2, 3, 4 failover scenarios
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 59
• Podržano od IOS 15.1(1)T
sip-ua registrar 1 dns:ims.telekomsrbija.com expires 3600 registrar 2 dns:sip.nekiprovider.com expires 180 host-registrar
• Konfigurisanje više SIP Registrara na SIP trunku: http://www.cisco.com/en/US/docs/ios/voice/sip/configuration/guide/sip_cg-multi-registrars.html
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 60
Analysis Manager je dostupan kroz Real Time Monitoring Tool od CUCM 8.0
Sakuplja serverske detalje (hardware, software version, license)
Omogućava: Setting Trace Levels, Collecting Traces, Collecting System Info, Call Tracking sa različitih UC proizvoda, ACS i IOS gateway
Pojednostavljen troubleshooting
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 61
• I pored svih preporuka, moguće je da vam ništa neće raditi
• Razlog?
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 62
• Default operacije od IOS 15.1.2T su promenjene. Ova informacija je dostupna i tokom boot sekvence rutera
• Od 15.1.2T, po defaultu, biće prihvaćeni samo pozivi koji dolaze sa IP adresa kojima se veruje
• Ako želite da vratite staro stanje, koristite “voice service voip > no ip address trusted authenticate”. Ovo se NE PREPORUČUJE!
router#sh ip address trusted list IP Address Trusted Authentication Administration State: UP Operation State: UP
IP Address Trusted Call Block Cause: call-reject (21)
VoIP Dial-peer IPv4 Session Targets: Peer Tag Oper State Session Target -------- ---------- -------------- 1 UP ipv4:30.1.1.1 2 DOWN ipv4:40.1.1.1
IP Address Trusted List: ipv4 10.10.10.1 ipv4 10.10.10.2 ipv4 11.11.11.1
CUBE
10.10.10.1
10.10.10.2
11.11.11.1
172.16.1.1
voice service voip ip address trusted list ipv4 10.10.10.1 ipv4 10.10.10.2 ipv4 11.11.11.1
• Ova osobina je uvedena kao Toll-Fraud Prevention funkcija: http://www.cisco.com/en/US/tech/tk652/tk90/technologies_tech_note09186a0080b3e123.shtml
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 63
• Izvedeni testovi potvrđuju da enterprise korisnici mogu koristiti SIP trunk servis Telekoma Srbije kao način ostvarivanja konekcije na javnu telefonsku mrežu. Napredni telefonski servisi su podržani!
• Cisco CUBE je neophodan za povezivanje CUCM i CUCME na SIP trunk servis Telekoma Srbije, a može pomoći i u slučaju integracije drugih 3rd party PBX centrala na SIP trunk servis Telekoma Srbije
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 64
• Cisco Unified Border Element: http://www.cisco.com/go/cube
• Solution Reference Network Design Guide: http://www.cisco.com/go/srnd
• Cisco Unified Border Element and Gatekeeper Ordering Guide: http://www.cisco.com/en/US/prod/collateral/voicesw/ps6790/gatecont/ps5640/order_guide_c07_462222.html
• Understanding Dial Peers and Call Legs on Cisco IOS Platforms: http://www.cisco.com/en/US/products/sw/iosswrel/ps5460/prod_bulletins_list.html
• Cisco Interoperability Portal: http://www.cisco.com/go/interoperability
• Cisco ISR G1 End of Sale Announcement: http://www.cisco.com/en/US/prod/collateral/routers/ps5853/qa_c67-631674.html
• CUBE Configuration Examples: http://www.cisco.com/en/US/products/sw/voicesw/ps5640/prod_configuration_examples_list.html
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential Presentation_ID 65
Registrujte se za Cisco Live Networkers u Londonu ili Bahreinu! Više informacija na: http://www.ciscolive.com/
Thank you.