<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<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:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
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;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma",sans-serif;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma",sans-serif;}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;}
span.EmailStyle22
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;}
span.EmailStyle23
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
span.EmailStyle25
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
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="EN-ZA" link="#0563C1" vlink="#954F72"><div class="WordSection1">
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">I have enabled peer to peer calling and tried setting up my PBX as a peer but it wanted to route the inbound call out the same peer it received it on for some reason. Will try again though.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Thanks<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
    <br />
<p>
    <strong><font face="Arial" size="2" color="#000066">Kevin Boddy
        <br />
        ISP Technical</font></strong>
        <br />
        <br />
</p><table><tbody>
    <tr>
            <td><table border="0" cellspacing="0" cellpadding="0"><tr><td><a href="http://www.firstnet.co.za"><IMG border="0" alt="FirstNet Technology Services" src="cid:118092608295000665@za-mta-34.za.mimecast.lan" ></A></td></tr></table></td>
        </tr>
</tbody></table>
        <span style="color:#000000;line-height:100%;font-size:10px;"><strong><font face="Arial" size="1">Tel:</font></strong><font face="Arial" size="1"> +27318180800</font>
        <font face="Arial" size="1" color="#800000"> |</font>
        <font face="Arial" size="1"> <strong>Direct: </strong>+27315736288</font>
        <font face="Arial" size="1" color="#800000"> |</font>
    <font face="Arial" size="1"><strong>Mobile: </strong></font><font face="Arial" size="1">+27832661735</font>
        <font face="Arial" size="1" color="#800000"> |</font>
        <font face="Arial" size="1"> <strong>Fax: </strong> +27318180801</font>
        <font face="Arial" size="1" color="#800000"> |</font>
        <font face="Arial" size="1"> <strong>Email:</strong> kevin.boddy@firstnet.co.za 
        <br />
        <strong>Address: </strong>4 Sunbury Crescent, Sunbury Office Park, La Lucia Ridge, 4019
        </font>
        <font face="Arial" size="1" color="#800000">|</font>
        <font face="Arial" size="1"> <strong>Postal Address</strong>: P O Box 703, Umhlanga Rocks, 4320</font><br />
        <font face="Arial" size="1"><strong>Website:</strong></font>
        <font face="Arial" size="1"> <a href="http://www.firstnet.co.za" target="_blank">http://www.firstnet.co.za</a></font><br />
        <font face="Arial" size="1"><strong>Disclaimer:</strong></font>
        <font face="Arial" size="1"> <a href="http://www.firstnet.co.za/disclaimer.htm" target="_blank">http://www.firstnet.co.za/disclaimer.htm</a></font><br />
        </span>
<p></p>
<p><span style="color:#000000;line-height:100%;font-size:10px;">
<font face="Arial" size="1">This email has been scanned for viruses and malware, and automatically archived by Mimecast SA (Pty) Ltd, 
an innovator in Software as a Service (SaaS) for business. Mimecast Unified Email Management (UEM) offers email continuity, security, 
archiving and compliance with all current legislation. 
To find out more contact FirstNet.</font></span>
</p>


