How to set up Telnyx Caller ID for inbound calls on FreePBX?

configuration
callerid
Tags: #<Tag:0x00007f702a135578> #<Tag:0x00007f702a1353e8>

(United States) #1

Basically the title says it all. Made an account with Telnyx for their Caller ID service. I would like it to work within FreePBX for all of my inbound calls. Can anyone give some advice or information on how to do it?

I have attempted to look over their guides, but there is nothing there for FreePBX. Reached out to support and they said this:

Ah, I see. Unfortunately we’re not familiar with PBXs past the initial configuration interop.


(Lorne Gaetz) #2

Ideally we the community would benefit the most from a new module for Caller ID Superfecta that uses the Telnyx API: https://developers.telnyx.com/docs/v2/numbers/number-lookup

The Superfecta modules are in /var/www/html/admin/modules/superfecta/sources/
and it would not be an overly difficult process to edit one of the existing modules to suit. If you want to share an API key with me via PM, I will give you a push in the right direction when time permits.


(Itzik) #3

Seems like this is a continuation of https://community.freepbx.org/t/inbound-callerid-giving-location-but-not-names/72870


(Jared Busch) #4

Were any of the open PR’s checked?

https://community.freepbx.org/t/community-contributions/72883/3


(Lorne Gaetz) #5

Sigh. No. And here it is:
https://issues.freepbx.org/browse/FREEPBX-18814

Contributed by random drive-by, but no CLA (or at least no CLA we can locate) so no merge.


Community Contributions
(Jared Busch) #6

Reading that issue I note a couple things.

  1. He claimed to have signed, but Kapil says not. I know from recent personal experience that happens still today.
  2. He updated the issue to note that his original PR 11 was moved to PR 320 which as submitted by some guy named @tm1000. I would think this qualifies to get merged.

(Itzik) #7

I think I know the contributor. I will send him a message.


(Itzik) #8

image
@lgaetz to the rescue!


(Lorne Gaetz) #9

New CLA is in the works, thanks @PitzKey

Unfortunately, the code is based on ver. 1.0 of the Telnyx API which does not appear to work in my very limited testing.


(Jared Busch) #10

What code? The original or PR 320?


(Lorne Gaetz) #11

Pretty sure they are the same:
https://raw.githubusercontent.com/FreePBX/superfecta/e8ee75ead4f3174d0a81bbbbbc7243551af3063f/sources/source-Telnyx.module


(Lorne Gaetz) #12

Current edge version of Superfeta has @yois’s Telnyx module. Versions 14.0.29, 15.0.2.29 and 16.0.7


(Jared Busch) #13

Is 16 up for beta yet?


(Lorne Gaetz) #14

No, we’re a few months away from a beta at this point.


(Jared Busch) #15

Such a tease.


#16

I have been using yois’s Telnyx module unmodified on FreePBX 14 since 11/2020. It works fine using API v1. What I could never get to work with curl was API v2: returned CNAM was always blank. Yes, I got API v1 to work with curl.


(Lorne Gaetz) #17

Does the same token work for both?


#18

No. You need a v1 token for the v1 API and a v2 key for the v2 API.