blob: 03b8e51198c83960ae86d7e700ccbadd65cbd90b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
Some simple design notes to guide people
- MGCPGrammar can parse requests and replies
- MGCPCommand base class of commands
- asDatagram to create message
- MGCPTrunk a trunk with a destination and nr. endpoints
- MGCPVirtualTrunk for 1@mgw.. in hex
- MGCPE1Trunk for ds-1/... handling
- both hold MGCPEndpoints
- MGCPTransaction a command to create a transaction
- callback for completion (wth response)
- callback for a timeout
- created with an endpoint and the callagent
- MGCPCallAgent serves the Call-Agent port
- Generates the transaction id for a transaction
- Does the retransmission
- Handles timeout
- Recycles transaction after three minutes
(to block a transaction identifier)
|