I have an Asterisk server running on Centos 5.1 with a TDM410P card. The card has two FXO ports and the first of these is connected to a BT telephone line. The telephone line works fine with a normal phone handset. I can receive calls over that line and Asterisk routes them appropriately. I can also make calls on that line, but if and only if the number I am dialing doesn’t contain a ‘1’ or a ‘2’. I could call 07773 456789 but I can’t call, for example 02078887777 or any other number with a 1 or a 2 in it. When I try I get the BT woman’s voice saying “The number you’ve dialed has not been recognized, please hang up and try again”. If I dial the same number from a regular phone plugged straight in to the wall socket, it’s fine.
I am using *Now to construct the dialplan, though there is nothing special about it. Additionally, the messages in the * console would suggest that there is nothing wrong with the dialplan - it shows the full number being dialed.
Does anybody know what causes this and what to do to fix it? Herewith the various configs that might be relevant - let me know if you need others.
Thanks in advance.
DMesg
Port 1: Installed – AUTO FXO (UK mode)
Port 2: Installed – AUTO FXO (UK mode)
Port 3: Not installed
Port 4: Not installed
/etc/zaptel.conf
fxsks = 1,2
loadzone = uk
defaultzone = uk
/etc/asterisk/zapata.conf
[channels]
context=default
toneduration=200
usecallerid=yes
cidsignalling=v23
cidstart=polarity
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
rxgain=0.0
txgain=0.0
group=1
callgroup=1
pickupgroup=1
immediate=no
callerid=asreceived
signalling=fxs_ks
channel => 1
ztcfg -vvvv
Zaptel Version: 1.4.9
Echo Canceller: MG2
Configuration
Channel map:
Channel 01: FXS Kewlstart (Default) (Slaves: 01)
Channel 02: FXS Kewlstart (Default) (Slaves: 02)
2 channels to configure.
Asterisk output whilst making a call
asterisk*CLI>
– Accepting AUTHENTICATED call from 10.0.0.212:
> requested format = gsm,
> requested prefs = (),
> actual format = ulaw,
> host prefs = (),
> priority = mine
– Executing [02074828829@numberplan-custom-2:1] Macro(“IAX2/6000-14036”, “trunkdial|Zap/g1/02074828829|”) in new stack
– Executing [s@macro-trunkdial:1] Set(“IAX2/6000-14036”, “CALLERID(all)=”) in new stack
– Executing [s@macro-trunkdial:2] Dial(“IAX2/6000-14036”, “Zap/g1/02074828829”) in new stack
– Called g1/02074828829
– Zap/1-1 answered IAX2/6000-14036
– Hungup ‘Zap/1-1’
== Spawn extension (macro-trunkdial, s, 2) exited non-zero on ‘IAX2/6000-14036’ in macro ‘trunkdial’
== Spawn extension (macro-trunkdial, s, 2) exited non-zero on ‘IAX2/6000-14036’
– Hungup ‘IAX2/6000-14036’