Here is an odd one. When ever I call a number starting 0141xxxxxxx I get a 'the number you have dialed has not been recognized' message in a very BT sounding voice.
The call is going out over ISDN BRI, we have 2 ISDN2e lines (=4channels). Our BT engineer temporarily took over one of our lines and can dial the number ok from the exchange, he also set up another number in the same target exchange to make test call to (0141 440 1994), I can't call this either.
Prefixing the number with 1280 to force the call over BT allows it to connect.
Prefixing the number with 1840 to force the call over Opal allows it to connect
Prefixing the number with 141 to prevent caller ID being sent allows it to connect.
Call are going via BT except international which are routed via opal using carrier pre-selection.
We only have one route set up:
MAINBRI : _0XXXXXXXXXX _0XXXXXXXXX _XXXXXX _1XX _1280. _1840. _1877. _00XXXXXXXX. 118118 118811 999 17094009 _1470. _141X.
Here is a log from asterisk when I attempt to make the call, I think we are sending the right number from the line 'called g2/01414401994'
pabx*CLI>
-- Executing AGI("SIP/5021-b7e0cf70", "selintra|OutCluster|01414401994") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/selintra
-- AGI Script selintra completed, returning 0
-- Executing AGI("SIP/5021-b7e0cf70", "selintra|OutRoute|MAINBRI") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/selintra
-- AGI Script Executing Application: (Dial) Options: (Zap/g2/01414401994)
-- Requested transfer capability: 0x00 - SPEECH
-- Called g2/01414401994
-- Zap/5-1 is proceeding passing it to SIP/5021-b7e0cf70
-- Zap/5-1 is making progress passing it to SIP/5021-b7e0cf70
-- Hungup 'Zap/5-1'
== Spawn extension (default, 01414401994, 1) exited non-zero on 'SIP/5021-b7e0cf70'
-- Executing Hangup("SIP/5021-b7e0cf70", "") in new stack
== Spawn extension (default, h, 1) exited non-zero on 'SIP/5021-b7e0cf70'
-- Channel 0/1, span 2 received AOC-E charging 0 units
pabx*CLI>
BT think it our problem but don't have the kit at the exchange to actually monitor the line and see what number I am passing them. I think it's their problem but can't prove it

.
My only thought is that 0141 is very close to the 141 prefix to cause caller id to be withheld - how that could cause a problem I don't know but when I mentioned it the BT engineer mumbled something. I did try removing the '_141X.' bit in the routing rule 'just in case' but it made no difference.
Help appreciated,
Mark Leman