izzatothman / sipdroid

Automatically exported from code.google.com/p/sipdroid
GNU General Public License v3.0
0 stars 0 forks source link

Call gets answered automatically #1186

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open the App and register extension in device.
2. Put phone in silent or vibrate mode
3. Now call to another extension and wait for few seconds.

What is the expected output? What do you see instead?
Call should answer only when I pick up by swiping screen up.

What version of the product are you using? On what device/operating system?
3.6 beta

Which SIP server are you using? What happens with PBXes?
I am using Freeswitch server.

Which type of network are you using?
Wifi

Please provide any additional information below.
Whenever I am calling to any extension call gets answer automatically. I have 
tested same scenario in few versions but issue persists in all the versions.

Original issue reported on code.google.com by jkhan6...@gmail.com on 27 Jan 2015 at 11:02

GoogleCodeExporter commented 9 years ago
Whenever I am calling to any extension call gets answer automatically even 
though the other party has not answered call. On screen its showing me ringing 
but still I can hear audio of other party.

Original comment by jkhan6...@gmail.com on 27 Jan 2015 at 11:08

GoogleCodeExporter commented 9 years ago
Hi,
  I also face same issue, i fixed this issue, in UserAgent.java file there is a function called onCallRinging(Call call, Message resp){} . just comment all the code inside that function, it will work perfectly. no automatically call attend issue.

Original comment by s.balaji...@gmail.com on 18 Apr 2015 at 11:29

GoogleCodeExporter commented 9 years ago
Hey s.balaji Thanks for your answer, I will test by applying this patch ;) 
Thank you very much !

Original comment by jkhan6...@gmail.com on 23 Apr 2015 at 6:19

GoogleCodeExporter commented 9 years ago
hi jkhan6.
           Thanks for your reply. i am using Freeswitch sip server. There are some Scenarios i am getting issues while blocking/commenting onCallRinging(Call call, Message resp) function.
1. Freeswitch server installed in linux Centos. using Wi-Fi and server ip is : 
local IP (192.168.0.222) i can able to communicate perfectly with two clients( 
receiver start to hear caller voice when accept the call.), Two Way 
communication perfectly working. BUT When i use Server IP : Global IP and using 
3G, receiver can't able to hear caller voice, but caller can hear the receiver 
voice after receiver attend the call. Please check this scenario and reply. 
Thanks in advance. 

Original comment by s.balaji...@gmail.com on 5 May 2015 at 11:33