Call Setup API

Call Setup API

Tech Connections offers a basic call setup API which allows a user to setup a phone call between 2 phone numbers using a simple web query.  The 2 phone numbers do not need to be on Tech Connections network, however if this is the case please be aware that you will be billed for 'both' legs of the call to both the Caller (A Party) and Called (B Party) numbers.

URL:https://portal.techconnections.co.nz

Parameters: (Both POST or GET method accepted)

login(mandatory) The Tech Connevtions phone number which is setting up this call.  This will be the phone number that will be billed for the call.  e.g. 092420001
password  (mandatory) This is the password for the phone number used for the call setup.  Please note that this may not be the 'account' password - but is the password for this individual line
aparty(mandatory) This is the 'calling' party leg of the call.  This is the 1st leg of the call which must answer the call before the 2nd leg of the call is setup
bparty(mandatory) This is the 'called' party leg of the call.  This is the 2nd leg of the call and is only setup if the aparty has accepted the call setup
delay(optional) Delay in seconds for the call setup.  Otherwise if not specified then the call will be established immediately.

GET Example:

login=092420001&password=************&aparty=092420001&bparty=123&delay=1

Example Failure JSON Responses:

{"Result":"-1","Status":"Error","Message":"Login not Specified"}

{"Result":"-1","Status":"Error","Message":"Password incorrect"}

 

Example Success JSON Response:

{"Result":"1","Status":"Success","Message":"Call Setup Successful"}

If you require further information on our Call Setup API then contact our support team.

    • Related Articles

    • Understand your first bill

      You'll receive your first invoice on the 1st of the month after you join Tech connections and the bill will be due on the 10th of the month. You'll pay in advance for the phone line, internet, and mobile services and in arrears for any variable or ...
    • Call Transfers

      By using call transfer you can easily transfer your current caller to another person.Dial #0 for an attended transfer – this is where you can announce the caller and retrieve the call if it is unanswered. Dial ## for a blind transfer – where the call ...
    • Call Forwarding

      Control your incoming call flow when you’re away or busy with a permanent call forward. Use time schedules to give you more flexibility, for example, have your calls forwarded straight to your mobile during the day with an after hours forward to your ...
    • Call Pickup

      The call pickup service allows you to remotely pick up an incoming call to another phone in your group or on your account. Call pickup functions *88 – Group pickup. This will pickup the latest incoming call to any of the phones in your group. *89 – ...
    • Call Screening Options

      We all like a little control over whom we take calls from right? We’re used to this on our mobile phones, and call screening is available for you to set up just the way you want in our Cloud PBX. Quick Guide Log into ...