VoIP - Calling With a SIP URI: Difference between revisions

Back up to the VoIP Features Category
From AAISP Support Site
mNo edit summary
(→‎Softphones: Voipfone Softphone on Android doesn't make SIP URI calls to numeric usernames - it calls the number directly.)
Tags: Mobile edit Mobile web edit
(26 intermediate revisions by 3 users not shown)
Line 1: Line 1:
__NOTOC__<indicator name="Configuring">[[File:Menu-cog.svg|link=:Category:VoIP Features|30px|Back up to the VoIP Features Category]]</indicator>
__NOTOC__<indicator name="Configuring">[[File:Menu-cog.svg|link=:Category:VoIP Features|30px|Back up to the VoIP Features Category]]</indicator>
[[File:VOIP-sipURIcall.png|thumb|Calling a SIP URI with the 'Ekiga' softphone]]


With SIP, it's possible to make data calls over the Internet to SIP accounts by using URIs of the form ''sip:user@domain''. The ''user'' field can be a name or a phone number. Such calls don't use the normal phone networks, and aren't charged as phone calls (although you may have to pay for the data used, like any other Internet traffic).
Incoming calls can be made from the internet to sip:number@aa.org.uk and delivered just like a normal incoming call.


For example:
The format of your number should be in +44 format, eg to call AAISP support you'd use: sip:+443333400999@aa.org.uk
* AAISP sales can be contacted at sip:sales@aa.net.uk
* AAISP support can be contacted at sip:support@aa.net.uk
* AAISP accounts an be contacted at sip:accounts@aa.net.uk
* the acclaimed 'Lenny 'service is supposedly available at sip:13475147296@in.callcentric.com


Incoming calls can be made from the Internet to an AAISP number by using a SIP URI such as:
You do need to use the hostname ''aa.org.uk'' as we use SRV records to direct the call, so using an IP address instead is not supported.
sip:number@aa.org.uk


The CLI is not trusted for such calls, so are sent to your SIP handset with a ? on the front, and not passed on if the call is diverted.
A call to a URI like this will be delivered just like a normal incoming call - except the caller won't incur any call charges.


The format of the AAISP number should be in +44 format, e.g. to call AAISP support you'd use:
So, for example, without any configuration or account details a softphone may call your A&A provided VoIP number.
sip:+443333400999@aa.org.uk


*You do need to use the hostname ''aa.org.uk'' as we use SRV records to direct the call, so using an IP address is not supported.
[[File:VOIP-sipURIcall.png|thumb|Calling a SIP URI]]
*The CLI is not trusted for such calls, so are sent to your SIP handset with a ? on the front of the number (which may confuse some caller ID display units), and not passed on if the call is diverted.
*So, for example, without any configuration or account details a softphone may call your AAISP provided VoIP number, as shown in the image here.
*As mentioned, this does require the client (the phone you're calling from) to support SRV records.

==Clients==

Most SIP clients which support calling SIP URIs are softphones. When testing, some clients can call SIP URIs without any configuration, other clients can call SIP URIs but require that a SIP account is defined (and perhaps enabled) although they don't actually use the account to place the call. There are also other clients which ''appear'' to support calling SIP URIs but which strip off the domain and call the number part as a chargeable phone call.

For testing clients, it can be useful to have a free SIP account which can't place external calls (e.g. [https://www.linphone.org/freesip/home linphone]) - that way one can be sure that the client isn't making chargeable calls.

==Known working==
You may need to tell some of your contacts how to call you using a sip: URI. To help, the following SIP clients are known to work:

===Softphones===
* Ekiga (Linux)
* Linphone 4.0.1 (Android)
* Twinkle (Linux) - although currently (Dec 2018) there's a problem with SRV records when using systemd-resolved (on Ubuntu and Debian at least)
* Voipfone Softphone (Android) deserves a mention. It needs an account with voipfone.co.uk, but you can signup and try for free. Their softphone app works out of the box for calling SIP URIs - provided they don't have purely numeric usernames: so you can call an AAISP VoIP number (+44....) or AAISP's office (e.g. support@aa.net.uk) but you can't call sip:<number>@host (it'll call the number direct instead).

==Known not-working==
* Linphone 3.6.1 (Linux) - doesn't use SRV DNS records, so can't contact @aa.org.uk SIP URIs.
* CSipSimple, GS Wave - need a SIP account to be enabled, which they then use to place the call.
* Zoiper (Android) - appears at first to work, but closer examination shows that it uses the SIP account to place calls (even when that account is disabled)


[[Category:VoIP Features]]
[[Category:VoIP Features]]
[[Category:VoIP How to|Calling over the internet]]

Revision as of 06:53, 14 Mayıs 2019

Calling a SIP URI with the 'Ekiga' softphone

With SIP, it's possible to make data calls over the Internet to SIP accounts by using URIs of the form sip:user@domain. The user field can be a name or a phone number. Such calls don't use the normal phone networks, and aren't charged as phone calls (although you may have to pay for the data used, like any other Internet traffic).

For example:

 * AAISP sales can be contacted at sip:sales@aa.net.uk
 * AAISP support can be contacted at sip:support@aa.net.uk
 * AAISP accounts an be contacted at sip:accounts@aa.net.uk
 * the acclaimed 'Lenny 'service is supposedly available at sip:13475147296@in.callcentric.com

Incoming calls can be made from the Internet to an AAISP number by using a SIP URI such as:

sip:number@aa.org.uk  

A call to a URI like this will be delivered just like a normal incoming call - except the caller won't incur any call charges.

The format of the AAISP number should be in +44 format, e.g. to call AAISP support you'd use:

sip:+443333400999@aa.org.uk
  • You do need to use the hostname aa.org.uk as we use SRV records to direct the call, so using an IP address is not supported.
  • The CLI is not trusted for such calls, so are sent to your SIP handset with a ? on the front of the number (which may confuse some caller ID display units), and not passed on if the call is diverted.
  • So, for example, without any configuration or account details a softphone may call your AAISP provided VoIP number, as shown in the image here.
  • As mentioned, this does require the client (the phone you're calling from) to support SRV records.

Clients

Most SIP clients which support calling SIP URIs are softphones. When testing, some clients can call SIP URIs without any configuration, other clients can call SIP URIs but require that a SIP account is defined (and perhaps enabled) although they don't actually use the account to place the call. There are also other clients which appear to support calling SIP URIs but which strip off the domain and call the number part as a chargeable phone call.

For testing clients, it can be useful to have a free SIP account which can't place external calls (e.g. linphone) - that way one can be sure that the client isn't making chargeable calls.

Known working

You may need to tell some of your contacts how to call you using a sip: URI. To help, the following SIP clients are known to work:

Softphones

  • Ekiga (Linux)
  • Linphone 4.0.1 (Android)
  • Twinkle (Linux) - although currently (Dec 2018) there's a problem with SRV records when using systemd-resolved (on Ubuntu and Debian at least)
  • Voipfone Softphone (Android) deserves a mention. It needs an account with voipfone.co.uk, but you can signup and try for free. Their softphone app works out of the box for calling SIP URIs - provided they don't have purely numeric usernames: so you can call an AAISP VoIP number (+44....) or AAISP's office (e.g. support@aa.net.uk) but you can't call sip:<number>@host (it'll call the number direct instead).

Known not-working

  • Linphone 3.6.1 (Linux) - doesn't use SRV DNS records, so can't contact @aa.org.uk SIP URIs.
  • CSipSimple, GS Wave - need a SIP account to be enabled, which they then use to place the call.
  • Zoiper (Android) - appears at first to work, but closer examination shows that it uses the SIP account to place calls (even when that account is disabled)