xcke’s blog

CCIE# Journey

Archive for the ‘H323’ Category

Thursday
Oct 30,2008

Csináltam egy kis tesztet az ISDN PRI trunk hívásirány korlátozásával kapcsolatban. Hát igen, ez kicsit beteges teszt…bridge loop, routing loop, call setup loop… :) )

A teszt rendszer:

 

1.      trunk-group erőforrás menedzsment.

 

A feature segítségével lehetséges korlátozni a hívástípusokat az ISDN PRI controller interfészen. További információk erről itt.

A konfiguráció:

 

trunk group  call_out_backup

 max-calls voice 25 direction in

 max-calls voice 30 direction out

 

controller E1 0/3/0

 pri-group timeslots 1-31

 trunk-group call_out_backup timeslots 1-31

(more…)

Popularity: 37% [?]

Thursday
Jun 26,2008

Belefutottam egy érdekes Voice problémába. Egy Cisco 2811-es routerrel kellett megoldani DTMF-Relay funkciót. A mobil szolgáltató rtp-nte-n küldi a DTMF jelzéseket, viszont inband DTMF-ként kell tovább küldeni azokat. Ezt a következő konfiggal tudtam megcsinálni (nem valós IP címeket, és telefon számot tartalmaz) :

Nincs időm leírni hogy ez hogy működik, nézzetek utánna a referenciában szereplő linkeken.

Building configuration…

Current configuration : 3322 bytes
!
! Last configuration change at 15:55:30 UTC Tue Jun 24 2008 by evopro
! NVRAM config last updated at 16:48:27 UTC Tue Jun 24 2008 by evopro
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname voice_gw
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
dot11 syslog
!
!
ip cef
!
!
no ip domain lookup
ip domain name voice.hu
ip auth-proxy max-nodata-conns 3
ip admission max-nodata-conns 3
!
multilink bundle-name authenticated
!
!
voice-card 0
 dspfarm
 dsp services dspfarm

!
!
!
voice service voip
 allow-connections h323 to h323
 allow-connections h323 to sip
 allow-connections sip to h323
 allow-connections sip to sip
 h323
 sip
!
!
archive
 log config
  hidekeys
!
!
interface Loopback1
 description DSPFARM_CODE
 ip address 2.2.2.2 255.255.255.255

!
interface FastEthernet0/0
 ip address192.168.1.10 255.255.255.0
 duplex auto
 speed auto
!
interface FastEthernet0/1
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface Serial0/0/0
 ip address 192.168.10.1 255.255.255.252
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
!
dialer-list 1 protocol ip permit
!
!
control-plane
!
sccp local Loopback1
sccp ccm 2.2.2.2 identifier 1 version 4.0
sccp

!
sccp ccm group 1
 associate ccm 1 priority 1
 associate profile 1 register XCODE123456
 keepalive retries 1
 keepalive timeout 10
 switchover method immediate
 switchback method immediate

!
dspfarm profile 1 transcode
 codec g711ulaw
 codec g711alaw
 codec g729ar8
 codec g729abr8
 maximum sessions 5
 associate application SCCP

!
!
!
dial-peer voice 50 voip
 description TO_CTI_SERVER
 service session
 destination-pattern 06703351111
 session protocol sipv2
 session target ipv4:217.79.132.5
 codec g711alaw
!

dial-peer voice 40 voip
 description FROM_VODA
 service session
 session protocol sipv2
 incoming called-number 06703351111
 dtmf-relay rtp-nte
 codec g711alaw

!
!
gateway
 timer receive-rtp 1200
!
sip-ua
!
!
!
gatekeeper
 shutdown
!
!
telephony-service
 sdspfarm units 1
 sdspfarm transcode sessions 10
 sdspfarm tag 1 XCODE123456
 max-ephones 1
 max-dn 1
 ip source-address 2.2.2.2 port 2000
 max-conferences 8 gain -6
 transfer-system full-consult
 create cnf-files version-stamp 7960 Jun 24 2008 15:42:03

!
!
line con 0
line aux 0
line vty 0 4
 login local
 transport input telnet ssh
!
scheduler allocate 20000 1000
ntp clock-period 17180453
!
end
 

Referencia:

http://www.cisco.com/en/US/products/sw/voicesw/ps5640/products_configuration_example09186a008092d6b3.shtml
http://www.cisco.com/en/US/tech/tk1077/technologies_configuration_example09186a00800ffdcc.shtml#veri
http://www.cisco.com/en/US/docs/ios/12_3/vvf_c/interop/intcnf2.html#wp1004679

Popularity: 41% [?]

Voice GW Teszt

Monday
Dec 3,2007

Az elmúlt héten volt egy voice-os projectem, és az ott szerzett tapasztalatokat szeretném most leírni. A bank VoIP-t szeretne bevezetni, és azt teszteltük hogy egy Bosch alközpont, egy Cisco 2800 Voice Gateway, és egy Cisco CallManager 6 hogyan tud együtt működni, illetve mely funkciók működnek egy ilyen környezetben. A teszt:

A 2800-as beállítása:
Először is meg kell adni az E1/T1 kártya típusát:

card type e1 0 0

A router-n csak ezután lesz látható a controller interface. (nálunk csak 16 időrésre volt elgendő DSP erőforrás):

controller E1 0/0/0
pri-group timeslots 1-16
description Bosh_pbx

A voice port beállítása:

voice-port 0/0/0:15
cptone HU
timeouts initial 1

Az ethernet interface beállítása, a router-nek el kell érnie a CM6-t IP-n.

interface FastEthernet0/0
description LAN
ip address x.x.x.x 255.255.255.0
duplex full
speed 100
ip route 0.0.0.0 0.0.0.0 x.x.x.x

A PRI vonatkozó beállítások (ISDN-QSIG)

interface Serial0/0/0:15
no ip address
isdn switch-type primary-qsig #és nem primary-net5:)
isdn overlap-receiving #a számjegyek nem csak en-block jöhetnek, lásd ref.
isdn incoming-voice voice
isdn send-alerting
isdn sending-complete
isdn outgoing display-ie
isdn outgoing ie caller-number
isdn outgoing ie caller-subaddr
no cdp enable

A dial peerek megadása, ezek fogják a hangot a megfelelő irányba route-olni.
Minden 0-val kezdődő hívott számot az ISDN-en átadunk a Bosch-nak (ő adja tovább a hívást a T-Com-nak):

dial-peer voice 21 pots
tone ringback alert-no-PI
destination-pattern 0.T
progress_ind setup enable 3
progress_ind disconnect enable 8
direct-inward-dial
port 0/0/0:15
forward-digits all

Minden 4xxx -es számot a CM6-nak adunk át h323-n.

dial-peer voice 10 voip
tone ringback alert-no-PI
destination-pattern 4…
voice-class codec 1
session target ipv4:128.1.2.9
dtmf-relay h245-alphanumeric
no vad

Minden 7xxx -es számot ugyancsak a Bosch-ra irányítunk, ezek a Bosch alközpont mellékei.

dial-peer voice 20 pots
destination-pattern 7…
progress_ind setup enable 3
progress_ind progress enable 8
progress_ind disconnect enable 8
port 0/0/0:15
forward-digits all

Köszönet Paca-nak a konfigért:)

Popularity: 38% [?]

Tools


Get your own Box.net widget and share anywhere!

stat


Stat

Support



Events


Feeds


Highest Rated


Now Reading


Archives