了解freePBX框架结构

您好,我看了您公司的产品表示很感兴趣,想进一步看一下代码框架和我们的想象的有什么不同。我试着在(安装之后的)首页/admin/config.php,更改config.php之后(加入了【echo 1;】)刷新页面并没有反应,真诚的希望可以得到您的帮助和指导。非常感谢。

I’m having trouble translating this, but I think the problem may be that you think (以为)that FreePBX is a general purpose tool for writing computer programs. It is is actually a one for creating PABXes (telephone exchanges ( 总机)).

You say that you enter [ echo 1 ; ] into the home page, and the page layout doesn’t change, but I can think of no reason why you should do that.

是这样的,我们想用这个开源的代码然后尝试着自己进行二次开发,以用来以后内部有增加给功能需求的时候就很方便的修改这套框架。但是目前我不太懂这个freepbx的整个架构,以及如果进行二次开发。非常感谢您的回复。如果可以的话可以加微信([email protected]

有一点儿,但是我看不好懂。也写的不清楚。

您那边可以翻译成英文吗?对了,您会中文吗?我英文比较弱

Although it isn’t easy to read foreign languages, I find it even more difficult to write them clearly, so I’ll respond in English.

(虽然我想看懂外国的语言比较难,但是写清楚的更难,所以我用英文回答。)

(Chinese text may not be exact translations because I don’t know how to translate the precise meaning.)

Whilst I’m familiar with Asterisk, I know relatively little about FreePBX.

(虽然把Asterisk我熟识。但是我是FreePBX 的心学生。)

My best translation so far is:

Understanding the FreePBX Framework

Hi, Looking at your company’s product it seemed interesting. Considering it further, my immediate reaction was that its [computer code] structure was somewhat different from ours. (After installing it) I tried to use the home page, /admin/config.php. When I modified the home page (by entering [ echo 1; ]), the contents of the page didn’t change. I would really appreciate your help and guidance. Many thanks."

“framework” might just be “structure”, or at least the first two characters of “框架结构”, on their own, could have that meaning, according to my dictionary.

“code (代码)”: I’m not sure I have this right, as the home page doesn’t expose any computer code, and other pages only expose the special language used to configure Asterisk.

“different from ours” confuses me, as we don’t know what yours is.

“modified the home page”: the Chinese text seems to say that the config.php script was changed, but I’ve translated as home page, as one shouldn’t be changing config.php.

“by entering [ echo 1; ]”: the home page only has menus, not a text entry field, so I don’t understand what this is trying to say. It also looks like a Linux shell command, which wouldn’t be accessible through the GUI.

From what I understand, OP is trying to understand the FreePBX code structure so they can reuse/expand the code in their future development.

A good start would be installing the FreePBX distro and reviewing Developer Corner Home - FreePBX OpenSource Project - Documentation

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.