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

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

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

спросил 2019-01-10 12:33:44 +0400

v0ip Gravatar v0ip flag of Russian Federation

http://v0ip.tk/

AddPac Все звонки от одного ClID

На астер заведены 8 пользователей с двух шлюзов - AddPac AP700 (109-112) и AudioCodes (101-104). С AudioCodes проблем нет, а вот с аддпаки все вызовы приходят от юзера 109.

[general]
subscribemwi=no
language=ru
nat=no
format=wav
videosupport=yes
dtmfmode=auto
relaxdtmf=yes
limitonpeers=yes
bindaddr=0.0.0.0
rtpkeepalive=5
limitonpeer=yes
bindport=5060
;bindport=5061
allowguest=no
alwaysauthreject=yes
accept_outofcall_message=yes
outofcall_message_context=messages
auth_message_requests=no


[101]
type=friend
secret=000000
context=outgoing
host=dynamic
pickupgroup=1
callgroup=1
insecure=port,invite
canreinvite=no
nat=force_rport,comedia
dtmfmode=auto
qualify=yes
language=ru
disallow=all
allow=ulaw
allow=alaw

[102]
type=friend
secret=000000
;callerid=
pickupgroup=1
callgroup=1
context=outgoing
host=dynamic
insecure=port,invite
canreinvite=no
nat=force_rport,comedia
dtmfmode=auto
qualify=yes
language=ru
disallow=all
allow=ulaw
allow=alaw

[103]
type=friend
secret=000000
pickupgroup=1
callgroup=1
context=outgoing
;callerid=
host=dynamic
insecure=port,invite
canreinvite=no
nat=force_rport,comedia
dtmfmode=auto
qualify=yes
language=ru
disallow=all
allow=ulaw
allow=alaw

[104]
type=friend
secret=000000
pickupgroup=1
callgroup=1
context=outgoing
host=dynamic
insecure=port,invite
canreinvite=no
nat=force_rport,comedia
dtmfmode=auto
qualify=yes
language=ru
disallow=all
allow=ulaw
allow=alaw

[109]
type=friend
secret=000000
pickupgroup=1
callgroup=1
context=outgoing
host=dynamic
insecure=port,invite
canreinvite=no
nat=force_rport,comedia
dtmfmode=auto
qualify=yes
language=ru
disallow=all
allow=ulaw
allow=alaw

[110]
type=friend
secret=000000
pickupgroup=1
callgroup=1
context=outgoing
host=dynamic
insecure=port,invite
canreinvite=no
nat=force_rport,comedia
dtmfmode=auto
qualify=yes
language=ru
disallow=all
allow=ulaw
allow=alaw

[111]
type=friend
secret=000000
pickupgroup=1
callgroup=1
context=outgoing
host=dynamic
insecure=port,invite
canreinvite=no
nat=force_rport,comedia
dtmfmode=auto
qualify=yes
language=ru
disallow=all
allow=ulaw
allow=alaw

[112]
type=friend
secret=000000
pickupgroup=1
callgroup=1
context=outgoing
host=dynamic
insecure=port,invite
canreinvite=no
nat=force_rport,comedia
dtmfmode=auto
qualify=yes
language=ru
disallow=all
allow=ulaw
allow=alaw

AddPac Все звонки от одного ClID

На астер заведены 8 пользователей с двух шлюзов - AddPac AP700 (109-112) и AudioCodes (101-104). С AudioCodes проблем нет, а вот с аддпаки все вызовы приходят от юзера 109. Понять бы куда копать.

[general]
subscribemwi=no
language=ru
nat=no
format=wav
videosupport=yes
dtmfmode=auto
relaxdtmf=yes
limitonpeers=yes
bindaddr=0.0.0.0
rtpkeepalive=5
limitonpeer=yes
bindport=5060
;bindport=5061
allowguest=no
alwaysauthreject=yes
accept_outofcall_message=yes
outofcall_message_context=messages
auth_message_requests=no


