2. Brekeke SIP Server Auth Plug-in Process Flow
- A SIP user agent sends a SIP request such as REGISTER or INVITE to Brekeke SIP Server.
- Brekeke SIP Server passes the user name, SIP method name, destination SIP-URI and Proxy-Authorization header value or Authorization header value which are in the SIP request to the plug-in’s lookup()
- The plug-in queries the user directory for the record of the user name.
- The user directory returns an appropriate record.
- The plug-in puts the record to a UserRecord object (refer to Section 4.2, UserRecord Class) and returns the object to Brekeke SIP Server. If no record is found, null is returned.
- Brekeke SIP Server compares the returned result with the authentication information in the SIP request if a UserRecord object is returned from the plug-in.