Ticket #6139 (new patch)

Opened 7 months ago

Last modified 6 months ago

disable PBX not entirly successful

Reported by: frankpie Assigned to: developer
Priority: unassigned Milestone: 5.2.0
Component: vtigercrm Version: 5.1.0-rc
Keywords: Cc:

Description

install a new system with PBX activated. Deactivate the PBX by the module manager. Goto the list view of contacts. The telefon numbers at the list view remain clickable and create an error message and a PBX popup if you click it.

Change History

07/12/09 03:44:55 changed by frankpie

  • type changed from defect to patch.

this will probably fix the issue:

see include/utils/ListViewUtils.php funktion getValue()

//added for asterisk integration

elseif($uitype == 11){

$value = "<a href='javascript:;' onclick='startCall(&quot;$temp_val&quot;, &quot;$entity_id&quot;)'>".$temp_val."</a>";

} //asterisk changes end here

this function does not check whether Asterisc module is active, therefore a popup appears if you click the phone number, even if Asterisc is inactiv New code:

elseif($uitype == 11){

if(vtlib_isModuleActive('PBXManager') {

$value = "<a href='javascript:;' onclick='startCall(&quot;$temp_val&quot;, &quot;$entity_id&quot;)'>".$temp_val."</a>";

}else{

$value = $temp_val;

}

}

07/23/09 08:39:27 changed by asha

  • milestone changed from 5.1.0 to 5.1.1.

08/24/09 01:28:38 changed by

  • milestone deleted.

Milestone 5.1.1 deleted

08/26/09 06:27:25 changed by pratim

  • milestone set to 5.2.0.