[101]
type=friend
secret=000000
context=outgoing
host=dynamic
pickupgroup=1
callgroup=1
insecure=port,invite
canreinvite=no
nat=force_rport,comedia
dtmfmode=auto
qualify=yes
language=ru
disallow=all
allow=ulaw
allow=alaw

[102]
type=friend
secret=000000
;callerid=
pickupgroup=1
callgroup=1
context=outgoing
host=dynamic
insecure=port,invite
canreinvite=no
nat=force_rport,comedia
dtmfmode=auto
qualify=yes
language=ru
disallow=all
allow=ulaw
allow=alaw

[103]
type=friend
secret=000000
pickupgroup=1
callgroup=1
context=outgoing
;callerid=
host=dynamic
insecure=port,invite
canreinvite=no
nat=force_rport,comedia
dtmfmode=auto
qualify=yes
language=ru
disallow=all
allow=ulaw
allow=alaw

[104]
type=friend
secret=000000
pickupgroup=1
callgroup=1
context=outgoing
host=dynamic
insecure=port,invite
canreinvite=no
nat=force_rport,comedia
dtmfmode=auto
qualify=yes
language=ru
disallow=all
allow=ulaw
allow=alaw

[109]
type=friend
secret=000000
pickupgroup=1
callgroup=1
context=outgoing
host=dynamic
insecure=port,invite
canreinvite=no
nat=force_rport,comedia
dtmfmode=auto
qualify=yes
language=ru
disallow=all
allow=ulaw
allow=alaw

[110]
type=friend
secret=000000
pickupgroup=1
callgroup=1
context=outgoing
host=dynamic
insecure=port,invite
canreinvite=no
nat=force_rport,comedia
dtmfmode=auto
qualify=yes
language=ru
disallow=all
allow=ulaw
allow=alaw

[111]
type=friend
secret=000000
pickupgroup=1
callgroup=1
context=outgoing
host=dynamic
insecure=port,invite
canreinvite=no
nat=force_rport,comedia
dtmfmode=auto
qualify=yes
language=ru
disallow=all
allow=ulaw
allow=alaw

[112]
type=friend
secret=000000
pickupgroup=1
callgroup=1
context=outgoing
host=dynamic
insecure=port,invite
canreinvite=no
nat=force_rport,comedia
dtmfmode=auto
qualify=yes
language=ru
disallow=all
allow=ulaw
allow=alaw

AddPac Все звонки от одного ClID

На астер заведены 8 пользователей с двух шлюзов - AddPac AP700 (109-112) и AudioCodes (101-104). С AudioCodes проблем нет, а вот с аддпаки все вызовы приходят от юзера 109. Понять бы куда копать.

[general]
subscribemwi=no
language=ru
nat=no
format=wav
videosupport=yes
dtmfmode=auto
relaxdtmf=yes
limitonpeers=yes
bindaddr=0.0.0.0
rtpkeepalive=5
limitonpeer=yes
bindport=5060
;bindport=5061
allowguest=no
alwaysauthreject=yes
accept_outofcall_message=yes
outofcall_message_context=messages
auth_message_requests=no


[101]
type=friend
secret=000000
context=outgoing
host=dynamic
pickupgroup=1
callgroup=1
insecure=port,invite
canreinvite=no
nat=force_rport,comedia
dtmfmode=auto
qualify=yes
language=ru
disallow=all
allow=ulaw
allow=alaw

[102]
type=friend
secret=000000
;callerid=
pickupgroup=1
callgroup=1
context=outgoing
host=dynamic
insecure=port,invite
canreinvite=no
nat=force_rport,comedia
dtmfmode=auto
qualify=yes
language=ru
disallow=all
allow=ulaw
allow=alaw

[103]
type=friend
secret=000000
pickupgroup=1
callgroup=1
context=outgoing
;callerid=
host=dynamic
insecure=port,invite
canreinvite=no
nat=force_rport,comedia
dtmfmode=auto
qualify=yes
language=ru
disallow=all
allow=ulaw
allow=alaw

