PHP Classes

File: product.config.php

Recommend this page to a friend!
  Classes of Ben D.Benner   Jaduka API Class   product.config.php   Download  
File: product.config.php
Role: Configuration script
Content type: text/plain
Description: Configuration file containing product info
Class: Jaduka API Class
Access a public telephone network with Jaduka API
Author: By
Last change:
Date: 18 years ago
Size: 3,946 bytes
 

Contents

Class file image Download
<?php
   
/* ------------------------------ BSD License Information ---------------------------------
        Copyright (c) 2006, Network Enhanced Telecom, LLP
        All rights reserved.

        Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

            * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
            * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
            * Neither the name of Jaduka or Network Enhanced Telecom, LLP nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. Contact info@jaduka.com, 800-880-5910.

        THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

        --------------------------------------------------------------------------------------
    */
   
   
   
    /* --------------- Jaduka Product Configuration File --------------------------------------
        This file is intended to be used with the jaduka.class.php.

        version: 0.8
        released: 10/25/2006
        author: Ben D. Benner, CTO, ben@jaduka.com
        company: Jaduka, www.jaduka.com, 800.880.5910

    */



    /* --------------------------- Jaduka Product Information ---------------------------------
        The Jaduka API is wholesale in nature, allowing businesses to create account for one
        product or another. Typically a business will start with just one product. This means
        that storing the product related information like $customer, $subCustomer, $dnisSet,
        $wcAccessNumber and $wcbAccessNumber can easily be done in a flat file.

        Currently, the Jaduka API requires a business to identify their product using three
        key pieces of information, $customer, $subCustomer and $dnisSet. We are working on
        a new product identification system that will become available by the end of Q4/06.
        The new identification system will permit a business to only need to supply one piece
        of information rather than multiple to identify their product.

        We have also made another fundamental change. In the old Pioneer API we had one method
        to start two different types of calls. More often than not this lead to confusion and
        ultimately made it harder to modify the desired behavior. To make it easier to modify
        call flow behavior and to help eliminate some of the confusion we split the
        functionality of the CallingLink (call flow used typically with Click-and-Connect buttons)
        and CallBack (call flow used to start an LD call from a web page).

        With the creation of the two new methods, startWebCall() and startWebCallBack() we now
        require that a seperate accessNumber (formerly known as 'dnis') be supplied for both
        methods.

        In the jaduka.class.php files we reference these accessNumbers seperately as the variables:
            $webCallAccessNumber
            $webCallBackAccessNumber
    */
           
$customer = "";
           
$subCustomer = "";
           
$dnisSet = "";
           
$webCallAccessNumber = '';
           
$webCallBackAccessNumber = '';

?>