Ticket #3979 (closed Bugs: fixed)

Opened 3 years ago

Last modified 3 years ago

Caller ID Lookup stopped working with FreePBX 2.6.0.0

Reported by: kmb@deam.org Assigned to:
Priority: major Milestone: 2.8
Component: CallerID Lookup Version: 2.6-branch
Keywords: Cc:
Confirmation: Need Feedback Distro:
Backend Engine: Asterisk 1.4.x Distro Ver:
Backend Ver: SVN Revision (if applicable):

Description

Hi,

after the last upgrade to 2.6-release (including the upgrade of all modules) the "Caller ID Lookup"-modules stopped working.

For every inbound route with a CIDlookup-config I stopped receiving calls and seeing messages like these in my logfile:

pbx.c: Channel 'Zap/2-1' sent into invalid extension 'cidlookup_1' in context 'cidlookup', but no invalid handler

pbx.c: Channel 'SIP/XXXXXXXX-08c061f0' sent into invalid extension 'cidlookup_1' in context 'cidlookup', but no invalid handler

I couldn't find any hints in the documentation for a changed behavior, so I asume it's some sort of bug.

Please advice
Klaus

Change History

12/19/09 08:26:56 changed by mickecarlsson

  • status changed from new to closed.
  • resolution set to worksforme.

Remove your CallerID setup from the GUI including your inbound routes, then save the changes. Check that your calls are received as they should. Then setup the CallerID Lookup again.

Somehow the dialplan got mixed up when you upgraded. You can check your extension_additional.conf, look for [cidlookup], in that context you will find something like cidlookup_2 or cidlookup_3. You are missing cidlookup_1.

By removing it from the GUI and creating it again you will clean up the dialplan.

I will close this ticket as worksforme. If you don't solve it by doing the above, please post in the forum and I can help you from there.

12/21/09 08:24:50 changed by kmb@deam.org

Hi,

I've tried that now but without success :-(

I've also deinstalled the cidlookup-modules and reinstalled it - messages for installation:
Migrating channel routing to Zap DID routing..Not Needed
Checking for cidlookup field in core's incoming table..not present
cidlookup installed successfully

And it's still not working.

After the deletion I only get an incrementing version of this messages:

sent into invalid extension 'cidlookup_3' in context 'cidlookup', but no invalid handler

Other hints?

thanks Klaus

12/21/09 09:07:14 changed by kmb@deam.org

03/27/10 12:45:21 changed by p_lindheimer

  • priority changed from crash to major.
  • status changed from closed to reopened.
  • resolution deleted.
  • milestone changed from 2.6 to 2.8.

sounds like something is going on so re-opening this ticket. We need to see what the db entries are for the cidlookup table for anyone who is running into this issue. It sounds like something is getting corrupted in your table.

03/27/10 12:53:40 changed by p_lindheimer

  • confirmation changed from Unreviewed to Need Feedback.

have a look at r9407 (published r9408) on 2.7 (not yet applied to 2.6). It's very possible the tables were not being deleted when uninstalling. Please provide feedback if the issues go away and if not please provide the requested info on what is in the table.

03/27/10 13:16:24 changed by cbsystems

The db tables are removed correctly when you uninstall the module After re-installing the module the db tables are re-created. When an entry is added as CID lookup source the information appears correct in the db table - however it never gets written to extensions_additional.conf

03/27/10 14:12:13 changed by p_lindheimer

please provide a snapshot of what your cidlookup table looks like, and then a snapshot of the dialplan generated corresponding to that table for the cidlookup sources. Thanks. Btw I assume this is 2.7 as that is where the fix was jut placed?

03/27/10 16:36:32 changed by cbsystems

Yes, 2.7.0.1 freepbx (core 2.7.0.4, framework 2.7.0.1) and 2.7.0.1 for CID lookup module

DB:

mysql> SELECT * from cidlookup; +--------------+-------------+------------+-------+----------+-----------+-----------+---------------+---------------+-----------+------------+------------+--------------+-------------+----------------+----------------+ | cidlookup_id | description | sourcetype | cache | deptname | http_host | http_port | http_username | http_password | http_path | http_query | mysql_host | mysql_dbname | mysql_query | mysql_username | mysql_password | +--------------+-------------+------------+-------+----------+-----------+-----------+---------------+---------------+-----------+------------+------------+--------------+-------------+----------------+----------------+ | 1 | Internal | internal | 0 | admin | | | | | | | | | | | | +--------------+-------------+------------+-------+----------+-----------+-----------+---------------+---------------+-----------+------------+------------+--------------+-------------+----------------+----------------+ 1 row in set (0.00 sec)

extensions_additional.conf:

[cidlookup] include => cidlookup-custom exten => cidlookup_return,1,LookupCIDName exten => cidlookup_return,n,Return()

; end of [cidlookup]

03/27/10 16:38:24 changed by cbsystems

formatting came out wrong, extensions_additional.conf looks like this:

[cidlookup]
include => cidlookup-custom
exten => cidlookup_return,1,LookupCIDName
exten => cidlookup_return,n,Return()

; end of [cidlookup]

03/27/10 17:31:13 changed by p_lindheimer

  • status changed from reopened to closed.
  • resolution set to fixed.

(In [9414]) fixes #3979 cidlookup sources not being generated

03/27/10 17:39:20 changed by p_lindheimer

(In [9416]) really fixes #3979 glad I haven't published for real yet

03/27/10 17:44:02 changed by p_lindheimer

(In [9417]) Merged revisions 9414-9416 via svnmerge from http://svn.freepbx.org/modules/branches/2.6

........

r9414 | p_lindheimer | 2010-03-27 14:31:13 -0700 (Sat, 27 Mar 2010) | 1 line

fixes #3979 cidlookup sources not being generated

........

r9416 | p_lindheimer | 2010-03-27 14:39:19 -0700 (Sat, 27 Mar 2010) | 1 line

really fixes #3979 glad I haven't published for real yet

........

03/27/10 17:47:41 changed by p_lindheimer

(In [9418]) Merged revisions 9410-9417 via svnmerge from http://svn.freepbx.org/modules/branches/2.7

................

r9417 | p_lindheimer | 2010-03-27 14:44:02 -0700 (Sat, 27 Mar 2010) | 13 lines

Merged revisions 9414-9416 via svnmerge from http://svn.freepbx.org/modules/branches/2.6

........

r9414 | p_lindheimer | 2010-03-27 14:31:13 -0700 (Sat, 27 Mar 2010) | 1 line

fixes #3979 cidlookup sources not being generated

........

r9416 | p_lindheimer | 2010-03-27 14:39:19 -0700 (Sat, 27 Mar 2010) | 1 line

really fixes #3979 glad I haven't published for real yet

........

................

03/28/10 11:03:31 changed by cbsystems

yep that works, thanks!