СвязьПроект

Российский системный интегратор
Текущее время: 28 мар 2024, 15:21

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




Начать новую тему Ответить на тему  [ Сообщений: 2 ] 
Автор Сообщение
 Заголовок сообщения: Addpac 1004 1002 Panasonic KX-NCP500
СообщениеДобавлено: 30 авг 2019, 15:37 
Не в сети

Зарегистрирован: 30 авг 2019, 14:43
Сообщения: 2
Добрый день.
Прошу помочь с до настройкой Addpac 1004,1002 совместной работой с Panasonic KX-NCP500
Вводная информация:
В одной локальной сети работают:
1)Panasonic KX-NCP500 192.168.1.4 + 2 радиобазы TGP500 192.168.1.7,8
2)Addpac GS 1004 A - четыре сим карты МТС оператора объеденные авто секретарем в федеральный номер АОН 192.168.1.6
3)Addpac GS 1002 B - две сим карты зарубежного оператора Aquafon для наших клиентов из Абхазии. Одна сим для исходящих, другая для входящих. 192.168.1.20
на УАТС:
1 - мтс сим 1
2 - мтс сим 2
3 - мтс сим 3
4 - мтс сим 4
5 - aquafon 1 для исходящих
6 - aquafon 2 для входящих
Занимать линии на входящие указано с 6 по 1
Проблема заключается в следующем.
Любой входящий вызов МТС или Aquafon приходит на addpac - атс - секретарь аналоговый телефон с номером 101 или в перерыв 505 (автоответчик).
Занимается линия от 6 до 1 согласно ID connection plar. Но правило не отрабатывает и занимается 6 линия не соответствующая сим карте.
На исходящие такой проблемы не наблюдается.
Попробовали сделать аутентификацию одного порта по SIP ua - но не получается авторизоваться. Попробовал авторизоваться с помощью радиобазы трубки. Авторизация не проходит.

Ниже CFG устройств:

ADDPAC 1004
Код:
Current configuration:
!
version 8.51.007
!
hostname GS1004
!
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.6 255.255.255.0
 speed auto
 no qos-control
!
ip route 0.0.0.0 0.0.0.0 192.168.0.1 10
ip route 192.168.0.0 255.255.255.0 192.168.0.1
ip route 192.168.0.0 255.255.255.0 192.168.1.1
!
!
!
http server
!
logging command
logging event 4-warning
logging on
!
!
!
!
! VoIP configuration.
!
!
! Voice service voip configuration.
!
voice service voip
 protocol sip
 dtmf-relay in-band
 fax protocol t38 redundancy 0
 fax rate 9600
 h323 call start fast
 h323 call tunnel enable
 busyout monitor sip-server
 busyout monitor voip-interface
 no call-barring unconfigured-ip-address
 no voip-inbound-call-barring enable
!
!
! Voice port configuration.
!
! GSM
voice-port 1/0
 connection plar 4101
 caller-id enable
!
!
! GSM
voice-port 1/1
 connection plar 4102
 caller-id enable
!
!
! GSM
voice-port 1/2
 connection plar 4103
 caller-id enable
!
!
! GSM
voice-port 1/3
 connection plar 4104
 caller-id enable
!
!
!
!
! service port group configuration.
!
!
!
! Pots peer configuration.
!
dial-peer voice 14101 pots
 destination-pattern T
 port 1/0
 no register e164
!
dial-peer voice 14102 pots
 destination-pattern T
 port 1/1
 no register e164
!
dial-peer voice 14103 pots
 destination-pattern T
 port 1/2
 no register e164
!
dial-peer voice 14104 pots
 destination-pattern T
 port 1/3
 no register e164
!
!
!
! Voip peer configuration.
!
dial-peer voice 41011 voip
 destination-pattern 4101
 session target ip 192.168.1.4  5060
 session protocol sip
 no vad
 dtmf-relay rtp-2833
!
dial-peer voice 41021 voip
 destination-pattern 4102
 session target ip 192.168.1.4  5060
 session protocol sip
 no vad
 dtmf-relay rtp-2833
!         
dial-peer voice 41031 voip
 destination-pattern 4103
 session target ip 192.168.1.4  5060
 session protocol sip
 no vad
 dtmf-relay rtp-2833
!
dial-peer voice 41041 voip
 destination-pattern 4104
 session target ip 192.168.1.4  5060
 session protocol sip
 no vad
 dtmf-relay rtp-2833
!
!
!
!
!
!
gatekeeper
!
!
! Gateway configuration.
!
gateway
 h323-id voip.192.168.1.6
 no ignore-msg-from-other-gk
!
!
! Codec classes configuration.
!
voice class codec 0
 codec preference 1 g711alaw
 codec preference 2 g711ulaw
!
!
!
! SIP UA configuration.
!
sip-ua
 sip-server 192.168.1.4 5060 126
 register e164
!         
!
! Tones
!
!
!
!
! SMTP sendmail configuration
!
sms-delivery
!
!
!
line console
!
line vty
!
gsm dev-restart-by-unreg 300
!
gsm 1/0
 sms-language utf8
!
gsm 1/1
 sms-language utf8
!
gsm 1/2
 sms-language utf8
!
gsm 1/3
 sms-language utf8
!
end


ADDPAC 1002

