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

Не проходят звонки с TDE-600 на экстеншены Asterisk

0

Почему то перестали ходить звонки с внутренних номеров tde600 на внутренние астериска. В настройках ничего не менялось уже три месяца, не могу понять куда копать. Настройки транка:

Название транка: 11111  
опции для PEER:
host=dynamic
username=11111
secret=11111
type=friend
qualify=yes
disallow=all
allow=ulaw,alaw
context=from-internal
canreinvite=no

Лог звонка:

 == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Executing [001@from-internal:1] Set("SIP/11111-00000007", "__RINGTIMER=15") in new stack
    -- Executing [001@from-internal:2] Macro("SIP/11111-00000007", "exten-vm,novm,001,0,0,0") in new stack
    -- Executing [s@macro-exten-vm:1] Macro("SIP/11111-00000007", "user-callerid,") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/11111-00000007", "TOUCH_MONITOR=1427373996.8") in new stack
    -- Executing [s@macro-user-callerid:2] Set("SIP/11111-00000007", "AMPUSER=149") in new stack
    -- Executing [s@macro-user-callerid:3] GotoIf("SIP/11111-00000007", "0?report") in new stack
    -- Executing [s@macro-user-callerid:4] ExecIf("SIP/11111-00000007", "1?Set(REALCALLERIDNUM=149)") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/11111-00000007", "AMPUSER=") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/11111-00000007", "0?limit") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/11111-00000007", "AMPUSERCIDNAME=") in new stack
    -- Executing [s@macro-user-callerid:8] GotoIf("SIP/11111-00000007", "1?report") in new stack
    -- Goto (macro-user-callerid,s,15)
    -- Executing [s@macro-user-callerid:15] GotoIf("SIP/11111-00000007", "0?continue") in new stack
    -- Executing [s@macro-user-callerid:16] Set("SIP/11111-00000007", "__TTL=64") in new stack
    -- Executing [s@macro-user-callerid:17] GotoIf("SIP/11111-00000007", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,28)
    -- Executing [s@macro-user-callerid:28] Set("SIP/11111-00000007", "CALLERID(number)=149") in new stack
    -- Executing [s@macro-user-callerid:29] Set("SIP/11111-00000007", "CALLERID(name)=▒▒▒▒▒▒▒▒ ▒.▒.") in new stack
    -- Executing [s@macro-user-callerid:30] Set("SIP/11111-00000007", "CDR(cnum)=149") in new stack
    -- Executing [s@macro-user-callerid:31] Set("SIP/11111-00000007", "CDR(cnam)=▒▒▒▒▒▒▒▒ ▒.▒.") in new stack
    -- Executing [s@macro-user-callerid:32] Set("SIP/11111-00000007", "CHANNEL(language)=ru") in new stack
    -- Executing [s@macro-exten-vm:2] Set("SIP/11111-00000007", "RingGroupMethod=none") in new stack
    -- Executing [s@macro-exten-vm:3] Set("SIP/11111-00000007", "__EXTTOCALL=001") in new stack
    -- Executing [s@macro-exten-vm:4] Set("SIP/11111-00000007", "__PICKUPMARK=001") in new stack
    -- Executing [s@macro-exten-vm:5] Set("SIP/11111-00000007", "RT=") in new stack
    -- Executing [s@macro-exten-vm:6] Gosub("SIP/11111-00000007", "sub-record-check,s,1(exten,001,)") in new stack
    -- Executing [s@sub-record-check:1] Set("SIP/11111-00000007", "REC_POLICY_MODE_SAVE=") in new stack
    -- Executing [s@sub-record-check:2] GotoIf("SIP/11111-00000007", "1?check") in new stack
    -- Goto (sub-record-check,s,7)
    -- Executing [s@sub-record-check:7] Set("SIP/11111-00000007", "__MON_FMT=wav") in new stack
    -- Executing [s@sub-record-check:8] GotoIf("SIP/11111-00000007", "1?next") in new stack
    -- Goto (sub-record-check,s,11)
    -- Executing [s@sub-record-check:11] ExecIf("SIP/11111-00000007", "0?Return()") in new stack
    -- Executing [s@sub-record-check:12] ExecIf("SIP/11111-00000007", "0?Set(__REC_POLICY_MODE=)") in new stack
    -- Executing [s@sub-record-check:13] GotoIf("SIP/11111-00000007", "0?exten,1") in new stack
    -- Executing [s@sub-record-check:14] Set("SIP/11111-00000007", "__REC_STATUS=INITIALIZED") in new stack
    -- Executing [s@sub-record-check:15] Set("SIP/11111-00000007", "NOW=1427373996") in new stack
    -- Executing [s@sub-record-check:16] Set("SIP/11111-00000007", "__DAY=26") in new stack
    -- Executing [s@sub-record-check:17] Set("SIP/11111-00000007", "__MONTH=03") in new stack
    -- Executing [s@sub-record-check:18] Set("SIP/11111-00000007", "__YEAR=2015") in new stack
    -- Executing [s@sub-record-check:19] Set("SIP/11111-00000007", "__TIMESTR=20150326-154636") in new stack
    -- Executing [s@sub-record-check:20] Set("SIP/11111-00000007", "__FROMEXTEN=149") in new stack
    -- Executing [s@sub-record-check:21] Set("SIP/11111-00000007", "__CALLFILENAME=exten-001-149-20150326-154636-1427373996.8") in new stack
    -- Executing [s@sub-record-check:22] Goto("SIP/11111-00000007", "exten,1") in new stack
    -- Goto (sub-record-check,exten,1)
    -- Executing [exten@sub-record-check:1] GotoIf("SIP/11111-00000007", "0?callee") in new stack
    -- Executing [exten@sub-record-check:2] Set("SIP/11111-00000007", "__REC_POLICY_MODE=dontcare") in new stack
    -- Executing [exten@sub-record-check:3] GotoIf("SIP/11111-00000007", "1?caller") in new stack
    -- Goto (sub-record-check,exten,10)
    -- Executing [exten@sub-record-check:10] Set("SIP/11111-00000007", "__REC_POLICY_MODE=") in new stack
    -- Executing [exten@sub-record-check:11] GosubIf("SIP/11111-00000007", "0?record,1(exten,001,149)") in new stack
    -- Executing [exten@sub-record-check:12] Return("SIP/11111-00000007", "") in new stack
    -- Executing [s@macro-exten-vm:7] Macro("SIP/11111-00000007", "dial-one,,tr,001") in new stack
    -- Executing [s@macro-dial-one:1] Set("SIP/11111-00000007", "DEXTEN=001") in new stack
    -- Executing [s@macro-dial-one:2] Set("SIP/11111-00000007", "DIALSTATUS_CW=") in new stack
    -- Executing [s@macro-dial-one:3] GosubIf("SIP/11111-00000007", "0?screen,1()") in new stack
    -- Executing [s@macro-dial-one:4] GosubIf("SIP/11111-00000007", "0?cf,1()") in new stack
    -- Executing [s@macro-dial-one:5] GotoIf("SIP/11111-00000007", "0?skip1") in new stack
    -- Executing [s@macro-dial-one:6] Set("SIP/11111-00000007", "DEXTEN=") in new stack
    -- Executing [s@macro-dial-one:7] Set("SIP/11111-00000007", "DIALSTATUS=BUSY") in new stack
    -- Executing [s@macro-dial-one:8] GotoIf("SIP/11111-00000007", "1?nodial") in new stack
    -- Goto (macro-dial-one,s,48)
    -- Executing [s@macro-dial-one:48] ExecIf("SIP/11111-00000007", "0?Set(DIALSTATUS=NOANSWER)") in new stack
    -- Executing [s@macro-dial-one:49] NoOp("SIP/11111-00000007", "Returned from dial-one with nothing to call and DIALSTATUS: BUSY") in new stack
    -- Executing [s@macro-dial-one:50] MacroExit("SIP/11111-00000007", "") in new stack
    -- Executing [s@macro-exten-vm:8] Set("SIP/11111-00000007", "SV_DIALSTATUS=BUSY") in new stack
    -- Executing [s@macro-exten-vm:9] GosubIf("SIP/11111-00000007", "0?docfu,1()") in new stack
    -- Executing [s@macro-exten-vm:10] GosubIf("SIP/11111-00000007", "0?docfb,1()") in new stack
    -- Executing [s@macro-exten-vm:11] Set("SIP/11111-00000007", "DIALSTATUS=BUSY") in new stack
    -- Executing [s@macro-exten-vm:12] ExecIf("SIP/11111-00000007", "0?MacroExit()") in new stack
    -- Executing [s@macro-exten-vm:13] GotoIf("SIP/11111-00000007", "1?s-BUSY,1") in new stack
    -- Goto (macro-exten-vm,s-BUSY,1)
    -- Executing [s-BUSY@macro-exten-vm:1] GotoIf("SIP/11111-00000007", "0?exit,1") in new stack
    -- Executing [s-BUSY@macro-exten-vm:2] PlayTones("SIP/11111-00000007", "busy") in new stack
    -- Executing [s-BUSY@macro-exten-vm:3] Busy("SIP/11111-00000007", "20") in new stack
  == Spawn extension (macro-exten-vm, s-BUSY, 3) exited non-zero on 'SIP/11111-00000007' in macro 'exten-vm'
  == Spawn extension (from-internal, 001, 2) exited non-zero on 'SIP/11111-00000007'
    -- Executing [h@from-internal:1] Hangup("SIP/11111-00000007", "") in new stack
  == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/11111-00000007'