[104]
type=friend
secret=000000
pickupgroup=1
callgroup=1
context=outgoing
host=dynamic
insecure=port,invite
canreinvite=no
nat=force_rport,comedia
dtmfmode=auto
qualify=yes
language=ru
disallow=all
allow=ulaw
allow=alaw

[109]
type=friend
secret=000000
pickupgroup=1
callgroup=1
context=outgoing
host=dynamic
insecure=port,invite
canreinvite=no
nat=force_rport,comedia
dtmfmode=auto
qualify=yes
language=ru
disallow=all
allow=ulaw
allow=alaw

[110]
type=friend
secret=000000
pickupgroup=1
callgroup=1
context=outgoing
host=dynamic
insecure=port,invite
canreinvite=no
nat=force_rport,comedia
dtmfmode=auto
qualify=yes
language=ru
disallow=all
allow=ulaw
allow=alaw

[111]
type=friend
secret=000000
pickupgroup=1
callgroup=1
context=outgoing
host=dynamic
insecure=port,invite
canreinvite=no
nat=force_rport,comedia
dtmfmode=auto
qualify=yes
language=ru
disallow=all
allow=ulaw
allow=alaw

[112]
type=friend
secret=000000
pickupgroup=1
callgroup=1
context=outgoing
host=dynamic
insecure=port,invite
canreinvite=no
nat=force_rport,comedia
dtmfmode=auto
qualify=yes
language=ru
disallow=all
allow=ulaw
allow=alaw

Конфиг самой адпаки:

!
! APOS(tm) configuration saved from vty
!  2019/01/11 16:37:44 !
version 8.41.086
!
hostname AP700
!
username root password router administrator
username guest password guest user
!
!
interface Loopback0
 ip address 127.0.0.1 255.0.0.0
!
interface FastEthernet0/0
 ip address 192.168.1.241 255.255.255.0
 speed auto
 no qos-control
!
interface FastEthernet0/1
 no ip address
 speed auto
 no qos-control
!
interface FastEthernet0/1:1
 ip address 192.168.10.1 255.255.255.0
!
ip route 0.0.0.0 0.0.0.0 192.168.1.1 10
!
!
!
ip dhcp pool default
 network FastEthernet0/1
  range FastEthernet0/0
!
!
dhcp server 
http server
!
dns name-server 77.88.8.8
ip connect default inside FastEthernet0/1 outside FastEthernet0/0
!
! 
! 
! 
! 
! VoIP configuration. 
! 
! 
! Voice service voip configuration. 
! 
protocol sip
dtmf-relay in-band
voice service voip 
 fax protocol t38 redundancy 0 
 fax rate 9600 
 h323 call start fast 
 h323 call tunnel enable 
 busyout monitor gatekeeper 
 busyout monitor sip-server 
 no busyout monitor callagent 
 busyout monitor voip-interface 
! 
! 
! Voice port configuration. 
! 
! FXS 
voice-port 0/0 
 caller-id enable 
! 
! 
! FXS 
voice-port 0/1 
 caller-id enable 
! 
! 
! FXS 
voice-port 0/2 
 caller-id enable 
! 
! 
! FXS 
voice-port 0/3 
 caller-id enable 
! 
! 
! 
! 
! Pots peer configuration. 
! 
dial-peer voice 1000 pots
 destination-pattern 109 
 port 0/0 
 user-password  EYEuHs6PTg5yZ3oUaQP5+g== encrypt
 display-name 109 quoted add-line-number
! 
dial-peer voice 1001 pots
 destination-pattern 110 
 port 0/1 
 user-password  EYEuHs6PTg5yZ3oUaQP5+g== encrypt
 display-name 110 quoted add-line-number
! 
dial-peer voice 1002 pots
 destination-pattern 111 
 port 0/2 
 user-password  EYEuHs6PTg5yZ3oUaQP5+g== encrypt
 display-name 111 quoted add-line-number
! 
dial-peer voice 1003 pots
 destination-pattern 112 
 port 0/3 
 user-password  EYEuHs6PTg5yZ3oUaQP5+g== encrypt
 display-name 112 quoted add-line-number
