OpenCNAM Integration with FreePBX

Similar documents
OpenCNAM Integration with Elastix 4.0

CallerID Lookup Sources User Guide

Trunks Module - User Guide

Grandstream Networks, Inc. Connecting UCM6XXX with FreePBX

How to install elastix_1.5.2_openvox_a1200p.pdf

Atcom AX400P and Elastix Server

Pactolus SIP Trunking FreePBX User Setup Guide

Integrating Asterisk FreePBX with Lync Server 2010

Spectrum Enterprise SIP Trunking Service AsteriskNow V12 with Certified Asterisk R IP PBX Configuration Guide

Allo ISDN BRI CB200PD and Elastix Server

ACCELERATOR 6.4 ASTERISK STANDALONE VOIC

Sangoma Vega FXS/2FXO and Elastix Server

PRACTICAL EXPERIENCE WITH TRIXBOX

How to install AsteriskNOW1.5.0_OpenVox_A400P

Grandstream Networks, Inc. UCM6xxx SIP Trunks Guide

Twilio Elastic SIP Trunk Provisioning

Patton SN4960 and Elastix Server

Sangoma Vega 4000 E1/T1

Grandstream Networks, Inc. Configuring UCM6XXX Series with HT503with

isoftphone 1.4 and pbxes.com ippabx

Openvox G400P and Elastix

SARK 200 Mini PBX Sangoma Vega Gateways

Hangzhou Synway Information Engineering Co., Ltd

Before you start creating SIP trunks, ensure you verify the following:

FREUND SIP SW - V SIP-server setup

Application Notes for MultiTech CallFinder CF220 with Avaya IP Office - Issue 1.0

Grandstream Networks, Inc. Robin SmartView IP Door System & Grandstream IP Multimedia Phones Configuration Guide

nexvortex Setup Guide

Connecting Two FreePBX/Asterisk Systems Together Over the Internet

Grandstream Networks, Inc. Configuring UCM6XXX with GXW410X

Configure Digium G100 Gateway to operate with UCx Servers in Failover mode

Manual PBX IP Version: 1.0

ATCOM IPPBX IP01 Product Guide Version: VoIPon Tel: +44 (0) Fax: +44 (0)

GXW410X FXO Gateway (Firmware Revision )

Application Notes for Telcomp Software Applications and Avaya IP Office - Issue 1.0

WAN. System Networking Lab Table 1

SIP Trunking using Optimum Business SIP Trunk Adaptor and the Cisco Call Manager Express Version 8.5

LAB6: UC520 MULTI-SITE SETUP

Grandstream Networks, Inc. UCM6200 Basic Configuration Guide

IPitomy IP PBX User Guide

Rev CUCM Mobility. c cnac o okbook.com

Ivy migration guide Getting from Dashboard to Ivy

Allo GSM 4 modules.

MyOffice PBX Quick-Start Guide

Version 2.0 1

Hotline. Configuration Checklist for Hotline CHAPTER

New System Setup Guide

Tel: (0) Fax: +44 (0)

SoLink-Lite IP-PBX. Administrator Guide. (Version 1.0)

Application Notes for MultiTech CallFinder CF220 with Avaya IP Office - Issue 0.1

Application Notes for Komutel CCS with Avaya IP Office - Issue 1.1

Integrating VoIP Phones and IP PBX s with VidyoGateway

Figure: ATCOM IPPBX IP04. ATCOM IPPBX IP04 Product Guide Version:

Basic FXO Gateway Configuration

AGILE CLOUD PBX OPERATION MANUAL

Configure Multi-Sites with Coordinated Dialing Plan

Overview. Logging In. Creating a Conference Room. Article Number: 102 Rating: Unrated Last Updated: Tue, Aug 1, 2017 at 11:37 AM

Engineering Bulletin

Grandstream Networks, Inc. How to Manage Inbound / Outbound Routes on UCM6XXX

INTERRA SIP SERVER INSTRUCTION MANUAL

SMDR Specification. Revision 3

UCM6102/6104/6108/6116 Configuration

CME with LPCOR Configuration Example

Analog Telephone Adapter Setup for Q-SYS Softphone

Setting up the Grandstream Gateway for use with STAC VIP

NetVanta 7100 Exercise Small Office Key System

Call Screening will allow you to block incoming anonymous calls or calls from a specific number.

Startel Soft Switch Configuration

How to Connect Trixbox to NeoGate TA FXS Gateway

Quick Installation Guide

Troubleshooting No Ringback Tone on ISDN VoIP (H.323) Calls

Release Note for N412

Elastix Application Note # : Trunking between two Elastix PBX Systems Via VPN

New SIP Trunking Admin Portal User Guide

Elastix Application Note # : Trunking between two Elastix PBX Systems Via Internet

Application Notes for the Metropolis ProfitWatch Hotel Call Accounting System Integrating with Avaya IP Office - Issue 1.1

Welltech proprietary documents. WellGate 3802A and 3804A application Note

Magento 2 User Guide March 11, 2018

XO SIP Service Customer Configuration Guide for Avaya IP Office Version 6.0 with XO SIP

