cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
529
Views
3
Helpful
4
Replies

inbound call setup from CCME

royalblues
Level 10
Level 10

I am new to VoIP & trying to configure a CCME system on a 2621 router

Most of the basic configs have been completed.

I have successfully configured a POTS dial-peer and able to dial out to the pstn from the VoIP phones. But iam unable to dial from outside to the DID number provided by the SP.

The DID number is 01753217600 and i would like to have the setup in such a way that if anyone dials 01753217646 it should land on extension 646

Can somebody let me know if iam missing something.

attached router configuration.

Thanks

Narayan

1 Accepted Solution

Accepted Solutions

Here it is:

voice translation-rule 1

rule 1 /^7600/ /646/

voice translation-profile 1

translate called 1

dial-peer voice 1 pots

incoming called-number .

translation-profile incoming 1

You need to apply it to the pots dial-peer, make sure you add the "incoming called-number ." to is as well.

You can also test the translation rule without making a call by issuing this command:

test voice trasnlation-rule 1 7600

Also, to validate that you are in fact receiving 4 digits use "debug isdn q931"

Here is a good link for translation rules:

http://www.cisco.com/en/US/tech/tk652/tk90/technologies_tech_note09186a0080325e8e.shtml

Chris

View solution in original post

4 Replies 4

Chris Deren
Hall of Fame
Hall of Fame

Your best bet on the E1-PRI would be to use translation rule, but you need to know exactly how many digits the provider is sending to you. Assume that they are sending all of these digits: 01753217600, then you TR would look like this:

voice translation-rule 1

rule 1 /^01753217600/ /646/

voice translation-profile 1

translate called 1

dial-peer voice 1 pots

incoming called-number .

translation-profile incoming 1

HTH, please rate all posts!

Chris

Thank you Chris,

Iam getting the last four digits from the SP.

can you let me know the translation rule required for this.

also i would like to confirm whether the config to be applied on the pots dial peer or i should create a VoIP dial peer as the call from outside need to routed on VoIP

a good link on the translational rules will also help

Thanks

Narayan

Here it is:

voice translation-rule 1

rule 1 /^7600/ /646/

voice translation-profile 1

translate called 1

dial-peer voice 1 pots

incoming called-number .

translation-profile incoming 1

You need to apply it to the pots dial-peer, make sure you add the "incoming called-number ." to is as well.

You can also test the translation rule without making a call by issuing this command:

test voice trasnlation-rule 1 7600

Also, to validate that you are in fact receiving 4 digits use "debug isdn q931"

Here is a good link for translation rules:

http://www.cisco.com/en/US/tech/tk652/tk90/technologies_tech_note09186a0080325e8e.shtml

Chris

Hi Chris,

That worked fine. Actually the service provider was sending 6 digits which i could see from the debugs.

I modified the translational rule accordingly to 6 digits and voila i was able to make inbound calls.

i have now modified the rule to the following as it will satisfy the basic requiremnt of dialing to the extension based on the last 3 digits.

voice translation-rule 1

rule 1 /^.*\(...\)/ /\1/

voice translation-profile 1

translate called 1

thanks for all the help

regards

Narayan