DID numbers assigning automatically without any rules

I am facing a serious problem with the DID numbers. I have an E1 connection with te122 card. I am using asterisk with zaptel 1.4.12 and libpri 1.4.9 and asterisk-gui 2.0.4. My incoming call rule is empty. We have 30 direct numbers . For example 23599222 to 23599952. Our local extension is from 9000 to 9999. At present we have upto 9048. So the users with extension from 9222, 9223 etc are getting DID numbers 23599222 and 23599223. When I call any of the above number(23599222 or 23599223) from outside it is automatically routing to the above extensions(9222 or 9223). I tried creating incoming call rules. But it is not at all working(DID-span_1). Also the above extensions hear the ring sound along with the conversation as if we are trying to call a person. The ring sound will be throughout the conversation… why is it happening. The problem is not there when we dial outside from the extensions.. Hope you got my point. I had posted a topic about this 2 weeks back. No 1 helped me to sort it out.

CLI message for incoming call

– Executing [9244@default:1] Macro(“Zap/1-1”, “stdexten|9244|IAX2/9244”) in new stack
– Executing [s@macro-stdexten:1] Set(“Zap/1-1”, “__DYNAMIC_FEATURES=”) in new stack
– Executing [s@macro-stdexten:2] GotoIf(“Zap/1-1”, “0?5:3”) in new stack
– Goto (macro-stdexten,s,3)
– Executing [s@macro-stdexten:3] Dial(“Zap/1-1”, “IAX2/9244|20|”) in new stack
– Called 9244
– Accepting call from ‘919916417580’ to ‘9244’ on channel 0/1, span 1
– Call accepted by (format alaw)
– Format for call is alaw
– IAX2/9244-12698 is ringing
– IAX2/9244-12698 answered Zap/1-1
– Channel 0/1, span 1 got hangup request, cause 16
– Hungup ‘IAX2/9244-12698’
== Spawn extension (macro-stdexten, s, 3) exited non-zero on ‘Zap/1-1’ in macro ‘stdexten’
== Spawn extension (default, 9244, 1) exited non-zero on ‘Zap/1-1’
– Hungup ‘Zap/1-1’

I was using asterisknow earlier. In that the incoming call uses DID_span_1. But in this version it is routing through macro-stdexten

Please help me to solve this isssue