Example - Configuring DID to ring some Device

From Kolmisoft Wiki
Jump to navigationJump to search

Primary situation

We have:

  • DID - external number provided by some Provider: 02180995165
  • Number is from UK
  • Connection to provider is via IAX2, IP: 23.45.67.89:4569
  • Devices we have: SIP/201 and SIP/201

We want:

  • Dial DID (02180995165) using our mobile phone and ring Device SIP/201

Dstrd1-1.png

  • Dial DID (02180995165) using local Device SIP/202 and ring Device SIP/201 (local SIP-SIP call not going to PSTN)

Dstrd1-2.png


Configuration

Plan

  1. Configure Localization for Provider
  2. Create Provider
  3. Register Provider
  4. Create Devices SIP/201 and SIP/202
  5. Create/Configure DID
  6. Setup Localization for Devices


Configure Localization for Provider

As DID is not in E164 format, we must configure MOR to handle that.

That means that DID from provider comes in non-E164 format: 02180995165

We must create Location for this provider and add rule to it.

We create Location: UK and add rule to convert non-E164 DID to E164 DID: 02180995165 -> 4402180995165

Dsfd3.png

Create Provider

Create Provider in MOR GUI (no need to edit any of .conf files!!!)

Do not forget to set Location: UK for this Provider.