The SIP Client Resolver determines the target clients by comparing the Request-URI of the incoming SIP request to the information stored in SIP Client Resolver mapping table in the Central Repository. The information required to access the map table in the Central Repository is defined in the sipclientresolverconfigcrkey.h file. The incoming SIP request compares with the Request-URI’s user part in the Central Repository mapping table.
If a match is found, the related ECOM plug-in is loaded by its UID. The loaded plug-in matches the incoming SIP requests based on their fields. If the request matches, the plug-in returns the UID of the matching client. SIP Client Resolver requests the resolved ECom plug-in to connect to the Symbian platform server that uses SIP.
The resource (.rss) file contains the information in the Central Repository and also the following information:
dll_uid and implementation_uid: These UIDs are obtained from Symbian Signed.
Note: Both these UIDs can be the same.
The interface_uid must be 0x10282EE5.
The following illustration shows how the SIP Client Resolver subsystem resolves the target client implementing CSIPResolvedClient2 and requests the resolved client to connect to the SIP implementation.
The target clients must implement the CSIPResolvedClient2 interface to receive SIP requests including SIP dialogs and enable the client resolution mechanism. Note: The channel UIDs must be unique across all SIP clients. For example clients may use UIDs assigned for binaries.
The SIP stack uses the plug-ins that implement the CSIPResolvedClient2 interface as follows:
If the SIP request does not contain an Accept-Contact-header, go to step 2. If it does, the SIP stack calls CSIPResolvedClient2::MatchAcceptContactsL for all the plug-ins and applies the following logic:
If the SIP request does not contain an Event-header go to step 3. If it does, the SIP stack calls CSIPResolvedClient2::MatchEventL for all the plug-ins and applies the following logic:
The SIP stack calls CSIPResolvedClient2::MatchRequestL for all the plug-ins and applies the following logic: