Jump to content

Recommended Posts

Posted

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

КУПИЛ три девайса 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.

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 и с Политикой конфиденциальности.