Copyright (C) 2009 The Sipdroid Open Source Project. The following article is part of Sipdroid. Sipdroid is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. |
---|
In settings you can specify your preferred call type. This is used when clicking a "Call" tab of a contact.
The prefix option has been replaced by a more generic and flexible search & replace feature. The "search & replace" option, available in Advanced Options, has the following form: <search>,<replace>
<search>
is a Java regular expression with one or more groups which can be then use in <replace>
<replace>
is a string with reference to group(s) from the <search>
field.
If the regular expression is not valid or the format is wrong, the original number is used.
Examples:
Search & Replace | Description |
---|---|
\+*1*(.*),1\1 |
fix for the common issue of contacts with or without 1 and +1 |
\+41(.*),0041\1 |
replace +41791111111 with 0041791111111 |
(.*),123\1 |
add 123 in front of the number (prefix) |
(.*),\1123 |
add 123 at the end of the number (postfix) |
Choose Advanced Options and enter your pattern in the exclude pattern field.
Numbers can be exluded by type and/or number.
Format is pattern,pattern,pattern...
To exclude by phone type you can enter single or combination of the three supported types:
e.g. h,m,w or ho,mo,wo or home,mobile,work (excludes all home, mobile and work numbers)
To exclude by numbers enter any java regular expression:
e.g. \A+01 (excludes all numbers starting with +01).
To exclude by both phone type and number:
e.g. m,1234 (exludes all mobile and numbers that contain 1234).
Suppose you are outside your wireless LAN, or got a mobile Internet connection, but not good enough for a SIP call. Normally the dialer would fall back to Phone in this case.
- Enabling "trigger callback" will instead ask the PBX to initiate a callback to your mobile number, and connect the call to the dialed contact.
- This makes sense if you like the PBX features (like calling a SIP URI, simultaneous outbound, etc.), or if it's cheaper than a call from your mobile. I was using the function while roaming with a local SIM card. Some plans also allow you to get unlimited calls from a certain number. That number could be assigned to your PBX.
- Enabling "trigger callthru" will call a PBX's trunk/DID (or any other calling card platform), dial PIN & destination number as DTMF tones, and connect you.
- This is nice if you have unlimited minutes to a certain number or nationwide, and want to use them to dial out or dial internationally.
Exclude pattern and search & replace get applied in the same way as for SIP calls.
When using pbxes.org the expected stand-by times are the same as without Sipdroid running in the background (we observed about three days of stand-by time). See article for background.
Sipdroid uses G.711 A-law to transmit voice which needs about 80 kBit/s in each direction. This corresponds to a total of 1.2 MB per minute.
Over EDGE or when optionally enabled for all calls Sipdroid uses GSM codec to compress to about 30 kBit/s in each direction resulting in a total of 0.5 MB per minute.
Sipdroid allows you to choose where you will use VoIP, on WLANs only, on 3G, or EDGE networks. If you are going to use VoIP services outside private wireless networks, it's your responsibility to check the contractual terms with the mobile operator:
Often mobile phone operators forbid using VoIP in the contract's fine print. The European Union is already looking at whether blocks on VoIP service by Europe's mobile phone operators might breach competition laws.
The following plans are suitable for unlimited hotspot/3G usage:
- USA: "T-Mobile has no restrictions on using SIP as a signaling protocol." (source)
- Germany: debitel Talk and Surf S, all T-Mobile and Vodafone plans with VoIP Option, and all O2 customers with Internet Packs
Add more!
This project publishes Sipdroid for free under the terms of GNU General Public License v3. The first public version is beta for software testing. So please allow for some issues and incompatibilities at the beginning.
If you are interested in developing and contributing to the project please install Eclipse and Subclipse for building the source code.
After the sources are done downloading, you see the following in "Package Explorer" in Eclipse.
SipUA 326 Trunk: trunk
Right click on SipUA and select Properties in the drop down menu (last option). Click on Android (assumes the Android SDK is installed and configured in Eclipse). In the "Project Build Target" select "Android 1.6" (Target Name).
Sipdroid runs standard SIP. For full interoperability register Sipdroid to pbxes.org. From there register your SIP accounts.
Possible issues when registering directly to other SIP servers are:
- Battery drain on 3G/EDGE,
- Unreliable incoming calls,
- One way voice, or
- No connection at all
As you can see there is not just one issue. When Nokia released its SIP client in 2006 PBXes were the first to support it. It's a bunch of adjustments to account for phones that are not plugged into a single network, are battery powered and Java based. So unless you are a developer we don't recommend spending much time in getting your plain-vanilla Asterisk box suited for Sipdroid. Instead register your Asterisk to PBXes, too.
For the future it is expected that SIP providers will become more interoperable (see also article). As Sipdroid is a true open source project attracting many software developers, the application and its documentation will be updated as more information gets available.
- You can register several trunks to use multiple telephony service providers of your choice.
- pbxes.org routes incoming calls over Sipdroid or Phone to you. If you are online you get them over VoIP, if off line you get them over GSM.
Sipdroid presently supports basic call. All the typical PBX features are configured from the PC. This concept is much like the concept of Google's services that allow you e.g. to manage your calendar on the PC and access it remotely on your phone. The following features are provided by the Free Account on pbxes.org:
- Change number format (e.g. convert the + codes)
- Music on hold
- Support of several modes for DTMF tones
- Support for NAT (network address translation)
- Simultaneous Outbound Calling
- Screening anonymous callers
- Time-based routing for incoming calls
- Attended Call Transfer
- Conferences
- Trigger callback or callthru (if no suitable data network available)
You get even more features on the paid accounts (e.g. Call Recording, Improved Audio, Handoff of calls between networks).
Please have a look at the HELP section. Under "Getting started" you find an introduction to the necessary steps.
It's all web based. No installation required.
First you create extension(s) and trunk(s). Perform an echo test by dialing *
43. Then you add at least one inbound and one outbound route. Leave the trunk name empty on your inbound route. The Android specific details can be found under "Mobile Extensions".
The username to be entered in Sipdroid consists of account name, a dash ('-') and the extension number, e.g. "myuser-200". The password is that of the extension, not the password of your PBXes account.