All Calls are ended after 32 seconds

Hi all,

I have just setup a new install this week and all my inbound calls hangup after about 30 to 32 seconds every single time without feel even if you put the collar on hold after answering the call. I have a logged what has been happening below, I do have the Basic knowledge on how to fix most thing in freepbx, but this absolutely head scratching problem has me bamboozled.

Can someone help me or send me pointing me in the right direction is there something I’m overlooking or missing. I have not done anything to the freepbx server at this point and i know this will not go down well with some, so no updates nothing not even registration complete clean install, and this issue also seems to happen on a clean install with updates and registration. So I really do not know what the problem is at this point that is causing this issue.

I have looked at the wiki that has says that the error, maybe with firewall, but that did not help as could not see anything obvious that could be the issue I also checked other logs with an Asterix sep setup debug enabled and still did not reveal what was going on.

Based on another post with a similar issue I have looked at the mentioned ports IP addresses and ISP but none of this has changed I also have a permanent fix IP address and nothing has been changed in the ISP router I am hoping that someone can help me.

Spawn extension (ext-queues, 700, 52) exited non-zero on ‘PJSIP/voip-00000031’
Executing [[email protected]:1] Macro (" PJSIP/voip-00000031 ", " hangupcall, “) in new stack
Executing [[email protected]:1] GotoIf (” PJSIP/voip-00000031 ", " 1?theend “) in new stack
Goto (macro-hangupcall,s,3)
Executing [[email protected]:3] ExecIf (” PJSIP/voip-00000031 ", " 0?Set(CDR(recordingfile)=) “) in new stack
Executing [[email protected]:4] NoOp (” PJSIP/voip-00000031 ", " Local/[email protected];1 montior file= “) in new stack
Executing [[email protected]:5] GotoIf (” PJSIP/voip-00000031 ", " 1?skipagi “) in new stack
Goto (macro-hangupcall,s,7)
Executing [[email protected]:7] Hangup (” PJSIP/voip-00000031 “, “”) in new stack
== Spawn extension (macro-hangupcall, s, 7) exited non-zero on ‘PJSIP/voip-00000031’ in macro ‘hangupcall’
== Spawn extension (ext-queues, h, 1) exited non-zero on ‘PJSIP/voip-00000031’
PJSIP/twillo-00000031 Internal Gosub(crm-hangup,s,1) start
Executing [[email protected]:1] NoOp (” PJSIP/voip-00000031 ", " Sending Hangup to CRM “) in new stack
Executing [[email protected]:2] NoOp (” PJSIP/voip-00000031 ", " HANGUP CAUSE: 18 “) in new stack
Executing [[email protected]:3] ExecIf (” PJSIP/voip-00000031 ", " 0?Set(__CRM_VOICEMAIL=) “) in new stack
Executing [[email protected]:4] NoOp (” PJSIP/voip-00000031 ", " MASTER CHANNEL: 1644776563.267 = 1644776563.267 “) in new stack
Executing [[email protected]:5] GotoIf (” PJSIP/voip-00000031 ", " 0?return “) in new stack
Executing [[email protected]:6] Set (” PJSIP/voip-00000031 ", " __CRM_HANGUP=1 “) in new stack
Executing [[email protected]:7] AGI (” PJSIP/voip-00000031 ", " agi://127.0.0.1/sangomacrm.agi “) in new stack
Stopped music on hold on Local/[email protected];2
Channel Local/[email protected];2 left ‘simple_bridge’ basic-bridge <5a8f2dac-ecd5-46de-af4c-5069b2dba0ba>
== Spawn extension (macro-dial-one, s, 56) exited non-zero on ‘Local/[email protected];2’ in macro ‘dial-one’
== Spawn extension (macro-exten-vm, s, 19) exited non-zero on ‘Local/[email protected];2’ in macro ‘exten-vm’
== Spawn extension (from-internal, 8001, 3) exited non-zero on ‘Local/[email protected];2’
Executing [[email protected]:1] Macro (” Local/[email protected];2 ", " hangupcall “) in new stack
Executing [[email protected]:1] GotoIf (” Local/[email protected];2 ", " 1?theend “) in new stack
Goto (macro-hangupcall,s,3)
Executing [[email protected]:3] ExecIf (” Local/[email protected];2 ", " 0?Set(CDR(recordingfile)=) “) in new stack
Channel PJSIP/8001-00000032 left ‘simple_bridge’ basic-bridge <5a8f2dac-ecd5-46de-af4c-5069b2dba0ba>
PJSIP/8001-00000032 Internal Gosub(crm-hangup,s,1) start
Executing [[email protected]:1] NoOp (” PJSIP/8001-00000032 ", " Sending Hangup to CRM “) in new stack
Executing [[email protected]:2] NoOp (” PJSIP/8001-00000032 ", " HANGUP CAUSE: 18 “) in new stack
Executing [[email protected]:3] ExecIf (” PJSIP/8001-00000032 ", " 0?Set(__CRM_VOICEMAIL=) “) in new stack
Executing [[email protected]:4] NoOp (” PJSIP/8001-00000032 ", " MASTER CHANNEL: 1644776565.270 = 1644776563.267 “) in new stack
Executing [[email protected]:5] GotoIf (” PJSIP/8001-00000032 ", " 1?return “) in new stack
Goto (crm-hangup,s,8)
Executing [[email protected]:8] Return (” PJSIP/8001-00000032 “, “”) in new stack
== Spawn extension (macro-dial-one, s, 1) exited non-zero on ‘PJSIP/8001-00000032’
PJSIP/8001-00000032 Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=
Executing [[email protected]:4] NoOp (” Local/[email protected];2 ", " PJSIP/8001-00000032 montior file= “) in new stack
Executing [[email protected]:5] GotoIf (” Local/[email protected];2 ", " 1?skipagi “) in new stack
Goto (macro-hangupcall,s,7)
Executing [[email protected]:7] Hangup (” Local/[email protected];2 “, “”) in new stack
== Spawn extension (macro-hangupcall, s, 7) exited non-zero on ‘Local/[email protected];2’ in macro ‘hangupcall’
== Spawn extension (from-internal, h, 1) exited non-zero on ‘Local/[email protected];2’
<PJSIP/voip-00000031>AGI Script agi://127.0.0.1/sangomacrm.agi completed, returning 0
Executing [[email protected]:8] Return (” PJSIP/voip-00000031 ", “”) in new stack
== Spawn extension (ext-queues, h, 1) exited non-zero on ‘PJSIP/voip-00000031’
PJSIP/voip-00000031 Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=

Your log starts too late. The low level hangup has already happened.

This is typically the result of failing to set the public address or local networks correctly, in the advanced SIP settings, when you are behind NAT. There should be a log message about failing to receive a critical packet. The normal problem is that it is being sent to the private address of the Asterisk machine, rather than the public address of your network router.

Hi david,

have done that check also and can see translation and media packet loss I have included a full call log but removed DDI and ip’s numbers for security reasons.

Hopefully seeing the full log may shine some light on something being overlooked?

Part 1

Executing [[email protected]:1] Goto (" PJSIP/voip-0000004d ", " from-trunk,+44NUMBER,1 ") in new stack

Goto (from-trunk,+44NUMBER,1)
Executing [[email protected]:1] Set (" PJSIP/voip-0000004d ", " __DIRECTION=INBOUND “) in new stack
Executing [[email protected]:2] Gosub (” PJSIP/voip-0000004d ", " sub-record-check,s,1(in,+44NUMBER,dontcare) “) in new stack
Executing [[email protected]:1] GotoIf (” PJSIP/twillo-0000004d ", " 0?initialized “) in new stack
Executing [[email protected]:2] Set (” PJSIP/voip-0000004d ", " __REC_STATUS=INITIALIZED “) in new stack
Executing [[email protected]:3] Set (” PJSIP/voip-0000004d ", " NOW=1644780893 “) in new stack
Executing [[email protected]:4] Set (” PJSIP/voip-0000004d ", " __DAY=13 “) in new stack
Executing [[email protected]:5] Set (” PJSIP/voip-0000004d ", " __MONTH=02 “) in new stack
Executing [[email protected]:6] Set (” PJSIP/voip-0000004d ", " __YEAR=2022 “) in new stack
Executing [[email protected]:7] Set (” PJSIP/voip-0000004d ", " __TIMESTR=20220213-193453 “) in new stack
Executing [[email protected]:8] Set (” PJSIP/voip-0000004d ", " __FROMEXTEN=unknown “) in new stack
Executing [[email protected]:9] Set (” PJSIP/voip-0000004d ", " __MON_FMT=wav “) in new stack
Executing [[email protected]:10] NoOp (” PJSIP/voip-0000004d ", " Recordings initialized “) in new stack
Executing [[email protected]:11] ExecIf (” PJSIP/voip-0000004d ", " 0?Set(ARG3=dontcare) “) in new stack
Executing [[email protected]:12] Set (” PJSIP/voip-0000004d ", " REC_POLICY_MODE_SAVE= “) in new stack
Executing [[email protected]:13] ExecIf (” PJSIP/voip-0000004d ", " 0?Set(REC_STATUS=NO) “) in new stack
Executing [[email protected]:14] GotoIf (” PJSIP/voip-0000004d ", " 2?checkaction “) in new stack
Goto (sub-record-check,s,17)
Executing [[email protected]:17] GotoIf (” PJSIP/voip-0000004d ", " 1?sub-record-check,in,1 “) in new stack
Goto (sub-record-check,in,1)
Executing [[email protected]:1] NoOp (” PJSIP/voip-0000004d ", " Inbound Recording Check to +44NUMBER “) n new stack
Executing [[email protected]:2] Set (” PJSIP/voip-0000004d ", " FROMEXTEN=unknown “) in new stack
Executing [[email protected]:3] ExecIf (” PJSIP/voip-0000004d ", " 13?Set(FROMEXTEN=+44NUMBER) “) in new stack
Executing [[email protected]:4] Gosub (” PJSIP/voip-0000004d ", " recordcheck,1(dontcare,in,+44NUMBER) “) in new stack
Executing [[email protected]:1] NoOp (” PJSIP/voip-0000004d ", " Starting recording check against dontcare “) in new stack
Executing [[email protected]:2] Goto (” PJSIP/voip-0000004d ", " dontcare “) in new stack
Goto (sub-record-check,recordcheck,3)
Executing [[email protected]:3] Return (” PJSIP/voip-0000004d “, “”) in new stack
Executing [[email protected]:5] Return (” PJSIP/voip-0000004d “, “”) in new stack
Executing [[email protected]:3] Set (” PJSIP/voip-0000004d ", " CHANNEL(tonezone)=uk “) in new stack
Executing [[email protected]:4] Set (” PJSIP/voip-0000004d ", " __FROM_DID=+44NUMBER “) in new stack
Executing [[email protected]:5] Set (” PJSIP/voip-0000004d ", " returnhere=1 “) in new stack
Executing [[email protected]:6] Gosub (” PJSIP/voip-0000004d ", " app-blacklist-check,s,1() “) in new stack
Executing [[email protected]:1] GotoIf (” PJSIP/voip-0000004d ", " 0?blacklisted “) in new stack
Executing [[email protected]:2] Set (” PJSIP/voip-0000004d ", " CALLED_BLACKLIST=1 “) in new stack
Executing [[email protected]:3] Return (” PJSIP/voip-0000004d “, “”) in new stack
Executing [[email protected]:7] Set (” PJSIP/voip-0000004d ", " CDR(did)=+44NUMBER “) in new stack
Executing [[email protected]:8] GotoIf (” PJSIP/voip-0000004d ", " 0? “) in new stack
Executing [[email protected]:9] ExecIf (” PJSIP/voip-0000004d ", " 0 ?Set(CALLERID(name)=+44NUMBER) “) in new stack
Executing [+44NU[email protected]:10] Set (” PJSIP/voip-0000004d ", " CHANNEL(musicclass)=corp “) in new stack
Executing [[email protected]:11] Set (” PJSIP/voip-0000004d ", " __MOHCLASS=corp “) in new stack
Executing [[email protected]:12] Set (” PJSIP/voip-0000004d ", " __REVERSAL_REJECT=FALSE “) in new stack
Executing [[email protected]:13] GotoIf (” PJSIP/voip-0000004d ", " 1?post-reverse-charge “) in new stack
Goto (from-trunk,+44NUMBER,15)
Executing [[email protected]:15] NoOp (” PJSIP/voip-0000004d “, “”) in new stack
Executing [[email protected]:16] Set (” PJSIP/voip-0000004d ", " __CALLINGNAMEPRES_SV=allowed_not_screened “) in new stack
Executing [[email protected]:17] Set (” PJSIP/voip-0000004d ", " __CALLINGNUMPRES_SV=allowed_not_screened “) in new stack
Executing [[email protected]:18] Set (” PJSIP/voip-0000004d ", " CALLERID(name-pres)=allowed_not_screened “) in new stack
Executing [[email protected]:19] Set (” PJSIP/voip-0000004d ", " CALLERID(num-pres)=allowed_not_screened “) in new stack
Executing [[email protected]:20] NoOp (” PJSIP/voip-0000004d ", " CallerID Entry Point “) in new stack
Executing [[email protected]:21] Set (” PJSIP/voip-0000004d ", " __CRM_DIRECTION=INBOUND “) in new stack
Executing [[email protected]:22] Set (” PJSIP/voip-0000004d ", " __CRM_SOURCE=+447888020899 “) in new stack
Executing [[email protected]:23] Set (” PJSIP/voip-0000004d ", " __CRM_LINKEDID=1644780893.318 “) in new stack
Executing [[email protected]:24] AGI (” PJSIP/voip-0000004d ", " agi://127.0.0.1/sangomacrm.agi,true “) in new stack
<PJSIP/voip-0000004d>AGI Script agi://127.0.0.1/sangomacrm.agi completed, returning 0
Executing [[email protected]:25] ExecIf (” PJSIP/voip-0000004d ", " 1?Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1) “) in new stack
Executing [[email protected]:26] Goto (” PJSIP/voip-0000004d ", " ext-queues,700,1 “) in new stack
Goto (ext-queues,700,1)
Executing [[email protected]:1] Macro (” PJSIP/voip-0000004d ", " user-callerid, “) in new stack
Executing [[email protected]:1] Set (” PJSIP/voip-0000004d “, " TOUCH_MONITOR=1644780893.318 “) in new stack
Executing [[email protected]:2] Set (” PJSIP/voip-0000004d “, " AMPUSER= +44NUMBER”) in new stack
Executing [[email protected]:3] Set (” PJSIP/voip-0000004d ", " HOTDESCKCHAN=voip-0000004d “) in new stack
Executing [[email protected]:4] Set (” PJSIP/voip-0000004d ", " HOTDESKEXTEN=VOIP “) in new stack
Executing [[email protected]:5] Set (” PJSIP/voip-0000004d ", " HOTDESKCALL=0 “) in new stack
Executing [[email protected]:6] ExecIf (” PJSIP/voip-0000004d ", " 0?Set(HOTDESKCALL=1) “) in new stack
Executing [[email protected]:7] ExecIf (” PJSIP/voip-0000004d ", " 0?Set(CALLERID(name)=) “) in new stack
Executing [[email protected]:8] GotoIf (” PJSIP/voip-0000004d ", " 0?report “) in new stack
Executing [[email protected]:9] ExecIf (” PJSIP/voip-0000004d ", " 1?Set(REALCALLERIDNUM= +44NUMBER ) “) in new stack
Executing [[email protected]:10] Set (” PJSIP/voip-0000004d ", " AMPUSER= “) in new stack
Executing [[email protected]:11] GotoIf (” PJSIP/voip-0000004d ", " 0?limit “) in new stack
Executing [[email protected]:12] Set (” PJSIP/voip-0000004d ", " AMPUSERCIDNAME= “) in new stack
Executing [[email protected]:13] ExecIf (” PJSIP/voip-0000004d ", " 0?Set(__CIDMASQUERADING=TRUE) “) in new stack
Executing [[email protected]:14] GotoIf (” PJSIP/voip-0000004d ", " 1?report “) in new stack
Goto (macro-user-callerid,s,23)
Executing [[email protected]:23] NoOp (” PJSIP/voip-0000004d ", " Macro Depth is 1 “) in new stack
Executing [[email protected]:24] GotoIf (” PJSIP/voip-0000004d ", " 1?report2:macroerror “) in new stack
Goto (macro-user-callerid,s,25)
Executing [[email protected]:25] GotoIf (” PJSIP/voip-0000004d ", " 0?continue “) in new stack
Executing [[email protected]:26] ExecIf (” PJSIP/voip-0000004d “, " 1?Set(__CALLEE_ACCOUNCODE=) “) in new stack
Executing [[email protected]:27] Set (” PJSIP/voip-0000004d “, " __TTL=64 “) in new stack
Executing [[email protected]:28] GotoIf (” PJSIP/voip-0000004d “, " 1?continue “) in new stack
Goto (macro-user-callerid,s,44)
Executing [[email protected]:44] Set (” PJSIP/voip-0000004d “, " CALLERID(number)= +44NUMBER”) in new stack
Executing [[email protected]:45] Set (” PJSIP/voip-0000004d “, " CALLERID(name)= +44NUMBER”) in new stack
Executing [[email protected]:46] GotoIf (” PJSIP/voip-0000004d “, " 0?cnum “) in new stack
Executing [[email protected]:47] Set (” PJSIP/voip-0000004d “, " CDR(cnam)= +44NUMBER”) in new stack
Executing [[email protected]:48] Set (” PJSIP/voip-0000004d “, " CDR(cnum)= +44NUMBER”) in new stack
Executing [[email protected]:49] Set (” PJSIP/voip-0000004d ", " CHANNEL(language)=en_GB “) in new stack
Executing [[email protected]:2] Answer (” PJSIP/voip-0000004d “, “”) in new stack
Executing [[email protected]:3] Macro (” PJSIP/voip-0000004d ", " blkvm-set,reset “) in new stack
Executing [[email protected]:1] ExecIf (” PJSIP/voip-0000004d ", " 1?Set(__BLKVM_CHANNEL=PJSIP/voip-0000004d) “) in new stack
Executing [[email protected]:2] Set (” PJSIP/voip-0000004d ", " SHARED(BLKVM,PJSIP/voip-0000004d)=TRUE “) in new stack
Executing [[email protected]:3] Set (” PJSIP/voip-0000004d ", " GOSUB_RETVAL=TRUE “) in new stack
Executing [[email protected]:4] MacroExit (” PJSIP/voip-0000004d “, “”) in new stack
Executing [[email protected]:4] ExecIf (” PJSIP/voip-0000004d ", " 1?Set(_DIAL_OPTIONS=HhTtrM(auto-blkvm)) “) in new stack
Executing [[email protected]:5] Set (” PJSIP/voip-0000004d ", " __NODEST=700 “) in new stack
Executing [[email protected]:6] Set (” PJSIP/voip-0000004d ", " __QCONTEXT=0 “) in new stack
Executing [[email protected]:7] Set (” PJSIP/voip-0000004d ", " QCIDPP= “) in new stack
Executing [[email protected]:8] Set (” PJSIP/voip-0000004d ", " VQ_CIDPP= “) in new stack
Executing [[email protected]:9] ExecIf (” PJSIP/voip-0000004d ", " 0?Macro(prepend-cid,) “) in new stack
Executing [[email protected]:10] Set (” PJSIP/voip-0000004d ", " QAINFO= “) in new stack
Executing [[email protected]:11] Set (” PJSIP/voip-0000004d ", " VQ_AINFO= “) in new stack
Executing [[email protected]:12] Set (” PJSIP/voip-0000004d ", " __RVOL_MODE=dontcare “) in new stack
Executing [[email protected]:13] ExecIf (” PJSIP/voip-0000004d ", " 0?Set(__ALERT_INFO=) “) in new stack
Executing [[email protected]:14] Set (” PJSIP/voip-0000004d ", " QJOINMSG=custom/We-apologise-irish “) in new stack
Executing [[email protected]:15] Set (” PJSIP/voip-0000004d ", " VQ_JOINMSG= “) in new stack
Executing [[email protected]:16] Set (” PJSIP/voip-0000004d ", " QCANCELMISSED= “) in new stack
Executing [[email protected]:17] Set (” PJSIP/voip-0000004d ", " QRINGOPTS=R “) in new stack
Executing [[email protected]:18] Set (” PJSIP/voip-0000004d ", " QRETRY= “) in new stack
Executing [[email protected]:19] Set (” PJSIP/voip-0000004d ", " VQ_RETRY= “) in new stack
Executing [[email protected]:20] Set (” PJSIP/voip-0000004d ", " QOPTIONS=tR “) in new stack
Executing [[email protected]:21] Set (” PJSIP/voip-0000004d ", " VQ_OPTIONS= “) in new stack
Executing [[email protected]:22] Set (” PJSIP/voip-0000004d ", " QGOSUB= “) in new stack
Executing [[email protected]:23] Set (” PJSIP/voip-0000004d ", " VQ_GOSUB= “) in new stack
Executing [[email protected]:24] Set (” PJSIP/voip-0000004d ", " QAGI= “) in new stack
Executing [[email protected]:25] Set (” PJSIP/voip-0000004d ", " VQ_AGI= “) in new stack
Excuting [[email protected]:26] Set (” PJSIP/voip-0000004d ", " QRULE= “) in new stack
Executing [[email protected]:27] Set (” PJSIP/voip-0000004d ", " VQ_RULE= “) in new stack
Executing [[email protected]:28] Set (” PJSIP/voip-0000004d ", " QPOSITION= “) in new stack
Executing [[email protected]:29] Set (” PJSIP/voip-0000004d ", " VQ_POSITION= “) in new stack
Executing [[email protected]:30] Gosub (” PJSIP/voip-0000004d ", " sub-record-check,s,1(q,700,dontcare) “) in new stack
Executing [[email protected]:1] GotoIf (” PJSIP/voip-0000004d ", " 13?initialized “) in new stack
Goto (sub-record-check,s,10)
Excuting [[email protected]:10] NoOp (” PJSIP/voip-0000004d ", " Recordings initialized “) in new stack
Executing [[email protected]:11] ExecIf (” PJSIP/voip-0000004d ", " 0?Set(ARG3=dontcare) “) in new stack
Executing [[email protected]:12] Set (” PJSIP/voip-0000004d ", " REC_POLICY_MODE_SAVE= “) in new stack
Executing [[email protected]:13] ExecIf (” PJSIP/voip-0000004d ", " 0?Set(REC_STATUS=NO) “) in new stack
Executing [[email protected]:14] GotoIf (” PJSIP/voip-0000004d ", " 1?checkaction “) in new stack
Goto (sub-record-check,s,17)
Executing [[email protected]:17] GotoIf (” PJSIP/voip-0000004d ", " 0?sub-record-check,q,1 “) in new stack
Executing [[email protected]:18] NoOp (” PJSIP/voip-0000004d ", " Generic q Recording Check - +44NUMBER 700 “) in new stack
Executing [[email protected]:19] Gosub (” PJSIP/voip-0000004d ", " recordcheck,1(dontcare,q,700) “) in new stack
Executing [[email protected]:1] NoOp (” PJSIP/voip-0000004d ", " Starting recording check against dontcare “) in new stack
Executing [[email protected]:2] Goto (” PJSIP/voip-0000004d ", " dontcare “) in new stack
Goto (sub-record-check,recordcheck,3)
Executing [[email protected]:3] Return (” PJSIP/voip-0000004d “, “”) in new stack
Executing [[email protected]:20] Return (” PJSIP/voip-0000004d “, “”) in new stack
Executing [[email protected]:31] Set (” PJSIP/voip-0000004d ", " __CWIGNORE=TRUE “) in new stack
Executing [[email protected]:32] Set (” PJSIP/voip-0000004d ", " __SIGNORE=TRUE “) in new stack
Executing [[email protected]:33] Set (” PJSIP/voip-0000004d ", " __QC_CONFIRM=0 “) in new stack
Executing [[email protected]:34] GotoIf (” PJSIP/voip-0000004d ", " 0?QVQANNOUNCE:NOQVQANNOUNCE “) in new stack
Goto (ext-queues,700,39)
Excuting [[email protected]:39] Set (” PJSIP/voip-0000004d ", " VQ_CONFIRMMSG= “) in new stack
Executing [[email protected]:40] ExecIf (” PJSIP/voip-0000004d ", " 0?Playback(custom/We-apologise-irish, ) “) in new stack
Executing [[email protected]:41] QueueLog (” PJSIP/voip-0000004d ", " 700,1644780893.318,NONE,DID,+44NUMBER “) in new stack
Executing [[email protected]:42] Set (” PJSIP/voip-0000004d ", " QAANNOUNCE= “) in new stack
Executing [[email protected]:43] Set (” PJSIP/voip-0000004d ", " VQ_AANNOUNCE= “) in new stack
Executing [[email protected]:44] Set (” PJSIP/voip-0000004d ", " QMOH=corp “) in new stack
Executing [[email protected]:45] Set (” PJSIP/voip-0000004d ", " VQ_MOH= “) in new stack
Executing [[email protected]:46] ExecIf (” PJSIP/voip-0000004d ", " 1?Set(__MOHCLASS=corp) “) in new stack
Executing [[email protected]:47] ExecIf (” PJSIP/voip-0000004d ", " 1?Set(CHANNEL(musicclass)=corp) “) in new stack
Executing [[email protected]:48] Set (” PJSIP/voip-0000004d ", " QMAXWAIT= “) in new stack
Executing [[email protected]:49] Set (” PJSIP/voip-0000004d ", " VQ_MAXWAIT= “) in new stack
Executing [[email protected]:50] Set (” PJSIP/voip-0000004d ", " QUEUENUM=700 “) in new stack
Executing [[email protected]:51] Set (” PJSIP/voip-0000004d ", " QUEUEJOINTIME=1644780894 “) in new stack
Executing [[email protected]:52] Queue (” PJSIP/voip-0000004d ", " 700,tR, ") in

part 2 of the log

new stack
Started music on hold, class ‘corp’, on channel ‘PJSIP/voip-0000004d’
Caled Local/[email protected]/n
– LazyMembers debugging - Numbusies: 0, Nummems: 1
Executing [[email protected]:1] Set (" Local/[email protected];2 ", " QAGENT=8001 “) in new stack
Executing [[email protected]:2] Set (” Local/[email protected];2 ", " __FROMQ=true “) in new stack
Executing [[email protected]:3] GotoIf (” Local/[email protected];2 ", " 0?hangup “) in new stack
Executing [[email protected]:4] GotoIf (” Local/[email protected];2 ", " 1?700,1:hangup “) in new stack
Goto (from-queue,700,1)
Executing [[email protected]:1] Goto (” Local/[email protected];2 ", " from-internal,8001,1 “) in new stack
Goto (from-internal,8001,1)
Executing [[email protected]:1] Set (” Local/[email protected];2 ", " __RINGTIMER=15 “) in new stack
Executing [[email protected]:2] ExecIf (” Local/[email protected];2 ", " 0?Set(__CWIGNORE=) “) in new stack
Executing [[email protected]:3] Macro (” Local/[email protected];2 ", " exten-vm,novm,8001,0,0,0 “) in new stack
Executing [[email protected]:1] Macro (” Local/[email protected];2 ", " user-callerid, “) in new stack
Executing [[email protected]:1] Set (” Local/[email protected];2 “, " TOUCH_MONITOR=1644780894.320 “) in new stack
Executing [[email protected]:2] Set (” Local/[email protected];2 “, " AMPUSER= +44NUMBER”) in new stack
Executing [[email protected]:3] Set (” Local/[email protected];2 ", " [email protected];2 “) in new stack
Executing [[email protected]:4] Set (” Local/[email protected];2 ", " [email protected] “) in new stack
Executing [[email protected]:5] Set (” Local/[email protected];2 ", " HOTDESKCALL=0 “) in new stack
Executing [[email protected]:6] ExecIf (” Local/[email protected];2 ", " 0?Set(DOTDESKCALL=1) “) in new stack
Executing [[email protected]:7] ExecIf (” Local/[email protected];2 ", " 0?Set(CALLERID(name)=) “) in new stack
Executing [[email protected]:8] GotoIf (” Local/[email protected];2 ", " 1?report “) in new stack
Goto (macro-user-callerid,s,23)
Executing [[email protected]:23] NoOp (” Local/[email protected];2 ", " Macro Depth is 2 “) in new stack
Executing [[email protected]:24] GotoIf (” Local/[email protected];2 ", " 1?report2:macroerror “) in new stack
Goto (macro-user-callerid,s,25)
Executing [[email protected]:25] GotoIf (” Local/[email protected];2 ", " 0?continue “) in new stack
Executing [[email protected]:26] ExecIf (” Local/[email protected];2 “, " 1?Set(__CALLEE_ACCOUNCODE=) “) in new stack
Executing [[email protected]:27] Set (” Local/[email protected];2 “, " __TTL=63 “) in new stack
Executing [[email protected]:28] GotoIf (” Local/[email protected];2 “, " 1?continue “) in new stack
Goto (macro-user-callerid,s,44)
Executing [[email protected]:44] Set (” Local/[email protected];2 “, " CALLERID(number)=+ +44NUMBER”) in new stack
Executing [[email protected]:45] Set (” Local/[email protected];2 “, " CALLERID(name)= +44NUMBER”) in new stack
Executing [[email protected]:46] GotoIf (” Local/[email protected];2 “, " 0?cnum “) in new stack
Executing [[email protected]:47] Set (” Local/[email protected];2 “, " CDR(cnam)= +44NUMBER”) in new stack
Executing [[email protected]:48] Set (” Local/[email protected];2 “, " CDR(cnum)= +44NUMBER”) in new stack
Executing [[email protected]:49] Set (” Local/[email protected];2 ", " CHANNEL(language)=en_GB “) in new stack
Executing [[email protected]:2] Set (” Local/[email protected];2 ", " RingGroupMethod=none “) in new stack
Executing [[email protected]:3] Set (” Local/[email protected];2 ", " __EXTTOCALL=8001 “) in new stack
Executing [[email protected]:4] Set (” Local/[email protected];2 ", " __PICKUPMARK=8001 “) in new stack
Executing [[email protected]:5] Set (” Local/[email protected];2 ", " RT= “) in new stack
[2022-02-13 19:34:54] WARNING [28833][C-0000002e]: chan_sip.c : 23254 func_header_read : This function can only be used on SIP channels.
Executing [[email protected]:6] ExecIf (” Local/[email protected];2 ", " 0?Macro(vm,novm,DIRECTDIAL,) “) in new stack
[2022-02-13 19:34:54] WARNING [28833][C-0000002e]: chan_sip.c : 23254 func_header_read : This function can only be used on SIP channels.
[2022-02-13 19:34:54] WARNING [28833][C-0000002e]: chan_sip.c : 23254 func_header_read : This function can only be used on SIP channels.
Executing [[email protected]:7] ExecIf (” Local/[email protected];2 ", " 0?MacroExit() “) in new stack
[2022-02-13 19:34:54] WARNING [28833][C-0000002e]: chan_sip.c : 23254 func_header_read : This function can only be used on SIP channels.
[2022-02-13 19:34:54] WARNING [28833][C-0000002e]: chan_sip.c : 23254 func_header_read : This function can only be used on SIP channels.
Executing [[email protected]:8] ExecIf (” Local/[email protected];2 ", " 0?Gosub(ext-intercom,nointercom8001,1()) “) in new stack
[2022-02-13 19:34:54] WARNING [28833][C-0000002e]: chan_sip.c : 23254 func_header_read : This function can only be used on SIP channels.
[2022-02-13 19:34:54] WARNING [28833][C-0000002e]: chan_sip.c : 23254 func_header_read : This function can only be used on SIP channels.
Executing [[email protected]:9] ExecIf (” Local/[email protected];2 ", " 0?MacroExit() “) in new stack
[2022-02-13 19:34:54] WARNING [28833][C-0000002e]: chan_sip.c : 23254 func_header_read : This function can only be used on SIP channels.
[2022-02-13 19:34:54] WARNING [28833][C-0000002e]: chan_sip.c : 23254 func_header_read : This function can only be used on SIP channels.
Executing [[email protected]:10] ExecIf (” Local/[email protected];2 ", " 0?ChanSpy(PJSIP/8001,q) “) in new stack
[2022-02-13 19:34:54] WARNING [28833][C-0000002e]: chan_sip.c : 23254 func_header_read : This function can only be used on SIP channels.
[2022-02-13 19:34:54] WARNING [28833][C-0000002e]: chan_sip.c : 23254 func_header_read : This function can only be used on SIP channels.
Executing [[email protected]:11] ExecIf (” Local/[email protected];2 ", " 0?MacroExit() “) in new stack
[2022-02-13 19:34:54] WARNING [28833][C-0000002e]: chan_sip.c : 23254 func_header_read : This function can only be used on SIP channels.
[2022-02-13 19:34:54] ERROR [28833][C-0000002e]: res_pjsip_header_funcs.c : 454 func_read_header : This function requires a PJSIP channel.
Executing [[email protected]:12] ExecIf (” Local/[email protected];2 ", " 0?Macro(vm,novm,DIRECTDIAL,) “) in new stack
[2022-02-13 19:34:54] ERROR [28833][C-0000002e]: res_pjsip_header_funcs.c : 454 func_read_header : This function requires a PJSIP channel.
[2022-02-13 19:34:54] ERROR [28833][C-0000002e]: res_pjsip_header_funcs.c : 454 func_read_header : This function requires a PJSIP channel.
Executing [[email protected]:13] ExecIf (” Local/[email protected];2 ", " 0?MacroExit() “) in new stack
[2022-02-13 19:34:54] ERROR [28833][C-0000002e]: res_pjsip_header_funcs.c : 454 func_read_header : This function requires a PJSIP channel.
[2022-02-13 19:34:54] ERROR [28833][C-0000002e]: res_pjsip_header_funcs.c : 454 func_read_header : This function requires a PJSIP channel.
Executing [[email protected]:14] ExecIf (” Local/[email protected];2 ", " 0?Gosub(ext-intercom,nointercom8001,1()) “) in new stack
[2022-02-13 19:34:54] ERROR [28833][C-0000002e]: res_pjsip_header_funcs.c : 454 func_red_header : This function requires a PJSIP channel.
[2022-02-13 19:34:54] ERROR [28833][C-0000002e]: res_pjsip_header_funcs.c : 454 func_read_header : This function requires a PJSIP channel.
Executing [[email protected]:15] ExecIf (” Local/[email protected];2 ", " 0?MacroExit() “) in new stack
[2022-02-13 19:34:54] ERROR [28833][C-0000002e]: res_pjsip_header_funcs.c : 454 func_read_header : This function requires a PJSIP channel.
[2022-02-13 19:34:54] ERROR [28833][C-0000002e]: res_pjsip_header_funcs.c : 454 func_read_header : This function requires a PJSIP channel.
Executing [[email protected]:16] ExecIf (” Local/[email protected];2 ", " 0?ChanSpy(PJSIP/8001,q) “) in new stack
[2022-02-13 19:34:54] ERROR [28833][C-0000002e]: res_pjsip_header_funcs.c : 454 func_read_header : This function requires a PJSIP channel.
[2022-02-13 19:34:54] ERROR [28833][C-0000002e]: res_pjsip_header_funcs.c : 454 func_read_header : This function requires a PJSIP channel.
Executing [[email protected]:17] ExecIf (” Local/[email protected];2 ", " 0?MacroExit() “) in new stack
[2022-02-13 19:34:54] ERROR [28833][C-0000002e]: res_pjsip_header_funcs.c : 454 func_read_header : This function requires a PJSIP channel.
Executing [[email protected]:18] Gosub (” Local/[email protected];2 ", " sub-record-check,s,1(exten,8001,dontcare) “) in new stack
Executing [[email protected]:1] GotoIf (” Local/[email protected];2 ", " 0?initialized “) in new stack
Executing [[email protected]:2] Set (” Local/[email protected];2 ", " __REC_STATUS=INITIALIZED “) in new stack
Executing [[email protected]:3] Set (” Local/[email protected];2 ", " NOW=1644780894 “) in new stack
Executing [[email protected]:4] Set (” Local/[email protected];2 ", " __DAY=13 “) in new stack
Executing [[email protected]:5] Set (” Local/[email protected];2 ", " __MONTH=02 “) in new stack
Executing [[email protected]:6] Set (” Local/[email protected];2 ", " __YEAR=2022 “) in new stack
Executing [[email protected]:7] Set (” Local/[email protected];2 ", " __TIMESTR=20220213-193454 “) in new stack
Executing [[email protected]:8] Set (” Local/[email protected];2 ", " __FROMEXTEN=+447888020899 “) in new stack
Executing [[email protected]:9] Set (” Local/[email protected];2 ", " __MON_FMT=wav “) in new stack
Executing [[email protected]:10] NoOp (” Local/[email protected];2 ", " Recordings initialized “) in new stack
Executing [[email protected]:11] ExecIf (” Local/[email protected];2 ", " 0?Set(ARG3=dontcare) “) in new stack
Executing [[email protected]:12] Set (” Local/[email protected];2 ", " REC_POLICY_MODE_SAVE= “) in new stack
Executing [[email protected]:13] ExecIf (” Local/[email protected];2 ", " 0?Set(REC_STATUS=NO) “) in new stack
Executing [[email protected]:14] GotoIf (” Local/[email protected];2 ", " 5?checkaction “) in new stack
Goto (sub-record-check,s,17)
Executing [[email protected]:17] GotoIf (” Local/[email protected];2 ", " 1?sub-record-check,exten,1 “) in new stack
Goto (sub-record-check,exten,1)
Executing [[email protected]:1] NoOp (” Local/[email protected];2 ", " Exten Recording Check between +447888020899 and 8001 “) in new stack
Executing [[email protected]:2] Set (” Local/[email protected];2 ", " CALLTYPE=external “) in new stack
Executing [[email protected]:3] ExecIf (” Local/[email protected];2 ", " 0?Set(CALLTYPE=) “) in new stack
Executing [[email protected]:4] Set (” Local/[email protected];2 ", " CALLEE=dontcare “) in new stack
Executing [[email protected]:5] ExecIf (” Local/[email protected];2 ", " 0?Set(CALLEE=dontcare) “) in new stack
Excuting [[email protected]:6] GotoIf (” Local/[email protected];2 ", " 1?callee ") in new stack

part 3

Goto (sub-record-check,exten,11)
Executing [[email protected]:11] Gosub (" Local/[email protected];2 ", " recordcheck,1(dontcare,external,8001) “) in new stack
Executing [[email protected]:1] NoOp (” Local/[email protected];2 ", " Starting recording check against dontcare “) in new stack
Executing [[email protected]:2] Goto (” Local/[email protected];2 ", " dontcare “) in new stack
Goto (sub-record-check,recordcheck,3)
Excuting [[email protected]:3] Return (” Local/[email protected];2 “, “”) in new stack
Excuting [[email protected]:12] Return (” Local/[email protected];2 “, “”) in newstack
Executing [[email protected]:19] Macro (” Local/[email protected];2 ", " dial-one,HhTtrM(auto-blkvm),8001 “) in new stack
Executing [[email protected]:1] Set (” Local/[email protected];2 “, " DEXTEN=8001 “) in new stack
Executing [[email protected]:2] Set (” Local/[email protected];2 “, " __CRM_SOURCE= +44NUMBER”) in new stack
Executing [[email protected]:3] ExecIf (” Local/[email protected];2 ", " 0?Set(__EXTTOCALL=8001) “) in new stack
Executing [[email protected]:4] Set (” Local/[email protected];2 ", " DIALSTATUS_CW= “) in new stack
Executing [[email protected]:5] GosubIf (” Local/[email protected];2 ", " 0?screen,1() “) in new stack
Executing [[email protected]:6] GosubIf (” Local/[email protected];2 ", " 0?cf,1() “) in new stack
Executing [[email protected]:7] GotoIf (” Local/[email protected];2 ", " 1?skip1 “) in new stack
Goto (macro-dial-one,s,10)
Excuting [[email protected]:10] GotoIf (” Local/[email protected];2 ", " 0?nodial “) in new stack
Executing [[email protected]:11] GotoIf (” Local/[email protected];2 ", " 0?continue “) in new stack
Executing [[email protected]:12] Set (” Local/[email protected];2 ", " EXTHASCW= “) in new stack
Executing [[email protected]:13] GotoIf (” Local/[email protected];2 ", " 1?next1:cwinusebusy “) in new stack
Goto (macro-dial-one,s,14)
Executing [[email protected]:14] GotoIf (” Local/[email protected];2 ", " 0?docfu:skip3 “) in new stack
Goto (macro-dial-one,s,18)
Executing [[email protected]:18] GotoIf (” Local/[email protected];2 ", " 1?next2:continue “) in new stack
Goto (macro-dial-one,s,19)
Executing [[email protected]:19] GotoIf (” Local/[email protected];2 ", " 1?continue “) in new stack
Goto (macro-dial-one,s,27)
Executing [[email protected]:27] GotoIf (” Local/[email protected];2 ", " 0?nodial “) in new stack
Executing [[email protected]:28] GosubIf (” Local/[email protected];2 ", " 1?dstring,1():dlocal,1() “) in new stack
Executing [[email protected]:1] Set (” Local/[email protected];2 ", " DSTRING= “) in new stack
Executing [[email protected]:2] Set (” Local/[email protected];2 ", " DEVICES=8001 “) in new stack
Executing [[email protected]:3] ExecIf (” Local/[email protected];2 ", " 0?Return() “) in new stack
Executing [[email protected]:4] ExecIf (” Local/[email protected];2 ", " 0?Set(DEVICES=001) “) in new stack
Executing [[email protected]:5] Set (” Local/[email protected];2 ", " LOOPCNT=1 “) in new stack
Executing [[email protected]:6] Set (” Local/[email protected];2 ", " ITER=1 “) in new stack
Executing [[email protected]:7] Set (” Local/[email protected];2 ", " THISDIAL=PJSIP/8001 “) in new stack
Executing [[email protected]:8] GotoIf (” Local/[email protected]00077;2 ", " 0?docheck “) in new stack
Executing [[email protected]:9] NoOp (” Local/[email protected];2 ", " Debug: Found PJSIP Destination PJSIP/8001 “) in new stack
Executing [[email protected]:10] GotoIf (” Local/[email protected];2 ", " 0?doset “) in new stack
Executing [[email protected]:11] NoOp (” Local/[email protected];2 ", " Debug: Updating PJSIP Destination with PJSIP_DIAL_CONTACTS “) in new stack
Executing [[email protected]:12] Set (” Local/[email protected];2 ", " THISDIAL=PJSIP/8001/sip:[email protected]:12049;transport=TCP “) in new stack
Executing [[email protected]:13] ExecIf (” Local/[email protected];2 ", " 0?Set(DIALSTATUS=CHANUNAVAIL) “) in new stack
Executing [[email protected]:14] GotoIf (” Local/[email protected];2 ", " 0?skipset “) in new stack
Executing [[email protected]:15] Set (” Local/[email protected];2 ", " DSTRING=PJSIP/8001/sip:[email protected]:12049;transport=TCP& “) in new stack
Executing [[email protected]:16] Set (” Local/[email protected];2 ", " ITER=2 “) in new stack
Executing [[email protected]:17] GotoIf (” Local/[email protected];2 ", " 0?begin “) in new stack
Executing [[email protected]:18] ExecIf (” Local/[email protected];2 ", " 0?Return() “) in new stack
Executing [[email protected]:19] Set (” Local/[email protected];2 ", " DSTRING=PJSIP/8001/sip:[email protected]:12049;transport=TCP “) in new stack
Executing [[email protected]:20] Return (” Local/[email protected];2 “, “”) in new stack
Executing [[email protected]:29] GotoIf (” Local/[email protected];2 ", " 0?nodial “) in new stack
Executing [[email protected]:30] GotoIf (” Local/[email protected];2 ", " 0?skiptrace “) in new stack
Executing [[email protected]:31] GosubIf (” Local/[email protected];2 “, " 1?ctset,1():ctclear,1() “) in new stack
Executing [[email protected]:1] Set (” Local/[email protected];2 “, " DB(CALLTRACE/8001)= +44NUMBER”) in new stack
Executing [[email protected]:2] Return (” Local/[email protected];2 “, “”) in new stack
Executing [[email protected]:32] Set (” Local/[email protected];2 ", " D_OPTIONS=HhTtrM(auto-blkvm) “) in new stack
Executing [[email protected]:33] GosubIf (” Local/[email protected];2 ", " 0?func-set-sipheader,s,1(Alert-Info,) “) in new stack
Executing [[email protected]:34] NoOp (” Local/[email protected];2 ", " Blind Transfer: , Attended Transfer: , User: +44NUMBER , Alert Info: “) in new stack
Executing [[email protected]:35] ExecIf (” Local/[email protected];2 ", " 1?Set(ALERT_INFO=) “) in new stack
Executing [[email protected]:36] ExecIf (” Local/[email protected];2 ", " 0?Set(ALERT_INFO=) “) in new stack
Executing [[email protected]:37] ExecIf (” Local/[email protected];2 ", " 0?Set(ALERT_INFO=) “) in new stack
Executing [[email protected]:38] ExecIf (” Local/[email protected];2 ", " 0?Set(ALERT_INFO=Normal;volume=) “) in new stack
Executing [[email protected]:39] ExecIf (” Local/[email protected];2 ", " 0?Set(ALERT_INFO=Normal;volume=) “) in new stack
Executing [[email protected]:40] GosubIf (” Local/[email protected];2 ", " 0?func-set-sipheader,s,1(Alert-Info,) “) in new stack
Executing [[email protected]:41] ExecIf (” Local/[email protected];2 ", " 1?Set(CHANNEL(musicclass)=corp) “) in new stack
Executing [[email protected]:42] GosubIf (” Local/[email protected];2 ", " 0?qwait,1() “) in new stack
Executing [[email protected]:43] Set (” Local/[email protected];2 ", " __CWIGNORE=TRUE “) in new stack
Executing [[email protected]:44] Set (” Local/[email protected];2 ", " __KEEPCID=TRUE “) in new stack
Executing [[email protected]:45] GotoIf (” Local/[email protected];2 ", " 0?usegoto,1 “) in new stack
Executing [[email protected]:46] GotoIf (” Local/[email protected];2 ", " 1?godial “) in new stack
Goto (macro-dial-one,s,51)
Executing [[email protected]:51] Macro (” Local/[email protected];2 ", " dialout-one-predial-hook, “) in new stack
Executing [[email protected]:1] MacroExit (” Local/[email protected];2 “, “”) in new stack
Executing [[email protected]:52] ExecIf (” Local/[email protected];2 ", " 1?Set(D_OPTIONS=HhtrM(auto-blkvm)I) “) in new stack
Executing [[email protected]:53] ExecIf (” Local/[email protected];2 ", " 0?Set(CWRING=r(callwaiting)):Set(CWRING=) “) in new stack
Executing [[email protected]:54] NoOp (” Local/[email protected];2 “, “”) in new stack
Executing [[email protected]:55] ExecIf (” Local/[email protected];2 ", " 0?Set(D_OPTIONS=HhtrM(auto-blkvm)Ig) “) in new stack
Executing [[email protected]:56] Dial (” Local/[email protected];2 ", " PJSIP/8001/sip:[email protected]:12049;transport=TCP,HhtrM(auto-blkvm)Ib(func-apply-sipheaders^s^1) “) in new stack
PJSIP/8001-0000004e Internal Gosub(func-apply-sipheaders,s,1) start
Executing [[email protected]ly-sipheaders:1] ExecIf (” PJSIP/8001-0000004e ", " 1?Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1) “) in new stack
Executing [[email protected]:2] NoOp (” PJSIP/8001-0000004e ", " Applying SIP Headers to channel PJSIP/8001-0000004e “) in new stack
Executing [[email protected]:3] Set (” PJSIP/8001-0000004e ", " TECH=PJSIP “) in new stack
Executing [[email protected]:4] Set (” PJSIP/8001-0000004e ", " SIPHEADERKEYS= “) in new stack
Executing [[email protected]:5] While (” PJSIP/8001-0000004e ", " 0 “) in new stack
Jumping to priority 13
Executing [[email protected]:14] Return (” PJSIP/8001-0000004e “, “”) in new stack
== Spawn extension (from-internal, 8001, 1) exited non-zero on ‘PJSIP/8001-0000004e’
PJSIP/8001-0000004e Internal Gosub(func-apply-sipheaders,s,1) complete GOSUB_RETVAL=
Called PJSIP/8001/sip:[email protected]:12049;transport=TCP
Local/[email protected];1 is ringing
Stopped music on hold on PJSIP/voip-0000004d
== Using SIP RTP Audio TOS bits 184
== Using SIP RTP Audio TOS bits 184 in TCLASS field.
== Using SIP RTP Audio CoS mark 5
Connected line update to Local/[email protected];2 prevented.
PJSIP/8001-0000004e is ringing
Local/[email protected];1 is ringing
PJSIP/8001-0000004e answered Local/[email protected];2
Executing [[email protected]:1] ExecIf (” PJSIP/8001-0000004e ", " 0?Set(CDR(recordingfile)=.wav) “) in new stack
Executing [[email protected]:2] Set (” PJSIP/8001-0000004e ", " __MACRO_RESULT= “) in new stack
Executing [[email protected]:3] Set (” PJSIP/8001-0000004e ", " CFIGNORE= “) in new stack
Executing [[email protected]:4] Set (” PJSIP/8001-0000004e ", " MASTER_CHANNEL(CFIGNORE)= “) in new stack
Executing [[email protected]:5] Set (” PJSIP/8001-0000004e ", " FORWARD_CONTEXT=from-internal “) in new stack
Executing [[email protected]:6] Set (” PJSIP/8001-0000004e ", " MASTER_CHANNEL(FORWARD_CONTEXT)=from-internal “) in new stack
Executing [[email protected]:7] Macro (” PJSIP/8001-0000004e ", " blkvm-clr, “) in new stack
Executing [[email protected]:1] Set (” PJSIP/8001-0000004e ", " SHARED(BLKVM,PJSIP/voip-0000004d)= “) in new stack
Executing [[email protected]:2] Set (” PJSIP/8001-0000004e ", " GOSUB_RETVAL= “) in new stack
Executing [[email protected]:3] MacroExit (” PJSIP/8001-0000004e “, “”) in new stack
Executing [[email protected]:8] ExecIf (” PJSIP/8001-0000004e ", " 0?Set(MASTER_CHANNEL(CONNECTEDLINE(num))=8001/sip:[email protected]:12049;transport=TCP) “) in new stack
Executing [[email protected]:9] ExecIf (” PJSIP/8001-0000004e ", " 0?Set(MASTER_CHANNEL(CONNECTEDLINE(name))=) “) in new stack
[2022-02-13 19:35:00] WARNING [28847][C-0000002e]: features_config.c : 1366 ast_get_chan_applicationmap : Unknown DYNAMIC_FEATURES item ‘apprecord’ on channel PJSIP/8001-0000004e.
Channel PJSIP/8001-0000004e joined ‘simple_bridge’ basic-bridge
[2022-02-13 19:35:00] WARNING [28833][C-0000002e]: features_config.c : 1366 ast_get_chan_applicationmap : Unknown DYNAMIC_FEATURES item ‘apprecord’ on channel Local/[email protected];2.
Channel Local/[email protected];2 joined ‘simple_bridge’ basic-bridge
Local/[email protected];1 answered PJSIP/voip-0000004d
<Local/[email protected];1> Playing ‘queue-reporthold.ulaw’ (language ‘en_GB’)
<Local/[email protected];1> Playing ‘digits/7.ulaw’ (language ‘en_GB’)
<Local/[email protected];1> Playing ‘queue-seconds.ulaw’ (language ‘en_GB’)
[2022-02-13 19:35:03] WARNING [28821][C-0000002e]: features_config.c : 1366 ast_get_chan_applicationmap : Unknown DYNAMIC_FEATURES item ‘apprecord’ on channel PJSIP/voip-0000004d.
[2022-02-13 19:35:03] WARNING [28854][C-0000002e]: features_config.c : 1366 ast_get_chan_applicationmap : Unknown DYNAMIC_FEATURES item ‘apprecord’ on channel Local/[email protected];1.
Channel Local/[email protected];1 joined ‘simple_bridge’ basic-bridge <145ab218-9765-4309-af9e-71bdebac82e9>
[2022-02-13 19:35:03] WARNING [28821][C-0000002e]: features_config.c : 1366 ast_get_chan_applicationmap : Unknown DYNAMIC_FEATURES item ‘apprecord’ on channel PJSIP/voip-0000004d.
Channel PJSIP/voip-0000004d joined ‘simple_bridge’ basic-bridge <145ab218-9765-4309-af9e-71bdebac82e9>
Channel PJSIP/voip-0000004d left ‘simple_bridge’ basic-bridge <145ab218-9765-4309-af9e-71bdebac82e9>
== Spawn extension (ext-queues, 700, 52) exited non-zero on ‘PJSIP/voip-0000004d’
Executing [[email protected]:1] Macro (” PJSIP/voip-0000004d ", " hangupcall, “) in new stack
Executing [[email protected]:1] GotoIf (” PJSIP/voip-0000004d ", " 1?theend “) in new stack
Goto (macro-hangupcall,s,3)
Channel Local/[email protected];1 left ‘simple_bridge’ basic-bridge <145ab218-9765-4309-af9e-71bdebac82e9>
Channel Local/[email protected];2 left ‘simple_bridge’ basic-bridge
== Spawn extension (macro-dial-one, s, 56) exited non-zero on ‘Local/[email protected];2’ in macro ‘dial-one’
== Spawn extension (macro-exten-vm, s, 19) exited non-zero on ‘Local/[email protected];2’ in macro ‘exten-vm’
== Spawn extension (from-internal, 8001, 3) exited non-zero on ‘Local/[email protected];2’
Executing [[email protected]:1] Macro (” Local/[email protected];2 ", " hangupcall “) in new stack
Executing [[email protected]:1] GotoIf (” Local/[email protected];2 ", " 1?theend “) in new stack
Goto (macro-hangupcall,s,3)
Executing [[email protected]:3] ExecIf (” PJSIP/voip-0000004d ", " 0?Set(CDR(recordingfile)=) “) in new stack
Executing [[email protected]:4] NoOp (” PJSIP/voip-0000004d ", " Local/[email protected];1 montior file= “) in new stack
Executing [[email protected]:5] GotoIf (” PJSIP/voip-0000004d ", " 1?skipagi “) in new stack
Channel PJSIP/8001-0000004e left ‘simple_bridge’ basic-bridge
Goto (macro-hangupcall,s,7)
Executing [[email protected]:7] Hangup (” PJSIP/voip-0000004d “, “”) in new stack
== Spawn extension (macro-hangupcall, s, 7) exited non-zero on ‘PJSIP/voip-0000004d’ in macro ‘hangupcall’
PJSIP/8001-0000004e Internal Gosub(crm-hangup,s,1) start
Executing [[email protected]:1] NoOp (” PJSIP/8001-0000004e ", " Sending Hangup to CRM “) in new stack
== Spawn extension (ext-queues, h, 1) exited non-zero on ‘PJSIP/voip-0000004d’
PJSIP/voip-0000004d Internal Gosub(crm-hangup,s,1) start
Executing [[email protected]:2] NoOp (” PJSIP/8001-0000004e ", " HANGUP CAUSE: 18 “) in new stack
Executing [[email protected]:1] NoOp (” PJSIP/voip-0000004d ", " Sending Hangup to CRM “) in new stack
Executing [[email protected]:2] NoOp (” PJSIP/voip-0000004d ", " HANGUP CAUSE: 18 “) in new stack
Executing [[email protected]:3] ExecIf (” PJSIP/8001-0000004e ", " 0?Set(__CRM_VOICEMAIL=) “) in new stack
Executing [[email protected]:3] ExecIf (” PJSIP/voip-0000004d ", " 0?Set(__CRM_VOICEMAIL=) “) in new stack
Executing [[email protected]:4] NoOp (” PJSIP/voip-0000004d ", " MASTER CHANNEL: 1644780893.318 = 1644780893.318 “) in new stack
Executing [[email protected]:4] NoOp (” PJSIP/8001-0000004e ", " MASTER CHANNEL: 1644780894.321 = 1644780893.318 “) in new stack
Executing [[email protected]:5] GotoIf (” PJSIP/voip-0000004d ", " 0?return “) in new stack
Executing [[email protected]:6] Set (” PJSIP/voip-0000004d ", " __CRM_HANGUP=1 “) in new stack
Executing [[email protected]:7] AGI (” PJSIP/voip-0000004d ", " agi://127.0.0.1/sangomacrm.agi “) in new stack
Executing [[email protected]:3] ExecIf (” Local/[email protected];2 ", " 0?Set(CDR(recordingfile)=) “) in new stack
Executing [[email protected]:4] NoOp (” Local/[email protected];2 ", " PJSIP/8001-0000004e montior file= “) in new stack
Executing [[email protected]:5] GotoIf (” Local/[email protected];2 ", " 1?skipagi “) in new stack
Goto (macro-hangupcall,s,7)
Executing [[email protected]:7] Hangup (” Local/[email protected];2 “, “”) in new stack
== Spawn extension (macro-hangupcall, s, 7) exited non-zero on ‘Local/[email protected];2’ in macro ‘hangupcall’
== Spawn extension (from-internal, h, 1) exited non-zero on ‘Local/[email protected];2’
Executing [[email protected]:5] GotoIf (” PJSIP/8001-0000004e ", " 1?return “) in new stack
Goto (crm-hangup,s,8)
Executing [[email protected]:8] Return (” PJSIP/8001-0000004e “, “”) in new stack
== Spawn extension (macro-dial-one, s, 1) exited non-zero on ‘PJSIP/8001-0000004e’
PJSIP/8001-0000004e Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=
<PJSIP/voip-0000004d>AGI Script agi://127.0.0.1/sangomacrm.agi completed, returning 0
Executing [[email protected]:8] Return (” PJSIP/voip-0000004d ", “”) in new stack
== Spawn extension (ext-queues, h, 1) exited non-zero on ‘PJSIP/voip-0000004d’
PJSIP/voip-0000004d Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=

You need to take logs from the full log file, not the screen. The screen version doesn’t have a complete set of timestamps. You should also upload them to pastebin.freepbx.org.

The failure is on the incoming side. There is no reason given, and I’m not sure if chan_pjsip logs a message for reaching the limit on sending unacknowledged final responses. One may need to enable “psjsip set logger on”, using the CLI, to see which side cleared, and certainly to see whether the correct contact address is being sent.

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