The following is an example, and default settings, of a JSON configuration:
{
"debug": {
"logging": false,
"profile-cpu": false
},
"rtp": {
"bleed": {
"conn-count": 10,
"keep-probing": false,
"port-ranges": "10000-20000,35000-65000",
"probe-all-ports": false,
"probe-during-attack": false,
"proto": "",
"rate": "",
"rounds": 1,
"rtcp-attack-interval": "2s",
"rtcp-payload": "",
"rtcp-probe-count": 1,
"rtcp-probe-interval": "1ms",
"rtp-attack-interval": "20ms",
"rtp-payload": "",
"rtp-probe-count": 8,
"rtp-probe-interval": "1ms",
"save-pcap": "",
"save-wav": false
},
"flood": {
"codec": [
"opus",
"alaw",
"ulaw",
"opus",
"gsm",
"g723",
"lpc",
"g722",
"g728",
"g729",
"h261",
"h263"
],
"conn-count": 1,
"credentials": "",
"domain": "",
"duration": "0s",
"extension": "",
"from": "",
"mode": "sip-caller",
"rate": "",
"register": false,
"rtp-payload": "music.wav",
"templates": "."
},
"inject": {
"conn-count": 10,
"max-time": "10s",
"port-ranges": "10000-20000,35000-65000",
"probe-all-ports": false,
"send-dtmf": "",
"send-wav": ""
},
"srtp": "none"
},
"sip": {
"ca-cert": "",
"client-cert": "",
"client-key": "",
"crack": {
"digestleak": {
"codec": [
"alaw",
"ulaw",
"opus",
"gsm",
"g723",
"lpc",
"g722",
"g728",
"g729",
"h261",
"h263"
],
"credentials": "",
"domain": "",
"duration": "0s",
"extension": "",
"from": "",
"methods": [
"BYE",
"INVITE"
],
"mode": "caller",
"output": [],
"register": false,
"rtp-payload": "music.wav"
},
"online": {
"conn-count": 30,
"credentials": "",
"dictionary": "",
"domain": "",
"extensions": [],
"extensions-file": "",
"from": "",
"method": "register",
"pattern": [
"ext"
],
"range": [],
"range-fmt": "",
"rate": "",
"to": ""
}
},
"dos": {
"flood": {
"auth-mode": "",
"close-conn": false,
"conn-count": 30,
"credentials": "",
"dictionary": "",
"domain": "",
"duration": "0s",
"extension": "",
"from": "",
"invite-mode": [],
"max-requests": 0,
"method": "REGISTER",
"no-prober": false,
"nonce-reuse": "auto",
"rate": "",
"register": false,
"static-branch": false,
"static-cseq": false
}
},
"enumerate": {
"extensions": {
"auth-mode": "ignore",
"conn-count": 30,
"credentials": "",
"dictionary": "",
"do-not-probe": false,
"domain": "",
"ext-fmt": "",
"extensions": [
"0-9999",
"admin"
],
"from-address": "",
"from-domain": "",
"method": "",
"probe-methods": [
"REGISTER",
"SUBSCRIBE",
"NOTIFY",
"PUBLISH",
"MESSAGE",
"INVITE",
"OPTIONS"
],
"probe-only": false,
"rate": "",
"register": false,
"sipuri-dictionary": "",
"to-domain": ""
},
"methods": {
"credentials": "",
"domain": "",
"extension": "",
"from": "",
"methods": [
"REGISTER",
"SUBSCRIBE",
"NOTIFY",
"PUBLISH",
"MESSAGE",
"INVITE",
"OPTIONS",
"BYE",
"CANCEL",
"ACK",
"PRACK",
"INFO",
"REFER",
"UPDATE"
],
"rate": "",
"register": false
}
},
"fuzz": {
"method": {
"close-conn": false,
"conn-count": 30,
"credentials": "",
"domain": "",
"duration": "0s",
"extension": "",
"from": "",
"fuzz": "",
"invite-mode": [],
"max-requests": 0,
"method": "",
"mutator": "radamsa",
"no-prober": false,
"rate": "",
"register": false
}
},
"srtp": "none",
"templates": ".",
"tls-key-log": "",
"utils": {
"call": {
"codec": [
"ulaw",
"alaw",
"opus"
],
"credentials": "",
"domain": "",
"extension": "",
"from": "",
"invite-mode": [
"hangup-call:30s"
],
"register": false,
"rtp-payload": "music.wav"
},
"callee": {
"callee-mode": "never-hangup",
"codec": [
"ulaw",
"alaw",
"opus"
],
"credentials": "",
"domain": "",
"duration": "0s",
"from": "",
"max-calls": 0,
"register": false,
"rtp-payload": "music.wav"
},
"ping": {
"credentials": "",
"domain": "",
"duration": "0s",
"extension": "",
"from": "",
"interval": "1s",
"max-requests": 0,
"method": "OPTIONS",
"register": false,
"show": [
"warning"
],
"timeout": "2s"
},
"repeater": {
"credentials": "",
"domain": "",
"extension": "",
"from": "",
"method": "options",
"register": false,
"timeout": "1s"
},
"templates": {
"test": {
"codec": [
"ulaw",
"alaw",
"opus"
],
"credentials": "",
"domain": "",
"extension": "",
"from": ""
}
}
}
},
"telemetry": {
"bind-addr": "",
"ca-cert": "",
"cert-file": "",
"cert-key": ""
}
}