Open Source Training Seminar FreePBX Paid Support

Ticket #2807 (closed Bugs: fixed)

Opened 4 months ago

Last modified 1 month ago

enumlookup.agi bug

Reported by: evilbunny Assigned to: p_lindheimer
Priority: minor Milestone: 2.5
Component: Core - Trunks/Routing Version: SVN-HEAD
Keywords: Cc:
Confirmation: Need testing SVN Revision (if applicable):
Backend Engine: All Backend Engine Version:

Description

There is a bug in the way PHP handles multi dimensional array sorts.

In doing testing I was always getting the same tollfree provider returned first and it finally dawned on me when everything else is equal it also sorts the URI which shouldn't be occurring.

I've attached a patch to fix this bug.

Attachments

enumlookup.agi-2.patch (0.7 kB) - added by evilbunny on 04/30/08 17:53:26.

Change History

04/30/08 17:53:26 changed by evilbunny

  • attachment enumlookup.agi-2.patch added.

07/01/08 14:37:49 changed by lazytt

devs: ping. can we put this in?

07/01/08 16:04:38 changed by p_lindheimer

  • confirmation changed from Unreviewed to Need testing.
  • component changed from - choose - to Core - Trunks/Routing.
  • milestone changed from Cut Line to 3.0.

I don't use enumlookup.agi so don't know. Can we get some people who use it to review and/or test this and provide feedback if it should be added?

07/17/08 05:30:28 changed by lazytt

evilbunny: can you give me a number that I can test this with?

07/25/08 18:48:20 changed by p_lindheimer

evilbunny,

since I don't use enum I'm going to have to hope that this is right. For anyone using enum, please test and confirm that all is good with this. Will be checking in briefly.

07/25/08 18:49:25 changed by p_lindheimer

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

(In [6188]) fixes #2807 provides better sort order for enum lookups. THIS NEEDS TESTING beause there has been no feedback other thatn the bug reporter who provided the patch

Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads