<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi All,<br>
<br>
How do I specify translation profile when using this line in SIP
profile?<br>
<br>
<param name="dialplan" value="translate,XML"/><br>
<br>
What I'm trying to achieve is to make sure call only goes through
one translations profile. I don't want to rely on the order of
translations profiles in translation.conf. So, I want to do
something like this:<br>
<br>
<param name="dialplan" value="translate:<b>e164</b>,XML"/><br>
<br>
in translate.conf.xml I have:<br>
<br>
<include><br>
<configuration name="translate.conf" description="Number
Translation Rules"><br>
<profiles><br>
<br>
<profile name="foo"><br>
</profile><br>
<br>
<profile name="e164"><br>
<rule regex="^(?:1|\+1)?([2-9]\d{2}[2-9]\d{6})$"
replace="+1$1"/><br>
<rule regex="^(?:011|\+)(\d+)$" replace="+$1"/><br>
<rule regex="^(\d+)$" replace="+$1"/><br>
</profile><br>
<br>
</profiles><br>
</configuration><br>
</include><br>
<br>
Thank you,<br>
Victor<br>
</body>
</html>