Hello
first of all i want to mention every things works as normal with softphones like Zoiper,
i was using linksys pap2t with raspbx without any issue (home device extensions).
once i moved to freepbx disto to use my same PAP2t devices i got issue :
A) test with chan_sip :
pap2t does not registered to freepbx server and Can’t connect to login server ( sip ).
i changed port to 5160 but no luck , also i see nothing reach server at asterisk cli,
i made a simple trick to make it register just make this at papt2t side :
Line --> SIP Port: remove any port and make this box empty
Line --> proxy : added server ip+port like: 192.168.2.83:5160
important note:
i see bug at freepbx distro, it has many troubles and does not register , or pap2t can not receive calls in case use extension less than 3 digits , and must be with a 3 or 4 digit as [SkykingOH] mentioned here: PAP2T No matching peer found
so i see raspbx is stronger than freepbx in that point , i still able to use 2 digits extenstion.
B) test with chan_pjsip:
then i created new extensions as pjsip , pap2t can registered as normal with port 5060 or 5160
but has troubles in case extension is less 3 digits, and better 4 digits !!!
C) i installed freepbx distro at vmware, then i deleted chan_pjsip module & changed the port of chan_sip to 5060 instead of 5160 & switched channel to chan_sip under advanced setting.
result is any sip at softphone works as normal, but pap2t connected only with 5160 port without tricks, and did not work with 5060 !!
bellow log for chan_sip registered at pap2t with trick mentioned at (A) point:
so bellow is log of normal freepbx distro without delete any thing
Name/username Host Dyn Forcerport Comedia ACL Port Status Description
13/13 192.168.2.11 D No No A 5060 OK (14 ms)
log when call extension chan_sip 13 , i can not call sip extension when less 3 digits:
Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
> 0x7f1524019f10 -- Strict RTP learning after remote address set to: 192.168.2.19:10000
-- Executing [13@from-internal:1] GotoIf("SIP/100-00000005", "1?ext-local,13,1:followme-check,13,1") in new stack
-- Goto (ext-local,13,1)
-- Executing [13@ext-local:1] Set("SIP/100-00000005", "__RINGTIMER=15") in new stack
-- Executing [13@ext-local:2] ExecIf("SIP/100-00000005", "0?Set(__CWIGNORE=)") in new stack
-- Executing [13@ext-local:3] Macro("SIP/100-00000005", "exten-vm,novm,13,0,0,0") in new stack
-- Executing [s@macro-exten-vm:1] Macro("SIP/100-00000005", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/100-00000005", "TOUCH_MONITOR=1634419786.8") in new stack
-- Executing [s@macro-user-callerid:2] Set("SIP/100-00000005", "AMPUSER=100") in new stack
-- Executing [s@macro-user-callerid:3] Set("SIP/100-00000005", "HOTDESCKCHAN=100-00000005") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/100-00000005", "HOTDESKEXTEN=100") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/100-00000005", "HOTDESKCALL=0") in new stack
-- Executing [s@macro-user-callerid:6] ExecIf("SIP/100-00000005", "0?Set(HOTDESKCALL=1)") in new stack
-- Executing [s@macro-user-callerid:7] ExecIf("SIP/100-00000005", "0?Set(CALLERID(name)=)") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("SIP/100-00000005", "0?report") in new stack
-- Executing [s@macro-user-callerid:9] ExecIf("SIP/100-00000005", "1?Set(REALCALLERIDNUM=100)") in new stack
-- Executing [s@macro-user-callerid:10] Set("SIP/100-00000005", "AMPUSER=100") in new stack
-- Executing [s@macro-user-callerid:11] GotoIf("SIP/100-00000005", "0?limit") in new stack
-- Executing [s@macro-user-callerid:12] Set("SIP/100-00000005", "AMPUSERCIDNAME=100") in new stack
-- Executing [s@macro-user-callerid:13] ExecIf("SIP/100-00000005", "0?Set(__CIDMASQUERADING=TRUE)") in new stack
-- Executing [s@macro-user-callerid:14] GotoIf("SIP/100-00000005", "0?report") in new stack
-- Executing [s@macro-user-callerid:15] Set("SIP/100-00000005", "AMPUSERCID=100") in new stack
-- Executing [s@macro-user-callerid:16] Set("SIP/100-00000005", "__DIAL_OPTIONS=HhTtr") in new stack
-- Executing [s@macro-user-callerid:17] Set("SIP/100-00000005", "CALLERID(all)="100" <100>") in new stack
-- Executing [s@macro-user-callerid:18] Set("SIP/100-00000005", "HOTDESCKCHAN=100-00000005") in new stack
-- Executing [s@macro-user-callerid:19] Set("SIP/100-00000005", "HOTDESKEXTEN=100") in new stack
-- Executing [s@macro-user-callerid:20] Set("SIP/100-00000005", "HOTDESKCALL=0") in new stack
-- Executing [s@macro-user-callerid:21] ExecIf("SIP/100-00000005", "0?Set(HOTDESKCALL=1)") in new stack
-- Executing [s@macro-user-callerid:22] ExecIf("SIP/100-00000005", "0?Set(CALLERID(name)=)") in new stack
-- Executing [s@macro-user-callerid:23] ExecIf("SIP/100-00000005", "0?Set(CALLERID(all)="" < >)") in new stack
-- Executing [s@macro-user-callerid:24] ExecIf("SIP/100-00000005", "0?Set(CUSDIAL=13)") in new stack
-- Executing [s@macro-user-callerid:25] ExecIf("SIP/100-00000005", "0?Set(CALLERID(all)="100" <100>)") in new stack
-- Executing [s@macro-user-callerid:26] GotoIf("SIP/100-00000005", "0?limit") in new stack
-- Executing [s@macro-user-callerid:27] ExecIf("SIP/100-00000005", "0?Set(GROUP(concurrency_limit)=100)") in new stack
-- Executing [s@macro-user-callerid:28] ExecIf("SIP/100-00000005", "0?Set(CHANNEL(language)=)") in new stack
-- Executing [s@macro-user-callerid:29] NoOp("SIP/100-00000005", "Macro Depth is 2") in new stack
-- Executing [s@macro-user-callerid:30] GotoIf("SIP/100-00000005", "1?report2:macroerror") in new stack
-- Goto (macro-user-callerid,s,31)
-- Executing [s@macro-user-callerid:31] GotoIf("SIP/100-00000005", "0?continue") in new stack
-- Executing [s@macro-user-callerid:32] ExecIf("SIP/100-00000005", "1?Set(__CALLEE_ACCOUNCODE=)") in new stack
-- Executing [s@macro-user-callerid:33] Set("SIP/100-00000005", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:34] GotoIf("SIP/100-00000005", "1?continue") in new stack
-- Goto (macro-user-callerid,s,50)
-- Executing [s@macro-user-callerid:50] Set("SIP/100-00000005", "CALLERID(number)=100") in new stack
-- Executing [s@macro-user-callerid:51] Set("SIP/100-00000005", "CALLERID(name)=100") in new stack
-- Executing [s@macro-user-callerid:52] GotoIf("SIP/100-00000005", "0?cnum") in new stack
-- Executing [s@macro-user-callerid:53] Set("SIP/100-00000005", "CDR(cnam)=100") in new stack
-- Executing [s@macro-user-callerid:54] Set("SIP/100-00000005", "CDR(cnum)=100") in new stack
-- Executing [s@macro-user-callerid:55] Set("SIP/100-00000005", "CHANNEL(language)=en") in new stack
-- Executing [s@macro-exten-vm:2] Set("SIP/100-00000005", "RingGroupMethod=none") in new stack
-- Executing [s@macro-exten-vm:3] Set("SIP/100-00000005", "__EXTTOCALL=13") in new stack
-- Executing [s@macro-exten-vm:4] Set("SIP/100-00000005", "__PICKUPMARK=13") in new stack
-- Executing [s@macro-exten-vm:5] Set("SIP/100-00000005", "RT=") in new stack
-- Executing [s@macro-exten-vm:6] ExecIf("SIP/100-00000005", "0?Macro(vm,novm,DIRECTDIAL,)") in new stack
-- Executing [s@macro-exten-vm:7] ExecIf("SIP/100-00000005", "0?MacroExit()") in new stack
-- Executing [s@macro-exten-vm:8] ExecIf("SIP/100-00000005", "0?Gosub(ext-intercom,*8013,1())") in new stack
-- Executing [s@macro-exten-vm:9] ExecIf("SIP/100-00000005", "0?MacroExit()") in new stack
-- Executing [s@macro-exten-vm:10] ExecIf("SIP/100-00000005", "0?ChanSpy(SIP/13,q)") in new stack
-- Executing [s@macro-exten-vm:11] ExecIf("SIP/100-00000005", "0?MacroExit()") in new stack
[2021-10-16 21:29:47] ERROR[5879][C-00000004]: res_pjsip_header_funcs.c:461 func_read_header: This function requires a PJSIP channel.
-- Executing [s@macro-exten-vm:12] ExecIf("SIP/100-00000005", "0?Macro(vm,novm,DIRECTDIAL,)") in new stack
[2021-10-16 21:29:47] ERROR[5879][C-00000004]: res_pjsip_header_funcs.c:461 func_read_header: This function requires a PJSIP channel.
[2021-10-16 21:29:47] ERROR[5879][C-00000004]: res_pjsip_header_funcs.c:461 func_read_header: This function requires a PJSIP channel.
-- Executing [s@macro-exten-vm:13] ExecIf("SIP/100-00000005", "0?MacroExit()") in new stack
[2021-10-16 21:29:47] ERROR[5879][C-00000004]: res_pjsip_header_funcs.c:461 func_read_header: This function requires a PJSIP channel.
[2021-10-16 21:29:47] ERROR[5879][C-00000004]: res_pjsip_header_funcs.c:461 func_read_header: This function requires a PJSIP channel.
-- Executing [s@macro-exten-vm:14] ExecIf("SIP/100-00000005", "0?Gosub(ext-intercom,*8013,1())") in new stack
[2021-10-16 21:29:47] ERROR[5879][C-00000004]: res_pjsip_header_funcs.c:461 func_read_header: This function requires a PJSIP channel.
[2021-10-16 21:29:47] ERROR[5879][C-00000004]: res_pjsip_header_funcs.c:461 func_read_header: This function requires a PJSIP channel.
-- Executing [s@macro-exten-vm:15] ExecIf("SIP/100-00000005", "0?MacroExit()") in new stack
[2021-10-16 21:29:47] ERROR[5879][C-00000004]: res_pjsip_header_funcs.c:461 func_read_header: This function requires a PJSIP channel.
[2021-10-16 21:29:47] ERROR[5879][C-00000004]: res_pjsip_header_funcs.c:461 func_read_header: This function requires a PJSIP channel.
-- Executing [s@macro-exten-vm:16] ExecIf("SIP/100-00000005", "0?ChanSpy(SIP/13,q)") in new stack
[2021-10-16 21:29:47] ERROR[5879][C-00000004]: res_pjsip_header_funcs.c:461 func_read_header: This function requires a PJSIP channel.
[2021-10-16 21:29:47] ERROR[5879][C-00000004]: res_pjsip_header_funcs.c:461 func_read_header: This function requires a PJSIP channel.
-- Executing [s@macro-exten-vm:17] ExecIf("SIP/100-00000005", "0?MacroExit()") in new stack
[2021-10-16 21:29:47] ERROR[5879][C-00000004]: res_pjsip_header_funcs.c:461 func_read_header: This function requires a PJSIP channel.
-- Executing [s@macro-exten-vm:18] Gosub("SIP/100-00000005", "sub-record-check,s,1(exten,13,dontcare)") in new stack
-- Executing [s@sub-record-check:1] GotoIf("SIP/100-00000005", "0?initialized") in new stack
-- Executing [s@sub-record-check:2] Set("SIP/100-00000005", "__REC_STATUS=INITIALIZED") in new stack
-- Executing [s@sub-record-check:3] Set("SIP/100-00000005", "NOW=1634419787") in new stack
-- Executing [s@sub-record-check:4] Set("SIP/100-00000005", "__DAY=16") in new stack
-- Executing [s@sub-record-check:5] Set("SIP/100-00000005", "__MONTH=10") in new stack
-- Executing [s@sub-record-check:6] Set("SIP/100-00000005", "__YEAR=2021") in new stack
-- Executing [s@sub-record-check:7] Set("SIP/100-00000005", "__TIMESTR=20211016-212947") in new stack
-- Executing [s@sub-record-check:8] Set("SIP/100-00000005", "__FROMEXTEN=100") in new stack
-- Executing [s@sub-record-check:9] Set("SIP/100-00000005", "__MON_FMT=wav") in new stack
-- Executing [s@sub-record-check:10] NoOp("SIP/100-00000005", "Recordings initialized") in new stack
-- Executing [s@sub-record-check:11] ExecIf("SIP/100-00000005", "0?Set(ARG3=dontcare)") in new stack
-- Executing [s@sub-record-check:12] Set("SIP/100-00000005", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [s@sub-record-check:13] ExecIf("SIP/100-00000005", "0?Set(REC_STATUS=NO)") in new stack
-- Executing [s@sub-record-check:14] GotoIf("SIP/100-00000005", "5?checkaction") in new stack
-- Goto (sub-record-check,s,17)
-- Executing [s@sub-record-check:17] GotoIf("SIP/100-00000005", "1?sub-record-check,exten,1") in new stack
-- Goto (sub-record-check,exten,1)
-- Executing [exten@sub-record-check:1] NoOp("SIP/100-00000005", "Exten Recording Check between 100 and 13") in new stack
-- Executing [exten@sub-record-check:2] Set("SIP/100-00000005", "CALLTYPE=internal") in new stack
-- Executing [exten@sub-record-check:3] ExecIf("SIP/100-00000005", "0?Set(CALLTYPE=)") in new stack
-- Executing [exten@sub-record-check:4] Set("SIP/100-00000005", "CALLEE=dontcare") in new stack
-- Executing [exten@sub-record-check:5] ExecIf("SIP/100-00000005", "0?Set(CALLEE=dontcare)") in new stack
-- Executing [exten@sub-record-check:6] GotoIf("SIP/100-00000005", "0?callee") in new stack
-- Executing [exten@sub-record-check:7] GotoIf("SIP/100-00000005", "1?caller") in new stack
-- Goto (sub-record-check,exten,13)
-- Executing [exten@sub-record-check:13] Set("SIP/100-00000005", "RECMODE=dontcare") in new stack
-- Executing [exten@sub-record-check:14] Set("SIP/100-00000005", "CALLERRECMODE=dontcare") in new stack
-- Executing [exten@sub-record-check:15] Set("SIP/100-00000005", "CALEERECMODE=dontcare") in new stack
-- Executing [exten@sub-record-check:16] GotoIf("SIP/100-00000005", "0?processnormal") in new stack
-- Executing [exten@sub-record-check:17] ExecIf("SIP/100-00000005", "0?Set(RECMODE=dontcare)") in new stack
-- Executing [exten@sub-record-check:18] ExecIf("SIP/100-00000005", "0?Set(RECMODE=dontcare)") in new stack
-- Executing [exten@sub-record-check:19] ExecIf("SIP/100-00000005", "0?Set(RECMODE=dontcare)") in new stack
-- Executing [exten@sub-record-check:20] ExecIf("SIP/100-00000005", "0?Set(RECMODE=dontcare)") in new stack
-- Executing [exten@sub-record-check:21] ExecIf("SIP/100-00000005", "0?Set(RECMODE=dontcare)") in new stack
-- Executing [exten@sub-record-check:22] ExecIf("SIP/100-00000005", "1?Set(RECMODE=dontcare)") in new stack
-- Executing [exten@sub-record-check:23] Gosub("SIP/100-00000005", "recordcheck,1(dontcare,internal,13)") in new stack
-- Executing [recordcheck@sub-record-check:1] NoOp("SIP/100-00000005", "Starting recording check against dontcare") in new stack
-- Executing [recordcheck@sub-record-check:2] Goto("SIP/100-00000005", "dontcare") in new stack
-- Goto (sub-record-check,recordcheck,3)
-- Executing [recordcheck@sub-record-check:3] Return("SIP/100-00000005", "") in new stack
-- Executing [exten@sub-record-check:24] Return("SIP/100-00000005", "") in new stack
-- Executing [s@macro-exten-vm:19] GotoIf("SIP/100-00000005", "1?macrodial") in new stack
-- Goto (macro-exten-vm,s,25)
-- Executing [s@macro-exten-vm:25] GosubIf("SIP/100-00000005", "0?clrheader,1()") in new stack
-- Executing [s@macro-exten-vm:26] Macro("SIP/100-00000005", "dial-one,,HhTtr,13") in new stack
-- Executing [s@macro-dial-one:1] Set("SIP/100-00000005", "DEXTEN=13") in new stack
-- Executing [s@macro-dial-one:2] Set("SIP/100-00000005", "__CRM_SOURCE=100") in new stack
-- Executing [s@macro-dial-one:3] ExecIf("SIP/100-00000005", "0?Set(__EXTTOCALL=13)") in new stack
-- Executing [s@macro-dial-one:4] Set("SIP/100-00000005", "DIALSTATUS_CW=") in new stack
-- Executing [s@macro-dial-one:5] GosubIf("SIP/100-00000005", "0?screen,1()") in new stack
-- Executing [s@macro-dial-one:6] GosubIf("SIP/100-00000005", "0?cf,1()") in new stack
-- Executing [s@macro-dial-one:7] GotoIf("SIP/100-00000005", "1?skip1") in new stack
-- Goto (macro-dial-one,s,10)
-- Executing [s@macro-dial-one:10] GotoIf("SIP/100-00000005", "0?nodial") in new stack
-- Executing [s@macro-dial-one:11] GotoIf("SIP/100-00000005", "0?continue") in new stack
-- Executing [s@macro-dial-one:12] Set("SIP/100-00000005", "EXTHASCW=ENABLED") in new stack
-- Executing [s@macro-dial-one:13] GotoIf("SIP/100-00000005", "0?next1:cwinusebusy") in new stack
-- Goto (macro-dial-one,s,25)
-- Executing [s@macro-dial-one:25] GotoIf("SIP/100-00000005", "0?next3:continue") in new stack
-- Goto (macro-dial-one,s,27)
-- Executing [s@macro-dial-one:27] GotoIf("SIP/100-00000005", "0?nodial") in new stack
-- Executing [s@macro-dial-one:28] GosubIf("SIP/100-00000005", "1?dstring,1():dlocal,1()") in new stack
-- Executing [dstring@macro-dial-one:1] Set("SIP/100-00000005", "DSTRING=") in new stack
-- Executing [dstring@macro-dial-one:2] Set("SIP/100-00000005", "DEVICES=13") in new stack
-- Executing [dstring@macro-dial-one:3] ExecIf("SIP/100-00000005", "0?Return()") in new stack
-- Executing [dstring@macro-dial-one:4] ExecIf("SIP/100-00000005", "0?Set(DEVICES=3)") in new stack
-- Executing [dstring@macro-dial-one:5] Set("SIP/100-00000005", "LOOPCNT=1") in new stack
-- Executing [dstring@macro-dial-one:6] Set("SIP/100-00000005", "ITER=1") in new stack
-- Executing [dstring@macro-dial-one:7] Set("SIP/100-00000005", "THISDIAL=SIP/13") in new stack
-- Executing [dstring@macro-dial-one:8] GosubIf("SIP/100-00000005", "1?zap2dahdi,1()") in new stack
-- Executing [zap2dahdi@macro-dial-one:1] ExecIf("SIP/100-00000005", "0?Return()") in new stack
-- Executing [zap2dahdi@macro-dial-one:2] Set("SIP/100-00000005", "NEWDIAL=") in new stack
-- Executing [zap2dahdi@macro-dial-one:3] Set("SIP/100-00000005", "LOOPCNT2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:4] Set("SIP/100-00000005", "ITER2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:5] Set("SIP/100-00000005", "THISPART2=SIP/13") in new stack
-- Executing [zap2dahdi@macro-dial-one:6] ExecIf("SIP/100-00000005", "0?Set(THISPART2=DAHDI/13)") in new stack
-- Executing [zap2dahdi@macro-dial-one:7] Set("SIP/100-00000005", "NEWDIAL=SIP/13&") in new stack
-- Executing [zap2dahdi@macro-dial-one:8] Set("SIP/100-00000005", "ITER2=2") in new stack
-- Executing [zap2dahdi@macro-dial-one:9] GotoIf("SIP/100-00000005", "0?begin2") in new stack
-- Executing [zap2dahdi@macro-dial-one:10] Set("SIP/100-00000005", "THISDIAL=SIP/13") in new stack
-- Executing [zap2dahdi@macro-dial-one:11] Return("SIP/100-00000005", "") in new stack
-- Executing [dstring@macro-dial-one:9] GotoIf("SIP/100-00000005", "1?docheck") in new stack
-- Goto (macro-dial-one,dstring,15)
-- Executing [dstring@macro-dial-one:15] GotoIf("SIP/100-00000005", "0?skipset") in new stack
-- Executing [dstring@macro-dial-one:16] Set("SIP/100-00000005", "DSTRING=SIP/13&") in new stack
-- Executing [dstring@macro-dial-one:17] Set("SIP/100-00000005", "ITER=2") in new stack
-- Executing [dstring@macro-dial-one:18] GotoIf("SIP/100-00000005", "0?begin") in new stack
-- Executing [dstring@macro-dial-one:19] ExecIf("SIP/100-00000005", "0?Return()") in new stack
-- Executing [dstring@macro-dial-one:20] Set("SIP/100-00000005", "DSTRING=SIP/13") in new stack
-- Executing [dstring@macro-dial-one:21] Return("SIP/100-00000005", "") in new stack
-- Executing [s@macro-dial-one:29] GotoIf("SIP/100-00000005", "0?nodial") in new stack
-- Executing [s@macro-dial-one:30] GotoIf("SIP/100-00000005", "0?skiptrace") in new stack
-- Executing [s@macro-dial-one:31] GosubIf("SIP/100-00000005", "1?ctset,1():ctclear,1()") in new stack
-- Executing [ctset@macro-dial-one:1] Set("SIP/100-00000005", "DB(CALLTRACE/13)=100") in new stack
-- Executing [ctset@macro-dial-one:2] Return("SIP/100-00000005", "") in new stack
-- Executing [s@macro-dial-one:32] Set("SIP/100-00000005", "D_OPTIONS=HhTtr") in new stack
-- Executing [s@macro-dial-one:33] GosubIf("SIP/100-00000005", "0?func-set-sipheader,s,1(Alert-Info,)") in new stack
-- Executing [s@macro-dial-one:34] NoOp("SIP/100-00000005", "Blind Transfer: , Attended Transfer: , User: 100, Alert Info: ") in new stack
-- Executing [s@macro-dial-one:35] ExecIf("SIP/100-00000005", "1?Set(ALERT_INFO=)") in new stack
-- Executing [s@macro-dial-one:36] ExecIf("SIP/100-00000005", "0?Set(ALERT_INFO=)") in new stack
-- Executing [s@macro-dial-one:37] ExecIf("SIP/100-00000005", "0?Set(ALERT_INFO=)") in new stack
-- Executing [s@macro-dial-one:38] ExecIf("SIP/100-00000005", "0?Set(ALERT_INFO=Normal;volume=)") in new stack
-- Executing [s@macro-dial-one:39] ExecIf("SIP/100-00000005", "0?Set(ALERT_INFO=Normal;volume=)") in new stack
-- Executing [s@macro-dial-one:40] GosubIf("SIP/100-00000005", "0?func-set-sipheader,s,1(Alert-Info,)") in new stack
-- Executing [s@macro-dial-one:41] ExecIf("SIP/100-00000005", "0?Set(CHANNEL(musicclass)=)") in new stack
-- Executing [s@macro-dial-one:42] GosubIf("SIP/100-00000005", "0?qwait,1()") in new stack
-- Executing [s@macro-dial-one:43] Set("SIP/100-00000005", "__CWIGNORE=") in new stack
-- Executing [s@macro-dial-one:44] Set("SIP/100-00000005", "__KEEPCID=TRUE") in new stack
-- Executing [s@macro-dial-one:45] GotoIf("SIP/100-00000005", "0?usegoto,1") in new stack
-- Executing [s@macro-dial-one:46] GotoIf("SIP/100-00000005", "0?godial") in new stack
-- Executing [s@macro-dial-one:47] Gosub("SIP/100-00000005", "sub-presencestate-display,s,1(13)") in new stack
-- Executing [s@sub-presencestate-display:1] Goto("SIP/100-00000005", "state-not_set,1") in new stack
-- Goto (sub-presencestate-display,state-not_set,1)
-- Executing [state-not_set@sub-presencestate-display:1] Set("SIP/100-00000005", "PRESENCESTATE_DISPLAY=") in new stack
-- Executing [state-not_set@sub-presencestate-display:2] Return("SIP/100-00000005", "") in new stack
-- Executing [s@macro-dial-one:48] Set("SIP/100-00000005", "CONNECTEDLINE(name,i)=13") in new stack
-- Executing [s@macro-dial-one:49] Set("SIP/100-00000005", "CONNECTEDLINE(num)=13") in new stack
-- Executing [s@macro-dial-one:50] Set("SIP/100-00000005", "D_OPTIONS=HhTtr") in new stack
-- Executing [s@macro-dial-one:51] Macro("SIP/100-00000005", "dialout-one-predial-hook,") in new stack
[2021-10-16 21:29:47] WARNING[5879][C-00000004]: taskprocessor.c:888 taskprocessor_push: The 'subm:endpoint_topic_all-cached-0000006a' task processor queue reached 500 scheduled tasks.
-- Executing [s@macro-dialout-one-predial-hook:1] MacroExit("SIP/100-00000005", "") in new stack
-- Executing [s@macro-dial-one:52] ExecIf("SIP/100-00000005", "0?Set(D_OPTIONS=HhtrI)") in new stack
-- Executing [s@macro-dial-one:53] NoOp("SIP/100-00000005", "") in new stack
-- Executing [s@macro-dial-one:54] ExecIf("SIP/100-00000005", "0?Set(D_OPTIONS=HhTtrg)") in new stack
-- Executing [s@macro-dial-one:55] Dial("SIP/100-00000005", "SIP/13,,HhTtrb(func-apply-sipheaders^s^1)") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- SIP/13-00000006 Internal Gosub(func-apply-sipheaders,s,1) start
-- Executing [s@func-apply-sipheaders:1] ExecIf("SIP/13-00000006", "0?Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1)") in new stack
-- Executing [s@func-apply-sipheaders:2] NoOp("SIP/13-00000006", "Applying SIP Headers to channel SIP/13-00000006") in new stack
-- Executing [s@func-apply-sipheaders:3] Set("SIP/13-00000006", "TECH=SIP") in new stack
-- Executing [s@func-apply-sipheaders:4] Set("SIP/13-00000006", "SIPHEADERKEYS=") in new stack
-- Executing [s@func-apply-sipheaders:5] While("SIP/13-00000006", "0") in new stack
-- Jumping to priority 13
-- Executing [s@func-apply-sipheaders:14] Return("SIP/13-00000006", "") in new stack
== Spawn extension (from-internal, 13, 1) exited non-zero on 'SIP/13-00000006'
-- SIP/13-00000006 Internal Gosub(func-apply-sipheaders,s,1) complete GOSUB_RETVAL=
-- Called SIP/13
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dial-one:56] ExecIf("SIP/100-00000005", "0?MacroExit()") in new stack
-- Executing [s@macro-dial-one:57] ExecIf("SIP/100-00000005", "0?Set(DIALSTATUS=)") in new stack
-- Executing [s@macro-dial-one:58] GosubIf("SIP/100-00000005", "0?s-CHANUNAVAIL,1()") in new stack
-- Executing [s@macro-dial-one:59] MacroExit("SIP/100-00000005", "") in new stack
-- Executing [s@macro-exten-vm:27] Set("SIP/100-00000005", "SV_DIALSTATUS=CHANUNAVAIL") in new stack
-- Executing [s@macro-exten-vm:28] GosubIf("SIP/100-00000005", "0?docfu,1()") in new stack
-- Executing [s@macro-exten-vm:29] GosubIf("SIP/100-00000005", "0?docfb,1()") in new stack
-- Executing [s@macro-exten-vm:30] Set("SIP/100-00000005", "DIALSTATUS=CHANUNAVAIL") in new stack
-- Executing [s@macro-exten-vm:31] ExecIf("SIP/100-00000005", "0?MacroExit()") in new stack
-- Executing [s@macro-exten-vm:32] GotoIf("SIP/100-00000005", "1?s-CHANUNAVAIL,1") in new stack
-- Goto (macro-exten-vm,s-CHANUNAVAIL,1)
-- Executing [s-CHANUNAVAIL@macro-exten-vm:1] GotoIf("SIP/100-00000005", "0?exit,1") in new stack
-- Executing [s-CHANUNAVAIL@macro-exten-vm:2] PlayTones("SIP/100-00000005", "congestion") in new stack
-- Executing [s-CHANUNAVAIL@macro-exten-vm:3] Congestion("SIP/100-00000005", "10") in new stack
== Spawn extension (macro-exten-vm, s-CHANUNAVAIL, 3) exited non-zero on 'SIP/100-00000005' in macro 'exten-vm'
== Spawn extension (ext-local, 13, 3) exited non-zero on 'SIP/100-00000005'
-- Executing [h@ext-local:1] Macro("SIP/100-00000005", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/100-00000005", "1?theend") in new stack
-- Goto (macro-hangupcall,s,3)
-- Executing [s@macro-hangupcall:3] ExecIf("SIP/100-00000005", "0?Set(CDR(recordingfile)=)") in new stack
-- Executing [s@macro-hangupcall:4] NoOp("SIP/100-00000005", " montior file= ") in new stack
-- Executing [s@macro-hangupcall:5] GotoIf("SIP/100-00000005", "1?skipagi") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing [s@macro-hangupcall:7] Hangup("SIP/100-00000005", "") in new stack
== Spawn extension (macro-hangupcall, s, 7) exited non-zero on 'SIP/100-00000005' in macro 'hangupcall'
== Spawn extension (ext-local, h, 1) exited non-zero on 'SIP/100-00000005'