SIP URI

From VoIP.ms Wiki

Jump to: navigation, search

A SIP URI is the SIP addressing schema to call another person via SIP. In other words, a SIP URI is a user's SIP phone number. The SIP URI resembles an e-mail address and is written in the following format: x@y:port (x=Username, y=host|domain|IP)

Example: johnsmith@my-uri.com

A general description of SIP addressing is at wikipedia:SIP address. The addresses, which use the same user@domain... format as e-mail addresses, allow an individual Internet telephony user to be reached directly online without passing via the public switched telephone network or incurring the corresponding tolls.

A SIP address may be used as a destination to which to forward a voip.ms DID number, as a target for an individual speed dial entry (*75xx) in a voip.ms user address book or as a means to transfer incoming calls into your voip.ms extensions or numbers from outside Internet servers.

  1. One is to send calls to an external SIP URI, via your DID number,
  2. A second option is to receive calls via SIP URI, we can achieve this using our DID number or an internal extension from a sub account.
  3. The third option is to use a Virtual number.
Please note SIP URI is only functional through an external source, it is not intended to be used internally with VoIP.ms.


Contents


Send calls to an external SIP URI address

You can route incoming calls to your DID numbers using a SIP URI address from other companies. You will need to create a string like youraccount@yourip to which you can route the DID(s).

Make sure the other company or provider supports the use of SIP URI

Creating a new SIP URI

To make a SIP URI that can be used with multiple DIDs, use the {DID} tag. The {DID} expression will be replaced automatically by the DID number as it is listed in the "Manage DID section".

Forward.jpg

Examples
1{DID}@128.144.122.12
12143221234@128.144.122.12
some_extension_name@128.144.122.12:5080
other_extension_name@voip.example.com
extension_name@123456_subaccount
{DID}@123456_subaccount (This produces the same result as routing the call directly to the sub account.)


Dialing out a SIP URI or using a SIP URI as forwarding does not generate cost (Outgoing call).

Creating a phone book entry

A SIP URI may be associated with a phone book or speed dial entry in the same manner as any other telephone number.

See Phone book#Create a Phone Book Entry with a SIP URI.

Pb entry sipuri.jpg

SIP URI: Here you can either select Use Existing or Create New to assign the SIP URI to your Phone Book entry.

This replaces alphanumeric addresses (such as sip:user@provider.example.org) with numeric abbreviations (such as *7501) which can be easily dialled from IP phones that only offer a numeric keypad.

Codec Negotation

By default when you route your incoming calls to an external SIP URI address, the system sends the INVITE allowing all VoIP.ms supported codecs (ulaw, g729a and GSM). In that case if you want to use a specific codec (from the supported ones) you need to restrict that in your end. For instance, if you are using an Asterisk/PBX System and only wish to use ulaw codec, you will need to make sure to have the following settings in the trunk:

disallow=all
allow=ulaw

Receiving incoming calls from a SIP URI

Using your DID number

You can receive SIP URI calls using the following format {Number}@sip.voip.ms, this can be used with your local US and Canada numbers, so they can be reached from outside.

Did.jpg

This format of SIP address is used by services such as wikipedia:SIP Broker as a means to reach voip.ms subscribers.

Another variant, also valid, is to specify the specific voip.ms server on which your DID is registered, ie:

sip:4166471234@toronto.voip.ms

Using your sub account internal extension

When you assign an internal extension for a sub account, it can also be used as an external SIP URI. For example, if your extension is 2, you could be reached directly via SIP from another network with a URI like this: 1000002@houston.voip.ms

(Replace houston.voip.ms by the server you are registered to, 100000 by your account ID and the 2 by your internal extension).

Important: no call flow or filtering can be applied to calls make to the external SIP URI. Calls will immediately ring the device registered to this sub-account.

Extension.jpg

Using iNum

Any iNum number (from any provider) is a SIP URI; just append @sip.inum.net

For example, iNum 883510009999999 becomes:

883510009999999@sip.inum.net

Using a Virtual number

Virtual SIP numbers are similar to standard DID numbers. The major difference is that virtual SIP numbers are not accessible via "PSTN". They can only be reached via "SIP URI" over internet. For example, if you have a DID number with another provider and they support SIP URI Forwarding, you could forward your number to a virtual number at voip.ms just like if it was one of our numbers.

All virtual numbers consist of the following digits: 11 + Accountcode + 3 digits of your choice for a total of 11 digits. The final uri will be that number followed by the @ sign at one of our server. If you intend to send the calls to a phone or adapter, you'll need to point it to the proper server.

Example SIP URI: 11100000123@houston.voip.ms

Virtualsip.jpg

Personal tools
Namespaces
Variants
Actions
VoIP.ms Wiki
Configuration
Guides (English)
Guides (Français)
Guías (Español)
Toolbox