Sometimes unable to receive calls

Sometimes the caller how calls to my freepbx a voice from the pbx that says that the number is unavailable. Sometime it’s possible to call and sometimes you get no connection.
The versions of the pbx and asterisk are below.
PBX Version: 15.0.17.5 PBX Distro:12.7.8-2008-1.sng7
Asterisk Version:16.13.0

I’m using the softphone “portsip” for iphone/IOS.
Hope somebody can help me with this problem.

At the logfile is see the rules below.
22366 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@macro-exten-vm:18] Gosub(“SIP/incoming-00000128”, “sub-record-check,s,1(exten,3000,dontcare)”) in new stack
22367 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@sub-record-check:1] GotoIf(“SIP/incoming-00000128”, “12?initialized”) in new stack
22368 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx_builtins.c: Goto (sub-record-check,s,10)
22369 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@sub-record-check:10] NoOp(“SIP/incoming-00000128”, “Recordings initialized”) in new stack
22370 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@sub-record-check:11] ExecIf(“SIP/incoming-00000128”, “0?Set(ARG3=dontcare)”) in new stack
22371 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@sub-record-check:12] Set(“SIP/incoming-00000128”, “REC_POLICY_MODE_SAVE=”) in new stack
22372 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@sub-record-check:13] ExecIf(“SIP/incoming-00000128”, “0?Set(REC_STATUS=NO)”) in new stack
22373 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@sub-record-check:14] GotoIf(“SIP/incoming-00000128”, “5?checkaction”) in new stack
22374 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx_builtins.c: Goto (sub-record-check,s,17)
22375 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@sub-record-check:17] GotoIf(“SIP/incoming-00000128”, “1?sub-record-check,exten,1”) in new stack
22376 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx_builtins.c: Goto (sub-record-check,exten,1)
22377 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [exten@sub-record-check:1] NoOp(“SIP/incoming-00000128”, “Exten Recording Check between +316xxxxxxxx and 3000”) in new stack
22378 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [exten@sub-record-check:2] Set(“SIP/incoming-00000128”, “CALLTYPE=external”) in new stack
22379 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [exten@sub-record-check:3] ExecIf(“SIP/incoming-00000128”, “0?Set(CALLTYPE=)”) in new stack
22380 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [exten@sub-record-check:4] Set(“SIP/incoming-00000128”, “CALLEE=dontcare”) in new stack
22381 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [exten@sub-record-check:5] ExecIf(“SIP/incoming-00000128”, “0?Set(CALLEE=dontcare)”) in new stack
22382 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [exten@sub-record-check:6] GotoIf(“SIP/incoming-00000128”, “1?callee”) in new stack
22383 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx_builtins.c: Goto (sub-record-check,exten,11)
22384 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [exten@sub-record-check:11] Gosub(“SIP/incoming-00000128”, “recordcheck,1(dontcare,external,3000)”) in new stack
22385 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [recordcheck@sub-record-check:1] NoOp(“SIP/incoming-00000128”, “Starting recording check against dontcare”) in new stack
22386 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [recordcheck@sub-record-check:2] Goto(“SIP/incoming-00000128”, “dontcare”) in new stack
22387 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx_builtins.c: Goto (sub-record-check,recordcheck,3)
22388 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [recordcheck@sub-record-check:3] Return(“SIP/incoming-00000128”, “”) in new stack
22389 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [exten@sub-record-check:12] Return(“SIP/incoming-00000128”, “”) in new stack
22390 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@macro-exten-vm:19] GotoIf(“SIP/incoming-00000128”, “1?macrodial”) in new stack
22391 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx_builtins.c: Goto (macro-exten-vm,s,25)
22392 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@macro-exten-vm:25] GosubIf(“SIP/incoming-00000128”, “0?clrheader,1()”) in new stack
22393 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@macro-exten-vm:26] Macro(“SIP/incoming-00000128”, “dial-one,HhTtr,3000”) in new stack
22394 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@macro-dial-one:1] Set(“SIP/incoming-00000128”, “DEXTEN=3000”) in new stack
22395 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@macro-dial-one:2] Set(“SIP/incoming-00000128”, “__CRM_SOURCE=+31618525854”) in new stack
22396 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@macro-dial-one:3] ExecIf(“SIP/incoming-00000128”, “0?Set(__EXTTOCALL=3000)”) in new stack
22397 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@macro-dial-one:4] Set(“SIP/incoming-00000128”, “DIALSTATUS_CW=”) in new stack
22398 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@macro-dial-one:5] GosubIf(“SIP/incoming-00000128”, “0?screen,1()”) in new stack
22399 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@macro-dial-one:6] GosubIf(“SIP/incoming-00000128”, “0?cf,1()”) in new stack
22400 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@macro-dial-one:7] GotoIf(“SIP/incoming-00000128”, “1?skip1”) in new stack
22401 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx_builtins.c: Goto (macro-dial-one,s,10)
22402 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@macro-dial-one:10] GotoIf(“SIP/incoming-00000128”, “0?nodial”) in new stack
22403 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@macro-dial-one:11] GotoIf(“SIP/incoming-00000128”, “0?continue”) in new stack
22404 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@macro-dial-one:12] Set(“SIP/incoming-00000128”, “EXTHASCW=ENABLED”) in new stack
22405 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@macro-dial-one:13] GotoIf(“SIP/incoming-00000128”, “0?next1:cwinusebusy”) in new stack
22406 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx_builtins.c: Goto (macro-dial-one,s,25)
22407 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@macro-dial-one:25] GotoIf(“SIP/incoming-00000128”, “0?next3:continue”) in new stack
22408 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx_builtins.c: Goto (macro-dial-one,s,27)
22409 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@macro-dial-one:27] GotoIf(“SIP/incoming-00000128”, “0?nodial”) in new stack
22410 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@macro-dial-one:28] GosubIf(“SIP/incoming-00000128”, “1?dstring,1():dlocal,1()”) in new stack
22411 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [dstring@macro-dial-one:1] Set(“SIP/incoming-00000128”, “DSTRING=”) in new stack
22412 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [dstring@macro-dial-one:2] Set(“SIP/incoming-00000128”, “DEVICES=3000”) in new stack
22413 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [dstring@macro-dial-one:3] ExecIf(“SIP/incoming-00000128”, “0?Return()”) in new stack
22414 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [dstring@macro-dial-one:4] ExecIf(“SIP/incoming-00000128”, “0?Set(DEVICES=000)”) in new stack
22415 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [dstring@macro-dial-one:5] Set(“SIP/incoming-00000128”, “LOOPCNT=1”) in new stack
22416 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [dstring@macro-dial-one:6] Set(“SIP/incoming-00000128”, “ITER=1”) in new stack
22417 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [dstring@macro-dial-one:7] Set(“SIP/incoming-00000128”, “THISDIAL=SIP/3000”) in new stack
22418 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [dstring@macro-dial-one:8] GotoIf(“SIP/incoming-00000128”, “1?docheck”) in new stack
22419 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx_builtins.c: Goto (macro-dial-one,dstring,14)
22420 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [dstring@macro-dial-one:14] GotoIf(“SIP/incoming-00000128”, “0?skipset”) in new stack
22421 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [dstring@macro-dial-one:15] Set(“SIP/incoming-00000128”, “DSTRING=SIP/3000&”) in new stack
22422 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [dstring@macro-dial-one:16] Set(“SIP/incoming-00000128”, “ITER=2”) in new stack
22423 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [dstring@macro-dial-one:17] GotoIf(“SIP/incoming-00000128”, “0?begin”) in new stack
22424 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [dstring@macro-dial-one:18] ExecIf(“SIP/incoming-00000128”, “0?Return()”) in new stack
22425 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [dstring@macro-dial-one:19] Set(“SIP/incoming-00000128”, “DSTRING=SIP/3000”) in new stack
22426 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [dstring@macro-dial-one:20] Return(“SIP/incoming-00000128”, “”) in new stack
22427 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@macro-dial-one:29] GotoIf(“SIP/incoming-00000128”, “0?nodial”) in new stack
22428 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@macro-dial-one:30] GotoIf(“SIP/incoming-00000128”, “0?skiptrace”) in new stack
22429 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@macro-dial-one:31] GosubIf(“SIP/incoming-00000128”, “1?ctset,1():ctclear,1()”) in new stack
22430 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [ctset@macro-dial-one:1] Set(“SIP/incoming-00000128”, “DB(CALLTRACE/3000)=+31618525854”) in new stack
22431 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [ctset@macro-dial-one:2] Return(“SIP/incoming-00000128”, “”) in new stack
22432 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@macro-dial-one:32] Set(“SIP/incoming-00000128”, “D_OPTIONS=HhTtr”) in new stack
22433 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@macro-dial-one:33] GosubIf(“SIP/incoming-00000128”, “0?func-set-sipheader,s,1(Alert-Info,)”) in new stack
22434 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@macro-dial-one:34] NoOp(“SIP/incoming-00000128”, "Blind Transfer: , Attended Transfer: , User: , Alert Info: ") in new stack
22435 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@macro-dial-one:35] ExecIf(“SIP/incoming-00000128”, “0?Set(ALERT_INFO=)”) in new stack
22436 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@macro-dial-one:36] ExecIf(“SIP/incoming-00000128”, “0?Set(ALERT_INFO=)”) in new stack
22437 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@macro-dial-one:37] ExecIf(“SIP/incoming-00000128”, “0?Set(ALERT_INFO=)”) in new stack
22438 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@macro-dial-one:38] ExecIf(“SIP/incoming-00000128”, “0?Set(ALERT_INFO=Normal;volume=)”) in new stack
22439 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@macro-dial-one:39] ExecIf(“SIP/incoming-00000128”, “0?Set(ALERT_INFO=Normal;volume=)”) in new stack
22440 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@macro-dial-one:40] GosubIf(“SIP/incoming-00000128”, “0?func-set-sipheader,s,1(Alert-Info,)”) in new stack
22441 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@macro-dial-one:41] ExecIf(“SIP/incoming-00000128”, “0?Set(CHANNEL(musicclass)=)”) in new stack
22442 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@macro-dial-one:42] GosubIf(“SIP/incoming-00000128”, “0?qwait,1()”) in new stack
22443 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@macro-dial-one:43] Set(“SIP/incoming-00000128”, “__CWIGNORE=”) in new stack
22444 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@macro-dial-one:44] Set(“SIP/incoming-00000128”, “__KEEPCID=TRUE”) in new stack
22445 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@macro-dial-one:45] GotoIf(“SIP/incoming-00000128”, “0?usegoto,1”) in new stack
22446 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@macro-dial-one:46] GotoIf(“SIP/incoming-00000128”, “1?godial”) in new stack
22447 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx_builtins.c: Goto (macro-dial-one,s,51)
22448 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@macro-dial-one:51] Macro(“SIP/incoming-00000128”, “dialout-one-predial-hook,”) in new stack
22449 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@macro-dialout-one-predial-hook:1] MacroExit(“SIP/incoming-00000128”, “”) in new stack
22450 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@macro-dial-one:52] ExecIf(“SIP/incoming-00000128”, “1?Set(D_OPTIONS=HhtrI)”) in new stack
22451 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@macro-dial-one:53] ExecIf(“SIP/incoming-00000128”, “0?Set(CWRING=r(callwaiting)):Set(CWRING=)”) in new stack
22452 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@macro-dial-one:54] NoOp(“SIP/incoming-00000128”, “”) in new stack
22453 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@macro-dial-one:55] ExecIf(“SIP/incoming-00000128”, “0?Set(D_OPTIONS=HhtrIg)”) in new stack
22454 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@macro-dial-one:56] Dial(“SIP/incoming-00000128”, “SIP/3000,HhtrIb(func-apply-sipheaders^s^1)”) in new stack
22455 [2020-12-24 16:39:16] WARNING[15655][C-00000d3c] app_dial.c: Unable to create channel of type ‘SIP’ (cause 20 - Subscriber absent)
22456 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] app_dial.c: No devices or endpoints to dial (technology/resource)
22457 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@macro-dial-one:57] ExecIf(“SIP/incoming-00000128”, “0?MacroExit()”) in new stack
22458 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@macro-dial-one:58] ExecIf(“SIP/incoming-00000128”, “0?Set(DIALSTATUS=)”) in new stack
22459 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@macro-dial-one:59] GosubIf(“SIP/incoming-00000128”, “0?s-CHANUNAVAIL,1()”) in new stack
22460 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@macro-dial-one:60] MacroExit(“SIP/incoming-00000128”, “”) in new stack
22461 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@macro-exten-vm:27] Set(“SIP/incoming-00000128”, “SV_DIALSTATUS=CHANUNAVAIL”) in new stack
22462 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@macro-exten-vm:28] GosubIf(“SIP/incoming-00000128”, “0?docfu,1()”) in new stack
22463 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@macro-exten-vm:29] GosubIf(“SIP/incoming-00000128”, “0?docfb,1()”) in new stack
22464 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@macro-exten-vm:30] Set(“SIP/incoming-00000128”, “DIALSTATUS=CHANUNAVAIL”) in new stack
22465 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@macro-exten-vm:31] ExecIf(“SIP/incoming-00000128”, “0?MacroExit()”) in new stack
22466 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@macro-exten-vm:32] GotoIf(“SIP/incoming-00000128”, “1?s-CHANUNAVAIL,1”) in new stack
22467 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx_builtins.c: Goto (macro-exten-vm,s-CHANUNAVAIL,1)
22468 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s-CHANUNAVAIL@macro-exten-vm:1] GotoIf(“SIP/incoming-00000128”, “0?exit,1”) in new stack
22469 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s-CHANUNAVAIL@macro-exten-vm:2] PlayTones(“SIP/incoming-00000128”, “congestion”) in new stack
22470 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s-CHANUNAVAIL@macro-exten-vm:3] Congestion(“SIP/incoming-00000128”, “10”) in new stack
22471 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] app_macro.c: Spawn extension (macro-exten-vm, s-CHANUNAVAIL, 3) exited non-zero on ‘SIP/incoming-00000128’ in macro ‘exten-vm’
22472 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Spawn extension (ext-local, 3000, 3) exited non-zero on ‘SIP/incoming-00000128’
22473 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [h@ext-local:1] Macro(“SIP/incoming-00000128”, “hangupcall,”) in new stack
22474 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@macro-hangupcall:1] GotoIf(“SIP/incoming-00000128”, “1?theend”) in new stack
22475 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx_builtins.c: Goto (macro-hangupcall,s,3)
22476 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@macro-hangupcall:3] ExecIf(“SIP/incoming-00000128”, “0?Set(CDR(recordingfile)=)”) in new stack
22477 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@macro-hangupcall:4] NoOp(“SIP/incoming-00000128”, " montior file= ") in new stack
22478 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@macro-hangupcall:5] GotoIf(“SIP/incoming-00000128”, “1?skipagi”) in new stack
22479 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx_builtins.c: Goto (macro-hangupcall,s,7)
22480 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@macro-hangupcall:7] Hangup(“SIP/incoming-00000128”, “”) in new stack
22481 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] app_macro.c: Spawn extension (macro-hangupcall, s, 7) exited non-zero on ‘SIP/incoming-00000128’ in macro ‘hangupcall’
22482 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Spawn extension (ext-local, h, 1) exited non-zero on ‘SIP/incoming-00000128’
22483 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] app_stack.c: SIP/incoming-00000128 Internal Gosub(crm-hangup,s,1) start
22484 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@crm-hangup:1] NoOp(“SIP/incoming-00000128”, “Sending Hangup to CRM”) in new stack
22485 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@crm-hangup:2] NoOp(“SIP/incoming-00000128”, “HANGUP CAUSE: 34”) in new stack
22486 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@crm-hangup:3] ExecIf(“SIP/incoming-00000128”, “0?Set(__CRM_VOICEMAIL=)”) in new stack
22487 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@crm-hangup:4] NoOp(“SIP/incoming-00000128”, “MASTER CHANNEL: 1608824356.794 = 1608824356.794”) in new stack
22488 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@crm-hangup:5] GotoIf(“SIP/incoming-00000128”, “0?return”) in new stack
22489 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@crm-hangup:6] Set(“SIP/incoming-00000128”, “__CRM_HANGUP=1”) in new stack
22490 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@crm-hangup:7] AGI(“SIP/incoming-00000128”, “agi://127.0.0.1/sangomacrm.agi”) in new stack
22491 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] res_agi.c: <SIP/incoming-00000128>AGI Script agi://127.0.0.1/sangomacrm.agi completed, returning 0
22492 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] pbx.c: Executing [s@crm-hangup:8] Return(“SIP/incoming-00000128”, “”) in new stack
22493 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] app_stack.c: Spawn extension (ext-local, h, 1) exited non-zero on ‘SIP/incoming-00000128’
22494 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] app_stack.c: SIP/incoming-00000128 Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=

The destination is not online

[2020-12-24 16:39:16] WARNING[15655][C-00000d3c] app_dial.c: Unable to create channel of type ‘SIP’ (cause 20 - Subscriber absent)
22456 [2020-12-24 16:39:16] VERBOSE[15655][C-00000d3c] app_dial.c: No devices or endpoints to dial (technology/resource)

so the softphone is not online?
Did anybody have some ideas for a good softphone for IOS and android?
So thank you for your help Arielgrin so far.

At the particular moment that the particular inbound call arrived in your FreePBX server, the destination for the inbound route was not available to receive that call.

What you says is correct but i beleave because the rndooint is a softphone the softphone is not always reachable. The softphone i use is portsip for ios. Also the softphone is able to run at the background. Does somebdoy know why it’s possible that de destination cannot be reached?

if so, portsip phone is under sleep mode. Maybe you have to use push mode to weak up the sip phone before call coming.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.