Код:
Current configuration:
!
version 8.51.007
!
hostname GS1002_G2
clock timezone RU 20 5
!
username root password router administrator
username guest password guest user
!
!
script ntpdate default
 resynchronize 12 0
 server ip ntp1.stratum2.ru
 server ip ntp3.stratum2.ru
!
interface Loopback0
 ip address 127.0.0.1 255.0.0.0
!
interface FastEthernet0/0
 ip address 192.168.1.20 255.255.255.0
 speed auto
 no qos-control
!
interface FastEthernet0/1
 no ip address
 speed auto
 no qos-control
!
interface FastEthernet0/0:1
 no ip address
!
interface FastEthernet0/1:1
 ip address 192.168.10.1 255.255.255.0
!
arp default-permanent
!         
ip route 0.0.0.0 0.0.0.0 192.168.1.1
!
!
!
!
ftp server
http server
!
logging command
logging event 4-warning
logging on
!
!
!
!
! VoIP configuration.
!
!
! Voice service voip configuration.
!
voice service voip
 protocol sip
 dtmf-relay in-band
 fax protocol t38 redundancy 0
 fax rate 9600
 h323 call start fast
 h323 call tunnel enable
 no call-barring unconfigured-ip-address
 no voip-inbound-call-barring enable
!
!
! Voice port configuration.
!
! GSM
voice-port 0/0
 connection plar 4105
 caller-id enable
!
!
! GSM
voice-port 0/1
 connection plar 4106
 caller-id enable
!
!
! FXS
voice-port 0/2
 caller-id enable
!
!
! FXS
voice-port 0/3
 caller-id enable
!
!
!
!
! service port group configuration.
!
!
!
! Pots peer configuration.
!
dial-peer voice 1 pots
 destination-pattern T
 port 0/0
 call-waiting
!
dial-peer voice 2 pots
 destination-pattern T
 call-waiting
!
dial-peer voice 14105 pots
 destination-pattern T
 port 0/0
 no register e164
!
dial-peer voice 14106 pots
 destination-pattern T
 port 0/1
 no register e164
!
!
!         
! Voip peer configuration.
!
dial-peer voice 0 voip
 destination-pattern T
 session target sip-server 
 session protocol sip
 voice-class codec 1
 no vad
 dtmf-relay rtp-2833
!
dial-peer voice 41051 voip
 destination-pattern 4105
 session target ip 192.168.1.4  5060
 session protocol sip
 no vad
 dtmf-relay rtp-2833
!
dial-peer voice 41061 voip
 destination-pattern 4106
 session target ip 192.168.1.4  5060
 session protocol sip
 no vad
 dtmf-relay rtp-2833
!
!
!
!
!
!
gatekeeper
!
!
! Gateway configuration.
!
gateway
 h323-id voip.192.168.1.20
 no ignore-msg-from-other-gk
!
!
! Codec classes configuration.
!
voice class codec 0
 codec preference 1 g711alaw
 codec preference 2 g711ulaw
!
!
!
! SIP UA configuration.
!
sip-ua
 sip-server 192.168.1.4 5060 126
 remote-party-id
 register e164
!
!
! Tones
!
!
!
!
! SMTP sendmail configuration
!
sms-delivery
!
!
voip-interface ip 192.168.1.20
!
line console
!
line vty
!
gsm dev-restart-by-unreg 300
!
gsm 0/0
 sms-language utf8
!
gsm 0/1
 sms-language utf8
!
end


Мои тесты:
На addpac 1004 1/0 порту настроил sip авторизацию, авторизация не работает, но дозвониться могу:
Вот лог прозвона на эту сим карту из адпака:

    < 46> Aug 30 15:12:53 local 79384391439 89882334499 : Aug 30 15:12:16 37 Local:CallClear

Вот внесенные изменения на этом устройстве

Код:
! Voice port configuration.
!
! GSM
voice-port 1/0
 connection plar 89882334499
 caller-id enable


! Pots peer configuration
dial-peer voice 14101 pots
 destination-pattern 89882334499
 port 1/0
 user-password mts2334499

! Voip peer configuration.
!
dial-peer voice 41011 voip
 destination-pattern 89882334499
 session target ip 192.168.1.4  5060
 session protocol sip
 no vad
 dtmf-relay rtp-2833

! SIP UA configuration.
!
sip-ua
 sip-server 192.168.1.4
 response alert without-sdp
 register e164
!


Если что-то не внятно объяснил, поправьте, еще учусь...
Спасибо.


Вложения:
Комментарий к файлу: Из АТС тестовая sip аутентификация
Screenshot_1.png
Screenshot_1.png [ 18.79 КБ | Просмотров: 19427 ]
Вернуться к началу
 Профиль  
Ответить с цитатой  
 Заголовок сообщения: Re: Addpac 1004 1002 Panasonic KX-NCP500
СообщениеДобавлено: 04 сен 2019, 07:47 
Не в сети

Зарегистрирован: 30 авг 2019, 14:43
Сообщения: 2
Решено. В АТС нужно было выставить на транк порту: 1.1 Слот - Выбор виртуальной панели - Свойства (виртуального порта шлюза Sip) - OUS - смена id аутентификации


Вложения:
Настройка транк порта.png
Настройка транк порта.png [ 56.06 КБ | Просмотров: 19415 ]
Вернуться к началу
 Профиль  
Ответить с цитатой  
Показать сообщения за:  Поле сортировки  
Начать новую тему Ответить на тему  [ Сообщений: 2 ] 

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


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

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


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

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