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

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

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

спросил 2013-05-24 16:20:24 +0400

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

Аноним

Настройки транка в Elastix для sip-линии Golden Telecom

Поделитесь правильными настройками. Входящие проходят, а на исходящих "Все линии заняты". Исходящий маршрут создан. Думаю проблема в транке, но может и не в нем. Текущие настройки:


username=62210xxxx
type=peer
secret=yyyyyyyy
qualify=yes
maxexpiry=120
insecure=very
host=62.64.127.43
fromuser=062210xxxx
fromdomain=62.64.127.43
dtmfmode=rfc2833
disallow=all
canreinvite=no
allow=alaw

Register String: 62210xxxx:yyyyyyyy@62.64.127.43/62210xxxx

Настройки транка в Elastix для sip-линии Golden Telecom

Поделитесь правильными настройками. Входящие проходят, а на исходящих "Все линии заняты". Исходящий маршрут создан. Думаю проблема в транке, но может и не в нем. Текущие настройки:


username=62210xxxx
type=peer
secret=yyyyyyyy
qualify=yes
maxexpiry=120
insecure=very
host=62.64.127.43
fromuser=062210xxxx
fromdomain=62.64.127.43
dtmfmode=rfc2833
disallow=all
canreinvite=no
allow=alaw

Register String: 62210xxxx:yyyyyyyy@62.64.127.43/62210xxxx

Вот что происходит при звонке после команды # asterisk -rvvvv

This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf':   == Found
  == Parsing '/etc/asterisk/extconfig.conf':   == Found
