cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
562
Views
0
Helpful
3
Replies

AS5350 call routing digit strip

ns
Level 1
Level 1

Hi,

I'm trying to route a call from one PRI connection to another PRI stripping the "00" prefix.

The conf is:

dial-peer voice 1001 pots

destination-pattern ^00%

port 3/7:D

I want to route any call that starts with 00 to port 3/7:D and strip the "00" prefix, but it doesn´t work.

The call doesn´t get routed and the debug output for the ISDN PRI shows that the call gets disconnected because of No circuit/channel available.

Has anyone seen this problem before? We have defined some translation rules for other calls and they work.

Any help is appreciated.

Thanks,

Niels

3 Replies 3

rapik
Level 1
Level 1

try this destination-pattern 00T

lucix
Level 1
Level 1

try this :

translation-rule 100

Rule 1 ^001.% 1 ANY unknown

Rule 2 ^002.% 2 ANY unknown

Rule 3 ^003.% 3 ANY unknown

Rule 4 ^004.% 4 ANY unknown

Rule 5 ^005.% 5 ANY unknown

Rule 6 ^006.% 6 ANY unknown

Rule 7 ^007.% 7 ANY unknown

Rule 8 ^008.% 8 ANY unknown

Rule 9 ^009.% 9 ANY unknown

dial-peer voice 1001 pots

destination-pattern 00T

translate-outgoing called 100

port 3/7:D

-------------------

Or, if you have fixed size numbers like 0012341231231 you can skip the translation-rule and use forward-digits on the dial-peer.

However, I recommend using translation-rule.

Thanks for you replies.

Niels