gadzhi15
@gadzhi15

Настройка Addpac и Asterisk. В чем ошибка?

Добрый день.
Имеется GSM шлюз AddPac AP-GS1002 и Asterisk+FreePBX. AddPac настраивал по сей инструкции .
Протестировал. Исходящие и входящие звонки работают. Но на Addpac при вводе команды show sip показывает что AddPac не зарегистрирован на Asterisk (not registered). В чем может быть проблема?
  • Вопрос задан
  • 4775 просмотров
Пригласить эксперта
Ответы на вопрос 3
нет никакой ошибки, просто по инструкции не предусмотрена регистрация
Ответ написан
aalexx
@aalexx
Инженер связи
насчет MOH - да. Всё правильно. Кстати, этот ресурс искренне рекомендую как источник информации! Сам с него начинал и периодически к нему возвращаюсь. Но почему-то я думаю, что вам нужно будет Голосовое дерево - IVR. В ракурсе FreePbx вроде у них же описание было - посмотрите в разделе статьи.
Насчет рекламы в IVR(MOH) один юрист с пеной у рта мне доказывал необходимость получения лицензии на оказание рекламных услуг...
Все мои проекты пока сугубо личные(для себя любимого) и корпоративные, а там это ни к чему... Хотя просто MOH я, конечно, использую.
Ответ написан
Комментировать
gadzhi15
@gadzhi15 Автор вопроса
Листинг конфигурации AddPac
!
! APOS(tm) configuration saved from vty
!  2015/06/27 11:11:39
!
version 8.51.010
!
hostname GS1002
!
username root password router administrator
username guest password guest user
!
!
script ntpdate default
 server ip time.nist.gov
 server ip time.windows.com
!
interface Loopback0
 ip address 127.0.0.1 255.0.0.0
!
interface FastEthernet0/0
 ip address 192.168.11.231 255.255.0.0
 speed auto
 no qos-control
!
interface FastEthernet0/1
 no ip address
 shutdown
 speed auto
 no qos-control
!
ip route 0.0.0.0 0.0.0.0 192.168.1.1 10
!
!
!
!
http server
!
logging command
logging event 4-warning
logging on
!
!
!
!
! VoIP configuration.
!
!
! Voice service voip configuration.
!
voice service voip
 protocol sip
 dtmf-relay rfc-2833
 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 89289783894
 dial-tone-generate
 caller-id enable
!
!
! GSM
voice-port 0/1
 dial-tone-generate
 no caller-id enable
 shutdown
!
!
!
!
! service port group configuration.
!
!
!
! Pots peer configuration.
!
dial-peer voice 1000 pots
 destination-pattern T
 port 0/0
 call-waiting
 user-name addpac
 user-password sip-secret
!
!
!
! Voip peer configuration.
!
dial-peer voice 2000 voip
 destination-pattern 89289783894
 session target ip 192.168.11.221  5060
 session protocol sip
 voice-class codec 0
 no vad
 dtmf-relay rtp-2833
 description asterisk
!
!
!
!
!
!
gatekeeper
!
!
! Gateway configuration.
!
gateway
 h323-id voip.192.168.11.231
 no ignore-msg-from-other-gk
!
!
! Codec classes configuration.
!
voice class codec 0
 codec preference 1 g711alaw
 codec preference 2 g711ulaw
 codec preference 3 g729
!
!
!
! SIP UA configuration.
!
sip-ua
 sip-username addpac
 sip-password sip-secret
 sip-server 192.168.11.221
!
!
! Tones
!
!
! SMS delivery configuration
!
sms-delivery
!
!
!
!
voip-interface ip FastEthernet0/0
!
line console
!
line vty
!
mobile dev-restart-by-unreg 300
mobile dev-restart-by-unknown-error
mobile cell-monitor 30
!
mobile 0/0
 gsm sms-language utf8
!
mobile 0/1
 gsm sms-language utf8
!
Ответ написан
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы