Quantcast
Channel: VOIP-info.org Wiki Changes
Viewing all articles
Browse latest Browse all 5767

UK Asterisk Details

$
0
0

Using Asterisk in the UK


This guide describes how to get Asterisk working properly in the UK. As each telco's standards differ, services such as caller ID work differently.

Compiling Asterisk


Due to UK caller ID specifications, you will need to make a small modification to the source.
Open up chan_zap.c, and find the line:
#DEFAULT_CIDRINGS 1

Change this line to read
#DEFAULT_CIDRINGS 2

and save the file. Now build asterisk as usual.

On asterisk > 1.2 you can avoid this by adding:
sendcalleridafter = 2

to zapata.conf

BT PRI


BT is the main carrier in the UK. Their PRI lines are, by default, ISDN30e (euroisdn). By default you will have no extra services turned on, so you will need to call up the ISDN management team and get them to turn on this feature (Be aware! It costs extra!).

In my configuration, the PRI is plugged in to span 1 on a TE410P interface. On span 2 i have a Rhino T1 ChannelBank, and spans 3 and 4 are currently unused. My zaptel.conf is below:
span=1,1,1,ccs,hdb3,crc4
span=2,0,0,esf,b8zs
span=3,0,0,esf,b8zs
span=4,0,0,esf,b8zs

bchan=1-15
dchan=16
bchan=17-31

fxols=32-55

loadzone=uk
defaultzone=uk


Even though only 8 channels are active on the PRI, all channels should be configured in zaptel.conf as shown.

The zapata.conf for the above system is shown below:
[channels]
language=en
usecallerid=yes
hidecallerid=no
callwaiting=no
callwaitingcallerid=yes
restrictcid=no
usecallingpres=no
threewaycalling=yes
callreturn=yes
transfer=yes
cancallforward=yes
echocancelwhenbridged=yes
echocancel=yes
musiconhold=default
rxgain=0.0
txgain=0.0
signalling=pri_cpe
switchtype=euroisdn
immediate=no
overlapdial=yes
pridialplan=unknown
prilocaldialplan=unknown

group=1
context = incomingfrompstn
callerid=asreceived
channel => 1-8

group=2
pickupgroup=2
callgroup=2
signalling=fxo_ls
context=dialphone
channel => 32-55


Sending Caller ID to the BT PRI


When you placed your order, you may have got a DDI allocation. If this is the case, then you may want the outgoin caller ID set to the DDI of the user making the call. You will first need to contact BT and ask them to add all your DDI numbers to the list of allowed calling id numbers. Once this is done (it takes a few hours) then you can set your outgoing callerid in extensions.conf like so:

exten => _X.,1,SetCIDNum(123456)


By default, BT pass 6 digit extensions in and out of their network.

Incoming Caller ID


Again: By default, BT pass 6 digit extensions in and out of their network.

Therefore in your incoming context, incomingfrompstn in the example here, you will need to specify these 6 digit extension. ...

Viewing all articles
Browse latest Browse all 5767

Trending Articles