Ticket #3428 (new Bugs)

Opened 4 years ago

Last modified 3 years ago

ARI doesn't show links to outgoing calls when logged in as admin

Reported by: ziftyatl Assigned to: sasargen
Priority: minor Milestone: Undetermined
Component: ARI Version:
Keywords: outgoing calls link Cc:
Confirmation: Unreviewed Distro:
Backend Engine: Asterisk 1.4.x Distro Ver:
Backend Ver: SVN Revision (if applicable):

Description

When you're logged in as admin, it uses the extension "admin" for matching outgoing calls. But in my installation of *Now 1.5 beta1, outgoing calls are saved using the format of OUT[ext#]-[DATE]-[UNIQUEID].wav. So the current code will try matching on OUTadmin-[DATE]-[UNIQUEID].wav -- and since there is no extension "admin", nothing will ever match. If the point of the admin view is to be able to view all recordings regardless of extension, then it should be matching based on the source extension as recorded in the cdr database, not as the "extension" the person is logged into ARI with. Incoming calls work fine.

Suggested patch is to add the line $extension = $data_value['src']; around line 431 in modules/callmonitor.module (where it's reading in the other values). This sets the "source" extension to be whatever is recorded as the source extension in the cdr database.

Change History

08/11/09 12:07:13 changed by possebon

I found another issue related with this link. ziftyatl, your fix works fine one display page, but if we do a search (as admin) the results of search will not show the link too.

08/23/09 19:47:09 changed by p_lindheimer

  • version deleted.
  • milestone changed from 2.6 to 2.7.

if there is a proposed solution and a patch file that can be evaluated we will have a look. For now, moving to 2.7 unless something pops up soon.

01/29/10 02:48:40 changed by p_lindheimer

  • milestone changed from 2.7 to 2.8.