PBX Firmware:
12.7.5-1902-1.sng7
PBX Service Pack:
1.0.0.0
Current Asterisk Version: 13.22.0
FreePBX 14.0.5.25
Outbound calls this morning suddenly started dropping after 30 seconds on our Sangoma S500’s PJSIP configured extensions.
Incoming calls not affected.
Outgoing calls from an analogue phone to FXO unaffected.
here is a log of failed call;
[2019-02-06 14:54:39] VERBOSE[4643][C-00000008] pbx.c: Spawn extension (ext-local, h, 1) exited non-zero on ‘PJSIP/3160-00000003’
[2019-02-06 15:00:31] VERBOSE[4314] asterisk.c: Remote UNIX connection disconnected
[2019-02-06 15:01:12] VERBOSE[2216] pbx_variables.c: Setting global variable ‘SIPDOMAIN’ to ‘192.168.n.nnn’
[2019-02-06 15:01:12] VERBOSE[2216] netsock2.c: Using SIP RTP Audio TOS bits 184
[2019-02-06 15:01:12] VERBOSE[2216] netsock2.c: Using SIP RTP Audio TOS bits 184 in TCLASS field.
[2019-02-06 15:01:12] VERBOSE[2216] netsock2.c: Using SIP RTP Audio CoS mark 5
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [2508nnnnnn@from-internal:1] Macro(“PJSIP/3160-00000004”, “user-callerid,LIMIT,EXTERNAL,”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-user-callerid:1] Set(“PJSIP/3160-00000004”, “TOUCH_MONITOR=1549494072.20”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-user-callerid:2] Set(“PJSIP/3160-00000004”, “AMPUSER=3160”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-user-callerid:3] GotoIf(“PJSIP/3160-00000004”, “0?report”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-user-callerid:4] ExecIf(“PJSIP/3160-00000004”, “1?Set(REALCALLERIDNUM=3160)”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-user-callerid:5] Set(“PJSIP/3160-00000004”, “AMPUSER=3160”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-user-callerid:6] GotoIf(“PJSIP/3160-00000004”, “0?limit”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-user-callerid:7] Set(“PJSIP/3160-00000004”, “AMPUSERCIDNAME=Edwin”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-user-callerid:8] ExecIf(“PJSIP/3160-00000004”, “0?Set(__CIDMASQUERADING=TRUE)”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-user-callerid:9] GotoIf(“PJSIP/3160-00000004”, “0?report”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-user-callerid:10] Set(“PJSIP/3160-00000004”, “AMPUSERCID=3160”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-user-callerid:11] Set(“PJSIP/3160-00000004”, “__DIAL_OPTIONS=Ttr”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-user-callerid:12] Set(“PJSIP/3160-00000004”, “CALLERID(all)=“Edwin” <3160>”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-user-callerid:13] GotoIf(“PJSIP/3160-00000004”, “0?limit”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-user-callerid:14] ExecIf(“PJSIP/3160-00000004”, “1?Set(GROUP(concurrency_limit)=3160)”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-user-callerid:15] ExecIf(“PJSIP/3160-00000004”, “0?Set(CHANNEL(language)=)”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-user-callerid:16] NoOp(“PJSIP/3160-00000004”, “Macro Depth is 1”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-user-callerid:17] GotoIf(“PJSIP/3160-00000004”, “1?report2:macroerror”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx_builtins.c: Goto (macro-user-callerid,s,18)
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-user-callerid:18] GotoIf(“PJSIP/3160-00000004”, “1?continue”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx_builtins.c: Goto (macro-user-callerid,s,37)
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-user-callerid:37] Set(“PJSIP/3160-00000004”, “CALLERID(number)=3160”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-user-callerid:38] Set(“PJSIP/3160-00000004”, “CALLERID(name)=Edwin”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-user-callerid:39] GotoIf(“PJSIP/3160-00000004”, “0?cnum”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-user-callerid:40] Set(“PJSIP/3160-00000004”, “CDR(cnam)=Edwin”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-user-callerid:41] Set(“PJSIP/3160-00000004”, “CDR(cnum)=3160”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-user-callerid:42] Set(“PJSIP/3160-00000004”, “CHANNEL(language)=en”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [2508nnnnnn@from-internal:2] Gosub(“PJSIP/3160-00000004”, “sub-record-check,s,1(out,2508nnnnnn,dontcare)”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@sub-record-check:1] GotoIf(“PJSIP/3160-00000004”, “0?initialized”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@sub-record-check:2] Set(“PJSIP/3160-00000004”, “__REC_STATUS=INITIALIZED”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@sub-record-check:3] Set(“PJSIP/3160-00000004”, “NOW=1549494072”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@sub-record-check:4] Set(“PJSIP/3160-00000004”, “__DAY=06”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@sub-record-check:5] Set(“PJSIP/3160-00000004”, “__MONTH=02”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@sub-record-check:6] Set(“PJSIP/3160-00000004”, “__YEAR=2019”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@sub-record-check:7] Set(“PJSIP/3160-00000004”, “__TIMESTR=20190206-150112”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@sub-record-check:8] Set(“PJSIP/3160-00000004”, “__FROMEXTEN=3160”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@sub-record-check:9] Set(“PJSIP/3160-00000004”, “__MON_FMT=wav”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@sub-record-check:10] NoOp(“PJSIP/3160-00000004”, “Recordings initialized”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@sub-record-check:11] ExecIf(“PJSIP/3160-00000004”, “0?Set(ARG3=dontcare)”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@sub-record-check:12] Set(“PJSIP/3160-00000004”, “REC_POLICY_MODE_SAVE=”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@sub-record-check:13] ExecIf(“PJSIP/3160-00000004”, “0?Set(REC_STATUS=NO)”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@sub-record-check:14] GotoIf(“PJSIP/3160-00000004”, “3?checkaction”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx_builtins.c: Goto (sub-record-check,s,17)
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@sub-record-check:17] GotoIf(“PJSIP/3160-00000004”, “1?sub-record-check,out,1”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx_builtins.c: Goto (sub-record-check,out,1)
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [out@sub-record-check:1] NoOp(“PJSIP/3160-00000004”, “Outbound Recording Check from 3160 to 2508nnnnnn”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [out@sub-record-check:2] Set(“PJSIP/3160-00000004”, “RECMODE=dontcare”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [out@sub-record-check:3] ExecIf(“PJSIP/3160-00000004”, “1?Goto(routewins)”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx_builtins.c: Goto (sub-record-check,out,7)
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [out@sub-record-check:7] Gosub(“PJSIP/3160-00000004”, “recordcheck,1(dontcare,out,2508nnnnnn)”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [recordcheck@sub-record-check:1] NoOp(“PJSIP/3160-00000004”, “Starting recording check against dontcare”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [recordcheck@sub-record-check:2] Goto(“PJSIP/3160-00000004”, “dontcare”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx_builtins.c: Goto (sub-record-check,recordcheck,3)
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [recordcheck@sub-record-check:3] Return(“PJSIP/3160-00000004”, “”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [out@sub-record-check:8] Return(“PJSIP/3160-00000004”, “”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [2508nnnnnn@from-internal:3] ExecIf(“PJSIP/3160-00000004”, “0 ?Set(CDR(accountcode)=)”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [2508nnnnnn@from-internal:4] Set(“PJSIP/3160-00000004”, “MOHCLASS=default”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [2508nnnnnn@from-internal:5] ExecIf(“PJSIP/3160-00000004”, “1?Set(TRUNKCIDOVERRIDE=2503nnnnnn)”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [2508nnnnnn@from-internal:6] Set(“PJSIP/3160-00000004”, “_NODEST=”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [2508nnnnnn@from-internal:7] Macro(“PJSIP/3160-00000004”, “dialout-trunk,1,12508nnnnnn,on”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-dialout-trunk:1] Set(“PJSIP/3160-00000004”, “DIAL_TRUNK=1”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-dialout-trunk:2] ExecIf(“PJSIP/3160-00000004”, “0?Set(DIAL_OPTIONS=tr)”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-dialout-trunk:3] GosubIf(“PJSIP/3160-00000004”, “0?sub-pincheck,s,1()”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-dialout-trunk:4] ExecIf(“PJSIP/3160-00000004”, “0?Set(CALLERID(num)=3160)”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-dialout-trunk:5] GotoIf(“PJSIP/3160-00000004”, “0?disabletrunk,1”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-dialout-trunk:6] Set(“PJSIP/3160-00000004”, “DIAL_NUMBER=12508nnnnnn”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-dialout-trunk:7] Set(“PJSIP/3160-00000004”, “DIAL_TRUNK_OPTIONS=Ttr”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-dialout-trunk:8] Set(“PJSIP/3160-00000004”, “OUTBOUND_GROUP=OUT_1”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-dialout-trunk:9] Set(“PJSIP/3160-00000004”, “DIAL_TRUNK_OPTIONS=T”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-dialout-trunk:10] GotoIf(“PJSIP/3160-00000004”, “1?nomax”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx_builtins.c: Goto (macro-dialout-trunk,s,12)
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-dialout-trunk:12] GotoIf(“PJSIP/3160-00000004”, “0?skipoutcid”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-dialout-trunk:13] Macro(“PJSIP/3160-00000004”, “outbound-callerid,1”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-outbound-callerid:1] NoOp(“PJSIP/3160-00000004”, “3160”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-outbound-callerid:2] NoOp(“PJSIP/3160-00000004”, “”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-outbound-callerid:3] NoOp(“PJSIP/3160-00000004”, “off”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-outbound-callerid:4] ExecIf(“PJSIP/3160-00000004”, “0?Set(CALLERPRES(name-pres)=)”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-outbound-callerid:5] ExecIf(“PJSIP/3160-00000004”, “0?Set(CALLERPRES(num-pres)=)”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-outbound-callerid:6] ExecIf(“PJSIP/3160-00000004”, “0?Set(REALCALLERIDNUM=3160)”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-outbound-callerid:7] ExecIf(“PJSIP/3160-00000004”, “0?Set(AMPUSER=3160)”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-outbound-callerid:8] GotoIf(“PJSIP/3160-00000004”, “1?normcid”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx_builtins.c: Goto (macro-outbound-callerid,s,12)
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-outbound-callerid:12] Set(“PJSIP/3160-00000004”, “USEROUTCID=”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-outbound-callerid:13] Set(“PJSIP/3160-00000004”, “EMERGENCYCID=”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-outbound-callerid:14] Set(“PJSIP/3160-00000004”, “TRUNKOUTCID=<2503nnnnnn>”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-outbound-callerid:15] GotoIf(“PJSIP/3160-00000004”, “1?trunkcid”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx_builtins.c: Goto (macro-outbound-callerid,s,20)
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-outbound-callerid:20] ExecIf(“PJSIP/3160-00000004”, “1?Set(CALLERID(all)=<2503nnnnnn>)”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-outbound-callerid:21] ExecIf(“PJSIP/3160-00000004”, “0?Set(CALLERID(all)=)”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-outbound-callerid:22] ExecIf(“PJSIP/3160-00000004”, “1?Set(CALLERID(all)=2503nnnnnn)”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-outbound-callerid:23] ExecIf(“PJSIP/3160-00000004”, “0?Set(CALLERPRES(name-pres)=prohib_passed_screen)”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-outbound-callerid:24] ExecIf(“PJSIP/3160-00000004”, “0?Set(CALLERPRES(num-pres)=prohib_passed_screen)”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-outbound-callerid:25] Set(“PJSIP/3160-00000004”, “CDR(outbound_cnum)=2503nnnnnn”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-outbound-callerid:26] Set(“PJSIP/3160-00000004”, “CDR(outbound_cnam)=”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-dialout-trunk:14] GosubIf(“PJSIP/3160-00000004”, “0?sub-flp-1,s,1()”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-dialout-trunk:15] Set(“PJSIP/3160-00000004”, “OUTNUM=12508nnnnnn”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-dialout-trunk:16] Set(“PJSIP/3160-00000004”, “custom=DAHDI/G0”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-dialout-trunk:17] ExecIf(“PJSIP/3160-00000004”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T)”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-dialout-trunk:18] ExecIf(“PJSIP/3160-00000004”, “0?Set(DIAL_TRUNK_OPTIONS=TM(confirm))”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-dialout-trunk:19] Macro(“PJSIP/3160-00000004”, “dialout-trunk-predial-hook,”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(“PJSIP/3160-00000004”, “”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-dialout-trunk:20] GotoIf(“PJSIP/3160-00000004”, “0?bypass,1”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-dialout-trunk:21] ExecIf(“PJSIP/3160-00000004”, “1?Set(CONNECTEDLINE(num,i)=12508nnnnnn)”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-dialout-trunk:22] ExecIf(“PJSIP/3160-00000004”, “1?Set(CONNECTEDLINE(name,i)=CID:2503nnnnnn)”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-dialout-trunk:23] ExecIf(“PJSIP/3160-00000004”, “0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)2503nnnnnn)”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-dialout-trunk:24] GotoIf(“PJSIP/3160-00000004”, “0?customtrunk”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-dialout-trunk:25] Dial(“PJSIP/3160-00000004”, “DAHDI/G0/12508nnnnnn,300,Tb(func-apply-sipheaders^s^1,(1))”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] app_stack.c: DAHDI/3-1 Internal Gosub(func-apply-sipheaders,s,1(1)) start
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@func-apply-sipheaders:1] NoOp(“DAHDI/3-1”, “Applying SIP Headers to channel DAHDI/3-1”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@func-apply-sipheaders:2] Set(“DAHDI/3-1”, “TECH=DAHDI”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@func-apply-sipheaders:3] Set(“DAHDI/3-1”, “SIPHEADERKEYS=”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@func-apply-sipheaders:4] While(“DAHDI/3-1”, “0”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] app_while.c: Jumping to priority 11
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] pbx.c: Executing [s@func-apply-sipheaders:12] Return(“DAHDI/3-1”, “”) in new stack
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] app_stack.c: Spawn extension (from-analog, 2508nnnnnn, 1) exited non-zero on ‘DAHDI/3-1’
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] app_stack.c: DAHDI/3-1 Internal Gosub(func-apply-sipheaders,s,1(1)) complete GOSUB_RETVAL=
[2019-02-06 15:01:12] VERBOSE[8230][C-00000009] app_dial.c: Called DAHDI/G0/12508nnnnnn
[2019-02-06 15:01:15] VERBOSE[8230][C-00000009] app_dial.c: DAHDI/3-1 answered PJSIP/3160-00000004
[2019-02-06 15:01:15] VERBOSE[8255][C-00000009] bridge_channel.c: Channel DAHDI/3-1 joined ‘simple_bridge’ basic-bridge <807ea1f6-0d93-41ca-8e4b-5cde465a6fb9>
[2019-02-06 15:01:15] VERBOSE[8230][C-00000009] bridge_channel.c: Channel PJSIP/3160-00000004 joined ‘simple_bridge’ basic-bridge <807ea1f6-0d93-41ca-8e4b-5cde465a6fb9>
[2019-02-06 15:01:47] VERBOSE[8230][C-00000009] bridge_channel.c: Channel PJSIP/3160-00000004 left ‘simple_bridge’ basic-bridge <807ea1f6-0d93-41ca-8e4b-5cde465a6fb9>
[2019-02-06 15:01:47] VERBOSE[8230][C-00000009] app_macro.c: Spawn extension (macro-dialout-trunk, s, 25) exited non-zero on ‘PJSIP/3160-00000004’ in macro ‘dialout-trunk’
[2019-02-06 15:01:47] VERBOSE[8230][C-00000009] pbx.c: Spawn extension (from-internal, 2508nnnnnn, 7) exited non-zero on ‘PJSIP/3160-00000004’
[2019-02-06 15:01:47] VERBOSE[8230][C-00000009] pbx.c: Executing [h@from-internal:1] Macro(“PJSIP/3160-00000004”, “hangupcall”) in new stack
[2019-02-06 15:01:47] VERBOSE[8255][C-00000009] bridge_channel.c: Channel DAHDI/3-1 left ‘simple_bridge’ basic-bridge <807ea1f6-0d93-41ca-8e4b-5cde465a6fb9>
[2019-02-06 15:01:47] VERBOSE[8255][C-00000009] sig_analog.c: Hanging up on ‘DAHDI/3-1’
[2019-02-06 15:01:47] VERBOSE[8255][C-00000009] chan_dahdi.c: Hungup ‘DAHDI/3-1’
[2019-02-06 15:01:47] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-hangupcall:1] GotoIf(“PJSIP/3160-00000004”, “1?theend”) in new stack
[2019-02-06 15:01:47] VERBOSE[8230][C-00000009] pbx_builtins.c: Goto (macro-hangupcall,s,3)
[2019-02-06 15:01:47] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-hangupcall:3] ExecIf(“PJSIP/3160-00000004”, “0?Set(CDR(recordingfile)=)”) in new stack
[2019-02-06 15:01:47] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-hangupcall:4] NoOp(“PJSIP/3160-00000004”, "DAHDI/3-1 montior file= ") in new stack
[2019-02-06 15:01:47] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-hangupcall:5] GotoIf(“PJSIP/3160-00000004”, “1?skipagi”) in new stack
[2019-02-06 15:01:47] VERBOSE[8230][C-00000009] pbx_builtins.c: Goto (macro-hangupcall,s,7)
[2019-02-06 15:01:47] VERBOSE[8230][C-00000009] pbx.c: Executing [s@macro-hangupcall:7] Hangup(“PJSIP/3160-00000004”, “”) in new stack
[2019-02-06 15:01:47] VERBOSE[8230][C-00000009] app_macro.c: Spawn extension (macro-hangupcall, s, 7) exited non-zero on ‘PJSIP/3160-00000004’ in macro ‘hangupcall’
[2019-02-06 15:01:47] VERBOSE[8230][C-00000009] pbx.c: Spawn extension (from-internal, h, 1) exited non-zero on ‘PJSIP/3160-00000004’
if looks like the S500 is initiating the hangup.
If I could get some pointers, I would be very grateful, thank you.
Further discovery after close of business… internal and external calls drop at exactly 32 seconds. My VPN phone at home has no problems with calls.