Добрый день. Столкнулся с такой проблемой: при входящей связи после INVITE'а приходящего их SIP транка, Asterisk отвечает Trying и сразу после этого посылает подряд два Ringing на что исходящая сторона рвет соединение с причиной "Network out of order".
Для понимания: Asterisk подключен SIP транком к Huawei SoftX (исходящая сторона), абонент (на которого совершается вызов) подключен на SIP шлюзе, подключенном к Asterisk. Asterisk идет в комплекте PBX Elastix 2.03
Если кто сталкивался с подобной проблемой, прошу подсказать советом, премного буду благодарен.
P.S. на более ранних версиях Elastix работает как часы.
Такая ситуация возникает когда и Elastix и клиентский SIP телефон отвечают 180 сообщением на входящий INVITE. В результате на один вызов прилетает 2-а 180 сообщения.... и провайдер его не отпработает В настроках Elastix есть параметры которые передаются в Dial, там убери флаг "r" тогда Elastix будет пересылать только 180 от клиента... вот у тебя тут Dial с флагом r Dial("SIP/10.254.2.10-00000009", "SIP/3833358703,,tr")
а можно посмотреть на дебаг?
CLI>sip set debug peer
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [3358703@from-sip-external:1] NoOp("SIP/10.254.2.10-00000009", "Received incoming SIP connection from unknown peer to 3358703") in new stack
-- Executing [3358703@from-sip-external:2] Set("SIP/10.254.2.10-00000009", "DID=3358703") in new stack
-- Executing [3358703@from-sip-external:3] Goto("SIP/10.254.2.10-00000009", "s,1") in new stack
-- Goto (from-sip-external,s,1)
-- Executing [s@from-sip-external:1] GotoIf("SIP/10.254.2.10-00000009", "1?checklang:noanonymous") in new stack
-- Goto (from-sip-external,s,2)
-- Executing [s@from-sip-external:2] GotoIf("SIP/10.254.2.10-00000009", "0?setlanguage:from-trunk,3358703,1") in new stack
-- Goto (from-trunk,3358703,1)
-- Executing [3358703@from-trunk:1] NoOp("SIP/10.254.2.10-00000009", "Catch-All DID Match - Found 3358703 - You probably want a DID for this.") in new stack
-- Executing [3358703@from-trunk:2] Goto("SIP/10.254.2.10-00000009", "ext-did,s,1") in new stack
-- Goto (ext-did,s,1)
-- Executing [s@ext-did:1] Set("SIP/10.254.2.10-00000009", "__FROM_DID=s") in new stack
-- Executing [s@ext-did:2] Gosub("SIP/10.254.2.10-00000009", "app-blacklist-check,s,1") in new stack
-- Executing [s@app-blacklist-check:1] GotoIf("SIP/10.254.2.10-00000009", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:2] Set("SIP/10.254.2.10-00000009", "CALLED_BLACKLIST=1") in new stack
-- Executing [s@app-blacklist-check:3] Return("SIP/10.254.2.10-00000009", "") in new stack
-- Executing [s@ext-did:3] ExecIf("SIP/10.254.2.10-00000009", "1 ?Set(CALLERID(name)=3833358015)") in new stack
-- Executing [s@ext-did:4] Set("SIP/10.254.2.10-00000009", "__CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [s@ext-did:5] Set("SIP/10.254.2.10-00000009", "CALLERPRES()=allowed_not_screened") in new stack
-- Executing [s@ext-did:6] Goto("SIP/10.254.2.10-00000009", "from-did-direct,3833358703,1") in new stack
-- Goto (from-did-direct,3833358703,1)
-- Executing [3833358703@from-did-direct:1] Macro("SIP/10.254.2.10-00000009", "exten-vm,novm,3833358703") in new stack
-- Executing [s@macro-exten-vm:1] Macro("SIP/10.254.2.10-00000009", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/10.254.2.10-00000009", "AMPUSER=3833358015") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/10.254.2.10-00000009", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/10.254.2.10-00000009", "1?Set(REALCALLERIDNUM=3833358015)") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/10.254.2.10-00000009", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/10.254.2.10-00000009", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/10.254.2.10-00000009", "1?report") in new stack
-- Goto (macro-user-callerid,s,10)
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/10.254.2.10-00000009", "0?continue") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/10.254.2.10-00000009", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("SIP/10.254.2.10-00000009", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] NoOp("SIP/10.254.2.10-00000009", "Using CallerID "3833358015" <3833358015>") in new stack
-- Executing [s@macro-exten-vm:2] Set("SIP/10.254.2.10-00000009", "RingGroupMethod=none") in new stack
-- Executing [s@macro-exten-vm:3] Set("SIP/10.254.2.10-00000009", "VMBOX=novm") in new stack
-- Executing [s@macro-exten-vm:4] Set("SIP/10.254.2.10-00000009", "EXTTOCALL=3833358703") in new stack
-- Executing [s@macro-exten-vm:5] Set("SIP/10.254.2.10-00000009", "CFUEXT=") in new stack
-- Executing [s@macro-exten-vm:6] Set("SIP/10.254.2.10-00000009", "CFBEXT=") in new stack
-- Executing [s@macro-exten-vm:7] Set("SIP/10.254.2.10-00000009", "RT=""") in new stack
-- Executing [s@macro-exten-vm:8] Macro("SIP/10.254.2.10-00000009", "record-enable,3833358703,IN") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/10.254.2.10-00000009", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("SIP/10.254.2.10-00000009", "0?MacroExit()") in new stack
-- Executing [s@macro-record-enable:5] GotoIf("SIP/10.254.2.10-00000009", "0?Group:OUT") in new stack
-- Goto (macro-record-enable,s,15)
-- Executing [s@macro-record-enable:15] GotoIf("SIP/10.254.2.10-00000009", "1?IN") in new stack
-- Goto (macro-record-enable,s,20)
-- Executing [s@macro-record-enable:20] ExecIf("SIP/10.254.2.10-00000009", "1?MacroExit()") in new stack
-- Executing [s@macro-exten-vm:9] Macro("SIP/10.254.2.10-00000009", "dial,,tr,3833358703") in new stack
-- Executing [s@macro-dial:1] GotoIf("SIP/10.254.2.10-00000009", "1?dial") in new stack
-- Goto (macro-dial,s,3)
-- Executing [s@macro-dial:3] AGI("SIP/10.254.2.10-00000009", "dialparties.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
dialparties.agi: Starting New Dialparties.agi
dialparties.agi: Caller ID name is '3833358015' number is '3833358015'
dialparties.agi: Methodology of ring is 'none'
-- dialparties.agi: Added extension 3833358703 to extension map
-- dialparties.agi: Extension 3833358703 cf is disabled
-- dialparties.agi: Extension 3833358703 do not disturb is disabled
dialparties.agi: EXTENSION_STATE: 0 (NOT_INUSE)
dialparties.agi: Extension 3833358703 has ExtensionState: 0
-- dialparties.agi: Checking CW and CFB status for extension 3833358703
-- dialparties.agi: dbset CALLTRACE/3833358703 to 3833358015
-- dialparties.agi: Filtered ARG3: 3833358703
-- <SIP/10.254.2.10-00000009>AGI Script dialparties.agi completed, returning 0
-- Executing [s@macro-dial:7] Dial("SIP/10.254.2.10-00000009", "SIP/3833358703,,tr") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called 3833358703
-- SIP/3833358703-0000000a is ringing
== Spawn extension (macro-dial, s, 7) exited non-zero on 'SIP/10.254.2.10-00000009' in macro 'dial'
== Spawn extension (macro-exten-vm, s, 9) exited non-zero on 'SIP/10.254.2.10-00000009' in macro 'exten-vm'
== Spawn extension (from-did-direct, 3833358703, 1) exited non-zero on 'SIP/10.254.2.10-00000009'
Задан: 2011-07-26 06:46:30 +0400
Просмотрен: 955 раз
Обновлен: Sep 20 '12
Проект компании "АТС Дизайн"
Asterisk® и Digium® являются зарегистрированными торговыми марками компании
Digium, Inc., США.
IP АТС Asterisk распространяется под лицензией
GNU GPL.