Connected to Asterisk 1.8.16.0 currently running on MyVDS (pid = 2322)
Verbosity is at least 4
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Executing [093357xxxx@from-internal:1] Macro("SIP/6009-0000017c", "user-callerid,SKIPTTL,") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/6009-0000017c", "AMPUSER=6009") in new stack
    -- Executing [s@macro-user-callerid:2] GotoIf("SIP/6009-0000017c", "0?report") in new stack
    -- Executing [s@macro-user-callerid:3] ExecIf("SIP/6009-0000017c", "1?Set(REALCALLERIDNUM=6009)") in new stack
    -- Executing [s@macro-user-callerid:4] Set("SIP/6009-0000017c", "AMPUSER=6009") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/6009-0000017c", "AMPUSERCIDNAME=6009") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/6009-0000017c", "0?report") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/6009-0000017c", "AMPUSERCID=6009") in new stack
    -- Executing [s@macro-user-callerid:8] Set("SIP/6009-0000017c", "CALLERID(all)="6009" <6009>") in new stack
    -- Executing [s@macro-user-callerid:9] ExecIf("SIP/6009-0000017c", "0?Set(CHANNEL(language)=)") in new stack
    -- Executing [s@macro-user-callerid:10] GotoIf("SIP/6009-0000017c", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,19)
    -- Executing [s@macro-user-callerid:19] Set("SIP/6009-0000017c", "CALLERID(number)=6009") in new stack
    -- Executing [s@macro-user-callerid:20] Set("SIP/6009-0000017c", "CALLERID(name)=6009") in new stack
    -- Executing [s@macro-user-callerid:21] NoOp("SIP/6009-0000017c", "Using CallerID "6009" <6009>") in new stack
    -- Executing [093357xxxx@from-internal:2] NoOp("SIP/6009-0000017c", "Calling Out Route: RRRR") in new stack
    -- Executing [093357xxxx@from-internal:3] Set("SIP/6009-0000017c", "MOHCLASS=default") in new stack
    -- Executing [093357xxxx@from-internal:4] Set("SIP/6009-0000017c", "_NODEST=") in new stack
    -- Executing [093357xxxx@from-internal:5] Macro("SIP/6009-0000017c", "record-enable,6009,OUT,") in new stack
    -- Executing [s@macro-record-enable:1] GotoIf("SIP/6009-0000017c", "1?check") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s@macro-record-enable:4] ExecIf("SIP/6009-0000017c", "0?MacroExit()") in new stack
    -- Executing [s@macro-record-enable:5] GotoIf("SIP/6009-0000017c", "0?Group:OUT") in new stack
    -- Goto (macro-record-enable,s,15)
    -- Executing [s@macro-record-enable:15] GotoIf("SIP/6009-0000017c", "0?IN") in new stack
    -- Executing [s@macro-record-enable:16] ExecIf("SIP/6009-0000017c", "1?MacroExit()") in new stack
    -- Executing [093357xxxx@from-internal:6] Macro("SIP/6009-0000017c", "dialout-trunk,3,093357xxxx,") in new stack
    -- Executing [s@macro-dialout-trunk:1] Set("SIP/6009-0000017c", "DIAL_TRUNK=3") in new stack
    -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/6009-0000017c", "0?sub-pincheck,s,1") in new stack
    -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/6009-0000017c", "0?disabletrunk,1") in new stack
    -- Executing [s@macro-dialout-trunk:4] Set("SIP/6009-0000017c", "DIAL_NUMBER=093357xxxx") in new stack
    -- Executing [s@macro-dialout-trunk:5] Set("SIP/6009-0000017c", "DIAL_TRUNK_OPTIONS=tr") in new stack
    -- Executing [s@macro-dialout-trunk:6] Set("SIP/6009-0000017c", "OUTBOUND_GROUP=OUT_3") in new stack
    -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/6009-0000017c", "0?nomax") in new stack
    -- Executing [s@macro-dialout-trunk:8] GotoIf("SIP/6009-0000017c", "0?chanfull") in new stack
    -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/6009-0000017c", "0?skipoutcid") in new stack
    -- Executing [s@macro-dialout-trunk:10] Set("SIP/6009-0000017c", "DIAL_TRUNK_OPTIONS=") in new stack
    -- Executing [s@macro-dialout-trunk:11] Macro("SIP/6009-0000017c", "outbound-callerid,3") in new stack
    -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/6009-0000017c", "0?Set(CALLERPRES()=)") in new stack
    -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/6009-0000017c", "0?Set(REALCALLERIDNUM=6009)") in new stack
    -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/6009-0000017c", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,6)
    -- Executing [s@macro-outbound-callerid:6] Set("SIP/6009-0000017c", "USEROUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:7] Set("SIP/6009-0000017c", "EMERGENCYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:8] Set("SIP/6009-0000017c", "TRUNKOUTCID=62210xxxx") in new stack
    -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/6009-0000017c", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,12)
    -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/6009-0000017c", "1?Set(CALLERID(all)=62210xxxx)") in new stack
    -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/6009-0000017c", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/6009-0000017c", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/6009-0000017c", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
    -- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/6009-0000017c", "0?sub-flp-3,s,1") in new stack
    -- Executing [s@macro-dialout-trunk:13] Set("SIP/6009-0000017c", "OUTNUM=093357xxxx") in new stack
    -- Executing [s@macro-dialout-trunk:14] Set("SIP/6009-0000017c", "custom=SIP/RRRR_TR1") in new stack
    -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/6009-0000017c", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))") in new stack
    -- Executing [s@macro-dialout-trunk:16] Macro("SIP/6009-0000017c", "dialout-trunk-predial-hook,") in new stack
    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/6009-0000017c", "") in new stack
    -- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/6009-0000017c", "0?bypass,1") in new stack
    -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/6009-0000017c", "0?customtrunk") in new stack
    -- Executing [s@macro-dialout-trunk:19] Dial("SIP/6009-0000017c", "SIP/RRRR_TR1/093357xxxx,300,") in new stack
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Called SIP/RRRR_TR1/093357xxxx
    -- Got SIP response 500 "Server Internal Error" back from 62.64.127.43:5060
    -- SIP/RRRR_TR1-0000017d is circuit-busy
  == Everyone is busy/congested at this time (1:0/1/0)
    -- Executing [s@macro-dialout-trunk:20] NoOp("SIP/6009-0000017c", "Dial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 38") in new stack
    -- Executing [s@macro-dialout-trunk:21] Goto("SIP/6009-0000017c", "s-CONGESTION,1") in new stack
    -- Goto (macro-dialout-trunk,s-CONGESTION,1)
    -- Executing [s-CONGESTION@macro-dialout-trunk:1] Set("SIP/6009-0000017c", "RC=38") in new stack
    -- Executing [s-CONGESTION@macro-dialout-trunk:2] Goto("SIP/6009-0000017c", "38,1") in new stack
    -- Goto (macro-dialout-trunk,38,1)
    -- Executing [38@macro-dialout-trunk:1] Goto("SIP/6009-0000017c", "continue,1") in new stack
    -- Goto (macro-dialout-trunk,continue,1)
    -- Executing [continue@macro-dialout-trunk:1] GotoIf("SIP/6009-0000017c", "1?noreport") in new stack
    -- Goto (macro-dialout-trunk,continue,3)
    -- Executing [continue@macro-dialout-trunk:3] NoOp("SIP/6009-0000017c", "TRUNK Dial failed due to CONGESTION HANGUPCAUSE: 38 - failing through to other trunks") in new stack
    -- Executing [continue@macro-dialout-trunk:4] Set("SIP/6009-0000017c", "CALLERID(number)=6009") in new stack
    -- Executing [093357xxxx@from-internal:7] Macro("SIP/6009-0000017c", "dialout-trunk,4,093357xxxx,") in new stack
    -- Executing [s@macro-dialout-trunk:1] Set("SIP/6009-0000017c", "DIAL_TRUNK=4") in new stack
    -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/6009-0000017c", "0?sub-pincheck,s,1") in new stack
    -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/6009-0000017c", "1?disabletrunk,1") in new stack
    -- Goto (macro-dialout-trunk,disabletrunk,1)
    -- Executing [disabletrunk@macro-dialout-trunk:1] NoOp("SIP/6009-0000017c", "TRUNK: SIP/RRRR_TR2 DISABLED - falling through to next trunk") in new stack
    -- Executing [093357xxxx@from-internal:8] Macro("SIP/6009-0000017c", "outisbusy,") in new stack
    -- Executing [s@macro-outisbusy:1] Progress("SIP/6009-0000017c", "") in new stack
    -- Executing [s@macro-outisbusy:2] GotoIf("SIP/6009-0000017c", "0?emergency,1") in new stack
    -- Executing [s@macro-outisbusy:3] GotoIf("SIP/6009-0000017c", "0?intracompany,1") in new stack
    -- Executing [s@macro-outisbusy:4] Playback("SIP/6009-0000017c", "all-circuits-busy-now&pls-try-call-later, noanswer") in new stack
    -- <SIP/6009-0000017c> Playing 'all-circuits-busy-now.alaw' (language 'ru')
    -- <SIP/6009-0000017c> Playing 'pls-try-call-later.alaw' (language 'ru')
    -- Executing [s@macro-outisbusy:5] Congestion("SIP/6009-0000017c", "20") in new stack
  == Spawn extension (macro-outisbusy, s, 5) exited non-zero on 'SIP/6009-0000017c' in macro 'outisbusy'
  == Spawn extension (from-internal, 093357xxxx, 8) exited non-zero on 'SIP/6009-0000017c'
    -- Executing [h@from-internal:1] Macro("SIP/6009-0000017c", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/6009-0000017c", "1?endmixmoncheck") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] NoOp("SIP/6009-0000017c", "End of MIXMON check") in new stack
    -- Executing [s@macro-hangupcall:10] GotoIf("SIP/6009-0000017c", "1?nomeetmemon") in new stack
    -- Goto (macro-hangupcall,s,28)
    -- Executing [s@macro-hangupcall:28] NoOp("SIP/6009-0000017c", "End of MEETME check") in new stack
    -- Executing [s@macro-hangupcall:29] GotoIf("SIP/6009-0000017c", "1?noautomon") in new stack
    -- Goto (macro-hangupcall,s,34)
    -- Executing [s@macro-hangupcall:34] NoOp("SIP/6009-0000017c", "TOUCH_MONITOR_OUTPUT=") in new stack
    -- Executing [s@macro-hangupcall:35] GotoIf("SIP/6009-0000017c", "1?noautomon2") in new stack
    -- Goto (macro-hangupcall,s,41)
    -- Executing [s@macro-hangupcall:41] NoOp("SIP/6009-0000017c", "MONITOR_FILENAME=") in new stack
    -- Executing [s@macro-hangupcall:42] GotoIf("SIP/6009-0000017c", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,45)
    -- Executing [s@macro-hangupcall:45] GotoIf("SIP/6009-0000017c", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,48)
    -- Executing [s@macro-hangupcall:48] GotoIf("SIP/6009-0000017c", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,50)
    -- Executing [s@macro-hangupcall:50] AGI("SIP/6009-0000017c", "hangup.agi") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi
    -- <SIP/6009-0000017c>AGI Script hangup.agi completed, returning 0
    -- Executing [s@macro-hangupcall:51] Hangup("SIP/6009-0000017c", "") in new stack
  == Spawn extension (macro-hangupcall, s, 51) exited non-zero on 'SIP/6009-0000017c' in macro 'hangupcall'
  == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/6009-0000017c'
MyVDS*CLI>

Настройки транка в Elastix для sip-линии Golden Telecom

Поделитесь правильными настройками. Входящие проходят, а на исходящих "Все линии заняты". Исходящий маршрут создан. Думаю проблема в транке, но может и не в нем. Текущие настройки:


username=62210xxxx
type=peer
secret=yyyyyyyy
qualify=yes
maxexpiry=120
insecure=very
host=62.64.127.43
fromuser=062210xxxx
fromdomain=62.64.127.43
dtmfmode=rfc2833
disallow=all
canreinvite=no
allow=alaw

Register String: 62210xxxx:yyyyyyyy@62.64.127.43/62210xxxx

Вот что происходит при звонке после команды # asterisk -rvvvv

This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf':   == Found
  == Parsing '/etc/asterisk/extconfig.conf':   == Found
Connected to Asterisk 1.8.16.0 currently running on MyVDS (pid = 2322)
Verbosity is at least 4
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Executing [093357xxxx@from-internal:1] Macro("SIP/6009-0000017c", "user-callerid,SKIPTTL,") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/6009-0000017c", "AMPUSER=6009") in new stack
    -- Executing [s@macro-user-callerid:2] GotoIf("SIP/6009-0000017c", "0?report") in new stack
    -- Executing [s@macro-user-callerid:3] ExecIf("SIP/6009-0000017c", "1?Set(REALCALLERIDNUM=6009)") in new stack
    -- Executing [s@macro-user-callerid:4] Set("SIP/6009-0000017c", "AMPUSER=6009") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/6009-0000017c", "AMPUSERCIDNAME=6009") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/6009-0000017c", "0?report") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/6009-0000017c", "AMPUSERCID=6009") in new stack
    -- Executing [s@macro-user-callerid:8] Set("SIP/6009-0000017c", "CALLERID(all)="6009" <6009>") in new stack
    -- Executing [s@macro-user-callerid:9] ExecIf("SIP/6009-0000017c", "0?Set(CHANNEL(language)=)") in new stack
    -- Executing [s@macro-user-callerid:10] GotoIf("SIP/6009-0000017c", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,19)
    -- Executing [s@macro-user-callerid:19] Set("SIP/6009-0000017c", "CALLERID(number)=6009") in new stack
    -- Executing [s@macro-user-callerid:20] Set("SIP/6009-0000017c", "CALLERID(name)=6009") in new stack
    -- Executing [s@macro-user-callerid:21] NoOp("SIP/6009-0000017c", "Using CallerID "6009" <6009>") in new stack
    -- Executing [093357xxxx@from-internal:2] NoOp("SIP/6009-0000017c", "Calling Out Route: RRRR") in new stack
    -- Executing [093357xxxx@from-internal:3] Set("SIP/6009-0000017c", "MOHCLASS=default") in new stack
    -- Executing [093357xxxx@from-internal:4] Set("SIP/6009-0000017c", "_NODEST=") in new stack
    -- Executing [093357xxxx@from-internal:5] Macro("SIP/6009-0000017c", "record-enable,6009,OUT,") in new stack
    -- Executing [s@macro-record-enable:1] GotoIf("SIP/6009-0000017c", "1?check") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s@macro-record-enable:4] ExecIf("SIP/6009-0000017c", "0?MacroExit()") in new stack
    -- Executing [s@macro-record-enable:5] GotoIf("SIP/6009-0000017c", "0?Group:OUT") in new stack
    -- Goto (macro-record-enable,s,15)
    -- Executing [s@macro-record-enable:15] GotoIf("SIP/6009-0000017c", "0?IN") in new stack
    -- Executing [s@macro-record-enable:16] ExecIf("SIP/6009-0000017c", "1?MacroExit()") in new stack
    -- Executing [093357xxxx@from-internal:6] Macro("SIP/6009-0000017c", "dialout-trunk,3,093357xxxx,") in new stack
    -- Executing [s@macro-dialout-trunk:1] Set("SIP/6009-0000017c", "DIAL_TRUNK=3") in new stack
    -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/6009-0000017c", "0?sub-pincheck,s,1") in new stack
    -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/6009-0000017c", "0?disabletrunk,1") in new stack
    -- Executing [s@macro-dialout-trunk:4] Set("SIP/6009-0000017c", "DIAL_NUMBER=093357xxxx") in new stack
    -- Executing [s@macro-dialout-trunk:5] Set("SIP/6009-0000017c", "DIAL_TRUNK_OPTIONS=tr") in new stack
    -- Executing [s@macro-dialout-trunk:6] Set("SIP/6009-0000017c", "OUTBOUND_GROUP=OUT_3") in new stack
    -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/6009-0000017c", "0?nomax") in new stack
    -- Executing [s@macro-dialout-trunk:8] GotoIf("SIP/6009-0000017c", "0?chanfull") in new stack
    -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/6009-0000017c", "0?skipoutcid") in new stack
    -- Executing [s@macro-dialout-trunk:10] Set("SIP/6009-0000017c", "DIAL_TRUNK_OPTIONS=") in new stack
    -- Executing [s@macro-dialout-trunk:11] Macro("SIP/6009-0000017c", "outbound-callerid,3") in new stack
    -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/6009-0000017c", "0?Set(CALLERPRES()=)") in new stack
    -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/6009-0000017c", "0?Set(REALCALLERIDNUM=6009)") in new stack
    -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/6009-0000017c", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,6)
    -- Executing [s@macro-outbound-callerid:6] Set("SIP/6009-0000017c", "USEROUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:7] Set("SIP/6009-0000017c", "EMERGENCYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:8] Set("SIP/6009-0000017c", "TRUNKOUTCID=62210xxxx") in new stack
    -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/6009-0000017c", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,12)
    -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/6009-0000017c", "1?Set(CALLERID(all)=62210xxxx)") in new stack
    -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/6009-0000017c", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/6009-0000017c", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/6009-0000017c", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
    -- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/6009-0000017c", "0?sub-flp-3,s,1") in new stack
    -- Executing [s@macro-dialout-trunk:13] Set("SIP/6009-0000017c", "OUTNUM=093357xxxx") in new stack
    -- Executing [s@macro-dialout-trunk:14] Set("SIP/6009-0000017c", "custom=SIP/RRRR_TR1") in new stack
    -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/6009-0000017c", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))") in new stack
    -- Executing [s@macro-dialout-trunk:16] Macro("SIP/6009-0000017c", "dialout-trunk-predial-hook,") in new stack
    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/6009-0000017c", "") in new stack
    -- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/6009-0000017c", "0?bypass,1") in new stack
    -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/6009-0000017c", "0?customtrunk") in new stack
    -- Executing [s@macro-dialout-trunk:19] Dial("SIP/6009-0000017c", "SIP/RRRR_TR1/093357xxxx,300,") in new stack
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Called SIP/RRRR_TR1/093357xxxx
    -- Got SIP response 500 "Server Internal Error" back from 62.64.127.43:5060
    -- SIP/RRRR_TR1-0000017d is circuit-busy
  == Everyone is busy/congested at this time (1:0/1/0)
    -- Executing [s@macro-dialout-trunk:20] NoOp("SIP/6009-0000017c", "Dial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 38") in new stack
    -- Executing [s@macro-dialout-trunk:21] Goto("SIP/6009-0000017c", "s-CONGESTION,1") in new stack
    -- Goto (macro-dialout-trunk,s-CONGESTION,1)
    -- Executing [s-CONGESTION@macro-dialout-trunk:1] Set("SIP/6009-0000017c", "RC=38") in new stack
    -- Executing [s-CONGESTION@macro-dialout-trunk:2] Goto("SIP/6009-0000017c", "38,1") in new stack
    -- Goto (macro-dialout-trunk,38,1)
    -- Executing [38@macro-dialout-trunk:1] Goto("SIP/6009-0000017c", "continue,1") in new stack
    -- Goto (macro-dialout-trunk,continue,1)
    -- Executing [continue@macro-dialout-trunk:1] GotoIf("SIP/6009-0000017c", "1?noreport") in new stack
    -- Goto (macro-dialout-trunk,continue,3)
    -- Executing [continue@macro-dialout-trunk:3] NoOp("SIP/6009-0000017c", "TRUNK Dial failed due to CONGESTION HANGUPCAUSE: 38 - failing through to other trunks") in new stack
    -- Executing [continue@macro-dialout-trunk:4] Set("SIP/6009-0000017c", "CALLERID(number)=6009") in new stack
    -- Executing [093357xxxx@from-internal:7] Macro("SIP/6009-0000017c", "dialout-trunk,4,093357xxxx,") in new stack
    -- Executing [s@macro-dialout-trunk:1] Set("SIP/6009-0000017c", "DIAL_TRUNK=4") in new stack
    -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/6009-0000017c", "0?sub-pincheck,s,1") in new stack
    -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/6009-0000017c", "1?disabletrunk,1") in new stack
    -- Goto (macro-dialout-trunk,disabletrunk,1)
    -- Executing [disabletrunk@macro-dialout-trunk:1] NoOp("SIP/6009-0000017c", "TRUNK: SIP/RRRR_TR2 DISABLED - falling through to next trunk") in new stack
    -- Executing [093357xxxx@from-internal:8] Macro("SIP/6009-0000017c", "outisbusy,") in new stack
    -- Executing [s@macro-outisbusy:1] Progress("SIP/6009-0000017c", "") in new stack
    -- Executing [s@macro-outisbusy:2] GotoIf("SIP/6009-0000017c", "0?emergency,1") in new stack
    -- Executing [s@macro-outisbusy:3] GotoIf("SIP/6009-0000017c", "0?intracompany,1") in new stack
    -- Executing [s@macro-outisbusy:4] Playback("SIP/6009-0000017c", "all-circuits-busy-now&pls-try-call-later, noanswer") in new stack
    -- <SIP/6009-0000017c> Playing 'all-circuits-busy-now.alaw' (language 'ru')
    -- <SIP/6009-0000017c> Playing 'pls-try-call-later.alaw' (language 'ru')
    -- Executing [s@macro-outisbusy:5] Congestion("SIP/6009-0000017c", "20") in new stack
  == Spawn extension (macro-outisbusy, s, 5) exited non-zero on 'SIP/6009-0000017c' in macro 'outisbusy'
  == Spawn extension (from-internal, 093357xxxx, 8) exited non-zero on 'SIP/6009-0000017c'
    -- Executing [h@from-internal:1] Macro("SIP/6009-0000017c", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/6009-0000017c", "1?endmixmoncheck") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] NoOp("SIP/6009-0000017c", "End of MIXMON check") in new stack
    -- Executing [s@macro-hangupcall:10] GotoIf("SIP/6009-0000017c", "1?nomeetmemon") in new stack
    -- Goto (macro-hangupcall,s,28)
    -- Executing [s@macro-hangupcall:28] NoOp("SIP/6009-0000017c", "End of MEETME check") in new stack
    -- Executing [s@macro-hangupcall:29] GotoIf("SIP/6009-0000017c", "1?noautomon") in new stack
    -- Goto (macro-hangupcall,s,34)
    -- Executing [s@macro-hangupcall:34] NoOp("SIP/6009-0000017c", "TOUCH_MONITOR_OUTPUT=") in new stack
    -- Executing [s@macro-hangupcall:35] GotoIf("SIP/6009-0000017c", "1?noautomon2") in new stack
    -- Goto (macro-hangupcall,s,41)
    -- Executing [s@macro-hangupcall:41] NoOp("SIP/6009-0000017c", "MONITOR_FILENAME=") in new stack
    -- Executing [s@macro-hangupcall:42] GotoIf("SIP/6009-0000017c", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,45)
    -- Executing [s@macro-hangupcall:45] GotoIf("SIP/6009-0000017c", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,48)
    -- Executing [s@macro-hangupcall:48] GotoIf("SIP/6009-0000017c", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,50)
    -- Executing [s@macro-hangupcall:50] AGI("SIP/6009-0000017c", "hangup.agi") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi
    -- <SIP/6009-0000017c>AGI Script hangup.agi completed, returning 0
    -- Executing [s@macro-hangupcall:51] Hangup("SIP/6009-0000017c", "") in new stack
  == Spawn extension (macro-hangupcall, s, 51) exited non-zero on 'SIP/6009-0000017c' in macro 'hangupcall'
  == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/6009-0000017c'
MyVDS*CLI>

Настройки транка в Elastix для sip-линии Golden Telecom

Поделитесь правильными настройками. Входящие проходят, а на исходящих "Все линии заняты". Исходящий маршрут создан. Думаю проблема в транке, но может и не в нем. Текущие настройки:


username=62210xxxx
type=peer
secret=yyyyyyyy
qualify=yes
maxexpiry=120
insecure=very
host=62.64.127.43
fromuser=062210xxxx
fromdomain=62.64.127.43
dtmfmode=rfc2833
disallow=all
canreinvite=no
allow=alaw

Register String: 62210xxxx:yyyyyyyy@62.64.127.43/62210xxxx

Добавлено:

Правильные настройки предложил Muzzykiev:

username=62210xxxx
type=peer
secret=yyyyyyyy
qualify=no
maxexpiry=120
insecure=very
host=62.64.127.43
defaultexpiry=60
context=from-pstn
allow=alaw&ulaw
rustrpid=no
sendrpid=no
dtmfmode=rfc2833
canreinvite=no
fromuser=62210xxxx

Есть входящие и исходящие.

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