Picture of matijs
Registered 5 years 222 days
matijs Tuesday, 29 October 2019, 03:00 PM
Controlling multiple calls via SOAP API
Hi

I'm trying to control multiple calls via the SOAP API (v10).
I setup a new call with the UserCall method. The call is answered and is connected. While this call is connected I setup a second call with UserCall.
The first call is put on hold. That's great!
However, when I cancel the second call (with UserClear), the device keeps displaying 'call clearing'. Even though the call is actually disconnected.
I can also not retrieve my call on hold (UserRetrieve does nothing).
When I put down the horn, the second call is finally cleared. But the first call seems to be automatically redirecting to the number of the second call.

Is this behavior dependent on the device I am using (an Innovaphone IP241)? Or is there some setting on the Pbx that imposes this?

I would like to start a second call, switch between the 2 calls & eventually transfer them to each other (or just clear both calls). How can I do this with the SOAP API, without automatically connecting the 2 calls?

Thanks!
Picture of Christoph Künkel (innovaphone)
Moderator Registered 15 years 189 days
Christoph Künkel (innovaphone) Thursday, 16 January 2020, 03:15 PM
Re: Controlling multiple calls via SOAP API
Matijs,

have a look at the "bool disc" parameter used in your call to UserInitialize. Should be true to avoid your problem I think:

When disc is set to true, calls to phones of the monitored user are cleared only after the user hangs up the phone. This way it can be avoided that the SOAP application assumes the phone is free but is still off-hook. This only works with innovaphone H.323 endpoints

smile Christoph
← You can define your color theme preference here