90 likes | 219 Views
454-319/1: Vo ice over IP. Lecture No. 7 H.323 Open Solution – a design with GNU Gatekeeper. Miroslav Voz ňák VŠB - Technical University of Ostrava Department of Telecommunications Faculty of Electrical Engineering and Computer Science 17. listopadu 15, 708 33 Ostrava – Poruba
E N D
454-319/1: Voice over IP Lecture No.7 H.323 Open Solution – a design with GNU Gatekeeper Miroslav Vozňák VŠB - Technical University of Ostrava Department of Telecommunications Faculty of Electrical Engineering and Computer Science 17. listopadu 15, 708 33 Ostrava – Poruba mailto:miroslav.voznak@vsb.cz http://homel.vsb.cz/~voz29 Miroslav Voznak, Lecture No.7
GNU Gatekeeper • GNU Gatekeeper is an open-source project implementing H.323 Gatekeeper • a subtitle of project is "OpenH323 Gatekeeper - The GNU Gatekeeper" • gnugk is name for executables and configuration is located in /etc/gatekeeper.ini • The current project coordinator is Jan Willamowius • Main link with a distribution: • http://www.gnugk.org • Links to a documentation: • http://www.gnugk.org/gnugk-manual.html • http://homel.vsb.cz/~voz29/files/voz50.pdf /* only Czech lang. • http://homel.vsb.cz/~voz29/files/voz_54.pdf /* only Czech lang. Miroslav Voznak, Lecture No.7
Hands-on Lecture: • A design of VoIP implementation with GnuGK • the aim of this hands-on lecture is a realization of the practical VoIP design with GnuGK and others components including a protocol analyzing and a troubleshooting • there will be published the significant parts of configuration files • the used components : • two Gnu Gatekeepers • Cisco gateway connected through ISDN to PBX and registered with one GnuGK • endpoints registered with GnuGK’s Miroslav Voznak, Lecture No.7
GnuGKA 158.196.81.102 GnuGKB 158.196.142.3 RAS PBX ISDN RAS VoIP RAS VoGW 158.196.81.205 e.164:9 ISDN RAS IP phone A 158.196.81.201 e164:595991699 IP phone B 158.196.81.202 e.164:224352979 PSTN Miroslav Voznak, Lecture No.7
GnuGK – the first steps # apt-get remove gnugk /* remove gnugk # dpkg --purge gnugk /* remove everything regarding gnugk, even config. files # apt-get update /* update a list of packages from a repository # apt-get install gnugk /* install an application GnuGK from a repository The whole configuration is in file /etc/gatekeeper.ini # telnet localhost 7000 /* monitoring rv /* a list of active registrations reload /* reload a configuration file exit # nano /etc/gatekeeper.ini /* change the parameters in the configuration file Miroslav Voznak, Lecture No.7
GnuGKA – configuration • DRC mode [Gatekeeper::Main] Name=GnuGKA TimeToLive=600 [RoutedMode] GKRouted=0 /* running in DRC H245Routed=0 CallSignalPort=1720 /* default call sign. port [RasSrv::RRQFeatures] OverwriteEPOnSameAddress=1 /* regarding to registration [RasSrv::Neighbors] GK-B=GnuGK [Neighbor::GK-B] Host=158.196.142.3 SendPrefixes=2,9 AcceptPrefixes=* • changes against default settings • check up the active registrations through telnet status port • telnet localhost 7000 • rv /* registrations • reload /* after the changes in the configuration file Miroslav Voznak, Lecture No.7
GnuGKB – configuration • DRC mode [Gatekeeper::Main] Name=GnuGKB TimeToLive=600 [RoutedMode] GKRouted=0 /* running in DRC H245Routed=0 CallSignalPort=1720 /* default call sign. port [RasSrv::RRQFeatures] OverwriteEPOnSameAddress=1 /* regarding to registration [RasSrv::Neighbors] GK-A=GnuGK [Neighbor::GK-A] Host=158.196.81.102 SendPrefixes=59 AcceptPrefixes=* • changes against default settings • check up the active registrations through telnet status port • telnet localhost 7000 • rv /* registrations • reload /* after the changes in the configuration file Miroslav Voznak, Lecture No.7
VoGW – configuration • registered with GnuGKB ip route 0.0.0.0 0.0.0.0 158.196.142.1 ! voice-port 0/0 compand-type a-law cptone CZ bearer-cap 3100Hz ! dial-peer voice 1 voip destination-pattern [25]........ session target ras codec g711alaw no vad ! dial-peer voice 20 pots destination-pattern 9.... direct-inward-dial port 0/0 ! dial-peer voice 999 voip codec g711alaw incoming called-number ..T ! gateway voice rtp send-recv ! voice service voip h323 h245 caps mode restricted ! interface FastEthernet0/0 ip address 158.196.81.205 255.255.255.0 h323-gateway voip interface h323-gateway voip id GnuGKB ipaddr 158.196.142.3 1718 priority 100 h323-gateway voip h323-id VoGW h323-gateway voip tech-prefix 9 ! interface BRI0/0 no ip address isdn switch-type basic-net3 isdn not-end-to-end 64 isdn protocol-emulate network isdn layer1-emulate network isdn incoming-voice voice isdn send-alerting isdn outgoing-voice info-transfer-capability 3.1kHz-audio isdn static-tei 0 isdn skipsend-idverify ! Miroslav Voznak, Lecture No.7
Thank you for your attentionmiroslav.voznak@vsb.cz Miroslav Voznak, Lecture No.7