Grandstream Networks, Inc. UCM6xxx Series - Conference Guide

A Sample Configuration for Computer Instruments e-ivr Automated Attendant and Voic 3.0 with Avaya IP Office System Issue 1.

Digium IP-PBX. SIP Trunking using the Optimum Business SIP Trunk Adaptor and the Digium IP-PBX

Quick Installation Guide

*334457* CTI Toolbar 5.2

Analog VoIP Gateway (AA50) Configuration Guide Ascom Freeset IP-DECT System

Grandstream Networks, Inc. How to Integrate UCM6XXX with Microsoft Lync Server

Sipdex M200s IPPBX. Embedded. Support Any IP Phone. Softphone and SIP Client App

Copyright ZYCOO All rights reserved. V Table of Contents

PBX Remote Line Extension

FREUND SIP SW - V Intercom Setup

SIP Trunking using Optimum Business SIP Trunk Adaptor and the Nortel BCM50 IP-PBX (Release 5.0)- V

Interaction Desktop framework Printed help. PureConnect powered by Customer Interaction Center (CIC) 2018 R1. Abstract

FreePBX Internals. Astricon, 2008 Glendale, AZ by Philippe Lindheimer FreePBX Project Leader

Figure 1-1 is a setup diagram for a single IP Phone Fanvil C58 configuration. The phone is setup as a SIP telephony device. Figure 1-1.

SIP Trunking using Optimum Business SIP Trunk Adaptor and the Allworx 6x IP PBX

Configuring Switchvox SMB 4.5 for Spitfire SIP Trunks

Application Notes for Resource Software International Visual Rapport with Avaya IP Office Issue 1.0

Questions & Answers. Sangoma Webinar: Building Your Contact Center with FreePBX / PBXact UC. November 2, 2016

How to Connect Elastix to NeoGate TA FXS Gateway

AstchannelsLive. AstchannelsLive 3.0 (Asterisk Channels live)help AstchannelsLive 4.0 (Asterisk Channels live)help

Transcription:

OpenCNAM Integration with FreePBX A. Introduction OpenCNAM provides a Caller ID Lookup service that adds Caller ID Name to inbound calls on FreePBX systems easily and economically. When a phone service provider sends calls to the PBX with only a number as Caller ID, the number can be looked up using the OpenCNAM service to get the correct Caller ID Name. The Caller ID Name is attached to the incoming call before it is routed to its destination in FreePBX, so that it displays on phone calls and in call logs. B. Operation FreePBX has two configurations involved in managing incoming calls, the Trunk, and the Inbound Route. A third configuration then also defines CallerID Lookup Sources if that is configured by the Inbound Route. Calls flow from the Trunk through the matching Inbound Route where the optional CallerID Name lookup happens, and then on to the destination. TRUNK CALL INBOUND ROUTE CALL DESTINATION LOOKUP

C. Installing the FreePBX CallerID Module FreePBX has a flexible system of modules that provide additional features. These can be downloaded online and added to your system using the Module Admin menu. The CallerID Lookup Sources module that is used with OpenCNAM is most likely already installed by default. Under the Admin menu, if there is option for CallerID Lookup Sources, then the module is already installed. If not, go through the following steps to install it: 1 From the Admin pull down menu, select Module Admin. 2 Make certain that the Standard and Extended repositories are selected 3 Press Check Online 4 In the Admin section of modules, find the CallerID Lookup module and select it. 5 Select the action Download and Install 6 In the upper right corner of the page, select Process

7 When it shows the module to be installed, Press Confirm 8 After the installation completes, Press Return Configuration FreePBX has many types of configurable data, each on a pull down menu from the FreePBX Administration page. The Trunk and Inbound Route configurations are on the Connectivity pulldown menu. The CallerID Lookup Sources configuration is on the Admin menu. For each configuration, there can be multiple records, each with different data. Editing Records In newer versions of FreePBX (13+) existing records are shown with a pencil icon to edit them. There will also be a button to create new records. In older versions of FreePBX, the list of existing records are shown in a list on the right side, along with an empty form to create a new record. When editing existing information, be sure to select the original record from the list on the right side rather than accidentally creating a new record. When changes are complete, the Submit button at the end of the page must be pressed to store the changes. In most cases, pressing enter after changing a field will also activate the Submit button as a convenient shortcut.

