How do I set up SIP Registration?

From VESupport

Jump to: navigation, search

You will need to define your SIP Registration settings in the HmpElementsServer.exe.config file.

Below is an 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>

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.

The AuthUsername and AuthPassword are set up to respond to 407 challenges.

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.

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 may then modify the appropriate settings.

Please contact support@inventivelabs.com if you have any questions about SIP Registration.

Personal tools