Let me review the process I'm following. I wonder if I'm missing something.
1. My module establishes call #1 (hCall)
2. I place call #1 on hold
3. Call #2 is established (hCall2)
4. Call #2 is placed on hold.
5. The module attempts to transfer call #1 to call #2 receiver using
sipxCallTransfer(g_hCall, g_hCall2);
Once this happens I get this events:
EVENT_CATEGORY_CALLSTATE::TRANSFER_EVENT::CAUSE_TRANSFER_INITIATED
hCall=1, hAssociatedCall=0
EVENT_CATEGORY_CALLSTATE::HELD::CAUSE_NORMAL
hCall=1, hAssociatedCall=0
EVENT_CATEGORY_CALLSTATE::TRANSFER_EVENT::CAUSE_TRANSFER_FAILURE
hCall=1, hAssociatedCall=0
What am I missing???
How do you make a consultative transfer otherwise???
I can't find the way to make this work.
Thanks.
Roman Rusconi
-----Original Message-----
From: Roman Rusconi [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 07, 2006 10:06 PM
To: 'Kenichi Aramaki'; '[email protected]'
Cc: '[EMAIL PROTECTED]'
Subject: RE: [sipX-dev] SipXtapi Call Transfer
The module I'm working on establishes two calls and needs to make a
consultative transfer (see below).
I tested my module using the binaries from the sipXtapi-media-update branch
and I got exactly the same result.
The REFER message gets a 603 DECLINE answer and the call transfer fails.
I tried the call transfer with a commercial softphone package and I loggued
the dialogue with a protocol analyzer. Analyzing this log I see the
softphone REFER command gets the same 604 DECLINE answer although after a
couple of tries, the transfer seems to be made using INVITE commands.
Anybody here has experience using sipXtapi to transfer calls?
I'd appreciate any leads.
Thanks a lot.
-----Original Message-----
From: Kenichi Aramaki [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 12, 2006 12:47 PM
To: [email protected]
Cc: [EMAIL PROTECTED]
Subject: Re: [sipX-dev] SipXtapi Call Transfer
Hi,
I was faced with the problem, too.
This is caused by a transfer call instance does not have valid contact
address.
It is fixed in sipXtapi-media-update branch.
I think 'mpCallManager->setOutboundLineForCall(...' corresponds to it.
Regards,
Kenichi Aramaki
> My software module needs to transfer a call to a third party. I tried this
using commercial softphone packages and it works (even with sipXPhone) but I
can't get my module to work.
>
>
>
> I'm using sipXtapi library from the sipXcallLib branch. I'm using MS
Visual Studio 2005 on Windows XP and using BroadVoice as provider for my
testing. The other ends of the call are regular land lines.
>
>
>
> I'm putting the first call on hold and establishing the second call
(consultative transfer). I tried both with the calls in a conference and
separated.
>
>
>
> When I call to sipXCalltransfer the REFER message gets a 603-Decline
answer and I get a TRANFER FAILED event right after the TRANFER INITIATED
one.
>
>
>
> Analyzing the SIP packages, I noticed the REFER message has an incorrect
CONTACT field.
(snipped)
_______________________________________________
sipxtapi-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/