Issues picking up parked calls

This is a problem I am having with the non-pro parking module. I don’t know if this was caused by upgrading to FreePBX 15. Parking a call works normally, but I can’t pick up a parked call. This appears to be because the macro parked-call is passed the extension the call is parked at, but not the parking lot. As a result, /var/lib/asterisk/agi-bin/parkfetch.agi is called as

/var/lib/asterisk/agi-bin/parkfetch.agi <parking lot number>

and not as

/var/lib/asterisk/agi-bin/parkfetch.agi <parking lot number> <parking lot>

It executes "parking show ", which does not retrieve the parked call and tells you there is no call parked at the extension. If it executes “parking show default”, then the call is unparked as expected. I have verified this by altering /var/lib/asterisk/agi-bin/parkfetch.agi

[[email protected] agi-bin]# diff parkfetch.agi.orig parkfetch.agi
16c16,18
< $r = $astman->send_request(‘Command’,array(‘Command’=>"parking show ".$argv[2]));


> //$r = $astman->send_request(‘Command’,array(‘Command’=>"parking show ".$argv[2]));
> $r = $astman->send_request(‘Command’,array(‘Command’=>“parking show default”));

Any idea why the parking lot’s name isn’t being passed? ${CHANNEL(parkinglot)} is the second argument of the parked-call macro but I guess it doesn’t contain anything.

Are multiple parking lots allowed in “non Parking-Pro” systems? That’s a feature I’m not familiar with.

I don’t use Parking a lot, so it could be that I’m just not familiar, but this seems like a new problem. It is possible that the multiple lot config works in the standard FreePBX, in which case, your change is probably correct.

I’d submit a ticket on it - either way, there’s a discontinuity that needs to be looked at the code level.

Both myself and a colleage have tested parking and not seeing any issues. Parking module ver. 15.0.12 confirmed working for me. Verify the version you’re using is not out of date, and then provide a call trace of a retrieve:

https://wiki.freepbx.org/display/SUP/Providing+Great+Debug#ProvidingGreatDebug-AsteriskLogs-PartII

If you need more information, I will provide it. The record provided is how I originally identified the issue. I don’t know how to set the entire thing to be code/preformat, so I apologize for the mess. I execute ‘parking show default’ after the call is parked to verify it is indeed parked. This is broken over two posts as I exceed the character limit.

The parking module version is listed as the following. There are no updates available.
Parking Lot 15.0.9 Stable Sangoma Technologies Corporation [GPLv3+]

Asterisk 13.22.0, Copyright © 1999 - 2014, Digium, Inc. and others.
Created by Mark Spencer [email protected]
Asterisk comes with ABSOLUTELY NO WARRANTY; type ‘core show warranty’ for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type ‘core show license’ for details.

