We have just been assigned a new PRI to which the telco has redirected two old numbers (fax and main switchboard) from a previous office.
For sake of the discussion, range of DID's on new PRI is 1231000-1231099 (100 numbers), old fax is 1238888, old switchboard is 1239999
When dialling from the outside world any of the DID's, debug q931 shows a simple
Progress Ind i = 0x8281 - Call not end-to-end ISDN, may have in-band info
Calling Party Number i = 0x1183, 'xxxxxxxx'
Called Party Number i = 0xC1, '10zz'
where xxxxxxx is the calling party ID , zz is whatever the caller dialed, and I can match that with a dial-peer using:
incoming called-number 10zz
However, when someone from the outside world dials one of the old numbers, the debug I get is:
Progress Ind i = 0x8283 - Origination address is non-ISDN
Calling Party Number i = 0x1183, 'xxxxxxxxxx'
Called Party Number i = 0xC1, '1000' <- note it shows the FIRST number of the DID block
Redirecting Number i = '!', 0x008F, '1238888' <- note it also shows prefix whereas with called party prefix is chopped
but the problem is that I can't match the redirecting number in a dial-peer, so I have no way to split the 1238888 to a fax port and the 1239999 to a human attendant. It keeps matching dial-peers based on the called party 1000
I can see the difference in the calls in the q931 debug on that "redirecting number", but I don't know how to act on it.
Does anyone have a suggestion for this?
Switch type is configured as primary-net5, this is with Telefonica and it's in Peru.
thanks in advance.