Actions

Difference between revisions of "SIP trunk node - configuration"

From Zenitel Wiki

(VoIP Audio Lines)
(VoIP Audio Lines)
Line 185: Line 185:
 
The VoIP channels have virtual physical numbers in the AlphaCom, starting from 605 to 639??? In AlphaPro, NetAudio window, one can reserve VoIP channels for a dedicated SIP trunk.
 
The VoIP channels have virtual physical numbers in the AlphaCom, starting from 605 to 639??? In AlphaPro, NetAudio window, one can reserve VoIP channels for a dedicated SIP trunk.
  
Si man har tre SIP Trunker til tre ulike SIP servere, og har SIP lisense for 8 linjer. Da er disse 8 linjene i utgangspunktet felles ressurs for alle SIP trunker.
+
''Si man har tre SIP Trunker til tre ulike SIP servere, og har SIP lisense for 8 linjer. Da er disse 8 linjene i utgangspunktet felles ressurs for alle SIP trunker.
 
Men så kan man reservere i NetAudio Voip kanaler til bestemte SIP trunker, for eksempel phyno 605, 606 og 607 til SIP trunk 1, og 608 til SIP trunk 2. Hvis jeg har skjønt det riktig, så har da SIP trunk 1 tilgang til 7 linjer (alle untatt 608), SIP trunk 2 har tilgang til 5 linjer, og SIP trunk 3 har tilgang til 4 linjer (alle untatt 605-608). Er det slik?
 
Men så kan man reservere i NetAudio Voip kanaler til bestemte SIP trunker, for eksempel phyno 605, 606 og 607 til SIP trunk 1, og 608 til SIP trunk 2. Hvis jeg har skjønt det riktig, så har da SIP trunk 1 tilgang til 7 linjer (alle untatt 608), SIP trunk 2 har tilgang til 5 linjer, og SIP trunk 3 har tilgang til 4 linjer (alle untatt 605-608). Er det slik?
  
Mener å huske at du en eller annen plass i NVRAM kunne låse antall linjer til en SIP trunk også, for bl.a. å kunne bruke prioritet mot opptatte linjer. Finner ikke igjen dette.
+
Mener å huske at du en eller annen plass i NVRAM kunne låse antall linjer til en SIP trunk også, for bl.a. å kunne bruke prioritet mot opptatte linjer. Finner ikke igjen dette.''
  
 
== Troubleshooting ==
 
== Troubleshooting ==

Revision as of 17:25, 26 November 2013

This article describes how to configure a SIP Trunk in the AlphaCom XE. It is possible to define multiple SIP trunks.

AlphaWeb Configuration

Assign IP address to the AlphaCom XE Ethernet Port(s)

Log on to AlphaWeb. In System Configuration -> Interfaces, enter a valid IP address on the Ethernet port. In the example to the right, Ethernet port 1 is used. Consult your network administrator to obtain the IP address.

CiscoAlphaWebIPSettings.PNG


Assign IP routing to the AlphaCom XE Ethernet Port(s)

In System Configuration -> Routes, create a default routing. This is essential if the SIP device and AlphaCom are on two different networks.

CiscoAlphaWebIPRouting.PNG


Insert SIP Trunk licenses

In System Configuration -> License key, install the SIP Trunk License.

CiscoAlphaWebIPLicense.PNG


Firewall (filter) settings

In System Configuration -> Filters, enable the SIP and VoIP Audio on the desired Ethernet port (default enabled for Ethernet port 1).

CiscoAlphaWebIPFilters.PNG


AlphaPro Configuration

Create a SIP Trunk Node

From the AlphaPro main menu, use the ‘+’ button next to the ‘Select Exchange’ dropdown list to create a new exchange. The exchange type must be set to ‘SIP Node’.

Set the parameters as shown in the figure to the right.
The SIP Trunk line IP address must be identical to the IP address of the SIP gateway or iPBX.

Create a SIP Trunk


Hostname

If a hostname is required, check the Host Name checkbox, and enter the required destination hostname.

If hostname is required both for the "destination" domain and the "from" domain, enter “destination.domain;from.domain”, no spaces. (Require AMC software 11.1.3.5 or newer).

