Define SIP Registration Settings
You will need to define your SIP Registration settings in the HmpElementsServer.exe.config file.
Example for setting up SIP Registration:
<setting name="Registrations" serializeAs="Xml"> <value> <ArrayOfRegistration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Registration> <ToDisplayName></ToDisplayName> <ToUser>yourusername</ToUser> <ToPassword></ToPassword> <ToHost>ipOfCarrier</ToHost> <ToPort>5060</ToPort> <FromDisplayName></FromDisplayName> <FromUser> yourusername </FromUser> <FromPassword></FromPassword> <FromHost> ipOfCarrier </FromHost> <FromPort>5060</FromPort> <AuthUsername>yourusername</AuthUsername> <AuthPassword>yourpassword</AuthPassword> <AuthUri>sip:yourusername@yourexternalip</AuthUri> </Registration> </ArrayOfRegistration> </value> </setting>
ToPassword / From Password fields
Please note that we don’t have anything in place in the ToPassword / From Password fields. These fields are used to construct a plain text URL, so if you use these settings then the password is sent in plain text.
AuthUsername and AuthPassword
The AuthUsername and AuthPassword are set up to respond to 407 challenges.
AuthUri
Please note that you may be able to leave your AuthUri blank — this depends on your SIP carrier. You may also need to modify the format of the AuthUri depending on what your SIP carrier sends back. You will want to use the format that your SIP carrier sends.
Test your SIP Registration
Once you have set up the Registration settings, you will want to start a Wireshark trace and make sure that you authenticate correctly. Generally, your carrier will give you an indication why the authentication failed, and you can then modify the appropriate settings.
For more information about how to use Wireshark, please see our article Troubleshoot with Wireshark.
Please contact support@inventivelabs.com if you have any questions about SIP Registration.