Hi, yes I want the callID and the automation input in the same context (either function or eventhandler).
The log just gives me the callID and the automation_input_id:
Logging arguments from onCallUpdateCallback event:
{
"iparams": {},
"region": "US",
"data": {
"call": {
"parallel_call_groups": [],
"phone_number": "+XXXXX",
"root_call_id": null,
"created_time": "2022-06-15T14:37:42.109Z",
"call_notes": null,
"assigned_ivr_id": 16536,
"assigned_team_id": null,
"integrated_resources": [],
"assigned_call_queue_name": null,
"phone_number_id": 97771,
"participants": [
{
"participant_type": "Customer",
"duration": null,
"caller_number": "XXXX",
"created_time": "2022-06-15T14:37:42.298Z",
"connection_type": 0,
"enqueued_time": null,
"cost_unit": "usd",
"caller_id": 41813322,
"duration_unit": "seconds",
"caller_name": "996549381",
"id": 143049140,
"cost": null,
"participant_id": 47392041,
"updated_time": "2022-06-15T14:37:42.298Z",
"**call_id**": 143049214,
"call_status": 0
}
],
"recording_to_redact": null,
"direction": "incoming",
"assigned_call_queue_id": null,
"assigned_team_name": null,
"id": 143049214,
"parent_call_id": null,
"bill_duration": null,
"bill_duration_unit": "seconds",
"assigned_agent_name": null,
"updated_time": "2022-06-15T14:37:42.109Z",
"recording": null,
"life_cycle": [
{
"type": "ivr_initiated",
"ivr_id": 16536,
"time_stamp": "2022-06-15T14:37:42.391Z"
},
{
"type": "ivr_input",
"digit": "1",
"time_stamp": "2022-06-15T14:37:45.463Z"
},
{
"type": "routing_automation_initiated",
"routing_automation_id": 664,
"marketplace_app_id": 164,
"time_stamp": "2022-06-15T14:37:45.619Z"
},
{
"time_stamp": "2022-06-15T14:37:55.904Z",
"routing_automation_id": 664,
"input_type": 1,
"type": "routing_automation_responded",
"**routing_automation_input_id**": 275474
}
],
"assigned_ivr_name": "Creditia",
"assigned_agent_id": null
},
"associations": {},
"actor": {
"type": "system"
},
"changes": {}
},
"account_id": "460066",
"domain": "XXX.freshcaller.com",
"event": "onCallUpdate",
"timestamp": 1655303875,
"version": "1.0"
}```