wiki:Guides/DIDManagerment

DID Number management

DID number management allow to create DID numbers, assign them to accounts, edit, and ensure proper calling and accounting.

Before you add DID numbers

  1. Map the DID number to the IP address of your switch. Map format is sip:number@ipaddress. The "number" is DID number. and "ipaddress is IP address of your switch.
  2. Identify the Carrier who is providing the DID numbers.
  3. If the Carrier entry does not exist in your system, create new Carrier. If the carrier entry exist, skip this step. Otherwise create DID provider entry.
  4. Make sure Carrier has some credit (few units).

  1. Click carriers name. "Main" tab will open. Check "Carrier is DID provider" checkbox. This will allow incoming calls from this DID provider to be properly accounted.

  1. Click "Accounts" tab. Add all IP addresses one by one, or a range of IP addresses from where this DID provider will send the calls.
    • Add individual IP: (example IP 10.10.10.1)

  • Add IP range: (example range 10.10.10.0-10.10.10.255 - note "subnet" checkbox). Note that subnet should be added in CIDR notation

  1. note that you need the Product which allows inbound calls to reach the system for free. There is such product named "free inbound" pre-created for this purpose.

Add DID numbers

  1. Click "DIDs" tab. Add DID numbers which are provided by this carrier one by one:

Map DID numbers to accounts

  1. Navigate to Clients > Accounts. Select the account and click "DIDs" tab. Click "Add DID number" button. The list of available DIDs will be displayed.

  1. Select the DID and choose alias to map from mapping. Note that you can link to any Alias (subaccount) which belongs to given account

The mapping is complete. Make the test calls and evaluate messages in System Log to see the progress.

Troubleshooting

If the phone does not ring on inbound DID call, following steps can be taken:

  1. Check the System log if there are any "call reject" or "routing reject" messages. The possible causes can be:
  • DID number provider sends call from new IP (which is not listed);
  • the call has some prefix which is not matched etc.
  1. Next, look for CDR. Is it there, what is the disconnect cause. Errors can indicate following:
  • Error 408 (Timeout) could mean that the phone is behind NAT and the NAT router is unable to deliver the call to the phone.
  • Error 487 (Request rejected) mean that the phone is not registered to the switch at the time when call is made. The phone must be registered to the switch for call to be delivered.

Addressing NAT problems

  1. Normally, the router would not know, where to deliver inbound call from the network. Some NAT routers open a "hole" in the NAT settings at the time when user makes outbound call, and keeps this hole open for some time period, for example 30 minutes. Usually after this time passes, it is not possible to make inbound calls anymore.

The most reliable solution is to give phone fixed IP address in the LAN and make port mapping for port 5060 UDP towards IP of the phone.

The other way is to set STUN settings in the phone. The STUN server IP address is the same as your switch IP (switch has built-in STUN server).

If none of above helps, again we can make a trace to see how and if the call was delivered

Last modified 6 years ago Last modified on Mar 27, 2012, 7:27:58 AM

Attachments (6)

Download all attachments as: .zip