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

AddPac GS1001

0

Приветствую уважаемых гуру. Имеется AddPac GS1001 и простая задача: перенаправить вызов на конкретный мобильный номер. В качестве PBX используется дистрибутив Elastix. Настроен транк следующим макаром:

[from-internal]
exten => 103,1,Dial(SIP/101/8916#####23)
same => n,Hangup ()

звонок приходит на AddPac и при этом в логе звонков:
incomming 100 8916#####23 device:192.168.0.226 0 Local:InvalidNumber

В AddPac по этому поводу:

! 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 100
ring detect-timeout 70
caller-id enable
caller-id type etsi
caller-id name disable
!
! FXS
voice-port 0/1
caller-id enable
shutdown
!
!
! service port group configuration.
!
! Pots peer configuration.
!
dial-peer voice 1000 pots
destination-pattern. T
port 0/0
no register e164
!
! Voip peer configuration.
!
dial-peer voice 2000 voip
destination-pattern 100
session target ip 192.168.0.226 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.0.226
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 101
sip-password aa1234
sip-server 192.168.0.226
session-refresh update
!
! Tones
!
!
line console
!
line vty
access-class 50
!
gsm dev-restart-by-unreg 300
!
gsm 0/0
sms-language utf8
!
end

В чем я не прав?

удалить закрыть спам изменить тег редактировать

спросил 2013-12-11 14:00:10 +0400

анонимный пользователь

Аноним

Comments

Черт побери! 2-й день из-за глупой опечатки =)

Кроме того статус GSM-модуля был "Shutdowned". "up" в описании "port 0/0" исправил положение. Что характерно, смс и входящие вызовы при отключенном модуле проходили.

Спасибо!

mrNord ( 2013-12-11 15:08:27 +0400 )редактировать

1 Ответ

1

возможно в этом:

destination-pattern. T

точка помоему лишняя

ссылка удалить спам редактировать

ответил 2013-12-11 14:47:15 +0400

romariosar Gravatar romariosar flag of Russian Federation
588 93 10 44
http://www.webunix.ru/

обновил 2013-12-11 14:47:31 +0400

Ваш ответ

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
[скрыть предварительный просмотр]

Закладки и информация

Добавить закладку
1 закладка

подписаться на rss ленту новостей

Статистика

Задан: 2013-12-11 14:00:10 +0400

Просмотрен: 458 раз

Обновлен: Dec 11 '13

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