This class provides methods to get and set the identify the Public Switched Telephone Network (PSTN) that are involved in a transaction.
This class organizes information about the PSTN. The Accounting class passes the information to the Charging Collection Function.
Accounting acct = new Accounting(); TrunkGroup tg = new TrunkGroup(); tg.setIncomingTrunkGroupId("incoming trunkid"); tg.setOutgoingTrunkGroupId("outgoing trunkid"); acct.setATrunkGroup(tg);
Method | Type | Returns | Description |
---|---|---|---|
getIncomingTrunkGroupId | String | incomingTrunkGroupId | Retrieves the incoming PSTN leg |
getOutgoingTrunkGroupId | String | outgoingTrunkGroupId | Retrieves the outgoing PSTN leg |
Variable name | Parameter | Type | Description |
---|---|---|---|
setIncomingTrunkGroupId | incomingTrunkGroupId | String | Defines the incoming PSTN leg |
setOutgoingTrunkGroupId | outgoingTrunkGroupId | String | Defines the outgoing PSTN leg |