<div dir="ltr">are you sure that you can rewrite $rU... i do this by making another variable and then removing the unwanted by using {s.substr,x,y}</div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-04-04 10:24 GMT+02:00 Alcindo Schleder <span dir="ltr"><<a href="mailto:alcindoschleder@gmail.com" target="_blank">alcindoschleder@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="PT-BR" link="blue" vlink="purple"><div><p class="MsoNormal">I'm using opensips 1.10xeo dialplan module. The user send me the following string: '9675#destinationNumber@serverip’. <u></u><u></u></p>
<p class="MsoNormal">I want to remove only the # 9675 number and store in $rU. <u></u><u></u></p><p class="MsoNormal">I've tried everything and can not succeed. I tried with subst_exp, repl_exp and nothing.<u></u><u></u></p>
<p class="MsoNormal">What could be wrong?<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><span>Alcindo Schleder<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:8.0pt">Gerente de Negócios – <a href="mailto:comercial@renovaretelecom.com.br" target="_blank">comercial@renovaretelecom.com.br</a> <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt"><a href="tel:%2851%29%203564-4156" value="+15135644156" target="_blank">(51) 3564-4156</a><u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:8.0pt"><a href="tel:%2851%29%209790-9437" value="+15197909437" target="_blank">(51) 9790-9437</a><u></u><u></u></span></p>
<p class="MsoNormal"><span><a href="http://www.renovaretelecom.com.br/" target="_blank">Renovare Telecom</a><u></u><u></u></span></p><p class="MsoNormal"><u></u> <u></u></p></div></div><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Med venlig hilsen<br>ipnordic A/S<br><div><br></div><div>Mike Claudi Pedersen</div><div>Tekniker</div><div><div><br></div>Telefon: <span style="color:rgb(61,58,54);font-family:aller_lightregular,Arial,Helvetica,sans-serif">79301033</span><br>
<a href="http://www.ipnordic.dk/" style="color:rgb(17,85,204)" target="_blank">www.ipnordic.dk</a></div></div>
</div>