[asterisk-users] My own FreePBX FollowME module - Stuck at Reload - Anyone else had experience with this?
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 -- _ -- 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
Re: [asterisk-users] My own FreePBX FollowME module - Stuck at Reload - Anyone else had experience with this?
- 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
Re: [asterisk-users] My own FreePBX FollowME module - Stuck at Reload - Anyone else had experience with this?
Thanks for that Tim. *Wondering how I can trigger that reload?* I have tried dialplan reload and reload but that doesn't work. Obviously amportal reload wouldn't be doable in this case even if it works because the system will go down. Thanks, Bruce On Mon, Jul 12, 2010 at 2:13 PM, Tim Nelson tnel...@rockbochs.com wrote: - 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 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 -- _ -- 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