! 
! 
! 
! Voip peer configuration. 
! 
dial-peer voice 10000 voip 
 destination-pattern T 
 session target sip-server  
 session protocol sip 
 voice-class codec 0 
 no vad
 no dtmf-relay 
 translate-outgoing called-number 0 
 translate-outgoing calling-number 0 
! 
! 
! 
dial-peer call-hold h 
dial-peer call-transfer h 
! 
! 
! 
! Gateway configuration. 
! 
gateway 
 h323-id voip.192.168.1.241 
 no ignore-msg-from-other-gk 
! 
! 
! Codec classes configuration. 
! 
voice class codec 0 
 codec preference 1 g711alaw 
! 
! 
! 
! Translation Rule configuration. 
! 
translation-rule 0 
 rule 0      T                        8%02%99                          
! 
! 
! 
! SIP UA configuration. 
! 
sip-ua 
 no fault-tolerance 
 sip-server 192.168.1.254 5060 126 
 register e164 
! 
! 
! Tones 
!
! 
! 
!
line console
!
line vty
!
нажмите, чтобы скрыть/показать версии 4
Добавлен конфиг шлюза
редактировать

AddPac Все звонки от одного ClID

На астер заведены 8 пользователей с двух шлюзов - AddPac AP700 (109-112) и AudioCodes (101-104). С AudioCodes проблем нет, а вот с аддпаки все вызовы приходят от юзера 109. Понять бы куда копать.

[general]
subscribemwi=no
language=ru
nat=no
format=wav
videosupport=yes
dtmfmode=auto
relaxdtmf=yes
limitonpeers=yes
bindaddr=0.0.0.0
rtpkeepalive=5
limitonpeer=yes
bindport=5060
;bindport=5061
allowguest=no
alwaysauthreject=yes
accept_outofcall_message=yes
outofcall_message_context=messages
auth_message_requests=no


[101]
type=friend
secret=000000
context=outgoing
host=dynamic
pickupgroup=1
callgroup=1
insecure=port,invite
canreinvite=no
nat=force_rport,comedia
dtmfmode=auto
qualify=yes
language=ru
disallow=all
allow=ulaw
allow=alaw

[102]
type=friend
secret=000000
;callerid=
pickupgroup=1
callgroup=1
context=outgoing
host=dynamic
insecure=port,invite
canreinvite=no
nat=force_rport,comedia
dtmfmode=auto
qualify=yes
language=ru
disallow=all
allow=ulaw
allow=alaw

[103]
type=friend
secret=000000
pickupgroup=1
callgroup=1
context=outgoing
;callerid=
host=dynamic
insecure=port,invite
canreinvite=no
nat=force_rport,comedia
dtmfmode=auto
qualify=yes
language=ru
disallow=all
allow=ulaw
allow=alaw

[104]
type=friend
secret=000000
pickupgroup=1
callgroup=1
context=outgoing
host=dynamic
insecure=port,invite
canreinvite=no
nat=force_rport,comedia
dtmfmode=auto
qualify=yes
language=ru
disallow=all
allow=ulaw
allow=alaw

[109]
type=friend
secret=000000
pickupgroup=1
callgroup=1
context=outgoing
host=dynamic
insecure=port,invite
canreinvite=no
nat=force_rport,comedia
dtmfmode=auto
qualify=yes
language=ru
disallow=all
allow=ulaw
allow=alaw

[110]
type=friend
secret=000000
pickupgroup=1
callgroup=1
context=outgoing
host=dynamic
insecure=port,invite
canreinvite=no
nat=force_rport,comedia
dtmfmode=auto
qualify=yes
language=ru
disallow=all
allow=ulaw
allow=alaw

[111]
type=friend
secret=000000
pickupgroup=1
callgroup=1
context=outgoing
host=dynamic
insecure=port,invite
canreinvite=no
nat=force_rport,comedia
dtmfmode=auto
qualify=yes
language=ru
disallow=all
allow=ulaw
allow=alaw

