Getting Started

From PBXes

(Difference between revisions)
Jump to: navigation, search
Revision as of 14:47, 18 August 2007 (edit)
iptel (Talk | contribs)

← Previous diff
Current revision (05:59, 3 June 2016) (edit) (undo)
everlevel (Talk | contribs)
m (SIP phones)
 
(64 intermediate revisions not shown.)
Line 1: Line 1:
 +== Definitions ==
 +
 +=== Extensions ===
 +
 +An extension is just the definition of a classic ([http://en.wikipedia.org/wiki/POTS POTS]) or SIP ([http://en.wikipedia.org/wiki/Voip VOIP]) telephone line/number. Inbound calls can be routed to either of these two extensions types using inbound routes. Classic extensions will be dialed using the defined outbound route definitions. SIP extensions are normally used to register SIP devices to, like [http://en.wikipedia.org/wiki/Sip_phone SIP phones], [http://en.wikipedia.org/wiki/Softphone softphones] or [http://en.wikipedia.org/wiki/ADSL_modem ADSL modems] having SIP capabilities. Unlike classic extensions, SIP extensions can be used to place calls too.
 +
 +=== Trunks ===
 +
 +Trunks are definitions of the SIP providers you want to use for receiving inbound calls and/or placing outbound calls. Inbound calls are routed to extensions using inbound routes, and outbound calls are routed to a trunk using the outbound routes. For receiving inbound calls it is necessary to register to the SIP provider.
 +
== Adding extensions == == Adding extensions ==
-Select "Extensions" from the menu to add all kinds of existing phone extensions as well as IP phones to your PBX. Extension numbers may be 2, 3 or 4 digits.+Select "Extensions" from the menu to add two kinds of extensions. Existing phone numbers attached to PSTN lines, as well as IP phones, ATAs and soft-clients to your PBXes account. Extension numbers may be 3 or 4 digits. Avoid using 2 digit extensions, since they may conflict with Ring group numbers.
 + 
=== Classical extensions === === Classical extensions ===
-This can be existing phones in the office, at home or mobiles. Just enter an extension number (starting from 200), a name and the telephone number of the extension.+Classical extensions are used to reach PSTN numbers, which by definition cannot be reached via SIP URIs. These can be existing land-lines in the office and home or mobile phones. Just enter an extension number 3 or 4 digits, a name and the telephone number of the land-line.
 + 
 +Classical extensions can only be called by using a trunk, so set an Outbound route appropriately in order to reach them.
=== SIP phones === === SIP phones ===
Line 19: Line 32:
| Domain/Realm/Server || pbxes.org | Domain/Realm/Server || pbxes.org
|- |-
-| UDP Port || 5060, 5061 or 80+| Registration Interval || Fixed IPs: 1 hour
-|}+Dynamic IPs or with issues: 2 minutes
 +|-
 +| Port for UDP and TCP || 5060
 +|-
 +| Alternative Ports for UDP and TCP || 53, 69, 80, 135, 161, 443, 500, 1433, 1701, 1812, 3389, 4500, 5061, 5900, 16999, 26999 and
-To verify the settings dial *43 on the IP phone to perform an echo test. In case touchtones are not recognized within a call try with different "dtmfmodes". Allowed values are rfc2833, inband, info and auto.+36999 (recommended)
 +Note:
-The users may now sign in to listen to their voicemail or display call details. Provide them with the following info:+Because of DNS entries for pbxes.org your device may be selecting port 5060 automatically. If you want to use an alternative port enter 144.76.38.78 as SIP server.
 +|-
 +| Port for TLS || 5070
 +|}
 + 
 +To verify the settings dial *43 on the IP phone to perform an echo test. In case the key tones are not recognized during a call, try setting a different "dtmfmode". The allowed values are rfc2833, inband, info and auto.
 + 
 +The users may now sign in to listen to their voicemail (*97) or display the call details which pertain to their extension only. Provide them with the following info:
{| border="1" cellspacing="0" cellpadding="3" {| border="1" cellspacing="0" cellpadding="3"
| Login || <account name>-<extension no.> | Login || <account name>-<extension no.>
|- |-
-| Password || <voicemail pin> (4 digits)+| Password || <voicemail pin> (4 digits)
|} |}
- 
== Adding trunks == == Adding trunks ==
-Now select [[Trunks]] from the menu and enter your SIP account data.+Next select Trunks from the menu to enter the SIP credentials provided by your ITSP, so your PBXes can communicate with the PSTN world.
 + 
 +SIP providers supply both the incoming (DIDs) and the outgoing trunk lines to your PBXes. Select providers which use the SIP protocol and usually require a username and password to access their service. Before going on to the next steps test the SIP account for outgoing calls from your PC with a soft-phone.
 + 
 +Holders of a Premium or PRO Account can see our recommendation of tested SIP providers on the Trunks page.
 + 
 +SIP providers may supply a phone number (DID) through which your PBXes account can be reached on. Depending on the provider this may be a local number in a particular country. In certain countries it is not yet possible to port a PSTN number to another provider (LNP). If you want to keep your PSTN number and integrate it with your PBXes account, consider connecting and configuring a VoIP gateway for your existing PSTN line. The calls to your existing landline can also be forwarded to your SIP DID.
 + 
 +== Choosing routes ==
