Diameter Endpoint Plugin
Ping protocol plugin allows for ICMP Ping messages toward endpoints.
Configuration
The following configuration can be set:
| Setting | Type | Default | Description |
|---|---|---|---|
Remote | string | (none) | Remote host and (optionally) port for remote destination |
Local | string | (any:3868) | Local host |
WatchdogInterval | i32 | 30s | Watchdog interval (5s+) |
UseNagle | bool | false | If true, nagle will be used for TCP connection |
Capability-Exchange-Request | node | (none) | Content of Capability-Exchange-Request |
Diameter-Watchdog-Request | node | (none) | Content of Diameter-Watchdog-Request |
Example: Host Setup
The following example sets the host.
@Remote Diameter {
Remote 10.0.0.1:3868
WatchdogInterval 10s
UseNagle false
Capability-Exchange-Request {
Origin-Host diameter.aaseq.com
Origin-Realm aaseq.com
Product-Name AASeq
Vendor-Id 10415
}
Diameter-Watchdog-Request {
Origin-Host diameter.aaseq.com
Origin-Realm aaseq.com
}
}
Outgoing Message “Send”
Outgoing message will send a diameter request.
Example: Basic
We can send message without any extra paramters.
Gy:Credit-Control-Request >Remote {
Session-Id $DIAMETER_SESSION_ID<diameter.aaseq.com>
Origin-Host diameter.aaseq.com
Origin-Realm aaseq.com
Destination-Realm example.com
}
Incoming Message “Reply”
Reply will arrive with content of the answer.
Example: Basic
Successful response.
Gy:Credit-Control-Answer <Remote {
Result-Code DIAMETER_SUCCESS|DIAMETER_PARTIAL_SUCCESS /op=regex
}