Re: Полное отсутствие любых звонков
Добавлено: 26 мар 2026, 10:37
в обратную это в какую? что показывает sngrep? пакеты к/от телефона идут? ответы на них уходят?
Русский форум Asterisk сообщества
https://forum.asterisk.ru/
Код: Выделить всё
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
> 0x7ff840033e80 -- Strict RTP learning after remote address set to: 192.168.xx.193:5004
-- Executing [90004@from-internal:1] GotoIf("SIP/90031-00000004", "1?ext-local,90004,1:followme-check,90004,1") in new stack
-- Goto (ext-local,90004,1)
-- Executing [90004@ext-local:1] Set("SIP/90031-00000004", "__RINGTIMER=15") in new stack
-- Executing [90004@ext-local:2] ExecIf("SIP/90031-00000004", "0?Set(__CWIGNORE=)") in new stack
-- Executing [90004@ext-local:3] Macro("SIP/90031-00000004", "exten-vm,novm,90004,0,0,0") in new stack
-- Executing [s@macro-exten-vm:1] Macro("SIP/90031-00000004", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/90031-00000004", "TOUCH_MONITOR=1774511388.4") in new stack
-- Executing [s@macro-user-callerid:2] Set("SIP/90031-00000004", "CHANCONTEXT=") in new stack
-- Executing [s@macro-user-callerid:3] Set("SIP/90031-00000004", "CHANCONTEXT=") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/90031-00000004", "CHANEXTENCONTEXT=90031-00000004") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/90031-00000004", "CHANEXTEN=90031-00000004") in new stack
-- Executing [s@macro-user-callerid:6] Set("SIP/90031-00000004", "CALLERID(number)=90031") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/90031-00000004", "AMPUSER=90031") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/90031-00000004", "HOTDESCKCHAN=90031-00000004") in new stack
-- Executing [s@macro-user-callerid:9] Set("SIP/90031-00000004", "HOTDESKEXTEN=90031") in new stack
-- Executing [s@macro-user-callerid:10] Set("SIP/90031-00000004", "HOTDESKCALL=0") in new stack
-- Executing [s@macro-user-callerid:11] ExecIf("SIP/90031-00000004", "0?Set(HOTDESKCALL=1)") in new stack
-- Executing [s@macro-user-callerid:12] ExecIf("SIP/90031-00000004", "0?Set(CALLERID(name)=)") in new stack
-- Executing [s@macro-user-callerid:13] GotoIf("SIP/90031-00000004", "0?report") in new stack
-- Executing [s@macro-user-callerid:14] ExecIf("SIP/90031-00000004", "1?Set(REALCALLERIDNUM=90031)") in new stack
-- Executing [s@macro-user-callerid:15] Set("SIP/90031-00000004", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:16] GotoIf("SIP/90031-00000004", "0?limit") in new stack
-- Executing [s@macro-user-callerid:17] Set("SIP/90031-00000004", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:18] ExecIf("SIP/90031-00000004", "0?Set(__CIDMASQUERADING=TRUE)") in new stack
-- Executing [s@macro-user-callerid:19] GotoIf("SIP/90031-00000004", "1?report") in new stack
-- Goto (macro-user-callerid,s,28)
-- Executing [s@macro-user-callerid:28] NoOp("SIP/90031-00000004", "Macro Depth is 2") in new stack
-- Executing [s@macro-user-callerid:29] GotoIf("SIP/90031-00000004", "1?report2:macroerror") in new stack
-- Goto (macro-user-callerid,s,30)
-- Executing [s@macro-user-callerid:30] GotoIf("SIP/90031-00000004", "0?continue") in new stack
-- Executing [s@macro-user-callerid:31] Set("SIP/90031-00000004", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:32] GotoIf("SIP/90031-00000004", "1?continue") in new stack
-- Goto (macro-user-callerid,s,48)
-- Executing [s@macro-user-callerid:48] Set("SIP/90031-00000004", "CALLERID(number)=90031") in new stack
-- Executing [s@macro-user-callerid:49] Set("SIP/90031-00000004", "CALLERID(name)=A A") in new stack
-- Executing [s@macro-user-callerid:50] GotoIf("SIP/90031-00000004", "0?cnum") in new stack
-- Executing [s@macro-user-callerid:51] Set("SIP/90031-00000004", "__MCNUM=90031") in new stack
-- Executing [s@macro-user-callerid:52] Set("SIP/90031-00000004", "__MCNAME=A A") in new stack
-- Executing [s@macro-user-callerid:53] Set("SIP/90031-00000004", "__MCEXTEN=") in new stack
-- Executing [s@macro-user-callerid:54] Set("SIP/90031-00000004", "__MCORGCHAN=SIP/90031-00000004") in new stack
-- Executing [s@macro-user-callerid:55] Set("SIP/90031-00000004", "CDR(cnam)=A A") in new stack
-- Executing [s@macro-user-callerid:56] Set("SIP/90031-00000004", "CDR(cnum)=90031") in new stack
-- Executing [s@macro-user-callerid:57] Set("SIP/90031-00000004", "CHANNEL(language)=ru") in new stack
-- Executing [s@macro-exten-vm:2] Set("SIP/90031-00000004", "RingGroupMethod=none") in new stack
-- Executing [s@macro-exten-vm:3] Set("SIP/90031-00000004", "__EXTTOCALL=90004") in new stack
-- Executing [s@macro-exten-vm:4] Set("SIP/90031-00000004", "__PICKUPMARK=90004") in new stack
-- Executing [s@macro-exten-vm:5] Set("SIP/90031-00000004", "RT=") in new stack
-- Executing [s@macro-exten-vm:6] Gosub("SIP/90031-00000004", "sub-record-check,s,1(exten,90004,dontcare)") in new stack
-- Executing [s@sub-record-check:1] GotoIf("SIP/90031-00000004", "0?initialized") in new stack
-- Executing [s@sub-record-check:2] Set("SIP/90031-00000004", "__REC_STATUS=INITIALIZED") in new stack
-- Executing [s@sub-record-check:3] Set("SIP/90031-00000004", "NOW=1774511388") in new stack
-- Executing [s@sub-record-check:4] Set("SIP/90031-00000004", "__DAY=26") in new stack
-- Executing [s@sub-record-check:5] Set("SIP/90031-00000004", "__MONTH=03") in new stack
-- Executing [s@sub-record-check:6] Set("SIP/90031-00000004", "__YEAR=2026") in new stack
-- Executing [s@sub-record-check:7] Set("SIP/90031-00000004", "__TIMESTR=20260326-124948") in new stack
-- Executing [s@sub-record-check:8] Set("SIP/90031-00000004", "__FROMEXTEN=90031") in new stack
-- Executing [s@sub-record-check:9] Set("SIP/90031-00000004", "__MON_FMT=wav") in new stack
-- Executing [s@sub-record-check:10] NoOp("SIP/90031-00000004", "Recordings initialized") in new stack
-- Executing [s@sub-record-check:11] ExecIf("SIP/90031-00000004", "0?Set(ARG3=dontcare)") in new stack
-- Executing [s@sub-record-check:12] Set("SIP/90031-00000004", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [s@sub-record-check:13] ExecIf("SIP/90031-00000004", "0?Set(REC_STATUS=NO)") in new stack
-- Executing [s@sub-record-check:14] GotoIf("SIP/90031-00000004", "5?checkaction") in new stack
-- Goto (sub-record-check,s,17)
-- Executing [s@sub-record-check:17] GotoIf("SIP/90031-00000004", "1?sub-record-check,exten,1") in new stack
-- Goto (sub-record-check,exten,1)
-- Executing [exten@sub-record-check:1] NoOp("SIP/90031-00000004", "Exten Recording Check between 90031 and 90004") in new stack
-- Executing [exten@sub-record-check:2] Set("SIP/90031-00000004", "CALLTYPE=internal") in new stack
-- Executing [exten@sub-record-check:3] ExecIf("SIP/90031-00000004", "0?Set(CALLTYPE=)") in new stack
-- Executing [exten@sub-record-check:4] Set("SIP/90031-00000004", "CALLEE=") in new stack
-- Executing [exten@sub-record-check:5] ExecIf("SIP/90031-00000004", "1?Set(CALLEE=dontcare)") in new stack
-- Executing [exten@sub-record-check:6] GotoIf("SIP/90031-00000004", "0?callee") in new stack
-- Executing [exten@sub-record-check:7] GotoIf("SIP/90031-00000004", "1?caller") in new stack
-- Goto (sub-record-check,exten,13)
-- Executing [exten@sub-record-check:13] Set("SIP/90031-00000004", "RECMODE=") in new stack
-- Executing [exten@sub-record-check:14] Set("SIP/90031-00000004", "CALLERRECMODE=") in new stack
-- Executing [exten@sub-record-check:15] Set("SIP/90031-00000004", "CALEERECMODE=") in new stack
-- Executing [exten@sub-record-check:16] GotoIf("SIP/90031-00000004", "1?processnormal") in new stack
-- Goto (sub-record-check,exten,21)
-- Executing [exten@sub-record-check:21] ExecIf("SIP/90031-00000004", "1?Set(RECMODE=dontcare)") in new stack
-- Executing [exten@sub-record-check:22] ExecIf("SIP/90031-00000004", "1?Set(RECMODE=dontcare)") in new stack
-- Executing [exten@sub-record-check:23] Gosub("SIP/90031-00000004", "recordcheck,1(dontcare,internal,90004)") in new stack
-- Executing [recordcheck@sub-record-check:1] NoOp("SIP/90031-00000004", "Starting recording check against dontcare") in new stack
-- Executing [recordcheck@sub-record-check:2] Goto("SIP/90031-00000004", "dontcare") in new stack
-- Goto (sub-record-check,recordcheck,3)
-- Executing [recordcheck@sub-record-check:3] Return("SIP/90031-00000004", "") in new stack
-- Executing [exten@sub-record-check:24] Return("SIP/90031-00000004", "") in new stack
-- Executing [s@macro-exten-vm:7] Macro("SIP/90031-00000004", "dial-one,,Ttr,90004") in new stack
-- Executing [s@macro-dial-one:1] Set("SIP/90031-00000004", "DEXTEN=90004") in new stack
-- Executing [s@macro-dial-one:2] Set("SIP/90031-00000004", "__MCEXTTOCALL=90004") in new stack
-- Executing [s@macro-dial-one:3] Set("SIP/90031-00000004", "__MCMULTI=74e44bec96ed97e49a768dcfbb5f0bc0") in new stack
-- Executing [s@macro-dial-one:4] ExecIf("SIP/90031-00000004", "0?Set(__EXTTOCALL=90004)") in new stack
-- Executing [s@macro-dial-one:5] Set("SIP/90031-00000004", "DIALSTATUS_CW=") in new stack
-- Executing [s@macro-dial-one:6] GosubIf("SIP/90031-00000004", "0?screen,1()") in new stack
-- Executing [s@macro-dial-one:7] GosubIf("SIP/90031-00000004", "0?cf,1()") in new stack
-- Executing [s@macro-dial-one:8] GotoIf("SIP/90031-00000004", "1?skip1") in new stack
-- Goto (macro-dial-one,s,11)
-- Executing [s@macro-dial-one:11] GotoIf("SIP/90031-00000004", "0?nodial") in new stack
-- Executing [s@macro-dial-one:12] GotoIf("SIP/90031-00000004", "0?continue") in new stack
-- Executing [s@macro-dial-one:13] Set("SIP/90031-00000004", "EXTHASCW=") in new stack
-- Executing [s@macro-dial-one:14] GotoIf("SIP/90031-00000004", "1?next1:cwinusebusy") in new stack
-- Goto (macro-dial-one,s,15)
-- Executing [s@macro-dial-one:15] GotoIf("SIP/90031-00000004", "0?docfu:skip3") in new stack
-- Goto (macro-dial-one,s,19)
-- Executing [s@macro-dial-one:19] GotoIf("SIP/90031-00000004", "1?next2:continue") in new stack
-- Goto (macro-dial-one,s,20)
-- Executing [s@macro-dial-one:20] GotoIf("SIP/90031-00000004", "1?continue") in new stack
-- Goto (macro-dial-one,s,28)
-- Executing [s@macro-dial-one:28] GotoIf("SIP/90031-00000004", "0?nodial") in new stack
-- Executing [s@macro-dial-one:29] GosubIf("SIP/90031-00000004", "1?dstring,1():dlocal,1()") in new stack
-- Executing [dstring@macro-dial-one:1] Set("SIP/90031-00000004", "DSTRING=") in new stack
-- Executing [dstring@macro-dial-one:2] Set("SIP/90031-00000004", "DEVICES=") in new stack
-- Executing [dstring@macro-dial-one:3] ExecIf("SIP/90031-00000004", "1?Return()") in new stack
-- Executing [s@macro-dial-one:30] GotoIf("SIP/90031-00000004", "1?nodial") in new stack
-- Goto (macro-dial-one,s,63)
-- Executing [s@macro-dial-one:63] NoOp("SIP/90031-00000004", "") in new stack
-- Executing [s@macro-dial-one:64] ExecIf("SIP/90031-00000004", "1?Set(DIALSTATUS=NOANSWER)") in new stack
-- Executing [s@macro-dial-one:65] NoOp("SIP/90031-00000004", "Returned from dial-one with nothing to call and DIALSTATUS: NOANSWER") in new stack
-- Executing [s@macro-dial-one:66] MacroExit("SIP/90031-00000004", "") in new stack
-- Executing [s@macro-exten-vm:8] Set("SIP/90031-00000004", "SV_DIALSTATUS=NOANSWER") in new stack
-- Executing [s@macro-exten-vm:9] GosubIf("SIP/90031-00000004", "0?docfu,1()") in new stack
-- Executing [s@macro-exten-vm:10] GosubIf("SIP/90031-00000004", "0?docfb,1()") in new stack
-- Executing [s@macro-exten-vm:11] Set("SIP/90031-00000004", "DIALSTATUS=NOANSWER") in new stack
-- Executing [s@macro-exten-vm:12] ExecIf("SIP/90031-00000004", "0?MacroExit()") in new stack
-- Executing [s@macro-exten-vm:13] GotoIf("SIP/90031-00000004", "1?s-NOANSWER,1") in new stack
-- Goto (macro-exten-vm,s-NOANSWER,1)
-- Executing [s-NOANSWER@macro-exten-vm:1] GotoIf("SIP/90031-00000004", "0?exit,1") in new stack
-- Executing [s-NOANSWER@macro-exten-vm:2] PlayTones("SIP/90031-00000004", "congestion") in new stack
-- Executing [s-NOANSWER@macro-exten-vm:3] Congestion("SIP/90031-00000004", "10") in new stack
== Spawn extension (macro-exten-vm, s-NOANSWER, 3) exited non-zero on 'SIP/90031-00000004' in macro 'exten-vm'
== Spawn extension (ext-local, 90004, 3) exited non-zero on 'SIP/90031-00000004'
-- Executing [h@ext-local:1] Macro("SIP/90031-00000004", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] Set("SIP/90031-00000004", "__MCVMSTATUS=") in new stack
-- Executing [s@macro-hangupcall:2] Gosub("SIP/90031-00000004", "app-missedcall-hangup,s,1()") in new stack
-- Executing [s@app-missedcall-hangup:1] NoOp("SIP/90031-00000004", "Dialed: s") in new stack
-- Executing [s@app-missedcall-hangup:2] NoOp("SIP/90031-00000004", "Caller: ") in new stack
-- Executing [s@app-missedcall-hangup:3] GotoIf("SIP/90031-00000004", "0?exit") in new stack
-- Executing [s@app-missedcall-hangup:4] Set("SIP/90031-00000004", "EXTENNUM=s") in new stack
-- Executing [s@app-missedcall-hangup:5] Set("SIP/90031-00000004", "FEXTENNUM=s") in new stack
-- Executing [s@app-missedcall-hangup:6] GotoIf("SIP/90031-00000004", "0?exit") in new stack
-- Executing [s@app-missedcall-hangup:7] AGI("SIP/90031-00000004", "missedcallnotify.php,s,,s,0,,SIP/90031-00000004,NOANSWER,,,") in new stack
-- Launched AGI Script /usr/share/asterisk/agi-bin/missedcallnotify.php
-- <SIP/90031-00000004>AGI Script missedcallnotify.php completed, returning 0
-- Executing [s@app-missedcall-hangup:8] Return("SIP/90031-00000004", "") in new stack
-- Executing [s@macro-hangupcall:3] GotoIf("SIP/90031-00000004", "1?theend") in new stack
-- Goto (macro-hangupcall,s,5)
-- Executing [s@macro-hangupcall:5] ExecIf("SIP/90031-00000004", "0?Set(CDR(recordingfile)=)") in new stack
-- Executing [s@macro-hangupcall:6] Hangup("SIP/90031-00000004", "") in new stack
== Spawn extension (macro-hangupcall, s, 6) exited non-zero on 'SIP/90031-00000004' in macro 'hangupcall'
== Spawn extension (ext-local, h, 1) exited non-zero on 'SIP/90031-00000004'
Код: Выделить всё
asterisk*CLI> sip show peer 90004
* Name : 90004
Description :
Secret : <Set>
MD5Secret : <Not set>
Remote Secret: <Not set>
Context : from-internal
Record On feature : apprecord
Record Off feature : apprecord
Subscr.Cont. : <Not set>
Language : ru
Tonezone : <Not set>
AMA flags : Unknown
Transfer mode: open
CallingPres : Presentation Allowed, Not Screened
Callgroup :
Pickupgroup :
Named Callgr :
Nam. Pickupgr:
MOH Suggest :
Mailbox : 90004@device
VM Extension : *97
LastMsgsSent : 0/0
Call limit : 2147483647
Max forwards : 0
Dynamic : Yes
Callerid : "S" <90004>
MaxCallBR : 384 kbps
Expire : 73
Insecure : no
Force rport : No
Symmetric RTP: No
ACL : Yes
ContactACL : No
DirectMedACL : No
T.38 support : No
T.38 EC mode : Unknown
T.38 MaxDtgrm: 4294967295
DirectMedia : No
PromiscRedir : No
User=Phone : No
Video Support: No
Text Support : No
Ign SDP ver : No
Trust RPID : Yes
Send RPID : No
Path support : No
Path : N/A
TrustIDOutbnd: Legacy
Subscriptions: Yes
Overlap dial : Yes
DTMFmode : rfc2833
Timer T1 : 500
Timer B : 32000
ToHost :
Addr->IP : 192.168.xx.169:5060
Defaddr->IP : (null)
Prim.Transp. : UDP
Allowed.Trsp : UDP
Def. Username: 90004
SIP Options : replaces replace
Codecs : (ulaw|alaw|gsm|g726|g722)
Auto-Framing : No
Status : OK (877 ms)
Useragent : DX800A/41.175.00.000.000
Reg. Contact : sip:90004@192.168.xx.169:5060
Qualify Freq : 60000 ms
Keepalive : 0 ms
Sess-Timers : Accept
Sess-Refresh : uas
Sess-Expires : 1800 secs
Min-Sess : 90 secs
RTP Engine : asterisk
Parkinglot :
Use Reason : No
Encryption : No
RTCP Mux : No
Код: Выделить всё
[ ] 100 INVITE 90031@192.168.xx.3 90004@192.168.xx.3 7 192.168.xx.193:5060 192.168.xx.3:5060 REJECTED
Код: Выделить всё
INVITE (SDP)
401 Unauthorized
ACK
INVITE (SDP)
100 Trying
503 Service Unavailable
ACK