Redirect Call

C

crino

Hi,
i capture an incoming call and i want to redirect to another number....so
i've interfaced

extern static public int lineRedirect(
IntPtr hCall,
string lpszDestAddress,
int dwCountryCode
);

hCall is the handle of incoming call, lpszDestAddress is the numebr where i
want redirect and dwCountryCode is 0

but the call is not redirect and my phone continue to ring :((
i missed somethings??

thanx in advance ;)
 
A

Alex Feinman [MVP]

And what does lineRedirect return? My bet is that it is not implemented in
the TSP
 
C

crino

Hi Alex ;)
i've tried and the function returns alway positive values
128,134 and so on....
any idea??
 
A

Alex Feinman [MVP]

Ok, I tried this myself and even though lineRedirect returns success, the
corresponding LINE_REPLY contains TAPIERR_OPERATIONFAILED. Also, if you
check the LINECALLSTATUS.dwCallFeatures of your call, you will see that the
flag LINECALLFEATURE_REDIRECT is not set.
 
I

Ilya Tumanov [MS]

You might be able to do this:



0. Answer call.

1. Place it on hold.

2. Dial out number you want call to be redirected to.

3. Establish a conference among all 3 parties.

4. Hung up.



That works on most switches I've seen. Also, try answering before
redirecting a call.



Best regards,



Ilya



This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top