<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:x="urn:schemas-microsoft-com:office:excel" 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:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@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:Roboto;
        panose-1:2 0 0 0 0 0 0 0 0 0;}
/* 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;}
/* List Definitions */
@list l0
        {mso-list-id:1511986373;
        mso-list-template-ids:-537652144;}
@list l0:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:36.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l0:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:72.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:"Courier New";
        mso-bidi-font-family:"Times New Roman";}
@list l0:level3
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:108.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level4
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:144.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level5
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:180.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level6
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:216.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level7
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:252.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level8
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:288.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level9
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:324.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></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>i played around today with an subscriber and found out, that I can send a UPN also if this number is not in allowed_clis list.<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>My Test:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>I added a number as alias number (43 1 234) to a subscriber and in the allowed_cli list I delete this entry. (auto_allow_cli is enabled so I have to manually deleted it).<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>If I try now an outbound call with UPN 43 1 2345678 this number will be accepted and used as UPN.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>If I remove the alias number from the subscriber, the network provided number will be used.<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>I am not sure right now, if this is a bug or if this is wanted, cause in handbook is written, that the UPN is always checked against the allowed_cli, but it looks like, it firstly do a partial match check against the primary and alias number and if there is a match, the number is allowed for UPN.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>So allowed_cli or better auto_allow_cli is not needed anymore if the number is already part of the primary or alias number. So allowed_cli is more for additional outbound numbers, which are not part of the primary or alias number of the subscriber.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><ul style='margin-top:0cm' type=disc><li style='color:#333333;margin-top:0cm;margin-bottom:0cm;mso-list:l0 level1 lfo1;background:white'><i><span lang=EN-US style='font-family:Roboto'>For outgoing calls, you may define multiple numbers or patterns to control what a subscriber is allowed to send as user-provided calling numbers using the </span></i><em><span lang=EN-US style='font-family:Roboto;font-style:normal'>allowed_clis</span></em><i><span lang=EN-US style='font-family:Roboto'> preference.<o:p></o:p></span></i></li><li style='color:#333333;margin-top:0cm;margin-bottom:0cm;mso-list:l0 level1 lfo1;background:white;box-sizing: inherit;margin-bottom:0.5rem'><i><span lang=EN-US style='font-family:Roboto'>If </span></i><em><span lang=EN-US style='font-family:Roboto;font-style:normal'>allowed_clis</span></em><i><span lang=EN-US style='font-family:Roboto'> does not match the number sent by the subscriber, then the number configured in </span></i><em><span lang=EN-US style='font-family:Roboto;font-style:normal'>cli</span></em><i><span lang=EN-US style='font-family:Roboto'> (the network-provided number) preference will be used as user-provided calling number instead.<o:p></o:p></span></i></li></ul><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>If this legit, the handbook should be extended with the above information, that it is enough that the number is in primary and/or alias number and allowed_cli will be checked after checking the numbers in primary/alias of the subscriber.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>As far I can remember in previous versions, this works now different. Right?<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<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>