<div>Hi all , I want to recall on this. </div>
<div>&nbsp;</div>
<div>Does anyone facing this problem? . I have to translate destination numbers based on rules (&gt;5000). </div>
<div>&nbsp;</div>
<div>Every destination prefix needs to be translated in a diferent way. ie. </div>
<div>&nbsp;</div>
<div>0033067xxxxxxx ----&gt; 6700xxxxxxx</div>
<div>00330543xxxxxx ----&gt; 54300xxxxxx</div>
<div>&nbsp;</div>
<div>basicaly i need to&nbsp;country Code (00330) and replace it by Area code (wich is variable 67, or 543 in this example.) plus&nbsp;destination number.&nbsp;&nbsp;<br>&nbsp;</div>
<div>For this i was thinking storing these patterns in a&nbsp;DB table. But i really need some help if someone can drop me a line on how to implement such thing.</div>
<div>&nbsp;</div>
<div>Thanks in advance. </div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div><span class="gmail_quote">2006/7/30, Robert Zorop &lt;<a href="mailto:rzorop@gmail.com">rzorop@gmail.com</a>&gt;:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>Hi, i was thinking about looking up destination prefixes in a bd table, and then if the prefix matches the request uri, translate it to what a second column indicates. <br><br>Lets say. <br><br>Prefixes Table: <br>| Prefix&nbsp; | Translated prexif | 
<br>| 00657 |&nbsp; 0034657&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<br>| 00345 |&nbsp; 0453455 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; | <br><br>Can u drop me a line on how can someone implement this king of match/replacement for values in SER? . <br><br>Thanks a lot. <br><br><br><br>
<div><span class="gmail_quote">2006/7/26, Jiri Kuthan &lt;<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:jiri@iptel.org" target="_blank">jiri@iptel.org</a>&gt;:</span></div>
<div><span class="e" id="q_10cc114ac8ed99ce_1">
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">There is a buch of commands you can use for uri maniputlation: strip, prefix, subst_uri.<br><br>
-jiri<br><br>At 15:52 25/07/2006, Robert Zorop wrote:<br>&gt;Hi guys.<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I'd like to hear about different methods of implementing cisco like transtation rules in SER. I was thinking about AVPs, but still couldn't find the ight way. 
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Is someone is doing it inside or outside ser, please shed a light on this!.&nbsp;&nbsp; What i need is to stip some numbers, and then add some other (variables) before proxying the calls.<br>&gt;<br>&gt;<br>&gt;Thanks in advance. 
<br>&gt;<br>&gt;_______________________________________________<br>&gt;Serusers mailing list<br>&gt;<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Serusers@lists.iptel.org" target="_blank">Serusers@lists.iptel.org
</a><br>&gt;<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.iptel.org/mailman/listinfo/serusers" target="_blank"> http://lists.iptel.org/mailman/listinfo/serusers</a><br><br>--<br>Jiri Kuthan&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://iptel.org/~jiri/" target="_blank">http://iptel.org/~jiri/</a><br><br></blockquote></span></div>
<div></div><br>&nbsp;</div></blockquote></div><br>