How to detect the Outgoing call and Hangup the Outgoing call?
I am making a background server application
which would detect the outgoing call and hangup, how can i achive it?
pls some body help me out
Detecting an outgoing call is not that tough..but to hangup the call..as per the CTelephony..u cant hangup on a call that you dont own..i.e. hasnt been dialed by your application.
So AFAIK there is no way yu can hangup on a call dialed out by the native dialer..if thats what u r trying to achieve
Re: How to detect the Outgoing call and Hangup the Outgoing call
Hello Mayank,
you said right. But is there any other way around to do it ? I have an idea !
I think if I can simulate the End key press after getting the Dialing event, i can hangup the call. But how to do it in Symbian 3rd edition ? Is there any one who could help to simulate the End key for Symbian 9.1?
How to detect the Outgoing call and Hangup the Outgoing call?
Sorry mayank I am not sure whether I am right or wrong..
But I think we can disconnect/hang up call with the help of our own applicaiotn.
We have to set our observer to detect for any outgoing call make and then we can hang it or accept it whatever we want to do using a state machine..
So I think it is possible to hang the outgoing call.I implemented the same for recording voice while makign an outgoing call from native phone application.
And my applicaiton was in background for listening any change in the line.
And detected outgoing call then I initiate recording session over the line after checking if status is connected.
so same way we can hang it also .I guess so.
I have never tried it.
Well i will try to disconnect the call for outgoing call.
------------------
Bhatt Kavita,
There is always a direct response from the definite intelligence of your subconcious mind to your concious thinking.If you ask for bread you will not recieve a stone.
and once there would be any outgoing call by your native phone application...your applicaiton observer will get request completion and then in RUNL you can handle it.
EDetecting:
do some stuff here
EWaiting:
do some stuff here
and soon..
------------------
Bhatt Kavita,
There is always a direct response from the definite intelligence of your subconcious mind to your concious thinking.If you ask for bread you will not recieve a stone.
Forum posts: 148
Detecting an outgoing call is not that tough..but to hangup the call..as per the CTelephony..u cant hangup on a call that you dont own..i.e. hasnt been dialed by your application.
So AFAIK there is no way yu can hangup on a call dialed out by the native dialer..if thats what u r trying to achieve
Cheers
mayank
Forum posts: 45
Hello Mayank,
you said right. But is there any other way around to do it ? I have an idea !
I think if I can simulate the End key press after getting the Dialing event, i can hangup the call. But how to do it in Symbian 3rd edition ? Is there any one who could help to simulate the End key for Symbian 9.1?
Thanks in advance,
Tushar
Tushar Bhattacharyya
Forum posts: 43
Sorry mayank I am not sure whether I am right or wrong..
But I think we can disconnect/hang up call with the help of our own applicaiotn.
We have to set our observer to detect for any outgoing call make and then we can hang it or accept it whatever we want to do using a state machine..
So I think it is possible to hang the outgoing call.I implemented the same for recording voice while makign an outgoing call from native phone application.
And my applicaiton was in background for listening any change in the line.
And detected outgoing call then I initiate recording session over the line after checking if status is connected.
so same way we can hang it also .I guess so.
I have never tried it.
Well i will try to disconnect the call for outgoing call.
------------------
Bhatt Kavita,
There is always a direct response from the definite intelligence of your subconcious mind to your concious thinking.If you ask for bread you will not recieve a stone.
Forum posts: 43
you can use following line to detect an outgoing call
iLine.NotifyCallAdded(iStatus,iCallName); //for detecting outgoing call
SetActive();
and once there would be any outgoing call by your native phone application...your applicaiton observer will get request completion and then in RUNL you can handle it.
EDetecting:
do some stuff here
EWaiting:
do some stuff here
and soon..
------------------
Bhatt Kavita,
There is always a direct response from the definite intelligence of your subconcious mind to your concious thinking.If you ask for bread you will not recieve a stone.