The link between the hostname and the IP address is defined in AlphaWeb, System Configuration - > Hostnames.

Host name entered in AlphaPro
Host name defined in AlphaWeb


Define the AlphaCom - SIP routing

In Exchange & System > Net Routing use the Insert button to create a route between the AlphaCom and SIP device.

  • Set ACDP Link = SIP Link
  • Node number = The node number used for the SIP Trunk
  • Set Preferred codec to G711u and RTP Packet Size to 20 ms.
SIPTrunkRoute.PNG


Create access numbers

The SIP trunk can be accessed in three different ways:

  • Prefix number: Dial Prefix + Phone number. “Phone number” will be called
  • Integrated Prefix number: Dial Prefix + Phone number. The prefix will be included as a part of the called telephone number.
  • Global number: Dial the phone number without using prefix

Prefix number, Two Stage dialing

When two-stage dialing is used (also called "overlap dialing"), the SIP Device seizes one of the PSTN/PBX lines without performing any dialing, connects the AlphaCom station to the PSTN/PBX, and all further signaling (dialing and Call Progress Tones) is performed directly with the PBX without the SIP device's intervention. The digits are sent to the SIP device as SIP INFO messages.

The directory number must be programmed in the AlphaCom directory table with feature 83 and Node = SIP Trunk node number.

Prefix number, Two Stage dialing


Prefix number, One Stage dialing

When one-stage dialing (also called "enbloc dialing") is used, the digit collection is done in the AlphaCom. The destination phone number is included in the INVITE message from the AlphaCom.

The directory number must be programmed in the AlphaCom directory table with feature 81 and Node = SIP Trunk node number (100 in this example). In the field “Collect N more digits (SIP)” you must enter the maximum number of digits in a phone number.

When the prefix is dialed, the AlphaCom will wait for more digits. When the number of digits specified in the “Collect N more digits (SIP)” is collected, a call setup message is sent to the SIP device. If fewer digits are entered, the AlphaCom will time out after 4 seconds, and the call setup message will be sent. You can also terminate the digit collection by pressing the M-key. The call setup message will then be sent immediately.

In the example below the directory number 0 is used as a prefix.

Dialing examples:

0 + 12345678: Telephone number 12345678 will be called
0 + 1234: After a 4 second timeout, telephone number 1234 will be called
0 + 1234 + M: Telephone number 1234 will be called
Prefix number, One Stage dialing


Integrated Prefix number

The directory number must be programmed in the AlphaCom directory table with feature 83 and Node = SIP Trunk node number (100 in this example). In the field “Collect N more digits (SIP)” you must enter the maximum number of digits in a phone number.

When the prefix is dialed, the AlphaCom will wait for further digits. When the number of digits specified in the “Collect N more digits (SIP)” is collected, a call setup message is sent to the SIP device. If fewer digits are entered, the AlphaCom will time out after 4 seconds, and the call setup message will be sent. You can also terminate the digit collection by pressing the M-key. The call setup message will then be sent immediately.

In the example below the directory number 57 is used as a prefix.

Dialing examples:

57 + 12345678: Telephone number 5712345678 will be called
57 + 1234: After a 4 second timeout, telephone number 571234 will be called
57 + 1234 + M: Telephone number 571234 will be called
Integrated Prefix number


Global number

The directory number must be programmed in the AlphaCom directory table with feature 83 and Node = SIP Trunk node number (100 in this example). The field “Collect N more digits (SIP)” must be left blank.

When the global number is dialed, the AlphaCom will immediately send a call setup message to the SIP device.

In the example below the directory number 12345678 is defined as a global number.

When dialing this number a call setup message is sent to the SIP Device, instructing it to call this phone number.

Global number



Example on how to use Access Codes:

This example shows the different options on how to call from an AlphaCom station to a SIP user 571234.

AlphaCom station calling SIP user 571234



Different options calling out on a SIP trunk


Update the exchange

Log on to the exchange and update the exchange by pressing the SendAll button. Reset the exchange when the transfer is finnished.

Optional configuration

Incoming Calls in Private