<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> Walter Klomp <walter@myrepublic.net>
<br>
<b>Sent:</b> Wednesday, 26 September 2018 1:38 AM<br>
<b>To:</b> Kevin Masse <kmasse@questblue.com><br>
<b>Cc:</b> Kevin Boddy <kevin.boddy@firstnet.co.za>; spce-user@lists.sipwise.com<br>
<b>Subject:</b> Re: [Spce-user] How to add thousands of Alias Numbers to a subscriber<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hi,<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I would set up the PBX also as a peer.  You can then use regex rules to route... (note you’d have to enable peer to peer calls in the preferences of inbound and outbound peers)<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Your upstream provider should be a peer in any case. And yes, you have to use the api to set up aliases if you want to use a script.<o:p></o:p></p>
<div id="AppleMailSignature">
<p class="MsoNormal">Yours sincerely,<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Walter Klomp<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
On 26 Sep 2018, at 04:51, Kevin Masse <<a href="mailto:kmasse@questblue.com">kmasse@questblue.com</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal"><span style="color:#1F497D">Hello Kevin,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">With this large number of entries I would most certainly use the API to add them.  Are you using the built in API?</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Thank you</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Kevin</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><b><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#0F243E"> </span></b><o:p></o:p></p>
<p class="MsoNormal"><b><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#0F243E">Kevin Masse QuestBlue Systems, Inc. </span></b><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#0F243E">919 443 1617  Ext 5352 FAX 888 548 6593</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#0F243E">1947 Evans Rd, Cary NC 27513</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:black"><a href="http://www.questblue.com">www.questblue.com</a>
</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif"> Spce-user [<a href="mailto:spce-user-bounces@lists.sipwise.com">mailto:spce-user-bounces@lists.sipwise.com</a>]
<b>On Behalf Of </b>Kevin Boddy<br>
<b>Sent:</b> Tuesday, September 25, 2018 2:24 PM<br>
<b>To:</b> <a href="mailto:spce-user@lists.sipwise.com">spce-user@lists.sipwise.com</a><br>
<b>Subject:</b> [Spce-user] How to add thousands of Alias Numbers to a subscriber</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">I’ve got a test setup of Sipwise CE mr 6.4.1 connected to my upstream voip  provider on one interface and my backend PBX on another network interface.<o:p></o:p></p>
<p class="MsoNormal">I created the PBX as a subscriber and can get inbound calls working by adding in the Primary Number  and Alias Numbers fields.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">I’ve DID number ranges, non-sequential numbers in total adding up to about 50000 numbers.<o:p></o:p></p>
<p class="MsoNormal">How would I add those the Alias Numbers?<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Normally on our SBC’s you can add a regular expression for the number range but on Sipwise all I can do is add the numbers in the format <cc> <ac> <upn>.<o:p></o:p></p>
<p class="MsoNormal">The UPN has to have at least three digits otherwise it doesn’t work so I can cover some of the number ranges like this but this still leaves me with thousands of numbers to add to this subscriber.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Is there a better way to achieve this?<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Thanks<o:p></o:p></p>
<p class="MsoNormal">Kevin<o:p></o:p></p>
<p class="MsoNormal"> <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"> </span><o:p></o:p></p>
<p style="margin-bottom:12.0pt"><strong><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#000066">Kevin Boddy
</span></strong><b><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#000066"><br>
<strong><span style="font-family:"Arial",sans-serif">ISP Technical</span></strong></span></b>
<o:p></o:p></p>
<table class="MsoNormalTable" border="0" cellpadding="0">
<tbody>
<tr>
<td style="padding:.75pt .75pt .75pt .75pt">
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif"><a href="http://www.firstnet.co.za"><span style="text-decoration:none"><image001.png></span></a></span><o:p></o:p></p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><strong><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:black">Tel:</span></strong><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:black"> +27318180800</span><span style="font-size:7.5pt;font-family:"Times New Roman",serif;color:black">
</span><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:maroon">|</span><span style="font-size:7.5pt;font-family:"Times New Roman",serif;color:black">
</span><strong><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:black">Direct:
</span></strong><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:black">+27315736288</span><span style="font-size:7.5pt;font-family:"Times New Roman",serif;color:black">
</span><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:maroon">|</span><span style="font-size:7.5pt;font-family:"Times New Roman",serif;color:black">
</span><strong><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:black">Mobile:
</span></strong><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:black">+27832661735</span><span style="font-size:7.5pt;font-family:"Times New Roman",serif;color:black">
</span><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:maroon">|</span><span style="font-size:7.5pt;font-family:"Times New Roman",serif;color:black">
</span><strong><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:black">Fax:
</span></strong><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:black">+27318180801</span><span style="font-size:7.5pt;font-family:"Times New Roman",serif;color:black">
</span><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:maroon">|</span><span style="font-size:7.5pt;font-family:"Times New Roman",serif;color:black">
</span><strong><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:black">Email:</span></strong><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:black">
<a href="mailto:kevin.boddy@firstnet.co.za">kevin.boddy@firstnet.co.za</a> <br>
<strong><span style="font-family:"Arial",sans-serif">Address: </span></strong>4 Sunbury Crescent, Sunbury Office Park, La Lucia Ridge, 4019
</span><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:maroon">|</span><span style="font-size:7.5pt;font-family:"Times New Roman",serif;color:black">
</span><strong><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:black">Postal Address</span></strong><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:black">: P O Box 703, Umhlanga Rocks, 4320</span><span style="font-size:7.5pt;font-family:"Times New Roman",serif;color:black"><br>
</span><strong><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:black">Website:</span></strong><span style="font-size:7.5pt;font-family:"Times New Roman",serif;color:black">
</span><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:black"><a href="http://www.firstnet.co.za" target="_blank">http://www.firstnet.co.za</a></span><span style="font-size:7.5pt;font-family:"Times New Roman",serif;color:black"><br>
</span><strong><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:black">Disclaimer:</span></strong><span style="font-size:7.5pt;font-family:"Times New Roman",serif;color:black">
</span><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:black"><a href="http://www.firstnet.co.za/disclaimer.htm" target="_blank">http://www.firstnet.co.za/disclaimer.htm</a></span><o:p></o:p></p>
<p><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:black">This email has been scanned for viruses and malware, and automatically archived by Mimecast SA (Pty) Ltd, an innovator in Software as a Service (SaaS) for business. Mimecast Unified
 Email Management (UEM) offers email continuity, security, archiving and compliance with all current legislation. To find out more contact FirstNet.</span>
<o:p></o:p></p>
</div>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal">_______________________________________________<br>
Spce-user mailing list<br>
<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><br>
<a href="https://lists.sipwise.com/listinfo/spce-user">https://lists.sipwise.com/listinfo/spce-user</a><o:p></o:p></p>
</div>
</blockquote>
</div>
<p class="MsoNormal"><br>
<i><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#666666;background:white">The contents of this email and any attachments are confidential and may also be privileged. You must not disseminate the contents of this email and any attachments
 without permission of the sender. If you have received this email by mistake, please delete all copies and inform the sender immediately. You may refer to our company's Privacy Policy
<a href="https://myrepublic.net/sg/legal/terms-of-use-policies/privacy-policy/" target="_blank">
here</a>.</span></i> <o:p></o:p></p>
</div>



</body></html>