<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'><div>----- "bruce bruce" &lt;bruceb444@gmail.com&gt; wrote:
<br>&gt; <span class="Apple-style-span" style="font-family: 'Segoe UI', Tahoma, Verdana, Arial, sans-serif; color: rgb(68, 68, 68); ">Hi Everyone,</span><div style="font-family: 'Segoe UI', Tahoma, Verdana, Arial, sans-serif; color: rgb(68, 68, 68); "><br>&gt; </div><div style="font-family: 'Segoe UI', Tahoma, Verdana, Arial, sans-serif; color: rgb(68, 68, 68); ">I have done some php coding to come up with my own FollowME module for FreePBX. The need for this has some security&nbsp;considerations behind it.<br>&gt; 

</div><div style="font-family: 'Segoe UI', Tahoma, Verdana, Arial, sans-serif; color: rgb(68, 68, 68); ">This is what my code does&nbsp;at core:</div><div style="font-family: 'Segoe UI', Tahoma, Verdana, Arial, sans-serif; color: rgb(68, 68, 68); "><br>&gt; </div><div style="font-family: 'Segoe UI', Tahoma, Verdana, Arial, sans-serif; color: rgb(68, 68, 68); "><div>$sql="REPLACE INTO findmefollow<span class="ecxApple-style-span" style="font-size: 13px; ">(grpnum, strategy, grptime, grppre, grplist, annmsg_id,postdest, dring, needsconf, remotealert_id, toolate_id, ringing, pre_ring) VALUES&nbsp;</span><span class="ecxApple-style-span" style="font-size: 13px; ">('$_POST[grpnum]','ringall','$_POST[grptime]','$_POST[grppre]','$grplist','0','$postdest','','','0','0','Ring','$_POST[pre_ring]')";</span></div>

</div><div style="font-family: 'Segoe UI', Tahoma, Verdana, Arial, sans-serif; color: rgb(68, 68, 68); ">&nbsp;</div><div style="font-family: 'Segoe UI', Tahoma, Verdana, Arial, sans-serif; color: rgb(68, 68, 68); ">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.<br>&gt; 

</div><div style="font-family: 'Segoe UI', Tahoma, Verdana, Arial, sans-serif; color: rgb(68, 68, 68); ">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.</div><span class="Apple-style-span" style="font-family: 'Segoe UI', Tahoma, Verdana, Arial, sans-serif; color: rgb(68, 68, 68); ">

</span><div style="font-family: 'Segoe UI', Tahoma, Verdana, Arial, sans-serif; color: rgb(68, 68, 68); "><br>&gt; </div><div style="font-family: 'Segoe UI', Tahoma, Verdana, Arial, sans-serif; color: rgb(68, 68, 68); ">Can someone please shed some light if you know where I am stuck and had to tackle the issue yourself?</div><div style="font-family: 'Segoe UI', Tahoma, Verdana, Arial, sans-serif; color: rgb(68, 68, 68); "><br>&gt; </div><div style="font-family: 'Segoe UI', Tahoma, Verdana, Arial, sans-serif; color: rgb(68, 68, 68); ">Thanks,</div><div style="font-family: 'Segoe UI', Tahoma, Verdana, Arial, sans-serif; color: rgb(68, 68, 68); ">Bruce</div>
<br>----------</div><div><br></div><div>FreePBX development may be best discussed on the FreePBX forums [1].<div><br></div><div>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.<br><br></div><div>[1]&nbsp;<a href="http://www.freepbx.org/forums">http://www.freepbx.org/forums</a></div><div><a href="http://www.freepbx.org/forums"></a><br>Tim Nelson<br>Systems/Network Support<br>Rockbochs Inc.<br>(218)727-4332 x105</div></div></div></body></html>