Re: Problems with Transfer

From: Andreas Marschall [MVP TAPI] (Andreas.Marschall_at_I-B-A-M.de)
Date: 02/02/05


Date: Wed, 2 Feb 2005 13:13:33 +0100

Aitor, please see inline comments.

"Aitor Aiestaran" <aitor@igarle.es> schrieb im Newsbeitrag
news:eyk9gGRCFHA.1452@TK2MSFTNGP11.phx.gbl...
> The TSP that I'm using is CTSP0000.tsp.
> I have the Panasonic's PBX Kx-TDA30.
>
> I have done the transfer like you said me.
>
> First, I answer in Address1 (a1) an inbound call (c1) (then I have it in
> connected state)
>
> In the TAPI Browser I do:
>
> a1 >> CreateCall("102") --> (c2)
> c1 >> Transfer(c2)
>
> The c1 becomes to hold state, but the second call never connect.
>
> The TAPI Browser log is the next:
>
> ITAddress_1.get_Calls returned hr = 0x00000000
> VARIANT* pVariant = ITCollection_2
>
> ITCollection_2.get_Count returned hr = 0x00000000
> long* lCount = 1 (0x00000001)
>
> ITCollection_2.get_Item
> long Index : 1 (0x00000001)
> returned hr = 0x00000000
> VARIANT* pVariant = ITCallInfo_1
>
> ITCallInfo_1.QueryInterface ITBasicCallControl
> returned hr = 0x00000000
> ITBasicCallControl_1
>
> ITAddress_1.CreateCall
> BSTR pDestAddress : 102
> long lAddressType : 1 (0x00000001)
> long lMediaTypes : 8 (0x00000008)
> returned hr = 0x00000000
> ITBasicCallControl** ppCall = ITBasicCallControl_2
>
> ITBasicCallControl_1.Transfer
> ITBasicCallControl* pCall : ITBasicCallControl_2
> VARIANT_BOOL fSync : 0
> returned hr = 0x80040007
> TAPI_E_CALLUNAVAIL source (null) description (null)

The call controll handling seems to be o.k. for a transfer.
TAPI_E_CALLUNAVAIL look strange here.
You may want to try fSync : 1 to see whether there are any changes.

> ITCallHubEvent_2
> TAPI_EVENT const int TE_CALLHUB
>
> ITCallStateEvent_3
> TAPI_EVENT const int TE_CALLSTATE

What is the actuall call state reported here?

> I try to do "Finish(AS_TRANSFER)" in both of calls (c1 and c2) but I have
> the next error:
>
> TBasicCallControl_1.Finish
> FINISH_MODE finishMode : 0
> returned hr = 0x80040010
> TAPI_E_INVALCALLSTATE source (null) description (null)

Seem to be due to the ::Transfer() failed

> I try too to do "Connect" in both of calls, and I have the next error:
>
> TBasicCallControl_2.Connect
> VARIANT_BOOL fSync : 0
> returned hr = 0x80040010
> TAPI_E_INVALCALLSTATE source (null) description (null)
>
>
> Does someone know what can be my error?

Sorry, no idea. The procedure seems to be o.k., so it might be a TSP issue.
Did you try to transfer via TAPI2 as suggested in my other reply?

-- 
Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK
TAPI / TSP Developer and Tester
http://www.I-B-A-M.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm
* Please post all messages and replies to the newsgroup so all may
* benefit from the discussion.  Private mail is usually not replied to.
* This posting is provided "AS IS" with no warranties, and confers no rights.


Relevant Pages

  • Re: "Type mismatch " error when i want to select a terminal
    ... > Dim objStreamControl As ITStreamControl ... > Set objTerminalSupport = WorkingAddress ... Where can I download TAPI Browser? ... * Please post all messages and replies to the newsgroup so all may ...
    (microsoft.public.win32.programmer.tapi)
  • Re: Voice testing equipment
    ... The very strange things happen to originating line. ... Can you reproduce the issue with TAPI Browser TB20? ... Is there a user guide available for TAPI Browser TB20? ... * Please post all messages and replies to the newsgroup so all may ...
    (microsoft.public.win32.programmer.tapi)
  • Re: Opening multiple lines on a CiscoTSP CM 4.0
    ... "Rob Lemmens" schrieb im Newsbeitrag ... Where can I download TAPI Browser? ... Is there a user guide available for TAPI Browser TB20? ... * Please post all messages and replies to the newsgroup so all may ...
    (microsoft.public.win32.programmer.tapi)
  • Re: TAPI passthrough mode
    ... I've used the 4 bytes in front of the device name string as a file handle ... passthrough mode again for normal call handling. ... I'll use my own log here instead of the TAPI browser as things should ... > * Please post all messages and replies to the newsgroup so all may ...
    (microsoft.public.win32.programmer.tapi)

Loading