<div>Hi all , I want to recall on this. </div>
<div> </div>
<div>Does anyone facing this problem? . I have to translate destination numbers based on rules (>5000). </div>
<div> </div>
<div>Every destination prefix needs to be translated in a diferent way. ie. </div>
<div> </div>
<div>0033067xxxxxxx ----> 6700xxxxxxx</div>
<div>00330543xxxxxx ----> 54300xxxxxx</div>
<div> </div>
<div>basicaly i need to country Code (00330) and replace it by Area code (wich is variable 67, or 543 in this example.) plus destination number. <br> </div>
<div>For this i was thinking storing these patterns in a DB table. But i really need some help if someone can drop me a line on how to implement such thing.</div>
<div> </div>
<div>Thanks in advance. </div>
<div> </div>
<div> </div>
<div> </div>
<div><span class="gmail_quote">2006/7/30, Robert Zorop <<a href="mailto:rzorop@gmail.com">rzorop@gmail.com</a>>:</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 | Translated prexif |
<br>| 00657 | 0034657 |<br>| 00345 | 0453455 | <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 <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:jiri@iptel.org" target="_blank">jiri@iptel.org</a>>:</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>>Hi guys.<br>> 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>> Is someone is doing it inside or outside ser, please shed a light on this!. What i need is to stip some numbers, and then add some other (variables) before proxying the calls.<br>><br>><br>>Thanks in advance.
<br>><br>>_______________________________________________<br>>Serusers mailing list<br>><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Serusers@lists.iptel.org" target="_blank">Serusers@lists.iptel.org
</a><br>><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
<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> </div></blockquote></div><br>