Skip to main content

JSON

The following is an example, and default settings, of a JSON configuration:

{
    "about": {
        "mascot": false
    },
    "debug": {
        "logging": false,
        "profile-cpu": false
    },
    "rtp": {
        "bleed": {
            "bleed-config": [],
            "conn-count": 10,
            "output": [],
            "port-ranges": "10000-20000,35000-65000",
            "probe-all-ports": false,
            "probe-during-attack": false,
            "proto": "",
            "rate": "",
            "rounds": 0,
            "rtcp-payload": "",
            "rtp-payload": ""
        },
        "flood": {
            "auth-config": [],
            "ca-cert": "",
            "call-mode": "caller",
            "client-cert": "",
            "client-key": "",
            "codec": [
                "opus",
                "alaw",
                "ulaw",
                "opus",
                "gsm",
                "g723",
                "lpc",
                "g722",
                "g728",
                "g729",
                "h261",
                "h263"
            ],
            "conn-count": 1,
            "credentials": "",
            "domain": "",
            "extension": "",
            "from": "",
            "rate": "",
            "register": false,
            "rtp-payload": "music.wav",
            "templates": ".",
            "tls-key-log": ""
        },
        "inject": {
            "conn-count": 1,
            "inject-config": [],
            "port-ranges": "10000-20000,35000-65000",
            "probe-all-ports": false,
            "rate": "",
            "rounds": 0,
            "rtp-payload": ""
        },
        "srtp": "none"
    },
    "sip": {
        "ca-cert": "",
        "client-cert": "",
        "client-key": "",
        "crack": {
            "digestleak": {
                "auth-config": [],
                "call-mode": "caller",
                "challenge-config": [],
                "codec": [
                    "alaw",
                    "ulaw",
                    "opus",
                    "gsm",
                    "g723",
                    "lpc",
                    "g722",
                    "g728",
                    "g729",
                    "h261",
                    "h263"
                ],
                "credentials": "",
                "domain": "",
                "extension": "",
                "from": "",
                "methods": [
                    "BYE",
                    "INVITE"
                ],
                "output": [],
                "register": false,
                "rtp-payload": "music.wav"
            },
            "online": {
                "auth-config": [],
                "close-conn": false,
                "conn-count": 30,
                "credentials-file": "",
                "dictionary": "",
                "domain": "",
                "extensions": [],
                "extensions-file": "",
                "from": "",
                "method": "register",
                "pattern": [
                    "ext"
                ],
                "range": [],
                "range-fmt": "",
                "rate": "",
                "to": ""
            }
        },
        "dos": {
            "flood": {
                "auth-config": [],
                "auth-mode": "",
                "caller-mode": [],
                "close-conn": false,
                "conn-count": 30,
                "credentials": "",
                "domain": "",
                "extension": "",
                "extensions-file": "",
                "flood-config": [],
                "from": "",
                "max-requests": 0,
                "method": "REGISTER",
                "no-prober": false,
                "rate": "",
                "register": false
            }
        },
        "enumerate": {
            "extensions": {
                "auth-config": [],
                "auth-mode": "ignore",
                "conn-count": 30,
                "credentials": "",
                "domain": "",
                "ext-fmt": "",
                "extensions": [
                    "0-9999",
                    "admin"
                ],
                "extensions-file": "",
                "from": "",
                "method": "",
                "no-prober": false,
                "probe-methods": [
                    "REGISTER",
                    "SUBSCRIBE",
                    "NOTIFY",
                    "PUBLISH",
                    "MESSAGE",
                    "INVITE",
                    "OPTIONS"
                ],
                "probe-only": false,
                "rate": "",
                "register": false,
                "to-domain": ""
            },
            "methods": {
                "auth-config": [],
                "credentials": "",
                "domain": "",
                "extension": "",
                "from": "",
                "methods": [
                    "REGISTER",
                    "SUBSCRIBE",
                    "NOTIFY",
                    "PUBLISH",
                    "MESSAGE",
                    "INVITE",
                    "OPTIONS",
                    "BYE",
                    "CANCEL",
                    "ACK",
                    "PRACK",
                    "INFO",
                    "REFER",
                    "UPDATE"
                ],
                "rate": "",
                "register": false
            }
        },
        "fuzz": {
            "request": {
                "auth-config": [],
                "caller-mode": [],
                "close-conn": false,
                "conn-count": 30,
                "credentials": "",
                "domain": "",
                "extension": "",
                "from": "",
                "fuzz-mode": "",
                "max-requests": 0,
                "method": "",
                "mutator": "radamsa",
                "no-prober": false,
                "rate": "",
                "register": false
            }
        },
        "srtp": "none",
        "templates": ".",
        "tls-key-log": "",
        "utils": {
            "call": {
                "auth-config": [],
                "caller-mode": [
                    "hangup-call:30s"
                ],
                "codec": [
                    "ulaw",
                    "alaw",
                    "opus"
                ],
                "credentials": "",
                "domain": "",
                "extension": "",
                "from": "",
                "register": false,
                "rtp-payload": "music.wav"
            },
            "callee": {
                "auth-config": [],
                "callee-mode": "never-hangup",
                "codec": [
                    "ulaw",
                    "alaw",
                    "opus"
                ],
                "credentials": "",
                "domain": "",
                "from": "",
                "max-calls": 0,
                "register": false,
                "rtp-payload": "music.wav"
            },
            "ping": {
                "auth-config": [],
                "credentials": "",
                "domain": "",
                "extension": "",
                "from": "",
                "interval": "1s",
                "max-requests": 0,
                "method": "OPTIONS",
                "register": false,
                "show": [
                    "warning"
                ],
                "timeout": "2s"
            },
            "repeater": {
                "auth-config": [],
                "credentials": "",
                "domain": "",
                "extension": "",
                "from": "",
                "method": "options",
                "register": false,
                "timeout": "1s"
            },
            "templates": {
                "dump": {
                    "methods": [
                        "REGISTER",
                        "ACK",
                        "BYE",
                        "CANCEL",
                        "INFO",
                        "INVITE",
                        "MESSAGE",
                        "NOTIFY",
                        "OPTIONS",
                        "PUBLISH",
                        "SUBSCRIBE",
                        "PRACK",
                        "REFER",
                        "UPDATE"
                    ]
                },
                "test": {
                    "auth-config": [],
                    "codec": [
                        "ulaw",
                        "alaw",
                        "opus"
                    ],
                    "credentials": "",
                    "domain": "",
                    "extension": "",
                    "from": "",
                    "methods": [
                        "OPTIONS"
                    ]
                }
            }
        }
    },
    "telemetry": {
        "bind-addr": "",
        "ca-cert": "",
        "cert-file": "",
        "cert-key": ""
    }
}