FreePBX | Register | Issues | Wiki | Portal | Support

What Verision of PHPAGI is in FreePBX Distro

asterisk
Tags: #<Tag:0x00007fb90822ba78>

(Jerry Riggin) #1

Does anyone know which version of the documentation on Sourceforge for phpagi applies to the version in the FreePBX 13 distro? Doing diff between phpagi 2.20 from SourceForge and the version from the FreePBX distro produces 2216 lines. I am having AGI issues, and want to RTFM, but I don’t know which one.


(Andrew Nagy) #2

We forked phpagi a long time ago.


(Jerry Riggin) #3

Any forking docs? lol


(Andrew Nagy) #4

This is the version of code we run: https://github.com/sangoma/phpagi

As for documentation. Every function is fully documented and every function has a link to the new Asterisk wiki: https://github.com/sangoma/phpagi/blob/master/agi.php


(Jerry Riggin) #5

Thanks, Andrew. But that doesn’t match what is installed on the 13 distro – here’s the top of my phpagi.php:
> <?php
// License for all code of this FreePBX module can be found in the license file inside the module directory
// Copyright 2013 Schmooze Com Inc.
// Copyright © 2003, 2004, 2005 Matthew Asham matthewa@bcwireless.net, David Eder david@eder.us

And here’s the top of the github file:
> <?php
/**

Is it safe to just copy the github files to agi-bin on FreePBX 13.0.190.19?

Also, github README,v 1.4 2005/05/19 13:19:37 refers to folders docs/ and api/docs but I can’t find them anywhere. If they exist can I get another helpful link?

Thanks!


(Andrew Nagy) #6

No. It’s not safe to copy that.

That does match 100%. You shouldn’t be comparing the files like you are. Everytime we change phpagi in freepbx we go and update those files in the other repo. Therefore if you want documentation on how it works then you should just look at it.


(Jerry Riggin) #7

Yes, after looking at the code in both files it is the same. Just the copyright stuff is different. I should have looked closer but I’m always after the easy way. :slight_smile: Thanks again!