DID numbers on PRI different from CUE AA pilot numbers

Unanswered Question
May 7th, 2008

Situation:

I have a PRI with 4 public DID numbers. The CO is sending 7 digits (all four numbers are completely discontiguous). These 4 numbers each need to go to 4 different CUE AA pilot numbers. I think they need to be translated. I'm not sure what the best approach is for this problem and what the detailed configuration should look like. Can anybody help.

This is one idea i had:

voice translation-rule 1

rule 1 /5551234/ /301/

rule 2 /5552345/ /302/

rule 3 /5553456/ /303/

rule 4 /5554567/ /303/

voice translation-profile PSTN_CUEAA

translate called 1

dial-peer voice 5551234 pots

incoming called-number 5551234

translation-profile incoming PSTN_CUEAA

direct-inward-dial

dial-peer voice 5552345 pots

incoming called-number 5552345

translation-profile incoming PSTN_CUEAA

direct-inward-dial

dial-peer voice 5553456 pots

incoming called-number 5553456

translation-profile incoming PSTN_CUEAA

direct-inward-dial

dial-peer voice 5554567 pots

incoming called-number 5554567

translation-profile incoming PSTN_CUEAA

direct-inward-dial

dial-peer voice 300 voip

destination-pattern 30.

session protocol sipv2

session target ipv4:192.168.1.1

dtmf-relay sip-notify

codec g711ulaw

no vad

Thanks in advance for the help.

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Average Rating: 4 (1 ratings)
Paolo Bevilacqua Wed, 05/07/2008 - 14:33

Hi, you can apply the translation-profile under voice-port. This way, you can do with a single DP:

incoming called-number .

direct-inward-dial

aciscolook Wed, 05/07/2008 - 14:45

Thanks again. But can you confirm the configuration below is correct with your suggestion:

voice translation-rule 1

rule 1 /5551234/ /301/

rule 2 /5552345/ /302/

rule 3 /5553456/ /303/

rule 4 /5554567/ /303/

!

voice translation-profile PSTN_CUEAA

translate called 1

voice-port 1/0:23

translation-profile incoming PSTN_CUEAA

dial-peer voice 555 pots

incoming called-number .

direct-inward-dial

dial-peer voice 300 voip

destination-pattern 30.

session protocol sipv2

session target ipv4:192.168.1.1

dtmf-relay sip-notify

codec g711ulaw

no vad

Also, can you help me to understand why the DP only has a '.' for the incoming called number? If the translation rule is in effect on the voice-port won't the dialed numbers be 301,302, and 303? Doesn't seem to match the '.'. I was thinking incoming called number 30. or 30[1-3]. Sorry to belabor this only for my understanding.

Great help again!!

Paolo Bevilacqua Wed, 05/07/2008 - 14:54

Seems fine to me.

The DP with direct-inward-dial, simply means, "never give dialtone to who calls in from PSTN no matter what number has been called".

It should match 303 etc, because matching logic for "incoming called-number" are slightly different from the ones for "destination-pattern".

Actions

Login or Register to take actions

This Discussion

Posted May 7, 2008 at 2:24 PM
Stats:
Replies:3 Avg. Rating:4
Views:242 Votes:0
Shares:0
Tags: No tags.

Discussions Leaderboard

Rank Username Points
1 21,031
2 15,047
3 10,325
4 8,014
5 4,856
Rank Username Points
121
105
98
62
61