Incoming calls from the SIP Trunk can be forced to be in private ringing mode, independent of the private/open switch of the intercom station.

Check the flag Incoming calls from SIP in private ringing mode in AlphaPro, (Exchange & System > System > VoIP).

Incoming Calls in Private.jpg


Ringing signal on Incoming Calls

UK style...

Door Opening Feature

During a conversation between a door station and a telephone, the telephone operator can activate the Door Opening feature in the AlphaCom by pressing digit 6.

A SIP Trunk is automatically using Class of Service 15. This Class of Service group does not have the option for remote door opening enabled by default. In AlphaPro go to Class of Service, select number 15 (Outside Telephones), press change and locate feature number 58 in the "Not Valid" list. Highlight Feature 58 and use the single arrow key to move it to the "valid" list.

Enable feature 58 (Door Opening) in Class of Service 15



The Door Opening feature is programmed in the Event Handler. There are two separate events for the door opening feature, depending on who is the calling side:

  • calling from the SIP Trunk to the door
  • calling from the door to the SIP Trunk

Calling from the SIP Trunk to the door:

The Standard door opening event is used:

Door Opening event when call is initated from the SIP Trunk


Calling from the door to the SIP Trunk:

When the phone presses digit 6, the event type Event Trigger Feature (15) is reported, with the digit 6 as sub event. The calling AlphaCom station is Event Owner, and called SIP phone number and node number is Related To. The RCO pulse time is specified as an additional parameter in the RCO action string, i.e. RCO 3 ON 20 means pulse RCO 3 for 2 seconds.

Door Opening event when call is initated from the door intercom station


Voice Switching in Noisy Environment

If the intercom station is located in a noisy environment, it might be difficult to switch the voice direction from the telephone towards the intercom station. However, there is a setting in the AlphaCom to overcome this problem. In AlphaPro, Exchange & System > System > VoIP, set the parameter Optimized voice duplex control when conversation with SIP trunk/stations

When this flag is set, the initial voice direction is forced to be from the intercom towards the telephone. When the phone operator starts to speak, the voice direction will switch towards the intercom station, regardless of the level of the audio signal from the intercom station. As soon as the phone operator stops speaking, the voice direction will switch back to the initial direction.

Voice Switching in Noisy Environment.jpg



VoIP Audio Lines

Call capacity

The overall maximum call capacity on SIP trunk call are as follows:

  • Maximum outgoing conversations on a SIP Trunk is 32
  • Maximum incoming conversations on a SIP Trunk is 16

The actual number of simultaneous calls are limited by the SIP license installed.

SIP trunk calls are using resources from a common pool of VoIP channels, which is also used by other VoIP traffic, such as IP station calls, AlphaNet calls etc. In addition to the limit set by the SIP license, the maximum number of simultaneous SIP trunk calls also depends on other VoIP traffic currently active in the system.


Reserving VoIP channels to a SIP trunk

If there are several SIP trunks defined in one AlphaCom, they will by default share the available SIP trunk lines between them.

However, it is possible to reserve one or several VoIP channels to one particular SIP trunk, to make sure that there will always be resources available to this trunk.

The VoIP channels have virtual physical numbers in the AlphaCom, starting from 605 to 639??? In AlphaPro, NetAudio window, one can reserve VoIP channels for a dedicated SIP trunk.

Si man har tre SIP Trunker til tre ulike SIP servere, og har SIP lisense for 8 linjer. Da er disse 8 linjene i utgangspunktet felles ressurs for alle SIP trunker. Men så kan man reservere i NetAudio Voip kanaler til bestemte SIP trunker, for eksempel phyno 605, 606 og 607 til SIP trunk 1, og 608 til SIP trunk 2. Hvis jeg har skjønt det riktig, så har da SIP trunk 1 tilgang til 7 linjer (alle untatt 608), SIP trunk 2 har tilgang til 5 linjer, og SIP trunk 3 har tilgang til 4 linjer (alle untatt 605-608). Er det slik?

Mener å huske at du en eller annen plass i NVRAM kunne låse antall linjer til en SIP trunk også, for bl.a. å kunne bruke prioritet mot opptatte linjer. Finner ikke igjen dette.

Troubleshooting