Jump to content

Recommended Posts

Posted

Приветствую!

 

Может кто сталкивался с вопрос. Есть gnugk в роли клиента для подключения к провайдеру ip телефонии. У провайдера для создания отказустойчивой конфигурации используется два сервера с gnugk (ip 172.x.x.5, 172.x.x.6).

Как заставить gnugk в случае недоступности одного из GK, подключаться к другому?

 

[Endpoint]
Gatekeeper=172.x.x.6
Type=Gateway
H323ID=voip.172.x.x.18
E164=9007,9008,9009
Vendor=GnuGk
UseAlternateGK=1

 

В addpac 200 есть возможность указать более одного GK для регистрации с учетом приоритета:

 

gateway
h323-id voip.192.x.x.121
security password 123450
security clear-token-option cisco-endpoint-style
gkip 172.x.x.6 1719 1
gkip 172.x.x.5 1719 2
keep-gk-on-rrj
ignore-msg-from-other-gk
register

Posted (edited)

Вообще в конфиге уже есть UseAlternateGK=1.

UseAlternateGK=0
Default: 1

Enable alternate gatekeepers feature. If GRJ/GCF/RCF messages received from a parent gatekeeper contain a list of alternate gatekeepers, this information is stored and can be used to re-register with another gatekeeper in case of failure. If you don't want to use this feature, set this variable to 0.

Буду дебажить сообещния на предмет, есть ли в листинге второй ГК.

Edited by anix

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...
На сайте используются файлы cookie и сервисы аналитики для корректной работы форума и улучшения качества обслуживания. Продолжая использовать сайт, вы соглашаетесь с использованием файлов cookie и с Политикой конфиденциальности.