СвязьПроект

Российский системный интегратор
Текущее время: 22 дек 2024, 18:57

Часовой пояс: UTC




Начать новую тему Ответить на тему  [ Сообщений: 3 ] 
Автор Сообщение
СообщениеДобавлено: 07 июн 2010, 05:55 
Не в сети

Зарегистрирован: 02 мар 2009, 04:39
Сообщения: 7
настраивал в основном по конфиге из
http://addpac.su/remote_user.htm

в результате имеем следующее
AddPac 200B

show runn 

!

version 8.23H

!

hostname AP200

!

!

no bridge spanning-tree

!

access-list 1 permit host 192.168.0.17

!

dhcp-list 0 type server

dhcp-list 0 address server interface ether0.0

dhcp-list 0 option dhcp-lease-time 600

!

dhcp-list 1 type server

dhcp-list 1 address server 10.1.1.2 10.1.1.126 255.255.255.128

!

!

ip-share enable

ip-share interface net-side ether0.0

ip-share interface local-side ether1.0

!

-- more --

interface ether0.0

ip address 192.168.0.19 255.255.255.0

ip access-group 1 in

!

interface ether1.0

no ip address

ip dhcp-group 0

!

snmp name AP200B

!

no arp reset

!

route 0.0.0.0 0.0.0.0 192.168.0.254

!

dnshost nameserver 192.168.0.1

!

!

!

!

!

! VoIP configuration.

!

-- more --

!

! Voice service voip configuration.

!

voice service voip

fax protocol t38 redundancy 0

fax rate 9600

h323 call start fast

h323 call tunnel enable

busyout monitor gatekeeper

no busyout monitor callagent

busyout monitor voip-interface

!

!

! Voice port configuration.

!

! FXS

voice-port 0/0

input gain -5

output gain -5

connection plar 9212

!

!

-- more --

! FXS

voice-port 0/1

connection plar 9120

!

!

!

!

! Pots peer configuration.

!

dial-peer voice 10 pots

destination-pattern 212

port 0/0

!

dial-peer voice 11 pots

destination-pattern 120

port 0/1

!

!

!

! Voip peer configuration.

!

dial-peer voice 100 voip

-- more --

destination-pattern 9212

session target 192.168.0.17

voice-class codec 1

dtmf-relay h245-alphanumeric

!

dial-peer voice 101 voip

destination-pattern 9120

session target 192.168.0.17

voice-class codec 1

dtmf-relay h245-alphanumeric

!

!

!

dial-peer call-hold h

dial-peer call-transfer h

!

!

!

! Gateway configuration.

!

gateway

h323-id voip.192.168.0.19

-- more --

no ignore-msg-from-other-gk

!

!

! Codec classes configuration.

!

voice class codec 1

codec preference 1 g729

codec preference 2 g7231r63

codec preference 3 g7231r53

codec preference 4 g711alaw

codec preference 5 g711ulaw

!

!

!

! SIP UA configuration.

!

sip-ua

!

!

! MGCP configuration.

!

mgcp

-- more --

codec g711ulaw

!

!

! Tones

AddPac 200D

show run

!

version 8.23D

!

hostname AP200

!

!

no bridge spanning-tree

!

access-list 1 permit host 192.168.0.19

!

dhcp-list 0 type server

dhcp-list 0 address server interface ether0cp-list 1 type server

dhcp-list 1 address server 10.1.1.2 10.1.1.126 255.255.255.128

!

!

ip-share enable

ip-share interface net-side ether0.0

ip-share interface local-side ether1.0

!

-- more --

interface ether0.0

ip address 192.168.0.17 255.255.255.0

ip access-group 1 in

!

interface ether1.0

no ip address

ip dhcp-group 0

!

snmp name AP200D

!

no a0.254

!

logging on

!

dnshost nameserver 192.168.0.1

!

!

!

!

!

-- more --

! VoIP configuration.

!

!

! Voice service voip configuratiodancy 0

fax rate 9600

h323 call start fast

h323 call tunnel enable

!

!

! Voice port configuration.

!

! FXO

voice-port 0/0

input gain -5

output gain -5

connection plar 2

! FXO

voice-port 0/1

connection plar 120

ring detect-timeout 70

!

!

!

!

! Pots peer configuration.

!