Applying configuration changes When any record is saved, the menu bar shows a red Apply Config button. This indicates that changes to the configuration have been saved to the database storage, but not made active on the PBX as yet. When a set of changes is complete, press the Apply Config button to make the changes live before checking that the PBX now operates as desired. D. Trunk The Trunk is a definition of the connection between FreePBX and the phone service provider of choice. This can be a SIP connection, IAX2, or DAHDi (used for PRI and analog POTS hardware interfaces). There can be one or many Trunks defined on a FreePBX system. The only requirement is that the Caller ID Number is provided with each call. All inbound calls received over any Trunk are then passed to the Inbound Route to determine which destination they should be sent to, and optionally if CallerID Name Lookup is to be performed first. Trunk Context With a SIP or IAX2 trunk, it is possible to assign a context in the Peer Details section (may be in a settings tab) of the Trunk configuration. The context value controls how the incoming call is handled, and this can be changed from the default value to enable the use of custom call processing logic. It is best to not set the context and let FreePBX use it s default behavior, as a different context can prevent the callerid lookup subroutine from functioning. However, if it is set, it must be from-pstn, from-trunk, a custom context that includes the ext-did context, or a custom context that calls the callerid lookup subroutine directly. Those that understand Asterisk dialplan configuration can consult the /etc/asterisk/ extensions_additional.conf file for details on contexts and cidlookup subroutine. E. Inbound Route The Inbound Route contains many configurable options, but three in particular are necessary to understand for OpenCNAM operation. The CID and DID numbers are used to match to incoming calls. The CID number is the Caller ID Number that the call came from, and the DID is the Direct Inward Dial number that the caller dialed - i.e. your phone number.

(screenshot here) The most common configurations are: A single default route (DID: ANY, CID: ANY) that matches all incoming calls A separate inbound route (DID: 1234567890, CID: ANY) for each DID A separate inbound route for some DIDs, and a default route for all others Note that if route has both a DID and a CID number, both numbers must match for that route to be used (this is not common and not recommended). Also, be aware that if an incoming call does not match any inbound routes, the call is refused. Lookup Source One of the configuration options in the Inbound Route is the CID Lookup Source. This selects which one of the Caller ID Lookup Sources (if any) will be used to lookup Caller ID Name from the Caller ID Number. It may be located on the Other tab. This value defaults to None, and must be changed to OpenCNAM (or a different Caller ID Lookup Source record as needed) to enable OpenCNAM. Make certain that each Inbound Route that OpenCNAM is to be used with has the correct source selected. Superfecta If the CID Superfecta module (an alternate CID Lookup method) is installed, there will also be a Inbound Route configuration entry Enable Superfecta Lookup. This must be set to No to prevent it from interfering with OpenCNAM.

F. Caller ID Lookup Sources Caller ID Lookup Sources configures what source(s) can be used for lookups, along with authorization codes and other configurable options as needed. Note that defining a Caller ID Lookup Source alone does not cause it to be used. The Caller ID Lookup Source must also be selected in the appropriate Inbound Routes. OpenCNAM Account An account with OpenCNAM is required to perform Caller ID Lookups, which is available for free by registering at https://www. opencnam.com/register. New registrations include a free credit. Once registered, the dashboard shows the account balance, along with the Account SID and Auth Token values that need to be copied into FreePBX to enable lookups. Press Show to view the Auth Token, but treat this value like a password and don t share it with anyone.

Configuring OpenCNAM with Authorization A single CallerID Lookup source named OpenCNAM most likely already exists. If not, use the Admin Module as shown above to Remove, and then reinstall the CallerID Lookup Module to recreate it (Note: this will erase other CallerID Lookup configurations). If the record already exists, press the pencil icon to edit the record. The Source type must be set to OpenCNAM. The ability to Cache Results is not supported with OpenCNAM and will be ignored even if set. The Account SID and Auth Token values must be copied exactly from the OpenCNAM website dashboard (the Auth Token will not be **** as in the screenshot above, but will show your real token string). Once these settings are correct, press the Submit button. Using multiple OpenCNAM accounts Unfortunately, this is not possible with the 13.0.10 version of the Caller ID Lookup Sources module. G. Review and Apply At this point, it s a good idea to go through the Inbound Routes and make sure that all (or all that need OpenCNAM service) are set to use the OpenCNAM record as the CallerID Lookup Source. Then press the red Apply Changes button to cause these changes to be applied to the live running system. Finally, make some calls into the system to check that the correct name is appearing. Troubleshooting If OpenCNAM does not appear to be working (the number is showing, not a name or an error), check the following:

1. Confirm that there is no context in the peer settings of the Trunk that the call arrives on. 2. Which Inbound Route will match the call? Check both the Inbound Route that should match, and the default (Any/Any) route if you have one just to be sure. Do the inbound route(s) have OpenCNAM set as the CallerID Lookup Source? 3. In CallerID Lookup Sources, does the OpenCNAM record have a type of OpenCNAM, and does it have an Account SID and Auth Token that match the OpenCNAM Dashboard? If the Caller ID Name is being changed to an Error or Unknown or similar message for all numbers, check the following: 1. In the Inbound Route, temporarily change the CallerID Lookup Source to None and test again. If the Caller ID Name continues to show Unknown or another message consistently, then the wrong name may actually be coming from the service provider, and at the same time OpenCNAM is not configured correctly to replace it. Refer to the troubleshooting checklist above instead. Make certain to restore the CallerID Source setting to OpenCNAM. 2. In the CallerID Source record for OpenCNAM, double check that the Account SID and Auth Token values match exactly the values from the OpenCNAM Dashboard. 3. In the OpenCNAM Dashboard, check that there is a positive balance. If the issue persists, please contact OpenCNAM Support from the OpenCNAM dashboard for for further assistance.