TCL to do number translation

Unanswered Question
Feb 12th, 2007


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?



I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
teodorgeorgiev Sun, 02/18/2007 - 11:29
gilbera Tue, 02/20/2007 - 03:53


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.




This Discussion