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


There are 3 instances of use for SIP URI's, one is to send calls to an external SIP URI, via your DID number, 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. The third option is to use a Virtual number.


Contents


Send calls to a en 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


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


Example: 1{DID}@Your_IP_address = 12143221234@128.144.122.12



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


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


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). 


Extension.jpg

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