Howto:Configure an analogue Trunk line with IP38 or IP311

From innovaphone wiki
Jump to navigation Jump to search

Applies To

This information applies to

  • IP 38, V10 SR 13 and later


More Information

Here is how to configure an IP38 for use with analogue trunk lines.

Configuration

Registration

The IP38/IP311's FXO interfaces can be registered to the PBX's Trunk Line object just as BRI/PRI interfaces would be:

Interface Registration

Interface Registration

Configure an analogue Trunk line with IP38 - pbx-regs.png

Routes

Analogue lines may provide incoming caller id information (a.k.a. CLIP). However, this information is not conveyed as part of the call setup. Instead it is transmitted in-band during the alerting phase. Outgoing caller id and incoming called party information is not supported at all. As a result, you can not do any meaningful number manipulation in the interface's Number mappings (except for the CDPN In or CDPN Out perhaps, but we recommend to set those in the routes rather, see below).

To give the IP38 a chance to collect incoming caller id data, the call must be kept in the routing engine (a.k.a. relay) long enough to receive all digits. This is best done by adding the Force enblock flag in incoming routes. This will block the call long enough (default is 4s) to collect all the CLIP digits.

As the analogue line will not provide any called party information for incoming calls, it needs to be supplied as part of the routes for incoming calls. We recommend to provide the value of the Trunk Line object's Number attribute (a.k.a. as trunk line prefix). This way, each incoming call will be treated as a call to the switchboard operator which can be handled using the trunk's Loopback setting.

Routes

Routes


Handling incoming calls

Configure an analogue Trunk line with IP38 - trunk-loopback.png

Interface Configuration

You need to select the correct Country in the Interface / FXOx / Physical tab:

Country Setting

Configure an analogue Trunk line with IP38 - interface-physical.png


There are various methods to signal incoming caller id information. You need to select the right one for your trunk line from the Caller ID 1 standard list in Interface / FXOx / Signaling. If you are unsure, you can safely try it out. There is no potential harm when a wrong setting is tried out.

CLIP Setting

Configure an analogue Trunk line with IP38 - interface-signaling.png

Please note the ticked check-mark on Central Office Tone detection. Normally, your trunk line should give a dial-tone when the IP38 goes off-hook. The IP38 will wait for this tone before dialling the called party number. In rare cases, dial-tone detection may fail. You can try to disable this function then.

Some analogue lines do support some kind of signalling using line polarity reversal. If you think your analogue line supports it, you may use the Establish call on line polarity reversal and/or PSTN drives conversation state in reversed line polarity settings. This should result in improved call state detection. See Reference10:Interfaces/FXO/Signaling for more details.

Trunk Line Bundles with multiple Subscriber Numbers

The configuration shown above assumes a set of analogue lines which share the same subscriber number. That is, calls to this number will appear on any of the lines in the bundle and outgoing calls on any of them will be signalled with the same calling line id in the PSTN.

In some situations, each line of the bundle carries a distinct subscriber number though. In this case, you will probably want to send incoming calls to different destinations depending on which line the call appeared on. Also, you may want to route outgoing calls to the proper line, depending on the local extension initiating the call. This is best done by

  • mapping the called party for incoming calls to the appropriate PBX extension in the routing table, depending from which line the call originated
  • restricting the outgoing routes to the FXO lines to allow only calls originating from the proper local extension

Routes for fixed Line/MSN Assignement

Configure an analogue Trunk line with IP38 - fxo-routes-mmsn.png

Call forward to Extern

In this configuration, an outgoing call from an extension is always routed to the proper line, exclusively. However, if you do so, calls which have been diverted needs to be taken care of. For example, if an incoming call with CLIP from extern is forwarded to an external number (e.g. the user's mobile phone using a CFU), the calling line id will be the id of the original caller. The line selection based on the calling extension will not work thus. You will need one or more extra routes for such calls. Please note also that you cannot route such calls to the line dedicated to the forwarding user, as this line will be busy in the very moment when the call forwarding is done.

For these reasons, you should consider using the call forwarding service provided by your PSTN provider instead of the CFx features provided by the PBX.

Busy tone recognition

  • The busy tone recognition on an IP38 FXO port is based on the following implemented frequency and cadence, as mentioned in the table below.
LEVEL NAME FREQ DELAY PULSE PAUSE
-10 busy_eu_pbx 425 500 500 500
-10 busy_eu_public 425 500 500 500
-8 busy_us 450+620 500 500 500
-16 busy_uk 400 500 375 375
-10 busy_ital_pbx 425 500 500 500
-10 busy_czech_pbx 425 500 330 330
-10 busy_czech_public 425 500 330 330
-10 busy_sweden 425 500 250 250
-8 busy_france 440 500 500 500
-10 busy_swiss 425 500 500 500
-10 busy_belgium 425 500 500 500
-10 busy_netherlands 425 500 500 500
-10 busy_norway 425 500 500 500
-10 busy_denmark 425 500 250 250
-10 busy_germany 425 500 250 250
-10 busy_spain 425 500 200 200
-10 busy_finland 425 500 330 330
-10 busy_austria 425 500 330 330
-10 busy_ireland 425 500 500 500
-10 busy_australia 425 500 375 375
-16 busy_newzealand 400 500 500 500
-10 busy_nmalaysia 425 500 500 500
-10 busy_turkey 425 500 500 500
-10 busy_russia 425 500 400 400
-16 busy_south_africa 400 500 500 500
-10 busy_brazil 425 500 250 250
-10 busy_china 450 500 350 350
-10 busy_myanmar 450 500 250 250
-10 busy_qatar 400+450 500 800 800
-12 busy_hongkong 480+620 500 500 500
-5 busy_lebanon 440 500 280 380
-10 busy_singapore 425 500 750 750
-10 busy_brazil_440Hz 440 500 250 250
-10 busy_brazil_400Hz 400 500 250 250
-10 busy_brazil_410Hz 410 500 250 250
  • Additional a pulse tolerance of +- 90 ms and a pause tolerance of +- 60 ms.


Related Articles

Reference10:Interfaces/FXO/Signaling