<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 http-equiv=Content-Type content="text/html; charset=iso-8859-1"><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:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:black;
        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:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;
        color:black;}
span.E-MailFormatvorlage19
        {mso-style-type:personal;
        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:Consolas;
        color:black;
        mso-fareast-language:EN-US;}
span.E-MailFormatvorlage22
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:70.85pt 70.85pt 56.7pt 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 bgcolor=white lang=DE-AT link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Hello,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>I don’t really need it, it will be just a workflow optimization feature.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>So it is not necessary anymore to insert * at the end of the allowed_cli number and would be similar to “extension_in_npn” parameter.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>lg<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span lang=DE style='color:windowtext;mso-fareast-language:DE-AT'>Von:</span></b><span lang=DE style='color:windowtext;mso-fareast-language:DE-AT'> Spce-user [mailto:spce-user-bounces@lists.sipwise.com] <b>Im Auftrag von </b>Daniel Grotti<br><b>Gesendet:</b> Dienstag, 23. Jänner 2018 11:15<br><b>An:</b> spce-user@lists.sipwise.com<br><b>Betreff:</b> Re: [Spce-user] partial match for "allowed_clis" -> "extension_in_allowed_clis"<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><tt><span style='font-size:10.0pt'>Hi,</span></tt><span style='font-size:10.0pt;font-family:"Courier New"'><br><tt>allowed_clis requires a shell pattern, as described in the online-help:</tt><br><br><tt><b>A list of shell patterns specifying which CLIs are allowed</b></tt><b><br><tt>to be set by the subscriber. "*", "?" and "x-y" with "x" </tt><br><tt>and "y" representing numbers from 0 to 9 may be used as </tt><br><tt>wildcards as usual in shell patterns.</tt></b><br><br><tt>so you should use * at the end to match further digits.</tt><br><tt>Why you need to have an additional parameter </tt></span><tt><span lang=EN-US style='font-size:10.0pt;color:#212121;background:white'>"extension_in_allowed_clis" ? </span></tt><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:#212121;background:white'><br><br><br><tt>Daniel</tt><br><br><br><br></span>On 01/23/2018 10:35 AM, Matthias Hohl wrote:<br><br><span style='font-size:12.0pt;mso-fareast-language:DE-AT'><o:p></o:p></span></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal><span lang=EN-US><br></span><span lang=EN-US style='font-family:"Arial",sans-serif;color:#212121;background:white'>Hello, </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-family:"Arial",sans-serif;color:#212121;background:white'> </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-family:"Arial",sans-serif;color:#212121;background:white'>if I place a phone number 431111 under allowed_clis, and the subscriber calls with an extension 431111-22, then the UPN is rejected because there is no exact match. </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-family:"Arial",sans-serif;color:#212121;background:white'> </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-family:"Arial",sans-serif;color:#212121;background:white'>If I set the phone number for allowed_clis with an asterisk as follows it works: 431111* </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-family:"Arial",sans-serif;color:#212121;background:white'>There is also the switch "extension_in_npn" which allows partial matching against main and alias subscriber number, but this does not apply to "allowed_clis". </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-family:"Arial",sans-serif;color:#212121;background:white'> </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-family:"Arial",sans-serif;color:#212121;background:white'>My question would be, whether it is intended to integrate a switch "extension_in_allowed_clis" to allow a partial match against allowed_clis, without leaving a * behind the phone number.</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US> </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>Thanks.</span><o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman",serif;mso-fareast-language:DE-AT'><br><br><br><o:p></o:p></span></p><pre>_______________________________________________<o:p></o:p></pre><pre>Spce-user mailing list<o:p></o:p></pre><pre><a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><o:p></o:p></pre><pre><a href="https://lists.sipwise.com/listinfo/spce-user">https://lists.sipwise.com/listinfo/spce-user</a><o:p></o:p></pre></blockquote><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman",serif;mso-fareast-language:DE-AT'><o:p> </o:p></span></p></div></body></html>