dial-peer voice 10 oice 11 pots

destination-pattern 9120

port 0/1

!

!

!

! Voip peer configuration.

!

-- more --

dial-peer voice 100 voip

destination-pattern 212

session target 192.169.0.19

voice-class codec 1

dtmf-relay h245-alphanumeric

preference 1

!

dial-peer voice 101 voip

destination-pattern 120

session targay h245-alphanumeric

!

!

!

!

!

!

! Gateway configuration.

!

gateway

h323-id voip.192.168.0.17

-- more --

no ignore-msg-from-other-gk

!

!

! Codec classes configuration.

!

voice class codec 1

codec preference 1 g729

codec preference 2 g7231r63

codec preference 3 g7231r53

codec preference 4 g711alaw

codec preference 5 g711ulaw

!

!

!

! SIP UA configuration.

!

sip-ua

!

uration.

!

mgcp

-- more --

codec g711ulaw

!

!

! Tones

при наборе номера идет отбой поможите люди добрые.


Вернуться к началу
 Профиль  
Ответить с цитатой  
СообщениеДобавлено: 07 июн 2010, 06:41 
Не в сети

Зарегистрирован: 02 мар 2009, 04:39
Сообщения: 7
сбросил все и настроил заново звонки с AddPac 200D на AddPac 200B идут, а обратно нет. железки в одной подсети находятся.без роутеров и т.п.


Вернуться к началу
 Профиль  
Ответить с цитатой  
СообщениеДобавлено: 07 июн 2010, 10:17 
Не в сети

Зарегистрирован: 23 июн 2009, 08:30
Сообщения: 66
Сперва перепрошей addPacи и перезагрузи их.
http://narod.ru/disk/21605178000/ap200d ... V.bin.html
http://narod.ru/disk/21606889000/ap200r ... V.bin.html
Затем подправь конфиги вот так (накидал на скорую руку, должно работать):
version 8.30V
!
hostname AP200B
!
!
no bridge spanning-tree
!
dhcp-list 0 type server
dhcp-list 0 address server interface ether0.0
dhcp-list 0 option dhcp-lease-time 600
!
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
ip-share interface local-side ether1.0
!
interface ether0.0
ip address 192.168.0.19 255.255.255.0
line-ctrl full-duplex
!
interface ether1.0
no ip address
ip dhcp-group 0
!
snmp name AP200B
!
no arp reset
!
route 0.0.0.0 0.0.0.0 192.168.0.254
!
dnshost nameserver 192.168.0.1
!
pnp-sktelink debug on
!
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
!
vlan-pri rtp 6
vlan-pri sig 6
!
!
!
! VoIP configuration.
!
!
! Voice service voip configuration.
!
voice service voip
fax protocol t38 redundancy 2
fax rate 9600
h323 call start fast
h323 call channel early
h323 call tunnel enable
hold-tone-play ring-back
timeout tring 180
timeout tidt 5
timeout tttl 300
max-frame g729 4
max-frame g711 4
busyout monitor gatekeeper
no busyout monitor sip-server
no busyout monitor callagent
busyout monitor voip-interface
display send none
!
!
! Voice port configuration.
!
! FXS
voice-port 0/0
no comfort-noise
fax-early-detect
input gain -5
output gain -5
caller-id enable
caller-id name disable
!
!
! FXS
voice-port 0/1
no comfort-noise
fax-early-detect
input gain -5
output gain -5
caller-id enable
caller-id name disable
!
!
!
!
! Pots peer configuration.
!
dial-peer voice 10 pots
destination-pattern 210
port 0/0
!
dial-peer voice 11 pots
destination-pattern 211
port 0/1
!
!
!
! Voip peer configuration.
!
dial-peer voice 100 voip
destination-pattern 1T
session target 192.168.0.17
voice-class codec 1
codec-variant g729 annex-a
dtmf-relay h245-alphanumeric
no vad
preference 1
!
dial-peer voice 900 voip
answer-address T
voice-class codec 1
codec-variant g729 annex-a
dtmf-relay h245-alphanumeric
no vad
preference 2
!
!
dial-peer call-hold h
dial-peer call-transfer h
!
!
!
! Gateway configuration.
!
gateway
h323-id voip.192.168.0.19
no ignore-msg-from-other-gk
!
!
! Codec classes configuration.
!
voice class codec 1
codec preference 1 g729
codec preference 2 g711alaw
codec preference 3 g711ulaw
!
!
!
! SIP UA configuration.
!
sip-ua
!
!
! MGCP configuration.
!
mgcp
!
!
! Tones
voice class dial-tone 425 0 0 0 0 0 -12
!
voice class ring-back-tone 425 0 1000 4000 0 0 -12
!
voice class line-busy-tone 425 0 350 350 0 0 -12
!
voice class reorder-tone 425 0 349 350 0 0 -12
!
voip-interface ether0.0

