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

История изменений [назад]

нажмите, чтобы скрыть/показать версии 1
изначальная версия
редактировать

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

SergVR Gravatar SergVR

Asterisk PBX + cisco vg224

Помогите подружить 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

Asterisk PBX + cisco vg224

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

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

!

version 12.4 12.4

no service pad pad

service timestamps debug datetime msec localtime show-timezone show-timezone

service timestamps log datetime msec localtime show-timezone show-timezone

no service password-encryption ! password-encryption

!

hostname VG224 ! boot-start-marker boot-end-marker ! VG224

!

boot-start-marker

boot-end-marker

!

no aaa new-model ! new-model

!

resource policy ! policy

!

clock timezone GMT 2 ip subnet-zero ip cef 2

ip subnet-zero

ip cef

no ip dhcp use vrf connected ! ! ! ! connected

!

!

!

!

voice-card 0 ! ! 0

!

!

voice call send-alert send-alert

voice rtp send-recv ! send-recv

!

voice service pots ! pots

!

voice service voip voip

allow-connections h323 to h323 h323

allow-connections h323 to sip sip

allow-connections sip to h323 h323

allow-connections sip to sip sip sip

sip

bind control source-interface FastEthernet0/0 FastEthernet0/0

bind media source-interface FastEthernet0/0 FastEthernet0/0

registrar server ! ! server

!

!

voice class codec 1 1

codec preference 1 g711ulaw ! archive g711ulaw

!

archive

log config hidekeys ! ! ! config

hidekeys

!

!

!

interface FastEthernet0/0 FastEthernet0/0

ip address 192.168.1.2 255.255.255.0 255.255.255.0

duplex half half

speed auto ! auto

!

interface FastEthernet0/1 FastEthernet0/1

no ip address shutdown address

shutdown

duplex auto auto

speed auto ! ip classless auto

!

ip classless

ip route 0.0.0.0 0.0.0.0 192.168.1.1 ! 192.168.1.1

!

ip http server ! server

!

dialer-list 1 protocol ip permit ! ! control-plane ! ! permit

!

!

control-plane

!

!

voice-port 2/0 2/0

timeouts call-disconnect 5 5

station-id name P0-2000 P0-2000

station-id number 2000 2000

caller-id enable ! enable

!

dial-peer voice 100 voip huntstop voip

huntstop

destination-pattern ^[0-9].T ^[0-9].T

voice-class codec 1 1

session protocol sipv2 sipv2

session target sip-server sip-server

dtmf-relay sip-notify rtp-nte rtp-nte

no vad ! vad

!

dial-peer voice 11 pots pots

destination-pattern 2000 2000

port 2/0 2/0

authentication username 2000 password ххххххххххххххх ! ! sip-ua ххххххххххххххх

!

!

sip-ua

authentication username xxxxxxx password ххххххххххххххх ххххххххххххххх

retry invite 2 2

retry response 10 10

timers trying 1000 1000

timers connect 100 100

timers connection aging 30 30

timers register 100 100

mwi-server ipv4:192.168.1.1 expires 3600 port 5060 transport udp udp

registrar ipv4:192.168.1.1:5060 expires 3600 3600

sip-server ipv4:192.168.1.1 ipv4:192.168.1.1

offer call-hold conn-addr ! ! conn-addr

!

!

line con 0 0

line aux 0 0

line vty 0 4 4

password xxxxxxx login xxxxxxx

login

! ntp clock-period 17180221 17180221

ntp server 192.168.1.1 192.168.1.1

end

Asterisk PBX + cisco vg224

Помогите подружить 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

Asterisk PBX + cisco vg224

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

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

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

!

!
version 12.4

no service pad

12.4 no service pad service timestamps debug datetime msec localtime show-timezone

show-timezone service timestamps log datetime msec localtime show-timezone

no service password-encryption

!

show-timezone no service password-encryption ! hostname VG224

!

boot-start-marker

boot-end-marker

!

VG224 ! boot-start-marker boot-end-marker ! no aaa new-model

!

new-model ! resource policy

!

policy ! clock timezone GMT 2

ip subnet-zero

ip cef

2 ip subnet-zero ip cef no ip dhcp use vrf connected

!

!

!

!

connected ! ! ! ! voice-card 0

!

!

0 ! ! voice call send-alert

send-alert voice rtp send-recv

!

voice service pots

!

voice service voip

send-recv ! voice service pots ! voice service voip allow-connections h323 to h323

h323 allow-connections h323 to sip

sip allow-connections sip to h323

h323 allow-connections sip to sip

sip

sip sip bind control source-interface FastEthernet0/0

FastEthernet0/0 bind media source-interface FastEthernet0/0

FastEthernet0/0 registrar server

!

!

server ! ! voice class codec 1

1 codec preference 1 g711ulaw

!

archive

g711ulaw ! archive log config

hidekeys

!

!

!

config hidekeys ! ! ! interface FastEthernet0/0

FastEthernet0/0 ip address 192.168.1.2 255.255.255.0

255.255.255.0 duplex half

half speed auto

!

auto ! interface FastEthernet0/1

no ip address

shutdown

FastEthernet0/1 no ip address shutdown duplex auto

auto speed auto

!

ip classless

auto ! ip classless ip route 0.0.0.0 0.0.0.0 192.168.1.1

!

192.168.1.1 ! ip http server

!

server ! dialer-list 1 protocol ip permit

!

!

control-plane

!

!

permit ! ! control-plane ! ! voice-port 2/0

2/0 timeouts call-disconnect 5

5 station-id name P0-2000

P0-2000 station-id number 2000

2000 caller-id enable

!

enable ! dial-peer voice 100 voip

huntstop

voip huntstop destination-pattern ^[0-9].T

^[0-9].T voice-class codec 1

1 session protocol sipv2

sipv2 session target sip-server

sip-server dtmf-relay sip-notify rtp-nte

no vad

!

rtp-nte no vad ! dial-peer voice 11 pots

pots destination-pattern 2000

2000 port 2/0

2/0 authentication username 2000 password ххххххххххххххх

!

!

sip-ua

ххххххххххххххх ! ! sip-ua authentication username xxxxxxx password ххххххххххххххх

ххххххххххххххх retry invite 2

2 retry response 10

10 timers trying 1000

1000 timers connect 100

100 timers connection aging 30

30 timers register 100

100 mwi-server ipv4:192.168.1.1 expires 3600 port 5060 transport udp

udp registrar ipv4:192.168.1.1:5060 expires 3600

3600 sip-server ipv4:192.168.1.1

ipv4:192.168.1.1 offer call-hold conn-addr

!

!

conn-addr ! ! line con 0

0 line aux 0

0 line vty 0 4

4 password xxxxxxx

login

xxxxxxx login ! ntp clock-period 17180221

17180221 ntp server 192.168.1.1

end

192.168.1.1 end

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