Actions

Difference between revisions of "SIP trunk node - configuration"

From Zenitel Wiki

(Create a SIP Trunk Node)
(Firewall (filter) settings)
Line 20: Line 20:
 
=== Firewall (filter) settings ===
 
=== Firewall (filter) settings ===
 
[[Image:CiscoAlphaWebIPFilters.PNG|thumb|350px]]
 
[[Image:CiscoAlphaWebIPFilters.PNG|thumb|350px]]
In '''System Configuration''' -> '''Filters''', enable the '''SIP''' and '''VoIP Audio''' on the desired Ethernet port (deafult enabled for Ethernet port 1).
+
In '''System Configuration''' -> '''Filters''', enable the '''SIP''' and '''VoIP Audio''' on the desired Ethernet port (default enabled for Ethernet port 1).
 
<br style="clear:both;" />
 
<br style="clear:both;" />
  

Revision as of 08:25, 4 May 2012

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)

CiscoAlphaWebIPSettings.PNG

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.


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

CiscoAlphaWebIPRouting.PNG

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

Insert SIP Trunk licenses

CiscoAlphaWebIPLicense.PNG

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

Firewall (filter) settings

CiscoAlphaWebIPFilters.PNG

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

AlphaPro Configuration

Create a SIP Trunk Node

CiscoAlphaProExchangeData.PNG

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 IP address must be identical to the IP address of the SIP gateway or iPBX.

If a hostname is required, check the Hostname checkbox, and enter the required hostname. The link between the hostname and the IP address is defined in AlphaWeb, System Configuration - > Hostnames.

Define the AlphaCom / SIP routing

CiscoAlphaProNetRouting.PNG

In Exchange & System > Net Routing use the Insert button to create a route between the AlphaCom and SIP device.
Set Preferred codec to G711u and RTP Packet Size to 20 ms.

Create access numbers

The SIP device 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.

Prefix number, Two Stage dialing


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

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.

Prefix number, One Stage dialing

In the example to the right 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


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.

Integrated Prefix number

In the example to the right 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


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.

Global number

In the example to the right 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.

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 in Private.jpg

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

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.

Note!
The SIP Trunk is automatically put in Class of Service 15. This 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 
number 58 in the "Not Valid" list. Highlight Feature 58 and use the arrow keys to move it to the "valid" list.
Door Opening event when call is initated from the SIP Trunk

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 door intercom station

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.

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

Voice Switching in Noisy Environment.jpg

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.

Troubleshooting