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 href="mailto:jiri@iptel.org">jiri@iptel.org</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
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 href="mailto:Serusers@lists.iptel.org">Serusers@lists.iptel.org</a><br>&gt;<a href="http://lists.iptel.org/mailman/listinfo/serusers">
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 href="http://iptel.org/~jiri/">http://iptel.org/~jiri/</a><br><br></blockquote></div><br>