cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
692
Views
0
Helpful
2
Replies

TCL to do number translation

gilbera
Level 1
Level 1

Hi

I have reached the limit with translation profiles and i need to be able to scale the amount of numbers i can translate.

I was told i can do this in a TCL script on the POT peers so i can change the DNIS number before it then matches a DialPeer outbound on the IP leg.

Does anyone have any examples of how to do this in TCL?

Thanks

Andy

2 Replies 2

teodorgeorgiev
Level 4
Level 4

Hi.

Thanks for that, i have got a script working to do what i want, the problem is i am using Parameters to pass the translations in and it does not seem to order them very well in the config so its hard to see what where your at.

i.e param1,param2, param3 it displays them in a random order.

So to cut to the chase i was think of off loading the request to a web server which could be back by a DB of numbers if there a command that lets you send a web request and parse the results i.e the page returns some xml etc.

Thanks

Andy