[2015-03-27 09:12:27] WARNING[5786][C-00000005]: chan_sip.c:16376 check_auth: username mismatch, have <9993333>, digest has <11111>
[2015-03-27 09:12:27] NOTICE[5786][C-00000005]: chan_sip.c:25534 handle_request_invite: Failed to authenticate device "▒▒▒▒▒▒▒▒ ▒.▒." <sip:149@10.0.0.210>;tag=20901
удалить закрыть спам изменить тег редактировать

спросил 2015-03-26 16:50:26 +0400

zavulon Gravatar zavulon
208 16 2 10

обновил 2015-03-27 10:16:00 +0400

1 Ответ

2

для 001 выставлен DND . Отключите и будет звонить.

exten => s,n,GotoIf($["${DEXTEN:-1}"="#" | "${DB(DND/${DEXTEN})}"=""]?skip1)
exten => s,n(skip1),GotoIf($["${DEXTEN}"=""]?nodial)
ссылка удалить спам редактировать

ответил 2015-03-26 17:45:41 +0400

zzuz Gravatar zzuz flag of Russian Federation
6744 2 6 69
http://line24.ru/

Comments

Спасибо, заработало. Хотя странно почему DND включился...

zavulon ( 2015-03-27 10:13:46 +0400 )редактировать

Он включился , потому что его включили.

zzuz ( 2015-03-27 11:03:01 +0400 )редактировать

Подскажите по последним двум строкам лога, пожалуйста. Такая беда случается через некоторое время, после перезапуска демона asterisk все становится нормально.

zavulon ( 2015-03-27 11:53:08 +0400 )редактировать

А что Вас пугает? Нужно перевести фразу "username mismatch, have <9993333>, digest has <11111>" ? Услуги переводчика не бесплатны.

zzuz ( 2015-03-27 15:13:33 +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)!
[скрыть предварительный просмотр]

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

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

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

Статистика

Задан: 2015-03-26 16:50:26 +0400

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

Обновлен: Mar 27 '15

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