Uploaded image for project: 'FreePBX'
  1. FreePBX
  2. FREEPBX-3426

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Later
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: ARI User Portal
    • Labels:
    • ToDo:

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  tm1000 Andrew Nagy
                  Reporter:
                  ziftyatl ziftyatl
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    NextupJiraPlusStatus

                    Error rendering 'slack.nextup.jira:nextup-jira-plus-status'. Please contact your Jira administrators.