DID forward -|

Hi There

I have got myself a box TB 2.2 with a TE205P E1 card and E1 termination by my telco with a range of numbers;

The telco is sending the last 3 digits Eg. 901 out of 3912[901]

With Freepbx 2.3.1.o I have setup an inbound rule to send any call from 901 to extension SIP/901

I have set this up both on the full number and the last 3 digest both don’t want to forward the call.

What is the difference if you setup the DID in the extensions config @ DID and then setup a DID route in the “inbound route”?
I have notice you can not setup a DID in the SIP extensions and try to setup the same DID in the inbound route it rejects the entry and says “there is already a extension with that DID”

I think I am getting something horribly wrong.

Any help will be most welcome and appreciated!
Thanks

This is the error I get from CLI;

Extension ‘901’ in context ‘incoming’ from ‘72818548’ does not exist. Rejecting call on channel 0/1, span 1

Or in Full

1 < Ext: 1 Trans mode/rate: 64kbps, circuit-mode ( 16)
1 < Ext: 1 User information layer 1: A-Law (35)
1 < [18 03 a1 83 81]
1 < Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0, Preferred Dchan : 0
1 < ChanSel: Reserved
1 < Ext: 1 Coding: 0 Number Specified Channel Type: 3
1 < Ext: 1 Channel: 1 ]
1 < [6c 0a 01 81 37 32 38 31 38 35 34 38]
1 < Calling Number (len=12) [ Ext: 0 TON: Unknown Number Type (0) NPI: ISDN/Te lephony Numbering Plan (E.164/E.163) (1)
1 < Presentation: Presentation permitted, user number passed network screening (1) ‘72818548’ ]
1 < [70 04 a1 39 30 31]
1 < Called Number (len= 6) [ Ext: 1 TON: National Number (2) NPI: ISDN/Telepho ny Numbering Plan (E.164/E.163) (1) ‘901’ ]
1 – Making new call for cr 107
1 – Processing Q.931 Call Setup
1 – Processing IE 161 (cs0, Sending Complete)
1 – Processing IE 4 (cs0, Bearer Capability)
1 – Processing IE 24 (cs0, Channel Identification)
1 – Processing IE 108 (cs0, Calling Party Number)
1 – Processing IE 112 (cs0, Called Party Number)
– Extension ‘901’ in context ‘incoming’ from ‘72818548’ does not exist. Re jecting call on channel 0/1, span 1
1 NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Call Present, peerstate Call I nitiated
1 > Protocol Discriminator: Q.931 (8) len=9
1 > Call Ref: len= 2 (reference 107/0x6B) (Terminator)
1 > Message type: RELEASE COMPLETE (90)
1 > [08 02 80 81]
1 > Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: U ser (0)
1 > Ext: 1 Cause: Unallocated (unassigned) number (1), class = Normal Event (0) ]
1 NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null
1 NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null