[Freeswitch-users] cidlookup not working

Len Graham len at freeswitch.org
Fri Feb 4 14:53:54 UTC 2022


What do you get when you curl from the OS's cli? curl
https://api.opencnam.com/v3/ phone/
+18883158356?account_sid=<SID>&auth_token=<TOKEN>


On Thu, Feb 3, 2022 at 12:17 PM Darren <d at d-man.org> wrote:

> Would really need to see the logs, but based on your comment of it working
> on one OS but not another I wonder if you have an SSL certificate problem
> where https://api.opencnam.com/ is actually failing to connect or resolve
> in one OS versus the other. Kind of guessing without logs.
>
>
>
> *From: *FreeSWITCH-users <freeswitch-users-bounces at lists.freeswitch.org>
> on behalf of Joli Martinez <mrjoli021 at gmail.com>
> *Reply-To: *FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
> *Date: *Thursday, February 3, 2022 at 9:16 AM
> *To: *FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
> *Subject: *Re: [Freeswitch-users] cidlookup not working
>
>
>
> Hello,
>
>
>
> I just tested it on an old Debian 8 server we had with them and it is
> working, but not with this new server.  This is literally the config I have
> on the old server and from the old server's cli I can type cidlookup
> <Number> and it returns the correct number but from the new server, it
> returns None.
>
>
>
> Entire file, everything else has been deleted from the file on the old
> server and it is working.
>
>
> <configuration name="cidlookup.conf" description="cidlookup Configuration">
>   <settings>
>      <!-- OPENCNAM CONFIG -->
>      <param name=”url” value=”https://api.opencnam.com/v3/
> phone/+${caller_id_number}?account_sid=<SID>&auth_token=<TOKEN>”/>
>   </settings>
> </configuration>
>
>
>
> On Thu, Feb 3, 2022 at 12:10 PM Joli Martinez <mrjoli021 at gmail.com> wrote:
>
> That is the document they sent me.  It might be outdated.  ill go back and
> check with them.
>
>
>
> Thanks
>
>
>
>
>
> On Thu, Feb 3, 2022 at 11:57 AM Darren <d at d-man.org> wrote:
>
> OpenCNAM was acquired by Neustar and I thought they shutdown the old API
> server/URL, are you sure you’re hitting the right URL?
>
>
>
> *From:* FreeSWITCH-users <freeswitch-users-bounces at lists.freeswitch.org> *On
> Behalf Of *Joli Martinez
> *Sent:* Thursday, February 3, 2022 7:58 AM
> *To:* FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
> *Subject:* Re: [Freeswitch-users] cidlookup not working
>
>
>
> Hello,
>
>
>
> I am able to type cidlookup <someNumber> on the fs_cli and it returns
> None.  The module is loaded, but at no point does it reach out to query the
> OpenCnam servers.  I am doing a tcpdump to their IP's and nothing attempts
> goes out to them.
>
>
>
> On Wed, Feb 2, 2022 at 7:43 AM Dragos Oancea <dragos at freeswitch.org>
> wrote:
>
> Do you have the "cidlookup" command available in fs_cli ?
>
>
>
> Are you using the "cidlookup" app ?
>
>
>
> On Tue, Feb 1, 2022 at 5:32 PM Joli Martinez <mrjoli021 at gmail.com> wrote:
>
> Hello,
>
>
>
> I have enabled the module cidlookup and added my config to the
> cidlookup.conf.xml file.  I have also reloaded the module as well as
> restarted freeswitch.  Freeswitch does not attempt to send any queries out
> to opencnam.  I am doing a tcpdump on their IP's from the box and it is not
> even attempting to go out to them on port 443 or 53.  I am running FS
> 1.10.7 on Debian 11.  Any suggestions?
>
>
>
> <configuration name="cidlookup.conf" description="cidlookup Configuration">
>   <settings>
>      <!-- OPENCNAM CONFIG -->
>      <param name=”url” value=”https://api.opencnam.com/v3/
> phone/+${caller_id_number}?account_sid=<SID>&auth_token=<TOKEN>”/>
>   </settings>
> </configuration>
>
> _________________________________________________________________________
>
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
> services.
> Build your next product on our scalable cloud platform.
>
> Join our online community to chat in real time
> https://signalwire.community
>
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> https://freeswitch.com
>
> _________________________________________________________________________
>
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
> services.
> Build your next product on our scalable cloud platform.
>
> Join our online community to chat in real time
> https://signalwire.community
>
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> https://freeswitch.com
>
> _________________________________________________________________________
>
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
> services.
> Build your next product on our scalable cloud platform.
>
> Join our online community to chat in real time
> https://signalwire.community
>
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> https://freeswitch.com
>
> _________________________________________________________________________
>
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
> services.
> Build your next product on our scalable cloud platform.
>
> Join our online community to chat in real time
> https://signalwire.community
>
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> https://freeswitch.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20220204/9a075dca/attachment.html>


More information about the FreeSWITCH-users mailing list