Dismiss Notice
We would like to remind you that we’re updating our login process for all 3CX forums whereby you will be able to login with the same credentials you use for the Partner or Customer Portal. Click here to read more.

Login to Queue's using HTTP API

Discussion in '3CX Phone System - General' started by unoa, Jul 9, 2012.

Thread Status:
Not open for further replies.
  1. unoa

    Joined:
    Oct 14, 2009
    Messages:
    22
    Likes Received:
    3
    Dear all,

    I'm trying to build a script which logs on people to the queues automaticly based on their computer client IP address. However, if the client IP matches some reserved IP's in the DHCP it will make a call using the following 3cX HTTP API String:

    http://<pbx>:5000/ivr/PbxAPI.aspx?func=make_call&from=<ext>&to=<dest>&pin=<ext_pin>

    However this requires user interaction. The user must pickup the call to be loged on to the queue, so its now a half automatic logon. If the IP does not match the user gets a call to logoff.

    Is there a way to make this work fully automated? I am hoping there is a command for the HTTP API to silently logon or logoff users from the call Queues. Anyone knows how to get this to work?
     
  2. craigreilly

    craigreilly Well-Known Member

    Joined:
    Feb 1, 2012
    Messages:
    3,569
    Likes Received:
    302
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. unoa

    Joined:
    Oct 14, 2009
    Messages:
    22
    Likes Received:
    3
    The problem is, I don't have automatic call pickup.

    *9<ext> does only work if you dial this manually on the phone. I already tested the URL you just posted but this comes up with a make-call on the phone which you have to manuallt pickup.

    I guess the HTTP API is to limited for the functionallity i'd like to use.
     
  4. unoa

    Joined:
    Oct 14, 2009
    Messages:
    22
    Likes Received:
    3
    misunderstood ur post, works fine!
     
  5. craigreilly

    craigreilly Well-Known Member

    Joined:
    Feb 1, 2012
    Messages:
    3,569
    Likes Received:
    302
    Glad to hear it...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. muirfield

    Joined:
    Jan 28, 2014
    Messages:
    2
    Likes Received:
    0
    Hi guys, I'm experiencing issues when passing the the following HTTP API request to control a Queue status:

    http://x.x.x.x:5000/ivr/PbxAPI.aspx?func=make_call&from=*9<ext>&to=*63&pin=<password>

    We get the "Make Call" and the call initiates but we receive the audible message "Call Transfer failed, number is busy" when we try calling *62 or *63 for Queue controls.

    Initializing Calls and setting Available mode etc works fine using this method.

    Can anyone shed any light on this issue for me?
     
Thread Status:
Not open for further replies.