<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><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:"Open Sans";
        panose-1:2 11 6 6 3 5 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
span.E-MailFormatvorlage17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.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]--></head><body lang=DE-AT link="#0563C1" vlink="#954F72" style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal>Hello,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span lang=EN-US>is it possible to create an OUTBOUND REWRITE RULE FOR CALLER for a subscriber with a special variable in the Match pattern?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>What I want:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Match pattern: </span><span style='font-size:9.0pt;font-family:"Open Sans",sans-serif;color:#333333;background:#F0F3F7'>^${caller_cc}([1-9][0-9]+)$<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Open Sans",sans-serif;color:#333333;background:#F0F3F7'>Replacement Pattern: 0\1<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:9.0pt;font-family:"Open Sans",sans-serif;color:#333333;background:#F0F3F7'>Description: E.164 to National</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Does this work, or does the special variables just work for the Replacement Pattern?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>It would be nice if this would work, so I can create random Rewrite Rule Sets without creating a separate one for German or Austrian Subscribers. (</span><span lang=EN-US style='font-size:9.0pt;font-family:"Open Sans",sans-serif;color:#333333;background:#F0F3F7'>^43(1-9][0-9]+)$ or ^49(1-9][0-9]+)$</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>So there is just one rewrite rule set and this works for german and Austrian subscribers </span><span lang=EN-US style='font-family:"Segoe UI Emoji",sans-serif'>😊</span><span lang=EN-US> so a “Match Pattern” detection for “caller_cc” would be a nice feature </span><span lang=EN-US style='font-family:"Segoe UI Emoji",sans-serif'>😊</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Maybe also an extension for the Rewrite rules would be nice, where you can define a Callee/Caller Pattern like Peering Rules.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:DE-AT'>Mit freundlichen Grüßen,<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:DE-AT'>Matthias Hohl</span><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>