-SIP providers supply the trunk lines to your PBX. To fit, the providers must use SIP protocol and they must provide a username and a password. Before going on to the next steps test the SIP account from your PC with a softphone.+To get inbound and outbound calls working properly, you have to add at least an Inbound Route and an Outbound Route.
-Holders of a Premium Account can see our recommendation of suitable SIP providers on the [[Trunks]] page.+When entering your first inbound route please leave the fields Trunk and Caller ID Number blank to create a general rule.
-SIP providers supply the phone numbers that your PBX can be reached on. Depending on the provider this may be for example a local number in a particular country. In some countries it is not yet possible to transfer existing phone numbers. If you want to keep your number anyhow you can either forward the calls to the SIP number or connect a VoIP gateway to your existing PSTN line.+If there are several trunks you may choose the destination numbers to select the trunks. Outbound routes are processed from top to bottom. Routes can be reordered by clicking on the small arrows next to the route names. When all the changes are finished, clicking on the red bar puts the changes into effect.
 +Premium and PRO Accounts also allow to choose a sequence of trunks for having a backup if a trunk is busy or goes offline.
-== Select routes ==+== Troubleshooting ==
-To get inbound and outbound calls working you have configure [[Incoming Calls]] and add an [[Outbound Route]]. To add a route for all destinations enter "XX." as a dial pattern or pick "All" from the predefined dial patterns.+SIP calls over 3G networks require better signal strength than regular voice calls. Therefore we recommend to call over SIP only if you have 3 or 4 bars while you are not moving, except in downtown areas where coverage is always 3 or 4 bars.
-If there are several trunks you may choose the destination numbers to select the trunks. Outbound routes are processed from the top to the bottom. Routes can be reordered by clicking on the small arrows next to the route names.+Dropouts on softphones can be caused by other apps initiating data transfers at the same time, or consuming CPU power. If there is no late or lost packets shown in statistics, try to switch off screen to improve.
-Premium Accounts let you also choose a sequence of trunks for having a backup if a trunk is busy or gets offline.+As the next steps further reading of pages [[FAQ]] and [[Fixed Mobile Convergence|Fixed Mobile Convergence (FMC)]] is recommended.
{{Languages|Getting Started}} {{Languages|Getting Started}}

Current revision

Contents

[edit] Definitions

[edit] Extensions

An extension is just the definition of a classic (POTS) or SIP (VOIP) telephone line/number. Inbound calls can be routed to either of these two extensions types using inbound routes. Classic extensions will be dialed using the defined outbound route definitions. SIP extensions are normally used to register SIP devices to, like SIP phones, softphones or ADSL modems having SIP capabilities. Unlike classic extensions, SIP extensions can be used to place calls too.

[edit] Trunks