___________________________________________________
version 8.30V
!
hostname AP200D
!
no bridge spanning-tree
!
dhcp-list 0 type server
dhcp-list 0 address server interface ether0cp-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
ip-share interface local-side ether1.0
!
interface ether0.0
ip address 192.168.0.17 255.255.255.0
line-ctrl full-duplex
!
interface ether1.0
no ip address
ip dhcp-group 0
!
snmp name AP200D
!
no arp reset
!
route 0.0.0.0 0.0.0.0 192.168.0.254
!
dnshost nameserver 192.168.0.1
!
pnp-sktelink debug on
!
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
!
vlan-pri rtp 6
vlan-pri sig 6
!
!
! VoIP configuration.
!
!
voice service voip
fax protocol t38 redundancy 2
fax rate 9600
h323 call start fast
h323 call channel early
h323 call tunnel enable
hold-tone-play ring-back
timeout tring 180
timeout tidt 5
timeout tttl 300
max-frame g729 4
max-frame g711 4
busyout monitor gatekeeper
no busyout monitor sip-server
no busyout monitor callagent
busyout monitor voip-interface
display send none
!
!
! Voice port configuration.
!
! FXO
voice-port 0/0
connection plar 110
ring detect-timeout 70
input gain -5
output gain -5
no comfort-noise
fax-early-detect
no caller-id enable
!
! FXO
voice-port 0/1
connection plar 111
ring detect-timeout 70
input gain -5
output gain -5
no comfort-noise
fax-early-detect
no caller-id enable
!
!
!
!
! Pots peer configuration.
!
dial-peer voice 10 pots
destination-pattern T
port 0/0
preference 1
!
dial-peer voice 11 pots
destination-pattern T
port 0/1
preference 2
!
!
! Voip peer configuration.
!
dial-peer voice 100 voip
destination-pattern 210
session target 192.168.0.19
voice-class codec 1
codec-variant g729 annex-a
dtmf-relay h245-alphanumeric
no vad
preference 1
!
dial-peer voice 110 voip
destination-pattern 211
session target 192.168.0.19
voice-class codec 1
codec-variant g729 annex-a
dtmf-relay h245-alphanumeric
no vad
preference 2
!
dial-peer voice 900 voip
answer-address T
voice-class codec 1
codec-variant g729 annex-a
dtmf-relay h245-alphanumeric
no vad
!
!
!
!
! Gateway configuration.
!
gateway
h323-id voip.192.168.0.17
no ignore-msg-from-other-gk
!
!
! Codec classes configuration.
!
voice class codec 1
codec preference 1 g729
codec preference 2 g711alaw
codec preference 3 g711ulaw
!
!
!
! SIP UA configuration.
!
sip-ua
!
uration.
!
mgcp
!
!
! Tones
voice class dial-tone 425 0 0 0 0 0 -12
!
voice class ring-back-tone 425 0 1000 4000 0 0 -12
!
voice class line-busy-tone 425 0 350 350 0 0 -12
!
voice class reorder-tone 425 0 349 350 0 0 -12
!
voip-interface ether0.0


Вернуться к началу
 Профиль  
Ответить с цитатой  
Показать сообщения за:  Поле сортировки  
Начать новую тему Ответить на тему  [ Сообщений: 3 ] 

Часовой пояс: UTC


Кто сейчас на конференции

Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 0


Вы не можете начинать темы
Вы не можете отвечать на сообщения
Вы не можете редактировать свои сообщения
Вы не можете удалять свои сообщения
Вы не можете добавлять вложения

Найти:
Перейти:  
cron
Создано на основе phpBB® Forum Software © phpBB Group
Русская поддержка phpBB