Files
selfphoneng/apps/api/test/fixtures/cdr/park-pickup.json
T
iamdoubz 863a9d121c
ci / images (push) Canceled after 0s
ci / check (push) Canceled after 3s
parking: parked calls live, on the dashboard and Home, pick up from Home
res_parking was configured in M0 (700, slots 701-720, slot hints); this
makes parked calls visible. ParkingTracker loads ParkedCalls and follows
ParkedCall/UnParkedCall/ParkedCallTimeOut/ParkedCallGiveUp; everyone
gets parked.updated/parked.removed. Who parked comes from
ParkerDialString.

A blind transfer to 700 parks without running Park() in the dialplan,
so the live call's "parked" state now comes from those events by
ParkeeLinkedid; the picking-up phone runs ParkedCall() while talking,
which no longer counts as parked.

Web: "Parked calls" on the Dashboard and on Home, where "Pick up 701"
calls the slot like Call back (softphone, or the desk phone first).

CDR fixture park-pickup (recorded: 101 parks an inbound call, 103 picks
it up); the call counts as answered by 101 with 103 in rang. e2e m8-t2
with real phones: park by blind transfer, hint InUse, both lists, pick
up from Home, a second park on 702 (findslot = next) picked up by
dialing it from another phone. Specs 01/04/05 note what was verified.

Task: M8-T2
2026-10-19 04:23:21 -05:00

107 lines
3.2 KiB
JSON

[
{
"Event": "Cdr",
"Privilege": "cdr,all",
"AccountCode": "",
"Source": "103",
"Destination": "701",
"DestinationContext": "sp-from-ext",
"CallerID": "\"Carol\" <103>",
"Channel": "PJSIP/103-00000018",
"DestinationChannel": "",
"LastApplication": "ParkedCall",
"LastData": "default,701",
"StartTime": "2026-10-19 09:06:59",
"AnswerTime": "2026-10-19 09:06:59",
"EndTime": "2026-10-19 09:06:59",
"Duration": "0",
"BillableSeconds": "0",
"Disposition": "ANSWERED",
"AMAFlags": "DOCUMENTATION",
"UniqueID": "1792400819.56",
"UserField": "",
"LinkedID": "1792400815.54",
"sp_did": "",
"sp_direction": "",
"sp_recording": ""
},
{
"Event": "Cdr",
"Privilege": "cdr,all",
"AccountCode": "",
"Source": "13125559999",
"Destination": "101",
"DestinationContext": "sp-local-numbers",
"CallerID": "\"Mobile\" <13125559999>",
"Channel": "PJSIP/trunk-7d3e9a52-1c4b-4f6e-9a0d-2b8c5e1f4a37-00000016",
"DestinationChannel": "PJSIP/101-00000017",
"LastApplication": "Dial",
"LastData": "PJSIP/101/sip:101-0x5987fe8320b0@172.21.0.4:5070,25,tx",
"StartTime": "2026-10-19 09:06:55",
"AnswerTime": "2026-10-19 09:06:55",
"EndTime": "2026-10-19 09:06:57",
"Duration": "2",
"BillableSeconds": "2",
"Disposition": "ANSWERED",
"AMAFlags": "DOCUMENTATION",
"UniqueID": "1792400815.54",
"UserField": "",
"LinkedID": "1792400815.54",
"sp_did": "13125551234",
"sp_direction": "inbound",
"sp_recording": ""
},
{
"Event": "Cdr",
"Privilege": "cdr,all",
"AccountCode": "",
"Source": "13125559999",
"Destination": "101",
"DestinationContext": "sp-local-numbers",
"CallerID": "\"Mobile\" <13125559999>",
"Channel": "PJSIP/trunk-7d3e9a52-1c4b-4f6e-9a0d-2b8c5e1f4a37-00000016",
"DestinationChannel": "",
"LastApplication": "Park",
"LastData": "default:701",
"StartTime": "2026-10-19 09:06:57",
"AnswerTime": "2026-10-19 09:06:57",
"EndTime": "2026-10-19 09:06:59",
"Duration": "2",
"BillableSeconds": "2",
"Disposition": "ANSWERED",
"AMAFlags": "DOCUMENTATION",
"UniqueID": "1792400815.54",
"UserField": "",
"LinkedID": "1792400815.54",
"sp_did": "13125551234",
"sp_direction": "inbound",
"sp_recording": ""
},
{
"Event": "Cdr",
"Privilege": "cdr,all",
"AccountCode": "",
"Source": "13125559999",
"Destination": "101",
"DestinationContext": "sp-local-numbers",
"CallerID": "\"Mobile\" <13125559999>",
"Channel": "PJSIP/trunk-7d3e9a52-1c4b-4f6e-9a0d-2b8c5e1f4a37-00000016",
"DestinationChannel": "PJSIP/103-00000018",
"LastApplication": "Dial",
"LastData": "PJSIP/101/sip:101-0x5987fe8320b0@172.21.0.4:5070,25,tx",
"StartTime": "2026-10-19 09:06:59",
"AnswerTime": "2026-10-19 09:06:59",
"EndTime": "2026-10-19 09:07:03",
"Duration": "4",
"BillableSeconds": "4",
"Disposition": "ANSWERED",
"AMAFlags": "DOCUMENTATION",
"UniqueID": "1792400815.54",
"UserField": "",
"LinkedID": "1792400815.54",
"sp_did": "13125551234",
"sp_direction": "inbound",
"sp_recording": ""
}
]