Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

FOP2 Community Forum

K

KnightFlyer

@KnightFlyer
Unfollow Follow
About
Posts
6
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Urlencode issues with ambersand
    K KnightFlyer
    Support

    I cannot get ambersand to get escaped with urlencode
    I have the callerid superfecta running.
    Customer name has '&' in it. "E&E Engine Machine" by the time the url only the 'E' before the '&' survives as the customer's name.
    Here is my popup link declaration.
    http://192.168.1.200/callerid/selacct5.php?phone=#{CLIDNUM}&cname=#{CLIDNAME}&exten=AUTO

    and the PHP@ that url
    <html>
    <body>
    <?php
    /***************************************************************************
    ** Php code to insert mysql popup data for gambas to continue
    ** with building the bridge from freepbx/Fop2 to ASSET SCULPTOR applications
    ** mainly launching and creating order entry transactions.

    ** JRM, Halloween 2021
    ****************************************************************************/

    $phone= substr($_GET['phone'],-10);
    $cname=urldecode($_GET['cname']);

    echo $cname;
    echo "<BR>";
    $exten=$_GET['exten'];
    $cusname="CallerID is ".$phone." ".$cname;

    echo "<title>";
    echo $cusname;
    echo "</title>";
    $_cname = str_replace(',', ' ', $cname);
    $username = "?????";
    $password = "???????";
    $database = "?????";
    $mysqli = new mysqli("localhost", $username, $password, $database);
    /*******************************************************************
    ** first lets see how many accts tied to the phone number
    ** query customer to get the acct# where the phone number is
    ** in the main record cus_acct, then select distinct cus_acct from
    ** customer where cus_commID=cus_acct
    ********************************************************************/
    $num_accts='0';
    $cus_acct='None';
    $cus_commID='None';

    $query = "select cus_acct from customer where cus_phone='".$phone."'";
    echo "$query";

                if ($result = $mysqli->query($query)){
                $num_accts  = mysqli_num_rows($result);
                }
    

    echo $num_accts;
    while ($row = $result->fetch_assoc()) {
    $cus_acct = $row["cus_acct"];
    $cus_commID= $row["cus_commID"];

                }
    

    echo "deebugcommID=".$cus_commID;
    // Now how many Accounts
    echo $num_accts;

    $query = "insert into cidDelivery (acct,accts,exten,phone_num,cname) values ('".$cus_acct."','".$num_accts."','".$exten."','".$phone."','".$_cname."')";

    echo $query;
    $result=$mysqli->query($query);
    echo "DONE";
    ?>
    </body>
    </html>
    <body>
    <!--
    <script>
    setTimeout(function() {
    window.close()
    },20000 );
    </script>
    -->
    </body>


  • submit button partially active
    K KnightFlyer
    Support

    I was on the road Wednesday,
    I should be around Thursday.
    I will have port 22 forwarded. I don't want to post the IP, When I get your email I'll send root credentials with the IP
    <!-- e --><a href="mailto:randlemillner@gmail.com">randlemillner@gmail.com</a><!-- e -->


  • submit button partially active
    K KnightFlyer
    Support

    Could you email which ports you will need opened, and I'll do it.
    I'm guessing ssh and http


  • submit button partially active
    K KnightFlyer
    Support

    pcLinuxOS2012.1 KDE
    FreePBX2.10rc
    FireFox9.1
    Chromium16.09

    Submit button does not work anywhere except adding a new permissions under Chromium.
    Going to try and find a windows laptop and see more.
    Okay here's the scoop, Windows Netbook submit button not even visible under firefox or ie. 1024X600 weird.
    added a monitor with 1920X1080. I can now see the submit button. Submit works under ie but not firefox.

    I guess the problem probably is a little bit FOP2 and a Lot FreePBX RC.
    Let me know if I can do anything to help.

    I have a couple of exclusive LINUX shops that will have to wait or allow a Windows box to do the admin.


  • Submit button not active
    K KnightFlyer
    Support

    Runnig pcLinuxOS KDE 2012.1
    FreePBX 2.10RC
    FireFox 9.01

    Firefox display submit button but is not active
    Chromium works


  • On answer trigger
    K KnightFlyer
    Support

    Is it possible to call an application once Fop2 detects the extension has been answered?
    Of course it will need to submit the callerid number as an argument.

    Thanks very much for a killer app.

  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups