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

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 
удалить закрыть спам изменить тег редактировать

спросил 2015-02-20 17:19:19 +0400

SergVR Gravatar SergVR
1 ● 1

обновил 2015-02-20 18:38:47 +0400

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

Comments

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

zzuz ( 2015-02-20 18:31:45 +0400 )редактировать

expires 120

awsswa ( 2015-02-20 19:11:09 +0400 )редактировать

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

SergVR ( 2015-02-20 23:42:01 +0400 )редактировать

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

awsswa ( 2015-02-21 00:01:18 +0400 )редактировать

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

SergVR ( 2015-02-21 00:45:35 +0400 )редактировать

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

zzuz ( 2015-02-21 01:04:07 +0400 )редактировать

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

SergVR ( 2015-02-21 01:15:02 +0400 )редактировать

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 ( 2015-02-21 01:26:10 +0400 )редактировать

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

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

SergVR ( 2015-02-21 01:28:06 +0400 )редактировать

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 ( 2015-02-21 01:42:07 +0400 )редактировать

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

awsswa ( 2015-02-21 13:24:59 +0400 )редактировать

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

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 ленту новостей

Статистика

Задан: 2015-02-20 17:19:19 +0400

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

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

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