Ticket #5080 (closed Bugs: fixed)

Opened 2 years ago

Last modified 2 years ago

generate_hints fails resulting in no hints with Dynamic Hints enabled

Reported by: rolly Assigned to: p_lindheimer
Priority: regression Milestone: 2.9
Component: Core - Users/Devices Version: 2.9-branch
Keywords: Cc:
Confirmation: Confirmed Distro:
Backend Engine: All Distro Ver:
Backend Ver: SVN Revision (if applicable):

Description

I am running Freepbx 2.9.0rc1.3 will all current module updates applied in devices and users mode with asterisk 1.8.2.3. The system was upgraded from asterisk 1.6 and a FreePBX 1.8. I have noticed that BLF on my phone has stopped working. A sip debug on the phones IP shows I am getting a "SIP/2.0 404 Not Found" when I try to subscribe to an extension that is online and working. a 'core show hints' shows no devices registered, only the parking lot hints

core show hints

-= Registered Asterisk Dial Plan Hints =-

72@park-hints : park:72@parkedcalls State:Idle Watchers 0 73@park-hints : park:73@parkedcalls State:Idle Watchers 0 71@park-hints : park:71@parkedcalls State:Idle Watchers 0 74@park-hints : park:74@parkedcalls State:Idle Watchers 0 75@park-hints : park:75@parkedcalls State:Idle Watchers 0

*85@park-hints : park:71@parkedcalls& State:Idle Watchers 0

I have tried modifying an existing device and user with no change. I have also tried adding a new user and device, all to no avail.

This problem does not seem to be occurring on a new install of FreePBX 2.9 and Asterisk 1.8 which I have on another machine

Change History

04/19/11 00:49:14 changed by mickecarlsson

And the phones you are using are of what brand and model?

04/19/11 01:16:18 changed by rolly

I am using a Linksys spa962 to show the BLF and the actual extensions being monitored are on a CISCO 3911, Linksys941 and a Cisco SPA504g.

Adding to this, it seems if I try and run '/var/lib/asterisk/bin/generate_hints.php *80 nocampon' manually, (which is the entry I got out of extensions_additional.conf), the script does not get past the line that tries to include freepbx.conf, so something to do with this include (maybe an issue from the require of bootstrap.php) is causing the hints script to fail to create the dynamic hints.

04/19/11 01:30:01 changed by rolly

I meant to say, this problem goes away if I revert back to the pre-2.9 way of generating device hints with 'Dynamically Generate Hints' set to false. Also, I do have 'execincludes=yes' in the [options] section of asterisk.conf

04/19/11 11:49:37 changed by p_lindheimer

  • confirmation changed from Unreviewed to Confirmed.
  • summary changed from Asterisk Dialplan Hints not created for Devices to generate_hints fails resulting in no hints with Dynamic Hints enabled.
  • milestone changed from 2.10 to 2.9.

04/19/11 11:50:50 changed by p_lindheimer

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

(In [12016]) fixes #5080 duplicate debug() function conflicts with bootstrapped environment