Use to allocate a phone number to an account.
Note: this function just places a number onto a customer's account, routed to nowhere,
so that the customer can then route it to a chosen destination. If you want to add a number to an account
and have it point somewhere, once you have used this function you need to use telecoms.num.route to
route it before it can accept calls.
In order to run this function, you must be logged in to an account that is registered as an owner of the range from which the number is being allocated. Unless you are a registered telco with your ranges added to our system, this function won't be useful to you.
Use telecoms.numrange.list to obtain a list of ranges from which you can allocate numbers.
| arg | required? | syntax | info |
|---|---|---|---|
custID | Y | posint | custID of account that is to gain the number |
number | N | list:posint | the number to add; must fit within one of the registered ranges |