Incoming call handle problem

Unanswered Question
Jun 23rd, 2008

Incoming call are answered by POTS-Provider (T-Com) as the number not available! The number dailed was correct! Also local numbers are redirected to a dial-peer withs is a fax on a FXS port (Dail-peer 3). No dial-peer redirection is configured with explance this behavior. Debug is on end confirms the problem. I have added the part of the config which is important. It seems that incoming calls which count 1 digit for the extension number are forward the the fax.

voice translation-rule 1

rule 1 /^30120$/ /50/

rule 2 /^\(3012\)\(..\)/ /\2/


voice translation-rule 10

rule 1 /\(^.+\)/ /00\1/ type national national

rule 2 /\(^.+\)/ /000\1/ type international international

rule 3 /\(^.+\)/ /00\1/ type any subscriber


voice translation-profile PSTN_IN

translate calling 10

translate called 1


dial-peer voice 50 pots (to dial-peer voice 53 pots)

description ** Anlagenanschluss 1 **

translation-profile incoming PSTN_IN

destination-pattern 0T

incoming called-number .


port 0/1/0

no sip-register

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Paolo Bevilacqua Mon, 06/23/2008 - 07:21

Sorry, can't really understand the question. Can you reformulate in different words, perhaps with an example ?

abacus-micro-sm... Mon, 06/23/2008 - 08:17


The main telephone-nr. is 1234-0.

The internal number are 10 or 20 or 13.

When someone calls 123410 the internal number rings, totally OK.

Now someone calls 12341 then it rings and the dial-peer 3, a fxs port with fax, answers. The fxs-port has the number 80. This isn't OK, because nothing tells the dial-peer 3 to answer. The samething happens when someone calls a not existing number in the number range.

Paolo Bevilacqua Mon, 06/23/2008 - 08:21

Hi, I assume you have ISDN although you haven't mentioned that.

Please make sure you have "isdn overlap-receiving" under bri or pri interface.

Then observe with "debug isdn q931" and "term mon" what is the called number, you should be able to understand why it ends on the "wrong" port.

abacus-micro-sm... Mon, 06/23/2008 - 08:36

all 4 ISDN ports is configured like

interface BRI0/1/0

no ip address

isdn switch-type basic-net3

isdn overlap-receiving

isdn point-to-point-setup

isdn incoming-voice voice

isdn sending-complete

isdn static-tei 0

I allready log debug isdn q931 and debug voip dailpeer inout to sylog-server. Therefore I saw whats happening with the dial-peer 3. There is no logic for the reaction for dial-peer 3 (FAX on FXS port).

Paolo Bevilacqua Mon, 06/23/2008 - 08:45


you haven't sent you complete configuration neither the debug output, so it's impossible to say why it is happening, but be reassured it's a configuration issue.

Unrelated to that I note that you have not put the 4 BRI ports in trunk group, thing that would simplify configuration a lot.

abacus-micro-sm... Mon, 06/23/2008 - 08:51

Can I send yout the config to a e-mail address?

What do you mean with Trunk group for the BRI ports?

Paolo Bevilacqua Mon, 06/23/2008 - 09:04

Please use the forum only. You can edit sensitive numbers and addresses with some x here and there.

You can:

voice-port x/y/z

trunk-group bri

[repeat for all bri voice ports]

dial-peer voice xxx pots

trunkgroup bri

This way you reduce the number of DPs and apply all the translation-profile under a central point. Much easier to understand and administer.

abacus-micro-sm... Mon, 06/23/2008 - 09:32

The config is attachted and I attach the Log the reports about a caller on number 10232. The number is not known or are number is cut off, why I don't know. But in this situation and many other the caller is redirect on dial-peer 3 with correspondent with the fax on nr. 80.

Paolo Bevilacqua Mon, 06/23/2008 - 10:09

Where do you want 10232 to go?

There is no config for that, as the translation rule expects two digits after 1023.

You should configure an explicit DP to send 10232 when you want to send it.

abacus-micro-sm... Mon, 06/23/2008 - 10:13

10232 go nowhere, exactly. That number does not exist and isnot configured or the number is cut-off (why ever). That is the point, I want no DP, but it seems that see log that for unkown reason the "not configured number" is translate to DP 3! That is what about my problem.

abacus-micro-sm... Mon, 06/23/2008 - 22:12

Hi, I think the solution is to prevent the activation of DP 3. I'm guessing to solved the problem with a extra translation-rule:

voice translation-rule 1

rule 1 /^30120$/ /50/

rule 2 /^\(3012\)\(..\)/ /\2/

(NEW) rule 3 /^\(3012\)\(.\)/ /50/

this would cause that a 1 digit nummer is translated to the number 50. Right?

Paolo Bevilacqua Mon, 06/23/2008 - 23:15

Hi, rule 3 doesn't make much sense as a "kept" expression in brackets is not then reused.

If you mention what you want to do I can suggesta simpler way.

abacus-micro-sm... Mon, 06/23/2008 - 23:22

I would like to prevent incoming calls which has only 1 digit at the end of the string that they get on DP 3 (FAX), with is not logical. I would like to route that kind of incoming call on the internal number 50.

Paolo Bevilacqua Tue, 06/24/2008 - 00:53

In presence of overlap receiving, you can have issues doing that, because some internal logic doesn't work well. However you can try:

rule 1 /^3012.$/ /50/

abacus-micro-sm... Mon, 06/23/2008 - 09:05

Can I send yout the config to a e-mail address?

What do you mean with Trunk group for the BRI ports?


This Discussion