Inbound DID routing

Hi,

we have two DID’s ending with the Zero’s. First is having XX000000 and second one is XXXX0000.

When i configure the Inbound Route with the 8 Digit i does not recognize. it will accepts the last 3 Digits match and forward the call whether i want.

I checked with my Provider he says we are sending the full digits.

The log is as below:

Accepting call from ‘1141516171’ to ‘000’ on channel 0/2, span 1
– Executing [000@from-pstn:1] Set(“DAHDI/2-1”, “__FROM_DID=000”) in new sta ck
– Executing [000@from-pstn:2] NoOp(“DAHDI/2-1”, “Received an unknown call w ith DID set to 000”) in new stack
– Executing [000@from-pstn:3] Goto(“DAHDI/2-1”, “s|a2”) in new stack
– Goto (from-pstn,s,2)
– Executing [s@from-pstn:2] Answer(“DAHDI/2-1”, “”) in new stack
– Executing [s@from-pstn:3] Wait(“DAHDI/2-1”, “2”) in new stack
– DAHDI/21-1 answered SIP/312-096100e8
– Executing [s@from-pstn:4] Playback(“DAHDI/2-1”, “ss-noservice”) in new st ack
– <DAHDI/2-1> Playing ‘ss-noservice’ (language ‘en’)
– Executing [s@from-pstn:5] SayAlpha(“DAHDI/2-1”, “000”) in new stack
– <DAHDI/2-1> Playing ‘digits/0’ (language ‘en’)
– <DAHDI/2-1> Playing ‘digits/0’ (language ‘en’)
– <DAHDI/2-1> Playing ‘digits/0’ (language ‘en’)
– Executing [s@from-pstn:6] Hangup(“DAHDI/2-1”, “”) in new stack
== Spawn extension (from-pstn, s, 6) exited non-zero on ‘DAHDI/2-1’
– Executing [h@from-pstn:1] Hangup(“DAHDI/2-1”, “”) in new stack
== Spawn extension (from-pstn, h, 1) exited non-zero on ‘DAHDI/2-1’
– Hungup ‘DAHDI/2-1’
– Channel 0/21, span 1 got hangup request, cause 16
– Executing [h@macro-dialout-trunk:1] Macro(“SIP/312-096100e8”, “hangupcall |”) in new stack
– Executing [s@macro-hangupcall:1] GotoIf(“SIP/312-096100e8”, “1?skiprg”) i n new stack
– Goto (macro-hangupcall,s,4)
– Executing [s@macro-hangupcall:4] GotoIf(“SIP/312-096100e8”, “1?skipblkvm” ) in new stack
– Goto (macro-hangupcall,s,7)
– Executing [s@macro-hangupcall:7] GotoIf(“SIP/312-096100e8”, “1?theend”) i n new stack
– Goto (macro-hangupcall,s,9)
– Executing [s@macro-hangupcall:9] Hangup(“SIP/312-096100e8”, “”) in new st ack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on ‘SIP/312-096100 e8’ in macro ‘hangupcall’
== Spawn h extension (macro-dialout-trunk, h, 1) exited non-zero on ‘SIP/312-0 96100e8’
– Hungup ‘DAHDI/21-1’
== Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on ‘SIP/312-09 6100e8’ in macro ‘dialout-trunk’
== Spawn extension (from-internal, 045000000, 4) exited non-zero on ‘SIP/312-0 96100e8’

Please help…
It urgent.

according to Asterisk they are sending you just 3 digits, probably the last 3.

Turn up your PRI debugging to see more details, then get with your telco and let them know what you are receiving.

We checked with the telco, according to him he is sending the full digits i.e. country code+city code + DID number. I am bit new in this.

what is the command with we can check and show the telco that we are getting last 3 digits only. or any thing in pbx to be checked or method to get the full cli or ny change in dial plan is required.

Please help.

Satish

“help pri” should show you the commands

it’s not uncommon that the telco is wrong but you’ll need to show them typically.