День добрый. Есть сервер с пакетом AsteriskNOW. Есть некоторые задачи, но пока только вникаем в суть. По началу стоит такой вопрос. Нада соеденить в локалке такую схему X-lite ->asterisk -> x-lite. Создал внутренние номера. По логике всё должно работать. но почему то freepbx не видит клиентов он лайн. А когда звоню на номер выдаётся сигнал что номер не обслуживается. Буду рад любому совету.
уже перерыл много инфы... есть делать follow me то сервак всё обрабатывает... выдаёт сигналы что занято если их поставить и т.п. А вот соеденить две машины не хочет. Я так понимаю он должен отбражать аппараты он лайн в статусе. А сейчас у меня там "ИП Телефонов в онлайне 0"
и ещё... если звонить на номера в базе то выдаёт звуковой сигнал ошибки. а если звонить на посторонний номер выдаётся сообщение что номер не обслуживается... соответственно клиент к серваку подключается. А вот дальше почему то не идёт...
если поможет, логи следующие:
-- Executing [1002@from-sip-external:1] NoOp("SIP/192.168.88.16-00000063", "Received incoming SIP connection from unknown peer to 1002") in new stack
-- Executing [1002@from-sip-external:2] Set("SIP/192.168.88.16-00000063", "DID=1002") in new stack
-- Executing [1002@from-sip-external:3] Goto("SIP/192.168.88.16-00000063", "s,1") in new stack
-- Goto (from-sip-external,s,1)
-- Executing [s@from-sip-external:1] GotoIf("SIP/192.168.88.16-00000063", "1?checklang:noanonymous") in new stack
-- Goto (from-sip-external,s,2)
-- Executing [s@from-sip-external:2] GotoIf("SIP/192.168.88.16-00000063", "0?setlanguage:from-trunk,1002,1") in new stack
-- Goto (from-trunk,1002,1)
-- Executing [1002@from-trunk:1] Macro("SIP/192.168.88.16-00000063", "exten-vm,novm,1002") in new stack
-- Executing [s@macro-exten-vm:1] Macro("SIP/192.168.88.16-00000063", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/192.168.88.16-00000063", "AMPUSER=Mike") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/192.168.88.16-00000063", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/192.168.88.16-00000063", "1?Set(REALCALLERIDNUM=Mike)") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/192.168.88.16-00000063", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/192.168.88.16-00000063", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/192.168.88.16-00000063", "1?report") in new stack
-- Goto (macro-user-callerid,s,10)
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/192.168.88.16-00000063", "0?continue") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/192.168.88.16-00000063", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("SIP/192.168.88.16-00000063", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] Set("SIP/192.168.88.16-00000063", "CALLERID(number)=Mike") in new stack
-- Executing [s@macro-user-callerid:20] Set("SIP/192.168.88.16-00000063", "CALLERID(name)=") in new stack
-- Executing [s@macro-user-callerid:21] NoOp("SIP/192.168.88.16-00000063", "Using CallerID "" <Mike>") in new stack
-- Executing [s@macro-exten-vm:2] Set("SIP/192.168.88.16-00000063", "RingGroupMethod=none") in new stack
-- Executing [s@macro-exten-vm:3] Set("SIP/192.168.88.16-00000063", "VMBOX=novm") in new stack
-- Executing [s@macro-exten-vm:4] Set("SIP/192.168.88.16-00000063", "__EXTTOCALL=1002") in new stack
-- Executing [s@macro-exten-vm:5] Set("SIP/192.168.88.16-00000063", "CFUEXT=") in new stack
-- Executing [s@macro-exten-vm:6] Set("SIP/192.168.88.16-00000063", "CFBEXT=") in new stack
-- Executing [s@macro-exten-vm:7] Set("SIP/192.168.88.16-00000063", "RT=""") in new stack
-- Executing [s@macro-exten-vm:8] Macro("SIP/192.168.88.16-00000063", "record-enable,1002,IN") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/192.168.88.16-00000063", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("SIP/192.168.88.16-00000063", "0?MacroExit()") in new stack
-- Executing [s@macro-record-enable:5] GotoIf("SIP/192.168.88.16-00000063", "0?Group:OUT") in new stack
-- Goto (macro-record-enable,s,15)
-- Executing [s@macro-record-enable:15] GotoIf("SIP/192.168.88.16-00000063", "1?IN") in new stack
-- Goto (macro-record-enable,s,20)
-- Executing [s@macro-record-enable:20] ExecIf("SIP/192.168.88.16-00000063", "1?MacroExit()") in new stack
-- Executing [s@macro-exten-vm:9] Macro("SIP/192.168.88.16-00000063", "dial-one,,tr,1002") in new stack
-- Executing [s@macro-dial-one:1] Set("SIP/192.168.88.16-00000063", "DEXTEN=1002") in new stack
-- Executing [s@macro-dial-one:2] Set("SIP/192.168.88.16-00000063", "DIALSTATUS_CW=") in new stack
-- Executing [s@macro-dial-one:3] GosubIf("SIP/192.168.88.16-00000063", "0?screen,1") in new stack
-- Executing [s@macro-dial-one:4] GosubIf("SIP/192.168.88.16-00000063", "0?cf,1") in new stack
-- Executing [s@macro-dial-one:5] GotoIf("SIP/192.168.88.16-00000063", "1?skip1") in new stack
-- Goto (macro-dial-one,s,8)
-- Executing [s@macro-dial-one:8] GotoIf("SIP/192.168.88.16-00000063", "0?nodial") in new stack
-- Executing [s@macro-dial-one:9] GotoIf("SIP/192.168.88.16-00000063", "0?continue") in new stack
-- Executing [s@macro-dial-one:10] Set("SIP/192.168.88.16-00000063", "EXTHASCW=ENABLED") in new stack
-- Executing [s@macro-dial-one:11] GotoIf("SIP/192.168.88.16-00000063", "0?next1:cwinusebusy") in new stack
-- Goto (macro-dial-one,s,23)
-- Executing [s@macro-dial-one:23] GotoIf("SIP/192.168.88.16-00000063", "1?next3:continue") in new stack
-- Goto (macro-dial-one,s,24)
-- Executing [s@macro-dial-one:24] ExecIf("SIP/192.168.88.16-00000063", "0?Set(DIALSTATUS_CW=BUSY)") in new stack
-- Executing [s@macro-dial-one:25] GotoIf("SIP/192.168.88.16-00000063", "0?nodial") in new stack
-- Executing [s@macro-dial-one:26] GosubIf("SIP/192.168.88.16-00000063", "1?dstring,1:dlocal,1") in new stack
-- Executing [dstring@macro-dial-one:1] Set("SIP/192.168.88.16-00000063", "DSTRING=") in new stack
-- Executing [dstring@macro-dial-one:2] Set("SIP/192.168.88.16-00000063", "DEVICES=1002") in new stack
-- Executing [dstring@macro-dial-one:3] ExecIf("SIP/192.168.88.16-00000063", "0?Return()") in new stack
-- Executing [dstring@macro-dial-one:4] ExecIf("SIP/192.168.88.16-00000063", "0?Set(DEVICES=002)") in new stack
-- Executing [dstring@macro-dial-one:5] Set("SIP/192.168.88.16-00000063", "LOOPCNT=1") in new stack
-- Executing [dstring@macro-dial-one:6] Set("SIP/192.168.88.16-00000063", "ITER=1") in new stack
-- Executing [dstring@macro-dial-one:7] Set("SIP/192.168.88.16-00000063", "THISDIAL=SIP/1002") in new stack
-- Executing [dstring@macro-dial-one:8] GosubIf("SIP/192.168.88.16-00000063", "1?zap2dahdi,1") in new stack
-- Executing [zap2dahdi@macro-dial-one:1] ExecIf("SIP/192.168.88.16-00000063", "0?Return()") in new stack
-- Executing [zap2dahdi@macro-dial-one:2] Set("SIP/192.168.88.16-00000063", "NEWDIAL=") in new stack
-- Executing [zap2dahdi@macro-dial-one:3] Set("SIP/192.168.88.16-00000063", "LOOPCNT2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:4] Set("SIP/192.168.88.16-00000063", "ITER2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:5] Set("SIP/192.168.88.16-00000063", "THISPART2=SIP/1002") in new stack
-- Executing [zap2dahdi@macro-dial-one:6] ExecIf("SIP/192.168.88.16-00000063", "0?Set(THISPART2=DAHDI/1002)") in new stack
-- Executing [zap2dahdi@macro-dial-one:7] Set("SIP/192.168.88.16-00000063", "NEWDIAL=SIP/1002&") in new stack
-- Executing [zap2dahdi@macro-dial-one:8] Set("SIP/192.168.88.16-00000063", "ITER2=2") in new stack
-- Executing [zap2dahdi@macro-dial-one:9] GotoIf("SIP/192.168.88.16-00000063", "0?begin2") in new stack
-- Executing [zap2dahdi@macro-dial-one:10] Set("SIP/192.168.88.16-00000063", "THISDIAL=SIP/1002") in new stack
-- Executing [zap2dahdi@macro-dial-one:11] Return("SIP/192.168.88.16-00000063", "") in new stack
-- Executing [dstring@macro-dial-one:9] Set("SIP/192.168.88.16-00000063", "DSTRING=SIP/1002&") in new stack
-- Executing [dstring@macro-dial-one:10] Set("SIP/192.168.88.16-00000063", "ITER=2") in new stack
-- Executing [dstring@macro-dial-one:11] GotoIf("SIP/192.168.88.16-00000063", "0?begin") in new stack
-- Executing [dstring@macro-dial-one:12] Set("SIP/192.168.88.16-00000063", "DSTRING=SIP/1002") in new stack
-- Executing [dstring@macro-dial-one:13] Return("SIP/192.168.88.16-00000063", "") in new stack
-- Executing [s@macro-dial-one:27] GotoIf("SIP/192.168.88.16-00000063", "0?nodial") in new stack
-- Executing [s@macro-dial-one:28] GotoIf("SIP/192.168.88.16-00000063", "1?skiptrace") in new stack
-- Goto (macro-dial-one,s,30)
-- Executing [s@macro-dial-one:30] Set("SIP/192.168.88.16-00000063", "D_OPTIONS=tr") in new stack
-- Executing [s@macro-dial-one:31] ExecIf("SIP/192.168.88.16-00000063", "0?SIPAddHeader(Alert-Info: )") in new stack
-- Executing [s@macro-dial-one:32] ExecIf("SIP/192.168.88.16-00000063", "0?SIPAddHeader()") in new stack
-- Executing [s@macro-dial-one:33] ExecIf("SIP/192.168.88.16-00000063", "0?Set(CHANNEL(musicclass)=)") in new stack
-- Executing [s@macro-dial-one:34] GosubIf("SIP/192.168.88.16-00000063", "0?qwait,1") in new stack
-- Executing [s@macro-dial-one:35] Set("SIP/192.168.88.16-00000063", "__CWIGNORE=") in new stack
-- Executing [s@macro-dial-one:36] Set("SIP/192.168.88.16-00000063", "__KEEPCID=TRUE") in new stack
-- Executing [s@macro-dial-one:37] Dial("SIP/192.168.88.16-00000063", "SIP/1002,,tr") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dial-one:38] ExecIf("SIP/192.168.88.16-00000063", "0?Set(DIALSTATUS=)") in new stack
-- Executing [s@macro-dial-one:39] GosubIf("SIP/192.168.88.16-00000063", "0?s-CHANUNAVAIL,1") in new stack
-- Executing [s@macro-dial-one:40] MacroExit("SIP/192.168.88.16-00000063", "") in new stack
-- Executing [s@macro-exten-vm:10] GotoIf("SIP/192.168.88.16-00000063", "0?exit") in new stack
-- Executing [s@macro-exten-vm:11] Set("SIP/192.168.88.16-00000063", "SV_DIALSTATUS=CHANUNAVAIL") in new stack
-- Executing [s@macro-exten-vm:12] GosubIf("SIP/192.168.88.16-00000063", "0?docfu,1") in new stack
-- Executing [s@macro-exten-vm:13] GosubIf("SIP/192.168.88.16-00000063", "0?docfb,1") in new stack
-- Executing [s@macro-exten-vm:14] Set("SIP/192.168.88.16-00000063", "DIALSTATUS=CHANUNAVAIL") in new stack
-- Executing [s@macro-exten-vm:15] NoOp("SIP/192.168.88.16-00000063", "Voicemail is 'novm'") in new stack
-- Executing [s@macro-exten-vm:16] GotoIf("SIP/192.168.88.16-00000063", "1?s-CHANUNAVAIL,1") in new stack
-- Goto (macro-exten-vm,s-CHANUNAVAIL,1)
-- Executing [s-CHANUNAVAIL@macro-exten-vm:1] NoOp("SIP/192.168.88.16-00000063", "IVR_RETVM: IVR_CONTEXT: ") in new stack
-- Executing [s-CHANUNAVAIL@macro-exten-vm:2] GotoIf("SIP/192.168.88.16-00000063", "0?exit,1") in new stack
-- Executing [s-CHANUNAVAIL@macro-exten-vm:3] PlayTones("SIP/192.168.88.16-00000063", "congestion") in new stack
-- Executing [s-CHANUNAVAIL@macro-exten-vm:4] Congestion("SIP/192.168.88.16-00000063", "10") in new stack
== Spawn extension (macro-exten-vm, s-CHANUNAVAIL, 4) exited non-zero on 'SIP/192.168.88.16-00000063' in macro 'exten-vm'
== Spawn extension (from-trunk, 1002, 1) exited non-zero on 'SIP/192.168.88.16-00000063'
-- Executing [h@from-trunk:1] Macro("SIP/192.168.88.16-00000063", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/192.168.88.16-00000063", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,4)
-- Executing [s@macro-hangupcall:4] GotoIf("SIP/192.168.88.16-00000063", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing [s@macro-hangupcall:7] GotoIf("SIP/192.168.88.16-00000063", "1?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] Hangup("SIP/192.168.88.16-00000063", "") in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/192.168.88.16-00000063' in macro 'hangupcall'
== Spawn extension (from-trunk, h, 1) exited non-zero on 'SIP/192.168.88.16-00000063'