----- "bruce bruce" <bruceb...@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 
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to