Перейти к содержимому
Калькуляторы

AP200D + AP200E AP200D + AP200E

Народ помогите плиз:

КУПИЛ три девайса ap200d ap200e и ap100

Надо настроить следующую схему:

I ap200d находится в головном офисе и подключен к атс 2-мя Fxo портами.

 

IIap100 находится в первом филиале в одном городе с головным офисом - настроено, работает, вопросов нет.

 

IIIap200e находится в другом городе во втором филиале - к Fxs порту подсоединен телефонный аппарат - работает вопросов нет, это просто. К ap200e на в Fxo порт заведена городская линия.

Задача сделать так:

1) Любой абонент в головном офисе ->ATC-> Fxo port 0/1 ap200d ->nabor prefixa 001-> Fxs port 0/1 ap200e (телефонный аппарат)

 

2) Любой абонент в головном офисе ->ATC-> Fxo port 0/1 ap200d ->nabor prefixa 002-> Fx0 port 0/0 ap200e->выход на PSTN города в котором филиал

 

3) PSTN -> ap200e fxo port 0/0 -> звонок передается только на Fxs port 0/1 и все больше никуда не надо!!!

 

4) Абонент снявший трубку на телефоне подкл. к ap200e Fxs port 0/1 должен иметь возможность перевести звонок через префикс на ap200d и далее на любой внутренний номер АТС головного офиса.

 

5) Абонент снявший трубку на телефоне подкл. к ap200e Fxs port 0/1 должен иметь возможность без префикса напрямую вылетать в PSTN своего города т.е. на Fxo port 0/0

 

6) Абонент снявший трубку на телефоне подкл. к ap200e Fxs port 0/1 должен иметь возможность набрав префикс вылетать на АТС головного офиса либо на любой внутренний номер, либо донабрав 9 в город PSTN головного офиса.

 

Текущие конфиги:

 

AP200D:

-------------------------------------------------------------------------------------

!

version 8.23I

!

hostname AP200

!

!

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

!

!

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.26 255.255.255.0

!

interface ether1.0

no ip address

ip dhcp-group 0

!

snmp name AP200D

snmp enable-trap dn-register 300

!

no arp reset

!

route 0.0.0.0 0.0.0.0 192.168.0.1

!

!

!

!

!

! VoIP configuration.

!

!

! Voice service voip configuration.

!

voice service voip

fax protocol t38 redundancy 0

fax rate 9600

h323 call start fast

h323 call tunnel enable

!

!

! Voice port configuration.

!

! FXO

voice-port 0/0

connection plar 208

description 208

ring detect-timeout 70

no caller-id enable

!

!

! FXO

voice-port 0/1

connection plar 252

description 252

ring detect-timeout 70

no caller-id enable

!

!

!

!

! Pots peer configuration.

!

dial-peer voice 10 pots

destination-pattern 9208

port 0/0

!

dial-peer voice 11 pots

destination-pattern 9252

port 0/1

!

!

!

! Voip peer configuration.

!

dial-peer voice 100 voip

destination-pattern 252

session target 192.168.0.27

dtmf-relay h245-alphanumeric

vad

!

dial-peer voice 101 voip

destination-pattern 208

session target 192.168.0.25

dtmf-relay h245-alphanumeric

vad

!

!

!

!

!

!

! Gateway configuration.

!

gateway

h323-id voip.192.168.0.26

no ignore-msg-from-other-gk

!

!

! SIP UA configuration.

!

sip-ua

!

!

! MGCP configuration.

!

mgcp

codec g711ulaw

vad

!

!

! Tones

!

!

!

!

-------------------------------------------------------------------------------------

 

AP200E:

-------------------------------------------------------------------------------------

 

!

version 8.23I

!

hostname AP200

!

!

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

!

!

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.27 255.255.255.0

!

interface ether1.0

no ip address

ip dhcp-group 0

!

snmp name AP200E

snmp enable-trap dn-register 300

!

no arp reset

!

route 0.0.0.0 0.0.0.0 192.168.0.1

!

!

!

!

!

! VoIP configuration.

!

!

! Voice service voip configuration.

!

voice service voip

fax protocol t38 redundancy 0

fax rate 9600

h323 call start fast

h323 call tunnel enable

!

!

! Voice port configuration.

!

! FXO

voice-port 0/0

no caller-id enable

!

!

! FXS

voice-port 0/1

connection plar 9252

no caller-id enable

!

!

!

!

! Pots peer configuration.

!

!

dial-peer voice 11 pots

destination-pattern 252

port 0/1

!

!

!

! Voip peer configuration.

!

!

dial-peer voice 101 voip

destination-pattern 9252

session target 192.168.0.26

dtmf-relay h245-alphanumeric

vad

!

!

!

!

!

!

! Gateway configuration.

!

gateway

h323-id voip.192.168.0.27

no ignore-msg-from-other-gk

!

!

! SIP UA configuration.

!

sip-ua

!

!

! MGCP configuration.

!

mgcp

codec g711ulaw

vad

!

!

! Tones

!

!

!

!

-------------------------------------------------------------------------------------

 

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

Join the conversation

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

Гость
Ответить в тему...

×   Вставлено в виде отформатированного текста.   Вставить в виде обычного текста

  Разрешено не более 75 смайлов.

×   Ваша ссылка была автоматически встроена.   Отобразить как ссылку

×   Ваш предыдущий контент был восстановлен.   Очистить редактор

×   Вы не можете вставить изображения напрямую. Загрузите или вставьте изображения по ссылке.