How voip-co-uk/sftf works
Main Components
a) Core Testing Framework Layer:
• SFTF.py (main entry point) at the top
• TestCase.py and TestResult.py as core testing components
• To UserAgentBasicTestSuite directory containing all test cases
b) Protocol Handling Layer:
• SIP Message Processing:
• SipMessage.py as the base
• SipRequest.py and SipReply.py as specializations
• Transaction.py for SIP transaction management
• Header Field Handlers (HFH directory):
• Header field handlers (Via.py, To.py, From.py, etc.)
• HeaderFieldHandler.py as the base class
c) Network and Event Handling Layer:
• NetworkEventHandler.py
• EventHandler.py
• FileEventHandler.py
• XMLEventHandler.py
• HttpServer.py
• RtpStream.py and RtpEvent.py for media handling
d) Authentication Components:
• DigestAuthentication.py
• Related header handlers (Authorization.py, ProxyAuthentication.py)
Relationships and Data Flow
• Test execution flow from SFTF.py → TestCase.py → Individual test cases
• SIP message flow through the protocol handling layer
• Event propagation through the event handling system
• Authentication flow when applicable
Important Details
• Notes about key configuration points (Config.py)
• Callouts for important utility classes (Helper.py, Log.py)
• Body parser components (BodyParser directory)