Running the Examples

Connect to the example resource adaptor listening on port 9999 using the telnet utility:

telnet localhost 9999

Try commands for the installed service, as described in the following tables.

Diameter CCA

send CCR messages with CC-Request-Type = INITIAL_REQUEST

send CCR messages with CC-Request-Type = UPDATE_REQUEST

send CCR messages with CC-Request-Type = TERMINATION_REQUEST

send CCR with CC-Request-Type = EVENT_REQUEST and Requested-Action = DIRECT_DEBITING

send CCR with CC-Request-Type = EVENT_REQUEST and Requested-Action = REFUND_ACCOUNT

send CCR with CC-Request-Type = EVENT_REQUEST and Requested-Action = CHECK_BALANCE

send CCR with CC-Request-Type = EVENT_REQUEST and Requested-Action = PRICE_ENQUIRY

Diameter Ro

send CCR messages with CC-Request-Type = INITIAL_REQUEST

send CCR messages with CC-Request-Type = UPDATE_REQUEST

send CCR messages with CC-Request-Type = TERMINATION_REQUEST

Diameter Base (Accounting)

send ACR with Accounting-Record-Type = START_RECORD

send ACR with Accounting-Record-Type = INTERIM_RECORD

send ACR with Accounting-Record-Type = STOP_RECORD

send ACR with Accounting-Record-Type = EVENT_RECORD

Diameter Rf

send ACR with Accounting-Record-Type = START_RECORD

send ACR with Accounting-Record-Type = INTERIM_RECORD

send ACR with Accounting-Record-Type = STOP_RECORD

send ACR with Accounting-Record-Type = EVENT_RECORD

synchronously send ACR with Accounting-Record-Type = EVENT_RECORD

Diameter Sh

display available commands

send a User-Data-Request

send a Subscribe-Notifications-Request (SubsReqType=SUBSCRIBE) on a new ShClientSubscriptionActivity

send a Subscribe-Notifications-Request (SubsReqType=UNSUBSCRIBE) on an existing ShClientSubscriptionActivity

send a Subscribe-Notifications-Request (SubsReqType=SUBSCRIBE) on a ShClientActivity

send a Subscribe-Notifications-Request (SubsReqType=UNSUBSCRIBE) on a ShClientActivity

send a Profile-Update-Request

Diameter Base Extension

send a `User-Data-Request `as an extension message with custom AVPs

All

display available commands

close the connection

Undeploy the example:

ant undeploy
Warning Each example should be undeployed before a new one is deployed. If not, the example events will be received by multiple services resulting in unpredictable behaviour.
Diameter Resource Adaptors Version 4.1