Trunks are definitions of the SIP providers you want to use for receiving inbound calls and/or placing outbound calls. Inbound calls are routed to extensions using inbound routes, and outbound calls are routed to a trunk using the outbound routes. For receiving inbound calls it is necessary to register to the SIP provider.

[edit] Adding extensions

Select "Extensions" from the menu to add two kinds of extensions. Existing phone numbers attached to PSTN lines, as well as IP phones, ATAs and soft-clients to your PBXes account. Extension numbers may be 3 or 4 digits. Avoid using 2 digit extensions, since they may conflict with Ring group numbers.


[edit] Classical extensions

Classical extensions are used to reach PSTN numbers, which by definition cannot be reached via SIP URIs. These can be existing land-lines in the office and home or mobile phones. Just enter an extension number 3 or 4 digits, a name and the telephone number of the land-line.

Classical extensions can only be called by using a trunk, so set an Outbound route appropriately in order to reach them.

[edit] SIP phones

In addition to extension number and name enter a password. The following parameters are assigned to the SIP phone to register with the PBX:

Login <account name>-<extension no.>

e.g. pamsoft-200

Password <extension password>
Domain/Realm/Server pbxes.org
Registration Interval Fixed IPs: 1 hour

Dynamic IPs or with issues: 2 minutes

Port for UDP and TCP 5060
Alternative Ports for UDP and TCP 53, 69, 80, 135, 161, 443, 500, 1433, 1701, 1812, 3389, 4500, 5061, 5900, 16999, 26999 and

36999 (recommended)

Note:

Because of DNS entries for pbxes.org your device may be selecting port 5060 automatically. If you want to use an alternative port enter 144.76.38.78 as SIP server.

Port for TLS 5070

To verify the settings dial *43 on the IP phone to perform an echo test. In case the key tones are not recognized during a call, try setting a different "dtmfmode". The allowed values are rfc2833, inband, info and auto.

The users may now sign in to listen to their voicemail (*97) or display the call details which pertain to their extension only. Provide them with the following info:

Login <account name>-<extension no.>
Password <voicemail pin> (4 digits)

[edit] Adding trunks

Next select Trunks from the menu to enter the SIP credentials provided by your ITSP, so your PBXes can communicate with the PSTN world.

SIP providers supply both the incoming (DIDs) and the outgoing trunk lines to your PBXes. Select providers which use the SIP protocol and usually require a username and password to access their service. Before going on to the next steps test the SIP account for outgoing calls from your PC with a soft-phone.

Holders of a Premium or PRO Account can see our recommendation of tested SIP providers on the Trunks page.

SIP providers may supply a phone number (DID) through which your PBXes account can be reached on. Depending on the provider this may be a local number in a particular country. In certain countries it is not yet possible to port a PSTN number to another provider (LNP). If you want to keep your PSTN number and integrate it with your PBXes account, consider connecting and configuring a VoIP gateway for your existing PSTN line. The calls to your existing landline can also be forwarded to your SIP DID.

[edit] Choosing routes

To get inbound and outbound calls working properly, you have to add at least an Inbound Route and an Outbound Route.

When entering your first inbound route please leave the fields Trunk and Caller ID Number blank to create a general rule.

If there are several trunks you may choose the destination numbers to select the trunks. Outbound routes are processed from top to bottom. Routes can be reordered by clicking on the small arrows next to the route names. When all the changes are finished, clicking on the red bar puts the changes into effect.

Premium and PRO Accounts also allow to choose a sequence of trunks for having a backup if a trunk is busy or goes offline.

[edit] Troubleshooting

SIP calls over 3G networks require better signal strength than regular voice calls. Therefore we recommend to call over SIP only if you have 3 or 4 bars while you are not moving, except in downtown areas where coverage is always 3 or 4 bars.

Dropouts on softphones can be caused by other apps initiating data transfers at the same time, or consuming CPU power. If there is no late or lost packets shown in statistics, try to switch off screen to improve.

As the next steps further reading of pages FAQ and Fixed Mobile Convergence (FMC) is recommended.