[Spce-user] How to add thousands of Alias Numbers to a subscriber

Robert Johnson robert.j at bendtel.com
Fri Sep 28 11:29:06 EDT 2018


I'm entirely onboard with aliases being explicit e164 numbers. However, 
my thought is that the entry and display of those explicit numbers could 
be made easier.

Perhaps the web GUI could prompt for a range of numbers (First Alias: 1 
200 2001200, Range: 24), then, in the background, ngcp would insert 24 
explicit, contiguous numbers into the database starting with 1 200 2001200.

In regards to displaying the explicit numbers in the Web GUI, there 
could be two options:

   1. Leave it as it is (display one number per line)

   2. Do some extra processing on the numbers after pulling the explicit 
numbers from the database, then display contiguous numbers as a range.


Our particular use case has us adding and removing PBX subscribers with 
hundreds of DID's on a regular basis.



On 09/28/2018 01:59 AM, Rene Krenn wrote:
>
> Hi,
>
> ngcp basically uses explicit alias numbers rather than regexpes:
>
> -It can generate billing events ie for adding or removing particular 
> numbers
>
> -The complex pbx features are based on managing numbers explicitly 
> (groups)
>
> -Since multiple resellers can be hosted, they must not steal each 
> others‘ numbers. This number management relies on explicit numbers and 
> works safely even in race condition sceanrios.
>
> -While the alias number define which numbers are reachable for 
> incoming calls, the numbers allowed as clis for outgoing calls can be 
> defined separately with the subscribers‘ „allowed_clis“ setting.
>
> So basically, range entry will always rely on deflating to explicit 
> numbers.
>
> -the pbx subscriber admin forms in the panel UI allow to specify e164 
> ranges. For an e164 range, aliases are generated by appending all 
> combinations of digits for a given suffix length.
>
> -the api uses an array field „alias_numbers“ to post the list of 
> numbers. While ok for few thousands of elements, there will however be 
> performance implications when POSTing lists with tens of thousands of 
> numbers, which we are about to address. Also topical for allowed_clis.
>
> -In the Migration/Importer framework you can find (outdated) code for 
> parsing proprietary files with provisioning data, which was used to 
> process range notations (including intersection detection etc.).
>
> However, there is an preferrence to enable „extended dialing mode“. If 
> enabled, where the system will find numbers suffixed by any additional 
> digits. Maybe an enhancment / feature request would be to introduce a 
> regexp preference here for more detailed control.
>
> regards
>
> *Von:*Spce-user [mailto:spce-user-bounces at lists.sipwise.com] *Im 
> Auftrag von *Robert Johnson
> *Gesendet:* Mittwoch, 26. September 2018 20:27
> *An:* spce-user at lists.sipwise.com
> *Betreff:* Re: [Spce-user] How to add thousands of Alias Numbers to a 
> subscriber
>
> We are also in the evaluation phase and just recently put our own PBX 
> on the test system.
>
> One thing that I can think of that would help is to add an option of 
> adding a range when you add an alias number.
>
> For example, you could add the alias 1 200 2001234 and a range 38 
> (creating aliases 1 200 2001234 through 1 200 2001271)
> Then, you could add an alias of 1 200 2005003 with a range 15 
> (creating aliases 1 200 2005003 through 1 200 2005017)
>
> This sort of set up would greatly decrease the repetitiveness of 
> turning up new PBX customers who have a large quantity of DID's.
>
> I was thinking of adding a feature request for this sort of thing, but 
> haven't looked into doing so yet.
>
> Does anyone know where to do so and how receptive they would be of 
> this sort of request?
>
> Thank you!
>
> On 09/25/2018 11:27 PM, Kevin Boddy wrote:
>
>     Hi,
>
>     No I’m using the GUI to configure. Don’t have much in the way of
>     programming skill to use the API yet.
>
>     Thanks
>
>     *Kevin Boddy **
>     *ISP Technical**
>
>     FirstNet Technology Services <http://www.firstnet.co.za>
>
>     *Tel:*+27318180800|*Direct: *+27315736288|*Mobile:
>     *+27832661735|*Fax:
>     *+27318180801|*Email:*kevin.boddy at firstnet.co.za
>     <mailto:kevin.boddy at firstnet.co.za>
>     *Address: *4 Sunbury Crescent, Sunbury Office Park, La Lucia
>     Ridge, 4019 |*Postal Address*: P O Box 703, Umhlanga Rocks, 4320
>     *Website:*http://www.firstnet.co.za
>     *Disclaimer:*http://www.firstnet.co.za/disclaimer.htm
>
>     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.
>
>     *From:*Spce-user <spce-user-bounces at lists.sipwise.com>
>     <mailto:spce-user-bounces at lists.sipwise.com> *On Behalf Of *Kevin
>     Masse
>     *Sent:* Tuesday, 25 September 2018 10:51 PM
>     *To:* Kevin Boddy <kevin.boddy at firstnet.co.za>
>     <mailto:kevin.boddy at firstnet.co.za>; spce-user at lists.sipwise.com
>     <mailto:spce-user at lists.sipwise.com>
>     *Subject:* Re: [Spce-user] How to add thousands of Alias Numbers
>     to a subscriber
>
>     Hello Kevin,
>
>     With this large number of entries I would most certainly use the
>     API to add them.  Are you using the built in API?
>
>     Thank you
>
>     Kevin
>
>     **
>
>     *Kevin Masse QuestBlue Systems, Inc. *
>
>     919 443 1617  Ext 5352 FAX 888 548 6593
>
>     1947 Evans Rd, Cary NC 27513
>
>     www.questblue.com <http://www.questblue.com>
>
>     *From:*Spce-user [mailto:spce-user-bounces at lists.sipwise.com] *On
>     Behalf Of *Kevin Boddy
>     *Sent:* Tuesday, September 25, 2018 2:24 PM
>     *To:* spce-user at lists.sipwise.com <mailto:spce-user at lists.sipwise.com>
>     *Subject:* [Spce-user] How to add thousands of Alias Numbers to a
>     subscriber
>
>     Hi,
>
>     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.
>
>     I created the PBX as a subscriber and can get inbound calls
>     working by adding in the Primary Number and Alias Numbers fields.
>
>     I’ve DID number ranges, non-sequential numbers in total adding up
>     to about 50000 numbers.
>
>     How would I add those the Alias Numbers?
>
>     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>.
>
>     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.
>
>     Is there a better way to achieve this?
>
>     Thanks
>
>     Kevin
>
>     *Kevin Boddy **
>     *ISP Technical**
>
>     FirstNet Technology Services <http://www.firstnet.co.za>
>
>     *Tel:*+27318180800|*Direct: *+27315736288|*Mobile:
>     *+27832661735|*Fax:
>     *+27318180801|*Email:*kevin.boddy at firstnet.co.za
>     <mailto:kevin.boddy at firstnet.co.za>
>     *Address: *4 Sunbury Crescent, Sunbury Office Park, La Lucia
>     Ridge, 4019 |*Postal Address*: P O Box 703, Umhlanga Rocks, 4320
>     *Website:*http://www.firstnet.co.za
>     *Disclaimer:*http://www.firstnet.co.za/disclaimer.htm
>
>     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.
>
>
>
>
>     _______________________________________________
>
>     Spce-user mailing list
>
>     Spce-user at lists.sipwise.com <mailto:Spce-user at lists.sipwise.com>
>
>     https://lists.sipwise.com/listinfo/spce-user
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20180928/5000e778/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 83019 bytes
Desc: not available
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20180928/5000e778/attachment-0001.png>


More information about the Spce-user mailing list