Connected to Asterisk 13.22.0 currently running on freepbx (pid = 12328)
== Setting global variable ‘SIPDOMAIN’ to ‘192.168.0.214’
== Using SIP RTP Audio TOS bits 184
== Using SIP RTP Audio TOS bits 184 in TCLASS field.
== Using SIP RTP Audio CoS mark 5
– Executing [[email protected]:1] GotoIf(“PJSIP/1132-00000003”, “1?ext-local,1120,1:followme-check,1120,1”) in new stack
– Goto (ext-local,1120,1)
– Executing [[email protected]:1] Set(“PJSIP/1132-00000003”, “__RINGTIMER=15”) in new stack
– Executing [[email protected]:2] Macro(“PJSIP/1132-00000003”, “exten-vm,1120,1120,0,0,0”) in new stack
– Executing [[email protected]:1] Macro(“PJSIP/1132-00000003”, “user-callerid,”) in new stack
– Executing [[email protected]:1] Set(“PJSIP/1132-00000003”, “TOUCH_MONITOR=1567608100.3”) in new stack
– Executing [[email protected]:2] Set(“PJSIP/1132-00000003”, “AMPUSER=1132”) in new stack
– Executing [[email protected]:3] GotoIf(“PJSIP/1132-00000003”, “0?report”) in new stack
– Executing [[email protected]:4] ExecIf(“PJSIP/1132-00000003”, “1?Set(REALCALLERIDNUM=1132)”) in new stack
– Executing [[email protected]:5] Set(“PJSIP/1132-00000003”, “AMPUSER=1132”) in new stack
– Executing [[email protected]:6] GotoIf(“PJSIP/1132-00000003”, “0?limit”) in new stack
– Executing [[email protected]:7] Set(“PJSIP/1132-00000003”, “AMPUSERCIDNAME=REDACTED”) in new stack
– Executing [[email protected]:8] ExecIf(“PJSIP/1132-00000003”, “0?Set(__CIDMASQUERADING=TRUE)”) in new stack
– Executing [[email protected]:9] GotoIf(“PJSIP/1132-00000003”, “0?report”) in new stack
– Executing [[email protected]:10] Set(“PJSIP/1132-00000003”, “AMPUSERCID=1132”) in new stack
– Executing [[email protected]:11] Set(“PJSIP/1132-00000003”, “__DIAL_OPTIONS=HhTtr”) in new stack
– Executing [[email protected]:12] Set(“PJSIP/1132-00000003”, “CALLERID(all)=“REDACTED” <1132>”) in new stack
– Executing [[email protected]:13] ExecIf(“PJSIP/1132-00000003”, “0?Set(CALLERID(all)=1120)”) in new stack
– Executing [[email protected]:14] GotoIf(“PJSIP/1132-00000003”, “0?limit”) in new stack
– Executing [[email protected]:15] ExecIf(“PJSIP/1132-00000003”, “0?Set(GROUP(concurrency_limit)=1132)”) in new stack
– Executing [[email protected]:16] ExecIf(“PJSIP/1132-00000003”, “0?Set(CHANNEL(language)=)”) in new stack
– Executing [[email protected]:17] NoOp(“PJSIP/1132-00000003”, “Macro Depth is 2”) in new stack
– Executing [[email protected]:18] GotoIf(“PJSIP/1132-00000003”, “1?report2:macroerror”) in new stack
– Goto (macro-user-callerid,s,19)
– Executing [[email protected]:19] GotoIf(“PJSIP/1132-00000003”, “0?continue”) in new stack
– Executing [[email protected]:20] ExecIf(“PJSIP/1132-00000003”, “1?Set(__CALLEE_ACCOUNCODE=)”) in new stack
– Executing [[email protected]:21] Set(“PJSIP/1132-00000003”, “__TTL=64”) in new stack
– Executing [[email protected]:22] GotoIf(“PJSIP/1132-00000003”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,38)
– Executing [[email protected]:38] Set(“PJSIP/1132-00000003”, “CALLERID(number)=1132”) in new stack
– Executing [[email protected]:39] Set(“PJSIP/1132-00000003”, “CALLERID(name)=REDACTED”) in new stack
– Executing [[email protected]:40] GotoIf(“PJSIP/1132-00000003”, “0?cnum”) in new stack
– Executing [[email protected]:41] Set(“PJSIP/1132-00000003”, “CDR(cnam)=REDACTED”) in new stack
– Executing [[email protected]:42] Set(“PJSIP/1132-00000003”, “CDR(cnum)=1132”) in new stack
– Executing [[email protected]:43] Set(“PJSIP/1132-00000003”, “CHANNEL(language)=en”) in new stack
– Executing [[email protected]:2] Set(“PJSIP/1132-00000003”, “RingGroupMethod=none”) in new stack
– Executing [[email protected]:3] Set(“PJSIP/1132-00000003”, “__EXTTOCALL=1120”) in new stack
– Executing [[email protected]:4] Set(“PJSIP/1132-00000003”, “__PICKUPMARK=1120”) in new stack
– Executing [[email protected]:5] Set(“PJSIP/1132-00000003”, “RT=15”) in new stack
– Executing [[email protected]:6] Gosub(“PJSIP/1132-00000003”, “sub-record-check,s,1(exten,1120,dontcare)”) in new stack
– Executing [[email protected]:1] GotoIf(“PJSIP/1132-00000003”, “0?initialized”) in new stack
– Executing [[email protected]:2] Set(“PJSIP/1132-00000003”, “__REC_STATUS=INITIALIZED”) in new stack
– Executing [[email protected]:3] Set(“PJSIP/1132-00000003”, “NOW=1567608100”) in new stack
– Executing [[email protected]:4] Set(“PJSIP/1132-00000003”, “__DAY=04”) in new stack
– Executing [[email protected]:5] Set(“PJSIP/1132-00000003”, “__MONTH=09”) in new stack
– Executing [[email protected]:6] Set(“PJSIP/1132-00000003”, “__YEAR=2019”) in new stack
– Executing [[email protected]:7] Set(“PJSIP/1132-00000003”, “__TIMESTR=20190904-144140”) in new stack
– Executing [[email protected]:8] Set(“PJSIP/1132-00000003”, “__FROMEXTEN=1132”) in new stack
– Executing [[email protected]:9] Set(“PJSIP/1132-00000003”, “__MON_FMT=wav”) in new stack
– Executing [[email protected]:10] NoOp(“PJSIP/1132-00000003”, “Recordings initialized”) in new stack
– Executing [[email protected]:11] ExecIf(“PJSIP/1132-00000003”, “0?Set(ARG3=dontcare)”) in new stack
– Executing [[email protected]:12] Set(“PJSIP/1132-00000003”, “REC_POLICY_MODE_SAVE=”) in new stack
– Executing [[email protected]:13] ExecIf(“PJSIP/1132-00000003”, “0?Set(REC_STATUS=NO)”) in new stack
– Executing [[email protected]:14] GotoIf(“PJSIP/1132-00000003”, “5?checkaction”) in new stack
– Goto (sub-record-check,s,17)
– Executing [[email protected]:17] GotoIf(“PJSIP/1132-00000003”, “1?sub-record-check,exten,1”) in new stack
– Goto (sub-record-check,exten,1)
– Executing [[email protected]:1] NoOp(“PJSIP/1132-00000003”, “Exten Recording Check between 1132 and 1120”) in new stack
– Executing [[email protected]:2] Set(“PJSIP/1132-00000003”, “CALLTYPE=internal”) in new stack
– Executing [[email protected]:3] ExecIf(“PJSIP/1132-00000003”, “0?Set(CALLTYPE=)”) in new stack
– Executing [[email protected]:4] Set(“PJSIP/1132-00000003”, “CALLEE=dontcare”) in new stack
– Executing [[email protected]:5] ExecIf(“PJSIP/1132-00000003”, “0?Set(CALLEE=dontcare)”) in new stack
– Executing [[email protected]:6] GotoIf(“PJSIP/1132-00000003”, “0?callee”) in new stack
– Executing [[email protected]:7] GotoIf(“PJSIP/1132-00000003”, “1?caller”) in new stack
– Goto (sub-record-check,exten,13)
– Executing [[email protected]:13] Set(“PJSIP/1132-00000003”, “RECMODE=dontcare”) in new stack
– Executing [[email protected]:14] ExecIf(“PJSIP/1132-00000003”, “0?Set(RECMODE=dontcare)”) in new stack
– Executing [[email protected]:15] ExecIf(“PJSIP/1132-00000003”, “1?Set(RECMODE=dontcare)”) in new stack
– Executing [[email protected]:16] Gosub(“PJSIP/1132-00000003”, “recordcheck,1(dontcare,internal,1120)”) in new stack
– Executing [[email protected]:1] NoOp(“PJSIP/1132-00000003”, “Starting recording check against dontcare”) in new stack
– Executing [[email protected]:2] Goto(“PJSIP/1132-00000003”, “dontcare”) in new stack
– Goto (sub-record-check,recordcheck,3)
– Executing [[email protected]:3] Return(“PJSIP/1132-00000003”, “”) in new stack
– Executing [[email protected]:17] Return(“PJSIP/1132-00000003”, “”) in new stack
– Executing [[email protected]:7] GotoIf(“PJSIP/1132-00000003”, “1?macrodial”) in new stack
– Goto (macro-exten-vm,s,13)
– Executing [[email protected]:13] GosubIf(“PJSIP/1132-00000003”, “0?clrheader,1()”) in new stack
– Executing [[email protected]:14] Macro(“PJSIP/1132-00000003”, “dial-one,15,HhTtr,1120”) in new stack
– Executing [[email protected]:1] Set(“PJSIP/1132-00000003”, “DEXTEN=1120”) in new stack
– Executing [[email protected]:2] Set(“PJSIP/1132-00000003”, “__CRM_SOURCE=1132”) in new stack
– Executing [[email protected]:3] ExecIf(“PJSIP/1132-00000003”, “0?Set(__EXTTOCALL=1120)”) in new stack
– Executing [[email protected]:4] Set(“PJSIP/1132-00000003”, “DIALSTATUS_CW=”) in new stack
– Executing [[email protected]:5] GosubIf(“PJSIP/1132-00000003”, “0?screen,1()”) in new stack
– Executing [[email protected]:6] GosubIf(“PJSIP/1132-00000003”, “0?cf,1()”) in new stack
– Executing [[email protected]:7] GotoIf(“PJSIP/1132-00000003”, “1?skip1”) in new stack
– Goto (macro-dial-one,s,10)
– Executing [[email protected]:10] GotoIf(“PJSIP/1132-00000003”, “0?nodial”) in new stack
– Executing [[email protected]:11] GotoIf(“PJSIP/1132-00000003”, “0?continue”) in new stack
– Executing [[email protected]:12] Set(“PJSIP/1132-00000003”, “EXTHASCW=ENABLED”) in new stack
– Executing [[email protected]:13] GotoIf(“PJSIP/1132-00000003”, “0?next1:cwinusebusy”) in new stack
– Goto (macro-dial-one,s,25)
– Executing [[email protected]:25] GotoIf(“PJSIP/1132-00000003”, “0?next3:continue”) in new stack
– Goto (macro-dial-one,s,27)
– Executing [[email protected]:27] GotoIf(“PJSIP/1132-00000003”, “0?nodial”) in new stack
– Executing [[email protected]:28] GosubIf(“PJSIP/1132-00000003”, “1?dstring,1():dlocal,1()”) in new stack
– Executing [[email protected]:1] Set(“PJSIP/1132-00000003”, “DSTRING=”) in new stack
– Executing [[email protected]:2] Set(“PJSIP/1132-00000003”, “DEVICES=1120”) in new stack
– Executing [[email protected]:3] ExecIf(“PJSIP/1132-00000003”, “0?Return()”) in new stack
– Executing [[email protected]:4] ExecIf(“PJSIP/1132-00000003”, “0?Set(DEVICES=120)”) in new stack
– Executing [[email protected]:5] Set(“PJSIP/1132-00000003”, “LOOPCNT=1”) in new stack
– Executing [[email protected]:6] Set(“PJSIP/1132-00000003”, “ITER=1”) in new stack
– Executing [[email protected]:7] Set(“PJSIP/1132-00000003”, “THISDIAL=PJSIP/1120”) in new stack
– Executing [[email protected]:8] GotoIf(“PJSIP/1132-00000003”, “0?docheck”) in new stack
– Executing [[email protected]:9] NoOp(“PJSIP/1132-00000003”, “Debug: Found PJSIP Destination PJSIP/1120”) in new stack
– Executing [[email protected]:10] GotoIf(“PJSIP/1132-00000003”, “0?doset”) in new stack
– Executing [[email protected]:11] NoOp(“PJSIP/1132-00000003”, “Debug: Updating PJSIP Destination with PJSIP_DIAL_CONTACTS”) in new stack
– Executing [[email protected]:12] Set(“PJSIP/1132-00000003”, “THISDIAL=PJSIP/1120/sip:[email protected]:5060”) in new stack
– Executing [[email protected]:13] ExecIf(“PJSIP/1132-00000003”, “0?Set(DIALSTATUS=CHANUNAVAIL)”) in new stack
– Executing [[email protected]:14] GotoIf(“PJSIP/1132-00000003”, “0?skipset”) in new stack
– Executing [[email protected]:15] Set(“PJSIP/1132-00000003”, “DSTRING=PJSIP/1120/sip:[email protected]:5060&”) in new stack
– Executing [[email protected]:16] Set(“PJSIP/1132-00000003”, “ITER=2”) in new stack
– Executing [[email protected]:17] GotoIf(“PJSIP/1132-00000003”, “0?begin”) in new stack
– Executing [[email protected]:18] ExecIf(“PJSIP/1132-00000003”, “0?Return()”) in new stack
– Executing [[email protected]:19] Set(“PJSIP/1132-00000003”, “DSTRING=PJSIP/1120/sip:[email protected]:5060”) in new stack
– Executing [[email protected]:20] Return(“PJSIP/1132-00000003”, “”) in new stack
– Executing [[email protected]:29] GotoIf(“PJSIP/1132-00000003”, “0?nodial”) in new stack
– Executing [[email protected]:30] GotoIf(“PJSIP/1132-00000003”, “0?skiptrace”) in new stack
– Executing [[email protected]:31] GosubIf(“PJSIP/1132-00000003”, “1?ctset,1():ctclear,1()”) in new stack
– Executing [[email protected]:1] Set(“PJSIP/1132-00000003”, “DB(CALLTRACE/1120)=1132”) in new stack
– Executing [[email protected]:2] Return(“PJSIP/1132-00000003”, “”) in new stack
– Executing [[email protected]:32] Set(“PJSIP/1132-00000003”, “D_OPTIONS=HhTtr”) in new stack
– Executing [[email protected]:33] GosubIf(“PJSIP/1132-00000003”, “0?func-set-sipheader,s,1(Alert-Info,)”) in new stack
– Executing [[email protected]:34] NoOp(“PJSIP/1132-00000003”, "Blind Transfer: , Attended Transfer: , User: 1132, Alert Info: ") in new stack
– Executing [[email protected]:35] ExecIf(“PJSIP/1132-00000003”, “1?Set(ALERT_INFO=)”) in new stack
– Executing [[email protected]:36] ExecIf(“PJSIP/1132-00000003”, “0?Set(ALERT_INFO=)”) in new stack
– Executing [[email protected]:37] ExecIf(“PJSIP/1132-00000003”, “0?Set(ALERT_INFO=)”) in new stack
– Executing [[email protected]:38] ExecIf(“PJSIP/1132-00000003”, “0?Set(ALERT_INFO=Normal;volume=)”) in new stack
– Executing [[email protected]:39] ExecIf(“PJSIP/1132-00000003”, “0?Set(ALERT_INFO=Normal;volume=)”) in new stack
– Executing [[email protected]:40] GosubIf(“PJSIP/1132-00000003”, “0?func-set-sipheader,s,1(Alert-Info,)”) in new stack
– Executing [[email protected]:41] ExecIf(“PJSIP/1132-00000003”, “0?Set(CHANNEL(musicclass)=)”) in new stack
– Executing [[email protected]:42] GosubIf(“PJSIP/1132-00000003”, “0?qwait,1()”) in new stack
– Executing [[email protected]:43] Set(“PJSIP/1132-00000003”, “__CWIGNORE=”) in new stack
– Executing [[email protected]:44] Set(“PJSIP/1132-00000003”, “__KEEPCID=TRUE”) in new stack
– Executing [[email protected]:45] GotoIf(“PJSIP/1132-00000003”, “0?usegoto,1”) in new stack
– Executing [[email protected]:46] GotoIf(“PJSIP/1132-00000003”, “0?godial”) in new stack
– Executing [[email protected]:47] Gosub(“PJSIP/1132-00000003”, “sub-presencestate-display,s,1(1120)”) in new stack
– Executing [[email protected]:1] Goto(“PJSIP/1132-00000003”, “state-not_set,1”) in new stack
– Goto (sub-presencestate-display,state-not_set,1)
– Executing [[email protected]:1] Set(“PJSIP/1132-00000003”, “PRESENCESTATE_DISPLAY=”) in new stack
– Executing [[email protected]:2] Return(“PJSIP/1132-00000003”, “”) in new stack
– Executing [[email protected]:48] Set(“PJSIP/1132-00000003”, “CONNECTEDLINE(name,i)=REDACTED”) in new stack
– Executing [[email protected]:49] Set(“PJSIP/1132-00000003”, “CONNECTEDLINE(num)=1120”) in new stack
– Executing [[email protected]:50] Set(“PJSIP/1132-00000003”, “D_OPTIONS=HhTtrI”) in new stack
– Executing [[email protected]:51] Macro(“PJSIP/1132-00000003”, “dialout-one-predial-hook,”) in new stack
– Executing [[email protected]:1] MacroExit(“PJSIP/1132-00000003”, “”) in new stack
– Executing [[email protected]:52] ExecIf(“PJSIP/1132-00000003”, “0?Set(D_OPTIONS=HhtrII)”) in new stack
– Executing [[email protected]:53] ExecIf(“PJSIP/1132-00000003”, “0?Set(CWRING=r(callwaiting)):Set(CWRING=)”) in new stack
– Executing [[email protected]:54] NoOp(“PJSIP/1132-00000003”, “”) in new stack
– Executing [[email protected]:55] ExecIf(“PJSIP/1132-00000003”, “0?Set(D_OPTIONS=HhTtrIg)”) in new stack
– Executing [[email protected]:56] Dial(“PJSIP/1132-00000003”, “PJSIP/1120/sip:[email protected]:5060,15,HhTtrIb(func-apply-sipheaders^s^1)”) in new stack
– PJSIP/1120-00000004 Internal Gosub(func-apply-sipheaders,s,1) start
– Executing [[email protected]:1] ExecIf(“PJSIP/1120-00000004”, “0?Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1)”) in new stack
– Executing [[email protected]:2] NoOp(“PJSIP/1120-00000004”, “Applying SIP Headers to channel PJSIP/1120-00000004”) in new stack
– Executing [[email protected]:3] Set(“PJSIP/1120-00000004”, “TECH=PJSIP”) in new stack
– Executing [[email protected]:4] Set(“PJSIP/1120-00000004”, “SIPHEADERKEYS=”) in new stack
– Executing [[email protected]:5] While(“PJSIP/1120-00000004”, “0”) in new stack
– Jumping to priority 13
– Executing [[email protected]:14] Return(“PJSIP/1120-00000004”, “”) in new stack
== Spawn extension (from-internal, 1120, 1) exited non-zero on ‘PJSIP/1120-00000004’
– PJSIP/1120-00000004 Internal Gosub(func-apply-sipheaders,s,1) complete GOSUB_RETVAL=
– Called PJSIP/1120/sip:[email protected]:5060
== 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 PJSIP/1132-00000003 prevented.
– PJSIP/1120-00000004 is ringing
– PJSIP/1120-00000004 is ringing
> 0x7f801c0d9c80 – Strict RTP learning after remote address set to: 192.168.0.57:11782
– PJSIP/1120-00000004 answered PJSIP/1132-00000003
> 0x7f801c0d71e0 – Strict RTP learning after remote address set to: 192.168.0.46:12522
– Channel PJSIP/1120-00000004 joined ‘simple_bridge’ basic-bridge <34d11484-8d25-4873-9663-30d23dd933c5>
– Channel PJSIP/1132-00000003 joined ‘simple_bridge’ basic-bridge <34d11484-8d25-4873-9663-30d23dd933c5>
> 0x7f801c0d71e0 – Strict RTP switching to RTP target address 192.168.0.46:12522 as source
> 0x7f801c0d9c80 – Strict RTP switching to RTP target address 192.168.0.57:11782 as source
– Channel PJSIP/1132-00000003: Started DTMF blind transfer.
– <PJSIP/1132-00000003> Playing ‘pbx-transfer.ulaw’ (language ‘en’)
– Started music on hold, class ‘default’, on channel ‘PJSIP/1120-00000004’
> 0x7f801c0d9c80 – Strict RTP learning complete - Locking on source address 192.168.0.57:11782
> 0x7f801c0d71e0 – Strict RTP learning complete - Locking on source address 192.168.0.46:12522
– Channel PJSIP/1132-00000003 left ‘simple_bridge’ basic-bridge <34d11484-8d25-4873-9663-30d23dd933c5>
== Spawn extension (macro-dial-one, s, 56) exited non-zero on ‘PJSIP/1132-00000003’ in macro ‘dial-one’
== Spawn extension (macro-exten-vm, s, 14) exited non-zero on ‘PJSIP/1132-00000003’ in macro ‘exten-vm’
== Spawn extension (ext-local, 1120, 2) exited non-zero on ‘PJSIP/1132-00000003’
– Executing [[email protected]:1] Macro(“PJSIP/1132-00000003”, “hangupcall,”) in new stack
– Executing [[email protected]:1] GotoIf(“PJSIP/1132-00000003”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,3)
– Stopped music on hold on PJSIP/1120-00000004
– Channel PJSIP/1120-00000004 left ‘simple_bridge’ basic-bridge <34d11484-8d25-4873-9663-30d23dd933c5>
– Executing [[email protected]:1] Macro(“PJSIP/1120-00000004”, “parked-call,71132,”) in new stack
– Executing [[email protected]:1] Macro(“PJSIP/1120-00000004”, “user-callerid,”) in new stack
– Executing [[email protected]:1] Set(“PJSIP/1120-00000004”, “TOUCH_MONITOR=1567608100.4”) in new stack
– Executing [[email protected]:2] Set(“PJSIP/1120-00000004”, “AMPUSER=1120”) in new stack
– Executing [[email protected]:3] GotoIf(“PJSIP/1120-00000004”, “0?report”) in new stack
– Executing [[email protected]:4] ExecIf(“PJSIP/1120-00000004”, “1?Set(REALCALLERIDNUM=1120)”) in new stack
– Executing [[email protected]:5] Set(“PJSIP/1120-00000004”, “AMPUSER=1120”) in new stack
– Executing [[email protected]:6] GotoIf(“PJSIP/1120-00000004”, “0?limit”) in new stack
– Executing [[email protected]:7] Set(“PJSIP/1120-00000004”, “AMPUSERCIDNAME=REDACTED”) in new stack
– Executing [[email protected]:8] ExecIf(“PJSIP/1120-00000004”, “0?Set(__CIDMASQUERADING=TRUE)”) in new stack
– Executing [[email protected]:9] GotoIf(“PJSIP/1120-00000004”, “0?report”) in new stack
– Executing [[email protected]:10] Set(“PJSIP/1120-00000004”, “AMPUSERCID=1120”) in new stack
– Executing [[email protected]:11] Set(“PJSIP/1120-00000004”, “__DIAL_OPTIONS=HhTtr”) in new stack
– Executing [[email protected]:12] Set(“PJSIP/1120-00000004”, “CALLERID(all)=“REDACTED” <1120>”) in new stack
– Executing [[email protected]:13] ExecIf(“PJSIP/1120-00000004”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [[email protected]:14] GotoIf(“PJSIP/1120-00000004”, “0?limit”) in new stack
– Executing [[email protected]:15] ExecIf(“PJSIP/1120-00000004”, “0?Set(GROUP(concurrency_limit)=1120)”) in new stack
– Executing [[email protected]:16] ExecIf(“PJSIP/1120-00000004”, “0?Set(CHANNEL(language)=)”) in new stack
– Executing [[email protected]:17] NoOp(“PJSIP/1120-00000004”, “Macro Depth is 2”) in new stack
– Executing [[email protected]:18] GotoIf(“PJSIP/1120-00000004”, “1?report2:macroerror”) in new stack
– Goto (macro-user-callerid,s,19)
– Executing [[email protected]:19] GotoIf(“PJSIP/1120-00000004”, “0?continue”) in new stack
– Executing [[email protected]:20] ExecIf(“PJSIP/1120-00000004”, “1?Set(__CALLEE_ACCOUNCODE=)”) in new stack
– Executing [[email protected]:21] Set(“PJSIP/1120-00000004”, “__TTL=63”) in new stack
– Executing [[email protected]:22] GotoIf(“PJSIP/1120-00000004”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,38)
– Executing [[email protected]:38] Set(“PJSIP/1120-00000004”, “CALLERID(number)=1120”) in new stack
– Executing [[email protected]:39] Set(“PJSIP/1120-00000004”, “CALLERID(name)=REDACTED”) in new stack
– Executing [[email protected]:40] GotoIf(“PJSIP/1120-00000004”, “0?cnum”) in new stack
– Executing [[email protected]:41] Set(“PJSIP/1120-00000004”, “CDR(cnam)=REDACTED”) in new stack
– Executing [[email protected]:3] ExecIf(“PJSIP/1132-00000003”, “0?Set(CDR(recordingfile)=)”) in new stack
– Executing [[email protected]:4] NoOp(“PJSIP/1132-00000003”, "PJSIP/1120-00000004 montior file= ") in new stack
– Executing [[email protected]:5] GotoIf(“PJSIP/1132-00000003”, “1?skipagi”) in new stack
– Goto (macro-hangupcall,s,7)
– Executing [[email protected]:7] Hangup(“PJSIP/1132-00000003”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 7) exited non-zero on ‘PJSIP/1132-00000003’ in macro ‘hangupcall’
== Spawn extension (ext-local, h, 1) exited non-zero on ‘PJSIP/1132-00000003’
– Executing [[email protected]:42] Set(“PJSIP/1120-00000004”, “CDR(cnum)=1120”) in new stack
– Executing [[email protected]:43] Set(“PJSIP/1120-00000004”, “CHANNEL(language)=en”) in new stack
– Executing [[email protected]:2] Gosub(“PJSIP/1120-00000004”, “sub-record-check,s,1(parking,1120,1120)”) in new stack
– Executing [[email protected]:1] GotoIf(“PJSIP/1120-00000004”, “4?initialized”) in new stack
– Goto (sub-record-check,s,10)
– Executing [[email protected]:10] NoOp(“PJSIP/1120-00000004”, “Recordings initialized”) in new stack
– Executing [[email protected]:11] ExecIf(“PJSIP/1120-00000004”, “0?Set(ARG3=dontcare)”) in new stack
– Executing [[email protected]:12] Set(“PJSIP/1120-00000004”, “REC_POLICY_MODE_SAVE=”) in new stack
– Executing [[email protected]:13] ExecIf(“PJSIP/1120-00000004”, “1?Set(REC_STATUS=NO)”) in new stack
– Executing [[email protected]:14] GotoIf(“PJSIP/1120-00000004”, “7?checkaction”) in new stack
– Goto (sub-record-check,s,17)
– Executing [[email protected]:17] GotoIf(“PJSIP/1120-00000004”, “1?sub-record-check,parking,1”) in new stack
– Goto (sub-record-check,parking,1)
– Executing [[email protected]:1] NoOp(“PJSIP/1120-00000004”, “User 1120 picked up a parked call”) in new stack
– Executing [[email protected]:2] Set(“PJSIP/1120-00000004”, “USER=1120”) in new stack
– Executing [[email protected]:3] ExecIf(“PJSIP/1120-00000004”, “0?Set(USER=unknown)”) in new stack
– Executing [[email protected]:4] Set(“PJSIP/1120-00000004”, “RECMODE=dontcare”) in new stack
– Executing [[email protected]:5] ExecIf(“PJSIP/1120-00000004”, “0?Set(RECMODE=dontcare)”) in new stack
– Executing [[email protected]:6] Gosub(“PJSIP/1120-00000004”, “recordcheck,1(dontcare,parked,1120)”) in new stack
– Executing [[email protected]:1] NoOp(“PJSIP/1120-00000004”, “Starting recording check against dontcare”) in new stack
– Executing [[email protected]:2] Goto(“PJSIP/1120-00000004”, “dontcare”) in new stack
– Goto (sub-record-check,recordcheck,3)
– Executing [[email protected]:3] Return(“PJSIP/1120-00000004”, “”) in new stack
– Executing [[email protected]:7] Return(“PJSIP/1120-00000004”, “”) in new stack
– Executing [[email protected]:3] NoOp(“PJSIP/1120-00000004”, "PARKRETURNTO: ") in new stack
– Executing [[email protected]:4] GotoIf(“PJSIP/1120-00000004”, “0?backtosender”) in new stack
– Executing [[email protected]:5] GotoIf(“PJSIP/1120-00000004”, “1?attemptpark”) in new stack
– Goto (macro-parked-call,s,23)
– Executing [[email protected]:23] NoOp(“PJSIP/1120-00000004”, “User: “REDACTED” <1120> attempting to Park into slot 71132”) in new stack
– Executing [[email protected]:24] NoOp(“PJSIP/1120-00000004”, "Blind Transfer: PJSIP/1132-00000003, Attended Transfer: ") in new stack
– Executing [[email protected]:25] NoOp(“PJSIP/1120-00000004”, “1”) in new stack
– Executing [[email protected]:26] GotoIf(“PJSIP/1120-00000004”, “1?parkit”) in new stack
– Goto (macro-parked-call,s,28)
– Executing [[email protected]:28] Set(“PJSIP/1120-00000004”, “PARKINGEXTEN=71132”) in new stack
– Executing [[email protected]:29] ExecIf(“PJSIP/1120-00000004”, “1?Set(SHARED(PARKRETURNTO,PJSIP/1120-00000004)=PJSIP/1132):Set(SHARED(PARKRETURNTO,PJSIP/1120-00000004)=)”) in new stack
– Executing [[email protected]:30] NoOp(“PJSIP/1120-00000004”, “PARKRETURNTO: PJSIP/1132”) in new stack
– Executing [[email protected]:31] Park(“PJSIP/1120-00000004”, “,sc(macro-parked-call,s,200)”) in new stack
> Setting Parker dial string to PJSIP/1132 from BLINDTRANSFER value
– Parking ‘PJSIP/1120-00000004’ in ‘default’ at space 71132
– Channel PJSIP/1120-00000004 joined ‘holding_bridge’ parking-bridge
– Started music on hold, class ‘default’, on channel ‘PJSIP/1120-00000004’
freepbx*CLI> parking show default

Parking Lot: default

Parking Extension : 71100
Parking Context : parkedcalls
Parking Spaces : 71101-71199
Parking Time : 45 sec
Comeback to Origin : no
Comeback Context : parkedcallstimeout
Comeback Dial Time : 30 sec
MusicOnHold Class : default
Enabled : yes
Dynamic : no

Parked Calls

Space : 71132
Channel : PJSIP/1120-00000004
Parker Dial String : PJSIP/1132

== Setting global variable ‘SIPDOMAIN’ to ‘192.168.0.214’
== Using SIP RTP Audio TOS bits 184
== Using SIP RTP Audio TOS bits 184 in TCLASS field.
== Using SIP RTP Audio CoS mark 5
– Executing [[email protected]:1] Macro(“PJSIP/1132-00000005”, “parked-call,71132,”) in new stack
– Executing [[email protected]:1] Macro(“PJSIP/1132-00000005”, “user-callerid,”) in new stack
– Executing [[email protected]:1] Set(“PJSIP/1132-00000005”, “TOUCH_MONITOR=1567608122.5”) in new stack
– Executing [[email protected]:2] Set(“PJSIP/1132-00000005”, “AMPUSER=1132”) in new stack
– Executing [[email protected]:3] GotoIf(“PJSIP/1132-00000005”, “0?report”) in new stack
– Executing [[email protected]:4] ExecIf(“PJSIP/1132-00000005”, “1?Set(REALCALLERIDNUM=1132)”) in new stack
– Executing [[email protected]:5] Set(“PJSIP/1132-00000005”, “AMPUSER=1132”) in new stack
– Executing [[email protected]:6] GotoIf(“PJSIP/1132-00000005”, “0?limit”) in new stack
– Executing [[email protected]:7] Set(“PJSIP/1132-00000005”, “AMPUSERCIDNAME=REDACTED”) in new stack
– Executing [[email protected]:8] ExecIf(“PJSIP/1132-00000005”, “0?Set(__CIDMASQUERADING=TRUE)”) in new stack
– Executing [[email protected]:9] GotoIf(“PJSIP/1132-00000005”, “0?report”) in new stack
– Executing [[email protected]:10] Set(“PJSIP/1132-00000005”, “AMPUSERCID=1132”) in new stack
– Executing [[email protected]:11] Set(“PJSIP/1132-00000005”, “__DIAL_OPTIONS=HhTtr”) in new stack
– Executing [[email protected]:12] Set(“PJSIP/1132-00000005”, “CALLERID(all)=“REDACTED” <1132>”) in new stack
– Executing [[email protected]:13] ExecIf(“PJSIP/1132-00000005”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [[email protected]:14] GotoIf(“PJSIP/1132-00000005”, “0?limit”) in new stack
– Executing [[email protected]:15] ExecIf(“PJSIP/1132-00000005”, “0?Set(GROUP(concurrency_limit)=1132)”) in new stack
– Executing [[email protected]:16] ExecIf(“PJSIP/1132-00000005”, “0?Set(CHANNEL(language)=)”) in new stack
– Executing [[email protected]:17] NoOp(“PJSIP/1132-00000005”, “Macro Depth is 2”) in new stack
– Executing [[email protected]:18] GotoIf(“PJSIP/1132-00000005”, “1?report2:macroerror”) in new stack
– Goto (macro-user-callerid,s,19)
– Executing [[email protected]:19] GotoIf(“PJSIP/1132-00000005”, “0?continue”) in new stack
– Executing [[email protected]:20] ExecIf(“PJSIP/1132-00000005”, “1?Set(__CALLEE_ACCOUNCODE=)”) in new stack
– Executing [[email protected]:21] Set(“PJSIP/1132-00000005”, “__TTL=64”) in new stack
– Executing [[email protected]:22] GotoIf(“PJSIP/1132-00000005”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,38)
– Executing [[email protected]:38] Set(“PJSIP/1132-00000005”, “CALLERID(number)=1132”) in new stack
– Executing [[email protected]:39] Set(“PJSIP/1132-00000005”, “CALLERID(name)=REDACTED”) in new stack
– Executing [[email protected]:40] GotoIf(“PJSIP/1132-00000005”, “0?cnum”) in new stack
– Executing [[email protected]:41] Set(“PJSIP/1132-00000005”, “CDR(cnam)=REDACTED”) in new stack
– Executing [[email protected]:42] Set(“PJSIP/1132-00000005”, “CDR(cnum)=1132”) in new stack
– Executing [[email protected]:43] Set(“PJSIP/1132-00000005”, “CHANNEL(language)=en”) in new stack
– Executing [[email protected]:2] Gosub(“PJSIP/1132-00000005”, “sub-record-check,s,1(parking,1132,1132)”) in new stack
– Executing [[email protected]:1] GotoIf(“PJSIP/1132-00000005”, “0?initialized”) in new stack
– Executing [[email protected]:2] Set(“PJSIP/1132-00000005”, “__REC_STATUS=INITIALIZED”) in new stack
– Executing [[email protected]:3] Set(“PJSIP/1132-00000005”, “NOW=1567608122”) in new stack
– Executing [[email protected]:4] Set(“PJSIP/1132-00000005”, “__DAY=04”) in new stack
– Executing [[email protected]:5] Set(“PJSIP/1132-00000005”, “__MONTH=09”) in new stack
– Executing [[email protected]:6] Set(“PJSIP/1132-00000005”, “__YEAR=2019”) in new stack
– Executing [[email protected]:7] Set(“PJSIP/1132-00000005”, “__TIMESTR=20190904-144202”) in new stack
– Executing [[email protected]:8] Set(“PJSIP/1132-00000005”, “__FROMEXTEN=1132”) in new stack
– Executing [[email protected]:9] Set(“PJSIP/1132-00000005”, “__MON_FMT=wav”) in new stack
– Executing [[email protected]:10] NoOp(“PJSIP/1132-00000005”, “Recordings initialized”) in new stack
– Executing [[email protected]:11] ExecIf(“PJSIP/1132-00000005”, “0?Set(ARG3=dontcare)”) in new stack
– Executing [[email protected]:12] Set(“PJSIP/1132-00000005”, “REC_POLICY_MODE_SAVE=”) in new stack
– Executing [[email protected]:13] ExecIf(“PJSIP/1132-00000005”, “0?Set(REC_STATUS=NO)”) in new stack
– Executing [[email protected]:14] GotoIf(“PJSIP/1132-00000005”, “7?checkaction”) in new stack
– Goto (sub-record-check,s,17)
– Executing [[email protected]:17] GotoIf(“PJSIP/1132-00000005”, “1?sub-record-check,parking,1”) in new stack
– Goto (sub-record-check,parking,1)
– Executing [[email protected]:1] NoOp(“PJSIP/1132-00000005”, “User 1132 picked up a parked call”) in new stack
– Executing [[email protected]:2] Set(“PJSIP/1132-00000005”, “USER=1132”) in new stack
– Executing [[email protected]:3] ExecIf(“PJSIP/1132-00000005”, “0?Set(USER=unknown)”) in new stack
– Executing [[email protected]:4] Set(“PJSIP/1132-00000005”, “RECMODE=dontcare”) in new stack
– Executing [[email protected]:5] ExecIf(“PJSIP/1132-00000005”, “0?Set(RECMODE=dontcare)”) in new stack
– Executing [[email protected]:6] Gosub(“PJSIP/1132-00000005”, “recordcheck,1(dontcare,parked,1132)”) in new stack
– Executing [[email protected]:1] NoOp(“PJSIP/1132-00000005”, “Starting recording check against dontcare”) in new stack
– Executing [[email protected]:2] Goto(“PJSIP/1132-00000005”, “dontcare”) in new stack
– Goto (sub-record-check,recordcheck,3)
– Executing [[email protected]:3] Return(“PJSIP/1132-00000005”, “”) in new stack
– Executing [[email protected]:7] Return(“PJSIP/1132-00000005”, “”) in new stack
– Executing [[email protected]:3] NoOp(“PJSIP/1132-00000005”, "PARKRETURNTO: ") in new stack
– Executing [[email protected]:4] GotoIf(“PJSIP/1132-00000005”, “0?backtosender”) in new stack
– Executing [[email protected]:5] GotoIf(“PJSIP/1132-00000005”, “0?attemptpark”) in new stack
– Executing [[email protected]:6] AGI(“PJSIP/1132-00000005”, “parkfetch.agi,71132,”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/parkfetch.agi
parkfetch.agi,71132,: No channel found. No one is parked on this slot [71132]
– <PJSIP/1132-00000005>AGI Script parkfetch.agi completed, returning 0
– Executing [[email protected]:7] GotoIf(“PJSIP/1132-00000005”, “1?next”) in new stack
– Goto (macro-parked-call,s,9)
– Executing [[email protected]:9] Set(“PJSIP/1132-00000005”, “CCSS_SETUP=TRUE”) in new stack
– Executing [[email protected]:10] GotoIf(“PJSIP/1132-00000005”, “0?pcall”) in new stack
– Executing [[email protected]:11] ResetCDR(“PJSIP/1132-00000005”, “”) in new stack
– Executing [[email protected]:12] Set(“PJSIP/1132-00000005”, “CDR_PROP(disable)=true”) in new stack
– Executing [[email protected]:13] Wait(“PJSIP/1132-00000005”, “1”) in new stack
– Executing [[email protected]:14] Playback(“PJSIP/1132-00000005”, “pbx-invalidpark”) in new stack
> 0x7f801c0dc720 – Strict RTP learning after remote address set to: 192.168.0.46:12524
> 0x7f801c0dc720 – Strict RTP switching to RTP target address 192.168.0.46:12524 as source
– <PJSIP/1132-00000005> Playing ‘pbx-invalidpark.ulaw’ (language ‘en’)
> 0x7f801c0dc720 – Strict RTP learning complete - Locking on source address 192.168.0.46:12524
– Executing [[email protected]:15] Wait(“PJSIP/1132-00000005”, “1”) in new stack
– Executing [[email protected]:16] Hangup(“PJSIP/1132-00000005”, “”) in new stack
== Spawn extension (macro-parked-call, s, 16) exited non-zero on ‘PJSIP/1132-00000005’ in macro ‘parked-call’
== Spawn extension (from-internal, 71132, 1) exited non-zero on ‘PJSIP/1132-00000005’
– Executing [[email protected]:1] Macro(“PJSIP/1132-00000005”, “hangupcall”) in new stack
– Executing [[email protected]:1] GotoIf(“PJSIP/1132-00000005”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,3)
– Executing [[email protected]:3] ExecIf(“PJSIP/1132-00000005”, “0?Set(CDR(recordingfile)=)”) in new stack
– Executing [[email protected]:4] NoOp(“PJSIP/1132-00000005”, " montior file= ") in new stack
– Executing [[email protected]:5] GotoIf(“PJSIP/1132-00000005”, “1?skipagi”) in new stack
– Goto (macro-hangupcall,s,7)
– Executing [[email protected]:7] Hangup(“PJSIP/1132-00000005”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 7) exited non-zero on ‘PJSIP/1132-00000005’ in macro ‘hangupcall’
== Spawn extension (from-internal, h, 1) exited non-zero on ‘PJSIP/1132-00000005’
– Stopped music on hold on PJSIP/1120-00000004
– Channel PJSIP/1120-00000004 left ‘holding_bridge’ parking-bridge
== Spawn extension (macro-parked-call, s, 31) exited non-zero on ‘PJSIP/1120-00000004’ in macro ‘parked-call’
== Spawn extension (from-internal-xfer, 71132, 1) exited non-zero on ‘PJSIP/1120-00000004’
– Executing [[email protected]:1] Macro(“PJSIP/1120-00000004”, “hangupcall”) in new stack
– Executing [[email protected]:1] GotoIf(“PJSIP/1120-00000004”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,3)
– Executing [[email protected]:3] ExecIf(“PJSIP/1120-00000004”, “0?Set(CDR(recordingfile)=)”) in new stack
– Executing [[email protected]:4] NoOp(“PJSIP/1120-00000004”, " montior file= ") in new stack
– Executing [[email protected]:5] GotoIf(“PJSIP/1120-00000004”, “1?skipagi”) in new stack
– Goto (macro-hangupcall,s,7)
– Executing [[email protected]:7] Hangup(“PJSIP/1120-00000004”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 7) exited non-zero on ‘PJSIP/1120-00000004’ in macro ‘hangupcall’
== Spawn extension (from-internal-xfer, h, 1) exited non-zero on ‘PJSIP/1120-00000004’

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