Hi All,
How do I specify translation profile when using this line in SIP
profile?
<param name="dialplan" value="translate,XML"/>
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:
<param name="dialplan" value="translate:e164,XML"/>
in translate.conf.xml I have:
<include>
<configuration name="translate.conf" description="Number
Translation Rules">
<profiles>
<profile name="foo">
</profile>
<profile name="e164">
<rule regex="^(?:1|\+1)?([2-9]\d{2}[2-9]\d{6})$"
replace="+1$1"/>
<rule regex="^(?:011|\+)(\d+)$" replace="+$1"/>
<rule regex="^(\d+)$" replace="+$1"/>
</profile>
</profiles>
</configuration>
</include>
Thank you,
Victor