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.

Call Control API with PRO license - MakeCall not working

Discussion in '3CX Phone System - General' started by dcw-jubilee, Jun 12, 2014.

Thread Status:
Not open for further replies.
  1. dcw-jubilee

    Joined:
    Jun 6, 2014
    Messages:
    2
    Likes Received:
    0
    I have just started working with the Call Control API, and at the moment I am running with a 4 line pro-license.

    I have been able to use the API to do various things: Display extension parameters, drop existing calls, etc, so I know I am connected to the PBX successfully.

    What I don't seem able to do is place a call between two extensions using MakeCall(). The call to the first extension succeeds, and the call to the second extension starts to ring, but is terminated by the "This call could not be completed message".

    Using the extensions to dial, I can place more than two separate simultaneous calls on the system successfully.

    I am using Phone System 12.

    Server log dump for MakeCall ("6003","6002"): Note that there is never any mention on the dialled extension (6002) in the log.

    06-Jun-2014 13:47:40.294 Leg L:8.2[Extn] is terminated: Cause: BYE from PBX
    06-Jun-2014 13:47:40.294 [CM503008]: Call(C:8): Call is terminated
    06-Jun-2014 13:47:40.290 Leg L:8.1[Ivr] is terminated: Cause: BYE from 127.0.0.1:40600
    06-Jun-2014 13:47:40.112 Currently active calls - 1: [8]
    06-Jun-2014 13:47:31.764 [CM503007]: Call(C:8): Extn:6003 has joined, contact <sip:6003@81.135.44.13:39056>
    06-Jun-2014 13:47:31.764 [CM503007]: Call(C:8): Ivr:MakeCall has joined, contact <sip:MakeCall@127.0.0.1:40600>
    06-Jun-2014 13:47:31.759 L:8.2[Extn] has joined to L:8.1[Ivr]
    06-Jun-2014 13:47:16.811 [CM503025]: Call(C:8): Calling T:Extn:6003@[Dev:sip:6003@81.135.44.13:39056;rinstance=bc5b83dee6b40273;transport=TCP] for L:8.1[Ivr]
    06-Jun-2014 13:47:16.765 [CM503027]: Call(C:8): From: Ivr:MakeCall ("MakeCall" <sip:MakeCall@127.0.0.1:5060>) to T:Extn:6003@[Dev:sip:6003@81.135.44.13:39056;rinstance=bc5b83dee6b40273;transport=TCP]
    06-Jun-2014 13:47:16.765 [CM503004]: Call(C:8): Route 1: from L:8.1[Ivr] to T:Extn:6003@[Dev:sip:6003@81.135.44.13:39056;rinstance=bc5b83dee6b40273;transport=TCP]
    06-Jun-2014 13:47:16.765 [CM503001]: Call(C:8): Incoming call from Ivr:MakeCall to <sip:6003@127.0.0.1:5060>

    Any help would be appreciated

    David
     
  2. kocarb

    Joined:
    Jun 3, 2015
    Messages:
    3
    Likes Received:
    0
    Hi,

    did you solve the problem because i have similar one. When calling the internal extension through HTTP API it's working, when i try external number i got this call can not be completed from MakeCall.

    Ivr:MakeCall] is terminated: Cause: BYE from 127.0.0.1:40600
     
Thread Status:
Not open for further replies.