[112]
type=friend
secret=000000
pickupgroup=1
callgroup=1
context=outgoing
host=dynamic
insecure=port,invite
canreinvite=no
nat=force_rport,comedia
dtmfmode=auto
qualify=yes
language=ru
disallow=all
allow=ulaw
allow=alaw

Конфиг самой адпаки:

!
! APOS(tm) configuration saved from vty
!  2019/01/11 16:37:44 !
version 8.41.086
!
hostname AP700
!
username root password router administrator
username guest password guest user
!
!
interface Loopback0
 ip address 127.0.0.1 255.0.0.0
!
interface FastEthernet0/0
 ip address 192.168.1.241 255.255.255.0
 speed auto
 no qos-control
!
interface FastEthernet0/1
 no ip address
 speed auto
 no qos-control
!
interface FastEthernet0/1:1
 ip address 192.168.10.1 255.255.255.0
!
ip route 0.0.0.0 0.0.0.0 192.168.1.1 10
!
!
!
ip dhcp pool default
 network FastEthernet0/1
  range FastEthernet0/0
!
!
dhcp server 
http server
!
dns name-server 77.88.8.8
ip connect default inside FastEthernet0/1 outside FastEthernet0/0
!
! 
! 
! 
! 
! VoIP configuration. 
! 
! 
! Voice service voip configuration. 
! 
protocol sip
dtmf-relay in-band
voice service voip 
 fax protocol t38 redundancy 0 
 fax rate 9600 
 h323 call start fast 
 h323 call tunnel enable 
 busyout monitor gatekeeper 
 busyout monitor sip-server 
 no busyout monitor callagent 
 busyout monitor voip-interface 
! 
! 
! Voice port configuration. 
! 
! FXS 
voice-port 0/0 
 caller-id enable 
! 
! 
! FXS 
voice-port 0/1 
 caller-id enable 
! 
! 
! FXS 
voice-port 0/2 
 caller-id enable 
! 
! 
! FXS 
voice-port 0/3 
 caller-id enable 
! 
! 
! 
! 
! Pots peer configuration. 
! 
dial-peer voice 1000 pots
 destination-pattern 109 
 port 0/0 
 user-password  EYEuHs6PTg5yZ3oUaQP5+g== encrypt
 display-name 109 quoted add-line-number
! 
dial-peer voice 1001 pots
 destination-pattern 110 
 port 0/1 
 user-password  EYEuHs6PTg5yZ3oUaQP5+g== encrypt
 display-name 110 quoted add-line-number
! 
dial-peer voice 1002 pots
 destination-pattern 111 
 port 0/2 
 user-password  EYEuHs6PTg5yZ3oUaQP5+g== encrypt
 display-name 111 quoted add-line-number
! 
dial-peer voice 1003 pots
 destination-pattern 112 
 port 0/3 
 user-password  EYEuHs6PTg5yZ3oUaQP5+g== encrypt
 display-name 112 quoted add-line-number
! 
! 
! 
! Voip peer configuration. 
! 
dial-peer voice 10000 voip 
 destination-pattern T 
 session target sip-server  
 session protocol sip 
 voice-class codec 0 
 no vad
 no dtmf-relay 
 translate-outgoing called-number 0 
 translate-outgoing calling-number 0 
! 
! 
! 
dial-peer call-hold h 
dial-peer call-transfer h 
! 
! 
! 
! Gateway configuration. 
! 
gateway 
 h323-id voip.192.168.1.241 
 no ignore-msg-from-other-gk 
! 
! 
! Codec classes configuration. 
! 
voice class codec 0 
 codec preference 1 g711alaw 
! 
! 
! 
! Translation Rule configuration. 
! 
translation-rule 0 
 rule 0      T                        8%02%99                          
! 
! 
! 
! SIP UA configuration. 
! 
sip-ua 
 no fault-tolerance 
 sip-server 192.168.1.254 5060 126 
 register e164 
! 
! 
! Tones 
!
! 
! 
!
line console
!
line vty
!

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