Example Event


{
    "uuid": "0a8f3faa-5c77-4df1-aed2-1f54b2de5d16",
    "created_on": "2024-02-20T16:41:37.221Z",
    "type": "call_flow",
    "message": "Dial: success false, reason: [originate] ERR NO_USER_RESPONSE. no any destinations are accept the call 1/1",
    "payload": {
        "command": "Dial"
    },
    "call": {
        "type": "CallSCA",
        "created_on": "2024-02-20T16:41:34.861Z",
        "modified_on": "2024-02-20T16:41:34.877Z",
        "uuid": "c7aa8c03-87d6-403d-8287-2211a1974fe3",
        "state": "ringing",
        "direction": "in",
        "from": "+18389999168",
        "to": "18382049000",
        "duration": 1301,
        "init_on": "2024-02-20T16:41:34.874Z",
        "ring_on": "2024-02-20T16:41:34.877Z",
        "answer_on": null,
        "hangup_on": null,
        "destroy_on": null,
        "finished_on": null,
        "q850_cause": null,
        "q850_cause_string": null,
        "release_cause_from_protocol_stack": null,
        "stir_shaken_attest_level": null,
        "stir_shaken_identity": null,
        "thread": "f2fc43433c39837ba33497b10910cf76",
        "account": {
            "created_on": "2022-04-26T05:37:15.707Z",
            "modified_on": "2023-12-04T05:57:32.303Z",
            "uuid": "58699aff-b3dd-46b6-b428-029cde3368a4",
            "email": "info@freefone.app",
            "name": "SOupra",
            "phone": 9038479977,
            "level": "Level2",
            "address1": "BT road",
            "address2": "eeeeeFFF",
            "zip_code": "700004",
            "city": "kolakata",
            "deleted_on": null,
            "disabled_on": null,
            "balance": 814.85626
        },
        "sip_control_app": {
            "created_on": "2023-05-05T06:21:55.688Z",
            "modified_on": "2024-01-03T12:28:49.915Z",
            "uuid": "03302770-4a53-438e-adb6-7a3062d61547",
            "name": "global frees SCA",
            "is_active": true,
            "shaken_verify_policy": 0,
            "shaken_minimum_accepted_attest_lvl": "C",
            "auto_answer": true,
            "max_call_length_min": null,
            "tts_settings": null
        },
        "batch_item": null,
        "parent": null,
        "children": [],
        "lerg": null,
        "tn": {
            "created_on": "2024-01-17T06:29:59.473Z",
            "modified_on": "2024-01-17T08:03:54.373Z",
            "tn": 18382049000,
            "deleted_on": null
        },
        "sip_user": null,
        "logs": [
            {
                "created_on": "2024-02-20T16:41:36.590Z",
                "modified_on": "2024-02-20T16:41:36.590Z",
                "uuid": "3642a58e-cc9d-490f-a784-f2fce18deb62",
                "success": false,
                "state": "queued",
                "name": "Callback",
                "element": {
                    "name": "Callback",
                    "type": "element",
                    "elements": [
                        {
                            "name": "Error",
                            "type": "element",
                            "elements": [
                                {
                                    "name": "Say",
                                    "type": "element",
                                    "elements": [
                                        {
                                            "text": " Freefone is not able to connect your call now.  Please try again later. ",
                                            "type": "text"
                                        }
                                    ]
                                },
                                {
                                    "name": "Hangup",
                                    "type": "element"
                                }
                            ]
                        }
                    ],
                    "attributes": {
                        "url": "https://apitest.freefone.app/callflow"
                    }
                },
                "command": {
                    "url": "https://apitest.freefone.app/callflow",
                    "body": false,
                    "meta": {},
                    "name": "Callback",
                    "path": "Callback[0]",
                    "error": [
                        {
                            "say": false,
                            "meta": {},
                            "name": "Error",
                            "path": "Callback[0].Error[0]",
                            "error": [],
                            "state": "queued",
                            "reason": "unknown",
                            "success": false,
                            "children": [
                                {
                                    "leg": "both",
                                    "code": "en-US-Standard-C",
                                    "lang": "en-US",
                                    "loop": 1,
                                    "meta": {},
                                    "name": "Say",
                                    "path": "Callback[0].Error[0].Say[0]",
                                    "text": "Freefone is not able to connect your call now.  Please try again later.",
                                    "type": "Standard",
                                    "error": [],
                                    "state": "queued",
                                    "voice": {
                                        "code": "en-US",
                                        "name": "en-US-Standard-C",
                                        "type": "Standard",
                                        "uuid": "663dec3d-6a25-4c87-86ca-357f079b665b",
                                        "gender": "FEMALE",
                                        "created_on": "2022-03-25T03:55:15.343Z",
                                        "modified_on": "2022-03-25T03:55:15.343Z",
                                        "naturalSampleRateHertz": 24000
                                    },
                                    "gender": "FEMALE",
                                    "reason": "unknown",
                                    "success": false,
                                    "timeout": 30000,
                                    "children": []
                                },
                                {
                                    "meta": {},
                                    "name": "Hangup",
                                    "path": "Callback[0].Error[0].Hangup[1]",
                                    "error": [],
                                    "state": "queued",
                                    "reason": "unknown",
                                    "success": false,
                                    "children": []
                                }
                            ]
                        }
                    ],
                    "state": "queued",
                    "method": "GET",
                    "reason": "unknown",
                    "success": false,
                    "timeout": 5000,
                    "children": []
                },
                "reason": "unknown",
                "tag": null
            },
            {
                "created_on": "2024-02-20T16:41:36.816Z",
                "modified_on": "2024-02-20T16:41:37.096Z",
                "uuid": "f1c0688f-a52f-4dba-90c0-1d521030348b",
                "success": false,
                "state": "failed",
                "name": "Dial",
                "element": {
                    "name": "Dial",
                    "type": "element",
                    "elements": [
                        {
                            "name": "To",
                            "type": "element",
                            "attributes": {
                                "destination": "soupra_cool_743_gmail_com_97176442681235292623@freefone1.sip.stage.opentact.org"
                            }
                        },
                        {
                            "name": "Error",
                            "type": "element",
                            "elements": [
                                {
                                    "name": "Say",
                                    "type": "element",
                                    "attributes": {
                                        "text": "no one answered, please leave a voicemail message after a beep"
                                    }
                                },
                                {
                                    "name": "Record",
                                    "type": "element",
                                    "elements": [
                                        {
                                            "name": "Tone",
                                            "type": "element"
                                        },
                                        {
                                            "name": "Pause",
                                            "type": "element",
                                            "attributes": {
                                                "length": "60000"
                                            }
                                        }
                                    ],
                                    "attributes": {
                                        "asr": "false",
                                        "tag": "voicemail"
                                    }
                                }
                            ]
                        }
                    ],
                    "attributes": {
                        "timeout": "10000",
                        "max_call_attempts": "1",
                        "max_call_duration": "120000"
                    }
                },
                "command": {
                    "from": 18389999168,
                    "meta": {},
                    "name": "Dial",
                    "path": "Dial[0]",
                    "error": [
                        {
                            "say": false,
                            "meta": {},
                            "name": "Error",
                            "path": "Dial[0].Error[0]",
                            "error": [],
                            "state": "queued",
                            "reason": "unknown",
                            "success": false,
                            "children": [
                                {
                                    "leg": "both",
                                    "code": "en-US-Standard-C",
                                    "lang": "en-US",
                                    "loop": 1,
                                    "meta": {},
                                    "name": "Say",
                                    "path": "Dial[0].Error[0].Say[0]",
                                    "text": "no one answered, please leave a voicemail message after a beep",
                                    "type": "Standard",
                                    "error": [],
                                    "state": "queued",
                                    "voice": {
                                        "code": "en-US",
                                        "name": "en-US-Standard-C",
                                        "type": "Standard",
                                        "uuid": "663dec3d-6a25-4c87-86ca-357f079b665b",
                                        "gender": "FEMALE",
                                        "created_on": "2022-03-25T03:55:15.343Z",
                                        "modified_on": "2022-03-25T03:55:15.343Z",
                                        "naturalSampleRateHertz": 24000
                                    },
                                    "gender": "FEMALE",
                                    "reason": "unknown",
                                    "success": false,
                                    "timeout": 30000,
                                    "children": []
                                },
                                {
                                    "asr": false,
                                    "tag": "voicemail",
                                    "meta": {},
                                    "name": "Record",
                                    "path": "Dial[0].Error[0].Record[1]",
                                    "error": [],
                                    "state": "queued",
                                    "reason": "unknown",
                                    "success": false,
                                    "timeout": 30000,
                                    "children": [
                                        {
                                            "hz": [
                                                500
                                            ],
                                            "don": 500,
                                            "leg": "both",
                                            "doff": 500,
                                            "loop": 1,
                                            "meta": {},
                                            "name": "Tone",
                                            "path": "Dial[0].Error[0].Record[1].Tone[0]",
                                            "error": [],
                                            "state": "queued",
                                            "reason": "unknown",
                                            "volume": 0,
                                            "success": false,
                                            "timeout": 30000,
                                            "children": []
                                        },
                                        {
                                            "meta": {},
                                            "name": "Pause",
                                            "path": "Dial[0].Error[0].Record[1].Pause[1]",
                                            "error": [],
                                            "state": "queued",
                                            "length": 60000,
                                            "reason": "unknown",
                                            "success": false,
                                            "children": []
                                        }
                                    ]
                                }
                            ]
                        }
                    ],
                    "state": "failed",
                    "reason": "[originate] ERR NO_USER_RESPONSE. no any destinations are accept the call 1/1",
                    "success": false,
                    "timeout": 10000,
                    "children": [
                        {
                            "meta": {},
                            "name": "To",
                            "path": "Dial[0].To[0]",
                            "type": "sip",
                            "error": [],
                            "state": "queued",
                            "reason": "unknown",
                            "success": false,
                            "children": [],
                            "destination": "soupra_cool_743_gmail_com_97176442681235292623@freefone1.sip.stage.opentact.org",
                            "destination_addr": "freefone1.sip.stage.opentact.org",
                            "destination_name": "soupra_cool_743_gmail_com_97176442681235292623",
                            "destination_port": 5060
                        }
                    ],
                    "max_call_attempts": 1,
                    "max_call_duration": 120000
                },
                "reason": "[originate] ERR NO_USER_RESPONSE. no any destinations are accept the call 1/1",
                "tag": null
            }
        ],
        "records": [],
        "sip_domain": null
    },
    "call_flow": {
        "uuid": "f1c0688f-a52f-4dba-90c0-1d521030348b",
        "success": false,
        "state": "failed",
        "reason": "[originate] ERR NO_USER_RESPONSE. no any destinations are accept the call 1/1",
        "name": "Dial",
        "element": {
            "type": "element",
            "name": "Dial",
            "attributes": {
                "timeout": "10000",
                "max_call_duration": "120000",
                "max_call_attempts": "1"
            },
            "elements": [
                {
                    "type": "element",
                    "name": "To",
                    "attributes": {
                        "destination": "soupra_cool_743_gmail_com_97176442681235292623@freefone1.sip.stage.opentact.org"
                    }
                },
                {
                    "type": "element",
                    "name": "Error",
                    "elements": [
                        {
                            "type": "element",
                            "name": "Say",
                            "attributes": {
                                "text": "no one answered, please leave a voicemail message after a beep"
                            }
                        },
                        {
                            "type": "element",
                            "name": "Record",
                            "attributes": {
                                "tag": "voicemail",
                                "asr": "false"
                            },
                            "elements": [
                                {
                                    "type": "element",
                                    "name": "Tone"
                                },
                                {
                                    "type": "element",
                                    "name": "Pause",
                                    "attributes": {
                                        "length": "60000"
                                    }
                                }
                            ]
                        }
                    ]
                }
            ]
        },
        "command": {
            "name": "Dial",
            "success": false,
            "state": "failed",
            "reason": "[originate] ERR NO_USER_RESPONSE. no any destinations are accept the call 1/1",
            "path": "Dial[0]",
            "meta": {},
            "children": [
                {
                    "name": "To",
                    "success": false,
                    "state": "queued",
                    "reason": "unknown",
                    "path": "Dial[0].To[0]",
                    "meta": {},
                    "children": [],
                    "error": [],
                    "destination": "soupra_cool_743_gmail_com_97176442681235292623@freefone1.sip.stage.opentact.org",
                    "type": "sip",
                    "destination_name": "soupra_cool_743_gmail_com_97176442681235292623",
                    "destination_addr": "freefone1.sip.stage.opentact.org",
                    "destination_port": 5060
                }
            ],
            "error": [
                {
                    "name": "Error",
                    "success": false,
                    "state": "queued",
                    "reason": "unknown",
                    "path": "Dial[0].Error[0]",
                    "meta": {},
                    "children": [
                        {
                            "type": "Standard",
                            "gender": "FEMALE",
                            "code": "en-US-Standard-C",
                            "lang": "en-US",
                            "text": "no one answered, please leave a voicemail message after a beep",
                            "voice": {
                                "created_on": "2022-03-25T03:55:15.343Z",
                                "modified_on": "2022-03-25T03:55:15.343Z",
                                "uuid": "663dec3d-6a25-4c87-86ca-357f079b665b",
                                "type": "Standard",
                                "code": "en-US",
                                "name": "en-US-Standard-C",
                                "gender": "FEMALE",
                                "naturalSampleRateHertz": 24000
                            },
                            "name": "Say",
                            "success": false,
                            "state": "queued",
                            "reason": "unknown",
                            "path": "Dial[0].Error[0].Say[0]",
                            "meta": {},
                            "children": [],
                            "error": [],
                            "timeout": 30000,
                            "loop": 1,
                            "leg": "both"
                        },
                        {
                            "name": "Record",
                            "success": false,
                            "state": "queued",
                            "reason": "unknown",
                            "path": "Dial[0].Error[0].Record[1]",
                            "tag": "voicemail",
                            "meta": {},
                            "children": [
                                {
                                    "loop": 1,
                                    "volume": 0,
                                    "don": 500,
                                    "doff": 500,
                                    "hz": [
                                        500
                                    ],
                                    "leg": "both",
                                    "timeout": 30000,
                                    "name": "Tone",
                                    "success": false,
                                    "state": "queued",
                                    "reason": "unknown",
                                    "path": "Dial[0].Error[0].Record[1].Tone[0]",
                                    "meta": {},
                                    "children": [],
                                    "error": []
                                },
                                {
                                    "name": "Pause",
                                    "success": false,
                                    "state": "queued",
                                    "reason": "unknown",
                                    "path": "Dial[0].Error[0].Record[1].Pause[1]",
                                    "meta": {},
                                    "children": [],
                                    "error": [],
                                    "length": 60000
                                }
                            ],
                            "error": [],
                            "asr": false,
                            "timeout": 30000
                        }
                    ],
                    "error": [],
                    "say": false
                }
            ],
            "from": 18389999168,
            "timeout": 10000,
            "max_call_duration": 120000,
            "max_call_attempts": 1
        },
        "tag": null,
        "call": {
            "type": "CallSCA",
            "created_on": "2024-02-20T16:41:34.861Z",
            "modified_on": "2024-02-20T16:41:34.877Z",
            "uuid": "c7aa8c03-87d6-403d-8287-2211a1974fe3",
            "state": "ringing",
            "direction": "in",
            "from": "+18389999168",
            "to": "18382049000",
            "duration": 1301,
            "init_on": "2024-02-20T16:41:34.874Z",
            "ring_on": "2024-02-20T16:41:34.877Z",
            "answer_on": null,
            "hangup_on": null,
            "destroy_on": null,
            "finished_on": null,
            "q850_cause": null,
            "q850_cause_string": null,
            "release_cause_from_protocol_stack": null,
            "stir_shaken_attest_level": null,
            "stir_shaken_identity": null,
            "thread": "f2fc43433c39837ba33497b10910cf76",
            "batch_item": null,
            "parent": null,
            "children": [],
            "lerg": null,
            "sip_user": null,
            "logs": [],
            "records": [],
            "sip_domain": null
        },
        "created_on": "2024-02-20T16:41:36.816Z",
        "modified_on": "2024-02-20T16:41:37.096Z"
    },
    "account": {
        "created_on": "2022-04-26T05:37:15.707Z",
        "modified_on": "2023-12-04T05:57:32.303Z",
        "uuid": "58699aff-b3dd-46b6-b428-029cde3368a4",
        "email": "info@freefone.app",
        "name": "SOupra",
        "phone": 9038479977,
        "level": "Level2",
        "address1": "BT road",
        "address2": "eeeeeFFF",
        "zip_code": "700004",
        "city": "kolakata",
        "deleted_on": null,
        "disabled_on": null,
        "balance": 814.85626
    },
    "promise_sms_campaign": {},
    "batch": null,
    "transaction": null,
    "tn_lease": null,
    "call_record": null,
    "sms_brand": null,
    "tn_order_tn": null,
    "sms": null,
    "call_asr": null,
    "sip_domain": null,
    "user": null,
    "tn_order": null,
    "ticket": null,
    "sip_user": null,
    "modified_on": "2024-02-20T16:41:37.221Z",
    "delivery_report": [],
    "tn": null
}
```

Last updated