POSSA / freepbx-trunk-balancing

Restrict outbound calls or balance calls over multiple trunks based on user specified parameters
http://pbxossa.org/files/trunkbalance/
37 stars 30 forks source link

No direct script access allowed #32

Open uebuey opened 7 years ago

uebuey commented 7 years ago

Hello,

I was following your guide for installing the freepbx-trunk-balancing but it was not successful. It shown "No direct script access allowed".

Could you please help my to resolve this problem? Thank you so much

Best Regards, Ueb

lgaetz commented 7 years ago

Hi @uebuey

Just ran a test on FreePBX 13 and it is working as expected for me:

-- Launched AGI Script /var/lib/asterisk/agi-bin/trunkbalance.php
-- trunkbalance.php,7,9028970668: Dialed digits: 902xxxyyyy
-- trunkbalance.php,7,9028970668: This trunk Balance-Test is balanced. Evaluating rules
-- trunkbalance.php,7,9028970668: Call authorized. The new trunk number is 1