Archived:Creating a SIP profile without defining an outbound SIP proxy using Symbian C++
The Local Client Provisioning Plug-in for VOIP Release 2.x documents how to create SIP settings automatically from a file included in the main application's SIS file. SIP profile settings used in the example will always configure SIP proxy settings as well. This article describes how to edit the settings file if no outbound proxy is needed.
The settings.xml file included in the example contains also SIP proxy settings. Trying to remove proxy-related definitions from the XML file (ie. APPADDR and APPAUTH characteristics and all their parameters) will not have the desired result - instead, the generated SIP profile will have a proxy with "sip:" as the proxy host name.
To create a SIP profile without any outbound SIP proxy settings, remove also the APROTOCOL characteristic from the example settings.xml file:
<!-- Remove following lines to create a profile without proxy settings -->
<parm name="APROTOCOL" value="UDP"/>
<parm name="ADDR" value="ProxyAddress"/>
<parm name="PORTNBR" value="5060"/>
<parm name="AAUTHNAME" value="proxy_username"/>
<parm name="AAUTHSECRET" value="proxy_password"/>
<parm name="AAUTHDATA" value="proxy_realm"/>