с двумя гейткиперами, и и прксировать на asterisk по сипу
ps: помочь вам поднять h323 на астериск?
_________________
«Choose a job you love, and you will never have to work a day in your life» — Confucius
_________________
«Choose a job you love, and you will never have to work a day in your life» — Confucius
конфиг ниже, нужно входящие направить на астериск
| Код: |
| version 8.30R ! hostname ХХХХХ ! no ip routing ! ! no bridge spanning-tree ! dhcp-list 1 type server dhcp-list 1 address server 10.1.1.2 10.1.1.126 255.255.255.128 ! ! no ip-share enable ip-share interface net-side ether0.0 AAA.AAA.AAA.AAA ip-share interface local-side ether1.0 ! interface ether0.0 ip address ХХХХХ qos-control line-ctrl promiscuous bridge 1 ! interface ether1.0 no ip address line-ctrl promiscuous bridge 1 ! snmp community ХХХХХ snmp contact ХХХХХ snmp location ХХХХХ snmp name ХХХХХ no snmp trap-authentication snmp enable-trap dn-register 300 forcely-block ! no arp reset ! route ХХХХХ ! ntp refresh 5 ntp offset 03:00 ntp server 194.67.161.1 ntp server 194.67.160.3 ! dnshost nameserver ХХХХХ dnshost nameserver ХХХХХ ! service snmpd service ntp ! ip-tos rtp precedence 5 ip-tos rtp delay ip-tos rtp throughput ip-tos sig precedence 5 ip-tos sig delay ip-tos sig throughput ip-tos forward clear ! ! ! ! ! ! VoIP configuration. ! ! ! Voice service voip configuration. ! voice service voip fax protocol t38 redundancy 0 fax rate 14400 h323 call start fast h323 call tunnel enable timeout treg 60 timeout treg2 60 announcement language english max-frame g729 4 busyout monitor gatekeeper busyout monitor voip-interface ! ! ! Voice port configuration. ! ! FXS voice-port 0/0 no caller-id enable ! ! ! FXS voice-port 0/1 no caller-id enable ! ! ! FXS voice-port 0/2 no caller-id enable ! ! ! FXS voice-port 0/3 no caller-id enable ! ! ! FXS voice-port 1/0 no caller-id enable ! ! ! FXS voice-port 1/1 no caller-id enable ! ! ! FXS voice-port 1/2 no caller-id enable ! ! ! FXS voice-port 1/3 no caller-id enable ! ! ! ! ! Pots peer configuration. ! dial-peer voice 0 pots destination-pattern 74959999999 port 0/0 ! dial-peer voice 1 pots destination-pattern 74958888888 port 0/1 preference 1 ! dial-peer voice 2 pots destination-pattern 74959999999 port 0/2 preference 2 ! dial-peer voice 3 pots destination-pattern 74959999999 port 0/3 preference 3 ! dial-peer voice 4 pots destination-pattern 74959999999 port 1/0 preference 4 ! dial-peer voice 5 pots destination-pattern 74959999999 port 1/1 preference 5 ! dial-peer voice 6 pots destination-pattern 74959999999 port 1/2 preference 6 ! dial-peer voice 7 pots destination-pattern 74959999999 port 1/3 preference 7 ! ! ! ! Voip peer configuration. ! dial-peer voice 65534 voip destination-pattern .T session target ras voice-class codec 0 no vad dtmf-relay h245-alphanumeric ! ! ! ! ! ! gatekeeper ! ! ! Gateway configuration. ! gateway h323-id ХХХХ security password ХХХХ security clear-token-option cisco-per-call-style endpoint-type terminal gkip gk3.voip.rmt.ru 1719 128 gkip gk4.voip.rmt.ru 1719 128 lightweight-irr keep-gk-on-rrj no ignore-msg-from-other-gk register ! ! ! Codec classes configuration. ! voice class codec 0 codec preference 1 g729 codec preference 2 g7231r63 codec preference 5 g711alaw codec preference 6 g711ulaw ! ! ! ! SIP UA configuration. ! sip-ua ! ! ! MGCP configuration. ! mgcp codec g711ulaw vad ! ! ! Tones ! ! ! voip-interface ether0.0 |
а вот ситуация когда 2 номера и 2 разных гейткипера и один asterisk.
и в астерсике и в yate можно указать только один гейткипер если регистрируешься как endpoint.
в интернете тоже не нашел схемы с 2 гейткиперами. может это и не возможно.
_________________
OpenSUSE 11.2 / Asterisk-trunk / Celeron 1100 (512mb) / chan_lcr / Linksys / Aastra 9112i
http://igorg.ru
[ep]
; Control the endpoint operation of the module
; ep: bool: True if you want to activate the h323 endpoint
ep = true
; gw: bool: Set to true if you want this endpoint to declare itself as gateway
gw = false
; port: int: TCP port on which the endpoint will listen
;port=1720
; gkclient: bool: If h323 module endpoint should register to a gatekeeper
gkclient = false
; password: string: Password for h.235 authentification
;password = 1234
; gkip: ipaddress: Set the reported ip aaddress of the gatekeeper
;gkip = 10.10.10.10
Вот немного подробнее: http://igorg.ru/2011/11/13/multiple-h323-endpoint-vyate/
_________________
OpenSUSE 11.2 / Asterisk-trunk / Celeron 1100 (512mb) / chan_lcr / Linksys / Aastra 9112i
http://igorg.ru