[asterisk-users] My own FreePBX FollowME module - Stuck at Reload - Anyone else had experience with this?
Tim Nelson
tnelson at rockbochs.com
Mon Jul 12 13:13:51 CDT 2010
----- "bruce bruce" <bruceb444 at gmail.com> wrote:
> Hi Everyone,
>
I have done some php coding to come up with my own FollowME module for FreePBX. The need for this has some security considerations behind it.
>
This is what my code does at core:
>
$sql="REPLACE INTO findmefollow (grpnum, strategy, grptime, grppre, grplist, annmsg_id,postdest, dring, needsconf, remotealert_id, toolate_id, ringing, pre_ring) VALUES ('$_POST[grpnum]','ringall','$_POST[grptime]','$_POST[grppre]','$grplist','0','$postdest','','','0','0','Ring','$_POST[pre_ring]')";
This all conforms with the fields that are filled up by FreePBX followme module but it seems that this is not all becuase the followme doesn't work when I do it this way. It only works if I press submit and confirm the orange bar.
>
For one thing, I think the Orange Reload bar does something that I can't seem to find and that my php code doesn't do. I tried doing a manual "reload" and "dialplan reload" but that wouldn't do the job.
>
Can someone please shed some light if you know where I am stuck and had to tackle the issue yourself?
>
Thanks,
Bruce
----------
FreePBX development may be best discussed on the FreePBX forums [1].
As an aside, the 'Orange Reload Bar' takes all of the information in the FreePBX MySQL database, generates the dialplan code, and then replaces your extensions.conf, sip.conf, iax.conf, etc with the appropriate information.
[1] http://www.freepbx.org/forums
Tim Nelson
Systems/Network Support
Rockbochs Inc.
(218)727-4332 x105
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100712/5437a5e7/attachment.htm
More information about the asterisk-users
mailing list