<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div></div><div>Hello...</div><div><br></div><div>Has anyone an idea, how to solve this?</div><div><br></div><div>Thank you</div><div><br>Am 13.09.2017 um 15:52 schrieb Matthias Hohl <<a href="mailto:matthias.hohl@telematica.at">matthias.hohl@telematica.at</a>>:<br><br></div><blockquote type="cite"><div><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"><meta name="Generator" content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert Zchn";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.E-MailFormatvorlage17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.HTMLVorformatiertZchn
        {mso-style-name:"HTML Vorformatiert Zchn";
        mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert";
        font-family:"Courier New";
        mso-fareast-language:DE-AT;}
span.pun
        {mso-style-name:pun;}
span.lit
        {mso-style-name:lit;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--><div class="WordSection1"><p class="MsoNormal">Hello,<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">we have sometimes the problem, that customers dial a number with letters or characters like „.“ Or „-„ or „/“ in it.<o:p></o:p></p><p class="MsoNormal">This stops rate-o-mat, so we need to rewrite the dialed number to strip out this characters.<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><pre style="background:white">Like: <span style="font-size:9.0pt;font-family:Consolas;color:#333333">[^</span><span style="font-size:9.0pt;font-family:Consolas;color:#AD5100">0</span><span style="font-size:9.0pt;font-family:Consolas;color:#333333">-</span><span style="font-size:9.0pt;font-family:Consolas;color:#AD5100">9</span><span style="font-size:9.0pt;font-family:Consolas;color:#333333">]  =>  „“<o:p></o:p></span></pre><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">But <o:p></o:p></p><p class="MsoNormal">We tought about to set this rule in the inbound rewrite rule for callee setting.<o:p></o:p></p><p class="MsoNormal">As we can see in your handbook, the rewrite rule process stopps after the first match, so this would be no solution, so we need to do this rewriting before the inbound rewrite rule for callee takes affect.<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">Is there a way to do this strip process somewhere in the kamailio settings directly?<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">Thank you.<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p></div></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Spce-user mailing list</span><br><span><a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a></span><br><span><a href="https://lists.sipwise.com/listinfo/spce-user">https://lists.sipwise.com/listinfo/spce-user</a></span><br></div></blockquote></body></html>