Programmable Voice

  1. Home
  2. Docs
  3. Programmable Voice
  4. How do I
  5. Set Up and Test Your SIP Registration

Set Up and Test Your SIP Registration

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="<a class="external free" href="http://www.w3.org/2001/XMLSchema-instance" rel="nofollow">http://www.w3.org/2001/XMLSchema-instance</a>" xmlns:xsd="<a class="external free" href="http://www.w3.org/2001/XMLSchema" rel="nofollow">http://www.w3.org/2001/XMLSchema</a>">
              <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.

Start a Wireshark Trace

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.

Was this article helpful to you? Yes 15 No

How can we help?