Call Control API with PRO license - MakeCall not working

Status
Not open for further replies.

dcw-jubilee

Joined
Jun 6, 2014
Messages
2
Reaction score
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:[email protected]:39056>
06-Jun-2014 13:47:31.764 [CM503007]: Call(C:8): Ivr:MakeCall has joined, contact <sip:[email protected]: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:[email protected]: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:[email protected]:5060>) to T:Extn:6003@[Dev:sip:[email protected]: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:[email protected]:39056;rinstance=bc5b83dee6b40273;transport=TCP]
06-Jun-2014 13:47:16.765 [CM503001]: Call(C:8): Incoming call from Ivr:MakeCall to <sip:[email protected]:5060>

Any help would be appreciated

David
 
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
 
Status
Not open for further replies.

Members Online Now

Forum statistics

Threads
111,835
Messages
589,291
Members
164,668
Latest member
Infinity Network