Добрый день. Удалось настроить asterisk для звонков между браузерами, по протоколу wss Но при попытки звонка из браузера в клиентское приложение PhoneLite, когда беру трубку, то сразу же звонок сбрасывается Вот лог
Using SIP VIDEO CoS mark 6
== Using SIP RTP CoS mark 5
-- Executing [102@from-internal:1] GotoIf("SIP/101-00000003", "1?ext-local,102,1") in new stack
-- Goto (ext-local,102,1)
-- Executing [102@ext-local:1] Set("SIP/101-00000003", "__RINGTIMER=15") in new stack
-- Executing [102@ext-local:2] Macro("SIP/101-00000003", "exten-vm,novm,102,0,0,0") in new stack
-- Executing [s@macro-exten-vm:1] Macro("SIP/101-00000003", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/101-00000003", "TOUCH_MONITOR=1472468010.3") in new stack
-- Executing [s@macro-user-callerid:2] Set("SIP/101-00000003", "AMPUSER=101") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("SIP/101-00000003", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("SIP/101-00000003", "1?Set(REALCALLERIDNUM=101)") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/101-00000003", "AMPUSER=101") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/101-00000003", "0?limit") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/101-00000003", "AMPUSERCIDNAME=101") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("SIP/101-00000003", "0?report") in new stack
-- Executing [s@macro-user-callerid:9] Set("SIP/101-00000003", "AMPUSERCID=101") in new stack
-- Executing [s@macro-user-callerid:10] Set("SIP/101-00000003", "__DIAL_OPTIONS=Ttr") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/101-00000003", "CALLERID(all)="101" <101>") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("SIP/101-00000003", "0?limit") in new stack
-- Executing [s@macro-user-callerid:13] ExecIf("SIP/101-00000003", "0?Set(GROUP(concurrency_limit)=101)") in new stack
-- Executing [s@macro-user-callerid:14] GosubIf("SIP/101-00000003", "7?sub-ccss,s,1(macro-exten-vm,102)") in new stack
-- Executing [s@sub-ccss:1] ExecIf("SIP/101-00000003", "0?Return()") in new stack
-- Executing [s@sub-ccss:2] Set("SIP/101-00000003", "CCSS_SETUP=TRUE") in new stack
-- Executing [s@sub-ccss:3] GosubIf("SIP/101-00000003", "0?monitor_config,1(macro-exten-vm,102):monitor_default,1(macro-exten-vm,102)") in new stack
-- Executing [monitor_default@sub-ccss:1] GotoIf("SIP/101-00000003", "1?is_exten") in new stack
-- Goto (sub-ccss,monitor_default,4)
-- Executing [monitor_default@sub-ccss:4] Set("SIP/101-00000003", "CALLCOMPLETION(cc_monitor_policy)=generic") in new stack
-- Executing [monitor_default@sub-ccss:5] Set("SIP/101-00000003", "CALLCOMPLETION(cc_max_monitors)=5") in new stack
-- Executing [monitor_default@sub-ccss:6] Return("SIP/101-00000003", "TRUE") in new stack
-- Executing [s@sub-ccss:4] GosubIf("SIP/101-00000003", "7?agent_config,1():agent_default,1()") in new stack
-- Executing [agent_config@sub-ccss:1] Set("SIP/101-00000003", "CALLCOMPLETION(cc_agent_policy)=generic") in new stack
-- Executing [agent_config@sub-ccss:2] Set("SIP/101-00000003", "CALLCOMPLETION(cc_offer_timer)=30") in new stack
-- Executing [agent_config@sub-ccss:3] Set("SIP/101-00000003", "CALLCOMPLETION(ccbs_available_timer)=") in new stack
-- Executing [agent_config@sub-ccss:4] Set("SIP/101-00000003", "CALLCOMPLETION(ccnr_available_timer)=") in new stack
-- Executing [agent_config@sub-ccss:5] Set("SIP/101-00000003", "CALLCOMPLETION(cc_callback_sub)=ccss-default") in new stack
-- Executing [agent_config@sub-ccss:6] ExecIf("SIP/101-00000003", "1?Set(CALLCOMPLETION(cc_recall_timer)=)") in new stack
-- Executing [agent_config@sub-ccss:7] ExecIf("SIP/101-00000003", "1?Set(CALLCOMPLETION(cc_max_agents)=)") in new stack
-- Executing [agent_config@sub-ccss:8] ExecIf("SIP/101-00000003", "0?Set(CALLCOMPLETION(cc_agent_dialstring)=Local/101_102@from-ccss-)") in new stack
-- Executing [agent_config@sub-ccss:9] Set("SIP/101-00000003", "CALLCOMPLETION(cc_callback_sub)=ccss-default") in new stack
-- Executing [agent_config@sub-ccss:10] Return("SIP/101-00000003", "") in new stack
-- Executing [s@sub-ccss:5] Set("SIP/101-00000003", "DB(AMPUSER/101/ccss/last_number)=102") in new stack
-- Executing [s@sub-ccss:6] Return("SIP/101-00000003", "") in new stack
-- Executing [s@macro-user-callerid:15] ExecIf("SIP/101-00000003", "0?Set(CHANNEL(language)=)") in new stack
-- Executing [s@macro-user-callerid:16] GotoIf("SIP/101-00000003", "0?continue") in new stack
-- Executing [s@macro-user-callerid:17] ExecIf("SIP/101-00000003", "1?Set(__CALLEE_ACCOUNCODE=)") in new stack
-- Executing [s@macro-user-callerid:18] Set("SIP/101-00000003", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:19] GotoIf("SIP/101-00000003", "1?continue") in new stack
-- Goto (macro-user-callerid,s,30)
-- Executing [s@macro-user-callerid:30] Set("SIP/101-00000003", "CALLERID(number)=101") in new stack
-- Executing [s@macro-user-callerid:31] Set("SIP/101-00000003", "CALLERID(name)=101") in new stack
-- Executing [s@macro-user-callerid:32] Set("SIP/101-00000003", "CDR(cnum)=101") in new stack
-- Executing [s@macro-user-callerid:33] Set("SIP/101-00000003", "CDR(cnam)=101") in new stack
-- Executing [s@macro-user-callerid:34] Set("SIP/101-00000003", "CHANNEL(language)=en") in new stack
-- Executing [s@macro-exten-vm:2] Set("SIP/101-00000003", "RingGroupMethod=none") in new stack
-- Executing [s@macro-exten-vm:3] Set("SIP/101-00000003", "__EXTTOCALL=102") in new stack
-- Executing [s@macro-exten-vm:4] Set("SIP/101-00000003", "__PICKUPMARK=102") in new stack
-- Executing [s@macro-exten-vm:5] Set("SIP/101-00000003", "RT=") in new stack
-- Executing [s@macro-exten-vm:6] ExecIf("SIP/101-00000003", "0?Macro(vm,novm,DIRECTDIAL,)") in new stack
-- Executing [s@macro-exten-vm:7] ExecIf("SIP/101-00000003", "0?MacroExit()") in new stack
-- Executing [s@macro-exten-vm:8] Gosub("SIP/101-00000003", "sub-record-check,s,1(exten,102,dontcare)") in new stack
-- Executing [s@sub-record-check:1] GotoIf("SIP/101-00000003", "0?initialized") in new stack
-- Executing [s@sub-record-check:2] Set("SIP/101-00000003", "__REC_STATUS=INITIALIZED") in new stack
-- Executing [s@sub-record-check:3] Set("SIP/101-00000003", "NOW=1472468010") in new stack
-- Executing [s@sub-record-check:4] Set("SIP/101-00000003", "__DAY=29") in new stack
-- Executing [s@sub-record-check:5] Set("SIP/101-00000003", "__MONTH=08") in new stack
-- Executing [s@sub-record-check:6] Set("SIP/101-00000003", "__YEAR=2016") in new stack
-- Executing [s@sub-record-check:7] Set("SIP/101-00000003", "__TIMESTR=20160829-135330") in new stack
-- Executing [s@sub-record-check:8] Set("SIP/101-00000003", "__FROMEXTEN=101") in new stack
-- Executing [s@sub-record-check:9] Set("SIP/101-00000003", "__MON_FMT=wav") in new stack
-- Executing [s@sub-record-check:10] NoOp("SIP/101-00000003", "Recordings initialized") in new stack
-- Executing [s@sub-record-check:11] ExecIf("SIP/101-00000003", "0?Set(ARG3=dontcare)") in new stack
-- Executing [s@sub-record-check:12] Set("SIP/101-00000003", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [s@sub-record-check:13] ExecIf("SIP/101-00000003", "0?Set(REC_STATUS=NO)") in new stack
-- Executing [s@sub-record-check:14] GotoIf("SIP/101-00000003", "5?checkaction") in new stack
-- Goto (sub-record-check,s,17)
-- Executing [s@sub-record-check:17] GotoIf("SIP/101-00000003", "1?sub-record-check,exten,1") in new stack
-- Goto (sub-record-check,exten,1)
-- Executing [exten@sub-record-check:1] NoOp("SIP/101-00000003", "Exten Recording Check between 101 and 102") in new stack
-- Executing [exten@sub-record-check:2] Set("SIP/101-00000003", "CALLTYPE=internal") in new stack
-- Executing [exten@sub-record-check:3] ExecIf("SIP/101-00000003", "0?Set(CALLTYPE=)") in new stack
-- Executing [exten@sub-record-check:4] Set("SIP/101-00000003", "CALLEE=yes") in new stack
-- Executing [exten@sub-record-check:5] ExecIf("SIP/101-00000003", "0?Set(CALLEE=dontcare)") in new stack
-- Executing [exten@sub-record-check:6] GotoIf("SIP/101-00000003", "0?callee") in new stack
-- Executing [exten@sub-record-check:7] GotoIf("SIP/101-00000003", "0?caller") in new stack
-- Executing [exten@sub-record-check:8] ExecIf("SIP/101-00000003", "2?Set(CALLER_PRI=10):Set(CALLER_PRI=0)") in new stack
-- Executing [exten@sub-record-check:9] ExecIf("SIP/101-00000003", "2?Set(CALLEE_PRI=10):Set(CALLEE_PRI=0)") in new stack
-- Executing [exten@sub-record-check:10] GotoIf("SIP/101-00000003", "1?caller:callee") in new stack
-- Goto (sub-record-check,exten,13)
-- Executing [exten@sub-record-check:13] Set("SIP/101-00000003", "RECMODE=yes") in new stack
-- Executing [exten@sub-record-check:14] ExecIf("SIP/101-00000003", "0?Set(RECMODE=dontcare)") in new stack
-- Executing [exten@sub-record-check:15] ExecIf("SIP/101-00000003", "0?Set(RECMODE=yes)") in new stack
-- Executing [exten@sub-record-check:16] Gosub("SIP/101-00000003", "recordcheck,1(yes,internal,102)") in new stack
-- Executing [recordcheck@sub-record-check:1] NoOp("SIP/101-00000003", "Starting recording check against yes") in new stack
-- Executing [recordcheck@sub-record-check:2] Goto("SIP/101-00000003", "yes") in new stack
-- Goto (sub-record-check,recordcheck,9)
-- Executing [recordcheck@sub-record-check:9] ExecIf("SIP/101-00000003", "0?Return()") in new stack
-- Executing [recordcheck@sub-record-check:10] Set("SIP/101-00000003", "__REC_POLICY_MODE=YES") in new stack
-- Executing [recordcheck@sub-record-check:11] Goto("SIP/101-00000003", "startrec") in new stack
-- Goto (sub-record-check,recordcheck,16)
-- Executing [recordcheck@sub-record-check:16] NoOp("SIP/101-00000003", "Starting recording: internal, 102") in new stack
-- Executing [recordcheck@sub-record-check:17] Set("SIP/101-00000003", "AUDIOHOOK_INHERIT(MixMonitor)=yes") in new stack
-- Executing [recordcheck@sub-record-check:18] Set("SIP/101-00000003", "__CALLFILENAME=internal-102-101-20160829-135330-1472468010.3") in new stack
-- Executing [recordcheck@sub-record-check:19] MixMonitor("SIP/101-00000003", "2016/08/29/internal-102-101-20160829-135330-1472468010.3.wav,ai(LOCAL_MIXMON_ID),") in new stack
-- Executing [recordcheck@sub-record-check:20] Set("SIP/101-00000003", "__MIXMON_ID=0x7f0780018980") in new stack
-- Executing [recordcheck@sub-record-check:21] Set("SIP/101-00000003", "__RECORD_ID=SIP/101-00000003") in new stack
-- Executing [recordcheck@sub-record-check:22] Set("SIP/101-00000003", "__REC_STATUS=RECORDING") in new stack
== Begin MixMonitor Recording SIP/101-00000003
-- Executing [recordcheck@sub-record-check:23] Set("SIP/101-00000003", "CDR(recordingfile)=internal-102-101-20160829-135330-1472468010.3.wav") in new stack
-- Executing [recordcheck@sub-record-check:24] Return("SIP/101-00000003", "") in new stack
-- Executing [exten@sub-record-check:17] Return("SIP/101-00000003", "") in new stack
-- Executing [s@macro-exten-vm:9] GotoIf("SIP/101-00000003", "1?macrodial") in new stack
-- Goto (macro-exten-vm,s,15)
-- Executing [s@macro-exten-vm:15] GosubIf("SIP/101-00000003", "0?clrheader,1()") in new stack
-- Executing [s@macro-exten-vm:16] Macro("SIP/101-00000003", "dial-one,,Ttr,102") in new stack
-- Executing [s@macro-dial-one:1] Set("SIP/101-00000003", "DEXTEN=102") in new stack
-- Executing [s@macro-dial-one:2] Set("SIP/101-00000003", "DIALSTATUS_CW=") in new stack
-- Executing [s@macro-dial-one:3] GosubIf("SIP/101-00000003", "0?screen,1()") in new stack
-- Executing [s@macro-dial-one:4] GosubIf("SIP/101-00000003", "0?cf,1()") in new stack
-- Executing [s@macro-dial-one:5] GotoIf("SIP/101-00000003", "1?skip1") in new stack
-- Goto (macro-dial-one,s,8)
-- Executing [s@macro-dial-one:8] GotoIf("SIP/101-00000003", "0?nodial") in new stack
-- Executing [s@macro-dial-one:9] GotoIf("SIP/101-00000003", "0?continue") in new stack
-- Executing [s@macro-dial-one:10] Set("SIP/101-00000003", "EXTHASCW=ENABLED") in new stack
-- Executing [s@macro-dial-one:11] GotoIf("SIP/101-00000003", "0?next1:cwinusebusy") in new stack
-- Goto (macro-dial-one,s,23)
-- Executing [s@macro-dial-one:23] GotoIf("SIP/101-00000003", "1?next3:continue") in new stack
-- Goto (macro-dial-one,s,24)
-- Executing [s@macro-dial-one:24] ExecIf("SIP/101-00000003", "0?Set(DIALSTATUS_CW=BUSY)") in new stack
-- Executing [s@macro-dial-one:25] GotoIf("SIP/101-00000003", "0?nodial") in new stack
-- Executing [s@macro-dial-one:26] GosubIf("SIP/101-00000003", "1?dstring,1():dlocal,1()") in new stack
-- Executing [dstring@macro-dial-one:1] Set("SIP/101-00000003", "DSTRING=") in new stack
-- Executing [dstring@macro-dial-one:2] Set("SIP/101-00000003", "DEVICES=102") in new stack
-- Executing [dstring@macro-dial-one:3] ExecIf("SIP/101-00000003", "0?Return()") in new stack
-- Executing [dstring@macro-dial-one:4] ExecIf("SIP/101-00000003", "0?Set(DEVICES=02)") in new stack
-- Executing [dstring@macro-dial-one:5] Set("SIP/101-00000003", "LOOPCNT=1") in new stack
-- Executing [dstring@macro-dial-one:6] Set("SIP/101-00000003", "ITER=1") in new stack
-- Executing [dstring@macro-dial-one:7] Set("SIP/101-00000003", "THISDIAL=SIP/102") in new stack
-- Executing [dstring@macro-dial-one:8] GosubIf("SIP/101-00000003", "1?zap2dahdi,1()") in new stack
-- Executing [zap2dahdi@macro-dial-one:1] ExecIf("SIP/101-00000003", "0?Return()") in new stack
-- Executing [zap2dahdi@macro-dial-one:2] Set("SIP/101-00000003", "NEWDIAL=") in new stack
-- Executing [zap2dahdi@macro-dial-one:3] Set("SIP/101-00000003", "LOOPCNT2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:4] Set("SIP/101-00000003", "ITER2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:5] Set("SIP/101-00000003", "THISPART2=SIP/102") in new stack
-- Executing [zap2dahdi@macro-dial-one:6] ExecIf("SIP/101-00000003", "0?Set(THISPART2=DAHDI/102)") in new stack
-- Executing [zap2dahdi@macro-dial-one:7] Set("SIP/101-00000003", "NEWDIAL=SIP/102&") in new stack
-- Executing [zap2dahdi@macro-dial-one:8] Set("SIP/101-00000003", "ITER2=2") in new stack
-- Executing [zap2dahdi@macro-dial-one:9] GotoIf("SIP/101-00000003", "0?begin2") in new stack
-- Executing [zap2dahdi@macro-dial-one:10] Set("SIP/101-00000003", "THISDIAL=SIP/102") in new stack
-- Executing [zap2dahdi@macro-dial-one:11] Return("SIP/101-00000003", "") in new stack
-- Executing [dstring@macro-dial-one:9] GotoIf("SIP/101-00000003", "1?doset") in new stack
-- Goto (macro-dial-one,dstring,13)
-- Executing [dstring@macro-dial-one:13] Set("SIP/101-00000003", "DSTRING=SIP/102&") in new stack
-- Executing [dstring@macro-dial-one:14] Set("SIP/101-00000003", "ITER=2") in new stack
-- Executing [dstring@macro-dial-one:15] GotoIf("SIP/101-00000003", "0?begin") in new stack
-- Executing [dstring@macro-dial-one:16] ExecIf("SIP/101-00000003", "0?Return()") in new stack
-- Executing [dstring@macro-dial-one:17] Set("SIP/101-00000003", "DSTRING=SIP/102") in new stack
-- Executing [dstring@macro-dial-one:18] Return("SIP/101-00000003", "") in new stack
-- Executing [s@macro-dial-one:27] GotoIf("SIP/101-00000003", "0?nodial") in new stack
-- Executing [s@macro-dial-one:28] GotoIf("SIP/101-00000003", "0?skiptrace") in new stack
-- Executing [s@macro-dial-one:29] GosubIf("SIP/101-00000003", "1?ctset,1():ctclear,1()") in new stack
-- Executing [ctset@macro-dial-one:1] Set("SIP/101-00000003", "DB(CALLTRACE/102)=101") in new stack
-- Executing [ctset@macro-dial-one:2] Return("SIP/101-00000003", "") in new stack
-- Executing [s@macro-dial-one:30] Set("SIP/101-00000003", "D_OPTIONS=Ttr") in new stack
-- Executing [s@macro-dial-one:31] ExecIf("SIP/101-00000003", "0?SIPAddHeader(Alert-Info: )") in new stack
-- Executing [s@macro-dial-one:32] ExecIf("SIP/101-00000003", "0?SIPAddHeader()") in new stack
-- Executing [s@macro-dial-one:33] ExecIf("SIP/101-00000003", "0?Set(CHANNEL(musicclass)=)") in new stack
-- Executing [s@macro-dial-one:34] GosubIf("SIP/101-00000003", "0?qwait,1()") in new stack
-- Executing [s@macro-dial-one:35] Set("SIP/101-00000003", "__CWIGNORE=") in new stack
-- Executing [s@macro-dial-one:36] Set("SIP/101-00000003", "__KEEPCID=TRUE") in new stack
-- Executing [s@macro-dial-one:37] GotoIf("SIP/101-00000003", "0?usegoto,1") in new stack
-- Executing [s@macro-dial-one:38] GotoIf("SIP/101-00000003", "0?godial") in new stack
-- Executing [s@macro-dial-one:39] Gosub("SIP/101-00000003", "sub-presencestate-display,s,1(102)") in new stack
[2016-08-29 13:53:30] WARNING[15407][C-00000002]: func_presencestate.c:132 presence_read: PRESENCE_STATE unknown
-- Executing [s@sub-presencestate-display:1] Goto("SIP/101-00000003", "state-,1") in new stack
-- Goto (sub-presencestate-display,state-,1)
-- Executing [state-@sub-presencestate-display:1] Set("SIP/101-00000003", "PRESENCESTATE_DISPLAY=") in new stack
-- Executing [state-@sub-presencestate-display:2] Return("SIP/101-00000003", "") in new stack
-- Executing [s@macro-dial-one:40] Set("SIP/101-00000003", "CONNECTEDLINE(name,i)=102") in new stack
-- Executing [s@macro-dial-one:41] Set("SIP/101-00000003", "CONNECTEDLINE(num)=102") in new stack
-- Executing [s@macro-dial-one:42] Set("SIP/101-00000003", "D_OPTIONS=TtrI") in new stack
-- Executing [s@macro-dial-one:43] Macro("SIP/101-00000003", "dialout-one-predial-hook,") in new stack
-- Executing [s@macro-dialout-one-predial-hook:1] MacroExit("SIP/101-00000003", "") in new stack
-- Executing [s@macro-dial-one:44] ExecIf("SIP/101-00000003", "0?Set(D_OPTIONS=trII)") in new stack
-- Executing [s@macro-dial-one:45] Dial("SIP/101-00000003", "SIP/102,,TtrI") in new stack
== Using SIP RTP CoS mark 5
-- Called SIP/102
-- Connected line update to SIP/101-00000003 prevented.
-- SIP/102-00000004 is ringing
[2016-08-29 13:53:31] WARNING[15174][C-00000002]: chan_sip.c:10398 process_sdp: Rejecting secure audio stream without encryption details: audio 5062 RTP/SAVPF 0 8 3 2 101
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dial-one:46] ExecIf("SIP/101-00000003", "0?MacroExit()") in new stack
-- Executing [s@macro-dial-one:47] ExecIf("SIP/101-00000003", "0?Set(DIALSTATUS=)") in new stack
-- Executing [s@macro-dial-one:48] GosubIf("SIP/101-00000003", "0?s-CHANUNAVAIL,1()") in new stack
-- Executing [s@macro-dial-one:49] MacroExit("SIP/101-00000003", "") in new stack
-- Executing [s@macro-exten-vm:17] Set("SIP/101-00000003", "SV_DIALSTATUS=CHANUNAVAIL") in new stack
-- Executing [s@macro-exten-vm:18] GosubIf("SIP/101-00000003", "0?docfu,1()") in new stack
-- Executing [s@macro-exten-vm:19] GosubIf("SIP/101-00000003", "0?docfb,1()") in new stack
-- Executing [s@macro-exten-vm:20] Set("SIP/101-00000003", "DIALSTATUS=CHANUNAVAIL") in new stack
-- Executing [s@macro-exten-vm:21] ExecIf("SIP/101-00000003", "0?MacroExit()") in new stack
-- Executing [s@macro-exten-vm:22] GotoIf("SIP/101-00000003", "1?s-CHANUNAVAIL,1") in new stack
-- Goto (macro-exten-vm,s-CHANUNAVAIL,1)
-- Executing [s-CHANUNAVAIL@macro-exten-vm:1] GotoIf("SIP/101-00000003", "0?exit,1") in new stack
-- Executing [s-CHANUNAVAIL@macro-exten-vm:2] PlayTones("SIP/101-00000003", "congestion") in new stack
[2016-08-29 13:53:31] WARNING[15407][C-00000002]: translate.c:340 framein: no samples for ulawtolin
-- Executing [s-CHANUNAVAIL@macro-exten-vm:3] Congestion("SIP/101-00000003", "10") in new stack
== Spawn extension (macro-exten-vm, s-CHANUNAVAIL, 3) exited non-zero on 'SIP/101-00000003' in macro 'exten-vm'
== Spawn extension (ext-local, 102, 2) exited non-zero on 'SIP/101-00000003'
-- Executing [h@ext-local:1] Macro("SIP/101-00000003", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] ExecIf("SIP/101-00000003", "0?Set(CDR(recordingfile)=internal-102-101-20160829-135330-1472468010.3.wav)") in new stack
-- Executing [s@macro-hangupcall:2] GotoIf("SIP/101-00000003", "1?theend") in new stack
-- Goto (macro-hangupcall,s,4)
-- Executing [s@macro-hangupcall:4] Hangup("SIP/101-00000003", "") in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/101-00000003' in macro 'hangupcall'
== Spawn extension (ext-local, h, 1) exited non-zero on 'SIP/101-00000003'
== MixMonitor close filestream (mixed)
== End MixMonitor Recording SIP/101-00000003
Смущает WARNING[15174][C-00000002]: chansip.c:10398 processsdp: Rejecting secure audio stream without encryption details: audio 5062 RTP/SAVPF
Подскажите пожалуйста выход.
Asterisk имеет не самую лучшею реализацию WebRTC. Вполне рабочая реализация есть во FreeSWITCH, но если вы хотите использовать Asterisk для реализации вашей логики в крупном production, то используйте kamailio или opensips как конвертор WEBRTC->SIP.
Вот ссылка для начала поиска: https://www.kamailio.org/w/2013/08/new-module-rtpproxy-ng-webrtc-to-bare-rtp/
Задан: 2016-08-29 18:58:28 +0400
Просмотрен: 594 раз
Обновлен: Aug 30 '16
Проект компании "АТС Дизайн"
Asterisk® и Digium® являются зарегистрированными торговыми марками компании
Digium, Inc., США.
IP АТС Asterisk распространяется под лицензией
GNU GPL.
webrtc - вещь в себе. Чтоб его настроить на данном этапе надо быть гуру в asterisk, с++, javascript(или языке клиента). Нет, вам может повезти, но ингда даже смена года может привести к тому, что все перестает работать.
meral ( 2016-08-29 22:09:16 +0400 )редактироватьВ этом конретном случае у вас стек(asterisk) не настроен на защищенное соединение, а клиент - настроен. Но это только начало ;)
meral ( 2016-08-29 22:10:26 +0400 )редактироватьwebrtc в продакшине называется freeswitch
awsswa ( 2016-08-30 08:13:52 +0400 )редактироватьМне кое-как удалось настроить звонки по мануалу https://wiki.asterisk.org/wiki/display/AST/WebRTC+tutorial+using+SIPML5 но проблемы начались уже при звонке Firefox-Chrome
StuxForce ( 2016-08-30 09:42:17 +0400 )редактироватьВсем огромное спасибо за ответы. Но как же делают различные crm с поддержкой телефонии? Я вот точно знаю что у битрикс есть такое решение которое работает с астериском
ser_kurov ( 2016-08-30 10:25:01 +0400 )редактироватьТа сделать можно. НО это не продакшен. Можно еще iax-java использовать
meral ( 2016-08-31 12:17:23 +0400 )редактировать