First time here? Check out the FAQ!

Пожалуйста, войдите здесь. Часто задаваемые вопросы О нас
Задайте Ваш вопрос

Asterisk PBX + cisco vg224

0

Помогите подружить Asterisk и VG224

Попробовал сам, но вот только 3 номера регистрируються в астериске, а остальные после небольшого времени отпадают. убьешь номер создашь опять виден какое то время

Кусок конфига:

!
version
12.4
no service pad
service timestamps debug datetime msec localtime show
-timezone
service timestamps log datetime msec localtime show
-timezone
no service password-encryption
!
hostname VG224
!
boot
-start-marker
boot
-end-marker
!
no aaa new-model
!
resource policy
!
clock timezone GMT
2
ip subnet
-zero
ip cef
no ip dhcp use vrf connected
!
!
!
!
voice
-card 0
!
!
voice call send
-alert
voice rtp send
-recv
!
voice service pots
!
voice service voip
allow
-connections h323 to h323
allow
-connections h323 to sip
allow
-connections sip to h323
allow
-connections sip to sip
sip
bind control source
-interface FastEthernet0/0
bind media source
-interface FastEthernet0/0
registrar server
!
!
voice
class codec 1
codec preference
1 g711ulaw
!
archive
log config
hidekeys
!
!
!
interface FastEthernet0/0
ip address
192.168.1.2 255.255.255.0
duplex half
speed
auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex
auto
speed
auto
!
ip classless
ip route
0.0.0.0 0.0.0.0 192.168.1.1
!
ip http server
!
dialer
-list 1 protocol ip permit
!
!
control
-plane
!
!
voice
-port 2/0
timeouts call
-disconnect 5
station
-id name P0-2000
station
-id number 2000
caller-id enable
!
dial
-peer voice 100 voip
huntstop
destination
-pattern ^[0-9].T
voice
-class codec 1
session protocol sipv2
session target sip
-server
dtmf
-relay sip-notify rtp-nte
no vad
!
dial
-peer voice 11 pots
destination
-pattern 2000
port
2/0
authentication username
2000 password ххххххххххххххх
!
!
sip
-ua
authentication username xxxxxxx password
ххххххххххххххх
retry invite 2
retry response 10
timers trying
1000
timers connect
100
timers connection aging
30
timers
register 100
mwi
-server ipv4:192.168.1.1 expires 3600 port 5060 transport udp
registrar ipv4
:192.168.1.1:5060 expires 3600
sip
-server ipv4:192.168.1.1
offer call
-hold conn-addr
!
!
line con
0
line aux
0
line vty
0 4
password xxxxxxx
login
!
ntp clock
-period 17180221
ntp server
192.168.1.1
end

спросил Feb 20 '15

SergVR Gravatar SergVR
1 1

обновил Feb 20 '15

zzuz Gravatar zzuz flag of Russian Federation
7174 2 6 75
http://line24.ru/

Comments

Даешь еще больше пустых строк!!!

zzuz (Feb 20 '15)edit

expires 120

awsswa (Feb 20 '15)edit

expires 120 - в каком месте и что это даст?

SergVR (Feb 20 '15)edit

вы системный администратор или что ? трудно воспользоваться гуглом и узнать что за параметр ?

awsswa (Feb 20 '15)edit

проблема в том, что счетчик регистрации не трех номерах (причем странно что не подряд) идет, а на остальных тупо 0. убьешь dial-peer voice ХХ pots, заново создашь - регистрируется, но потом пропадает регистрация

SergVR (Feb 20 '15)edit

быть не может.

zzuz (Feb 20 '15)edit

сам в шоке. пытаюсь найти почему это происходит((

SergVR (Feb 20 '15)edit

VG224#sh sip regi st

Line peer expires(sec) registered

============ ============= ============ ===========

1018 11 0 no

1100 12 0 no

1105 15 0 no

1107 16 0 no

1109 19 0 no

1110 21 0 no

1113 14 0 no

1140 20 0 no

2018 13 0 no

SergVR (Feb 20 '15)edit

перерегистрации нет, счетчик стоит

сделал no registrar и registrar ipv4:192.168.1.1:5060 expires 1200 пошло. вот надолго ли :(

SergVR (Feb 20 '15)edit

VG224#sh sip reg st

Line peer expires(sec) registered

============ ============= ============ ===========

1018 11 2843 yes

1100 12 2843 yes

1105 15 2843 yes

1107 16 2843 yes

1109 19 2843 yes

1110 21 2843 yes

1113 14 2843 yes

1140 20 2843 yes

2018 13 2843 yes

походу когда счетчик уйдет в 0 все пропадет

SergVR (Feb 20 '15)edit

уберите все это retry invite 2 retry response 10 timers trying 1000 timers connect 100 timers connection aging 30 timers register 100 раз ни понимаете что это за параметры

awsswa (Feb 21 '15)edit

Будьте первым, кто ответит на этот вопрос!

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
[скрыть предварительный просмотр]

Закладки и информация

Добавить закладку

подписаться на rss ленту новостей

Статистика

Задан: Feb 20 '15

Просмотрен: 1,155 раз

Обновлен: Feb 20 '15

Проект компании "АТС Дизайн"
Asterisk® и Digium® являются зарегистрированными торговыми марками компании Digium, Inc., США.
IP АТС Asterisk распространяется под лицензией GNU GPL.